/[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.106 by akim, Fri Oct 11 09:29:20 2002 UTC revision 1.107 by akim, Wed Oct 16 06:38:50 2002 UTC
# Line 118  sub parse_args () Line 118  sub parse_args ()
118  {  {
119    my $srcdir;    my $srcdir;
120    
121    getopt ('I|include|A|autoconf-dir|m|macrodir|l|localdir=s' => \@include,    getopt ('I|include=s'           => \@include,
122            'B|prepend-include=s'                      => \@prepend_include,            'B|prepend-include=s'   => \@prepend_include,
123            'i|install'                                        => \$install,            'i|install'             => \$install,
124            's|symlink'                                        => \$symlink);            's|symlink'             => \$symlink);
125    
126    # Even if the user specified a configure.ac, trim to get the    # Even if the user specified a configure.ac, trim to get the
127    # directory, and look for configure.ac again.  Because (i) the code    # directory, and look for configure.ac again.  Because (i) the code
# Line 132  sub parse_args () Line 132  sub parse_args ()
132    
133    if ($verbose && $debug)    if ($verbose && $debug)
134      {      {
135        xsystem ("$autoconf --version | sed 1q >&2");        for my $prog ($autoconf, $autoheader,
136        print STDERR "\n";                      $automake, $aclocal,
137        xsystem ("$autoheader --version | sed 1q >&2");                      $autopoint,
138        print STDERR "\n";                      $libtoolize)
139        xsystem ("$automake --version | sed 1q >&2");          {
140        print STDERR "\n";            xsystem ("$prog --version | sed 1q >&2");
141        xsystem ("$aclocal --version | sed 1q >&2");            print STDERR "\n";
142        print STDERR "\n";          }
       xsystem ("$autopoint --version | sed 1q >&2");  
       print STDERR "\n";  
       xsystem ("$libtoolize --version | sed 1q >&2");  
       print STDERR "\n";  
143      }      }
144    
145    # Dispatch autoreconf's option to the tools.    # Dispatch autoreconf's option to the tools.
# Line 192  sub autoreconf ($) Line 188  sub autoreconf ($)
188  {  {
189    my ($directory) = @_;    my ($directory) = @_;
190    
191    verbose "working in `$directory'";    # The format for this message is not free: taken from Emacs, itself
192      # using GNU Make's format.
193      verbose "Entering directory `$directory'";
194    chdir $directory    chdir $directory
195      or error "cannot chdir to $directory: $!";      or error "cannot chdir to $directory: $!";
196    
# Line 506  sub autoreconf ($) Line 504  sub autoreconf ($)
504        xsystem ($automake);        xsystem ($automake);
505      }      }
506    
507      # The format is not free: taken from Emacs, itself using GNU Make's
508      # format.
509      verbose "Leaving directory `$directory'";
510    chdir $cwd    chdir $cwd
511      or error "cannot chdir to $cwd: $!";      or error "cannot chdir to $cwd: $!";
512  }  }

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107

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