/[autoconf]/autoconf/bin/autoreconf.in
ViewVC logotype

Diff of /autoconf/bin/autoreconf.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.119 by adl, Mon Aug 25 06:38:39 2003 UTC revision 1.120 by akim, Fri Oct 3 07:30:02 2003 UTC
# Line 423  sub autoreconf_current_directory () Line 423  sub autoreconf_current_directory ()
423    # Perform a single trace reading to avoid --force forcing a rerun    # Perform a single trace reading to avoid --force forcing a rerun
424    # between two --trace, that's useless.  If there is no AC_INIT, then    # between two --trace, that's useless.  If there is no AC_INIT, then
425    # we are not interested: it looks like a Cygnus thingy.    # we are not interested: it looks like a Cygnus thingy.
426      my $aux_dir;
427    my $uses_gettext_via_traces;    my $uses_gettext_via_traces;
428    my $uses_libtool;    my $uses_libtool;
429    my $uses_autoheader;    my $uses_autoheader;
# Line 433  sub autoreconf_current_directory () Line 434  sub autoreconf_current_directory ()
434       . join (' --trace=', '',       . join (' --trace=', '',
435               # If you change this list, update the               # If you change this list, update the
436               # `Autoreconf-preselections' section of autom4te.in.               # `Autoreconf-preselections' section of autom4te.in.
437                 'AC_CONFIG_AUX_DIR:AC_CONFIG_AUX_DIR:\$1',
438               'AC_CONFIG_HEADERS',               'AC_CONFIG_HEADERS',
439               'AC_CONFIG_SUBDIRS:AC_CONFIG_SUBDIRS:\$1',               'AC_CONFIG_SUBDIRS:AC_CONFIG_SUBDIRS:\$1',
440               'AC_INIT',               'AC_INIT',
# Line 442  sub autoreconf_current_directory () Line 444  sub autoreconf_current_directory ()
444       . ' |');       . ' |');
445    while ($_ = $traces->getline)    while ($_ = $traces->getline)
446      {      {
447          $aux_dir = $1                 if /AC_CONFIG_AUX_DIR:(.*)/;
448        $uses_autoconf = 1            if /AC_INIT/;        $uses_autoconf = 1            if /AC_INIT/;
449        $uses_gettext_via_traces = 1  if /AM_GNU_GETTEXT/;        $uses_gettext_via_traces = 1  if /AM_GNU_GETTEXT/;
450        $uses_libtool = 1             if /AC_PROG_LIBTOOL/;        $uses_libtool = 1             if /AC_PROG_LIBTOOL/;
# Line 470  sub autoreconf_current_directory () Line 473  sub autoreconf_current_directory ()
473      if $uses_gettext && ! $uses_gettext_via_traces;      if $uses_gettext && ! $uses_gettext_via_traces;
474    
475    
476      # ---------------------------- #
477      # Setting up the source tree.  #
478      # ---------------------------- #
479    
480      # libtoolize, automake --add-missing etc. will drop files in the
481      # $AUX_DIR.  But these tools fail to install these files if the
482      # directory itself does not exist, which valid: just imagine a CVS
483      # repository with hand written code only (there is not even a need
484      # for a Makefile.am!).
485    
486      if (defined $aux_dir && ! -d $aux_dir)
487        {
488          verb "$configure_ac: creating directory $aux_dir";
489          mkdir $aux_dir
490            or error "cannot create $aux_dir: $!";
491        }
492    
493    
494    # -------------------- #    # -------------------- #
495    # Running libtoolize.  #    # Running libtoolize.  #
496    # -------------------- #    # -------------------- #

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26