/[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.108 by akim, Fri Oct 25 11:52:38 2002 UTC revision 1.109 by akim, Tue Oct 29 08:09:05 2002 UTC
# Line 57  running `autoreconf' remakes all of the Line 57  running `autoreconf' remakes all of the
57  `--force' option.  `--force' option.
58    
59  Operation modes:  Operation modes:
60    -h, --help      print this help, then exit    -h, --help               print this help, then exit
61    -V, --version   print version number, then exit    -V, --version            print version number, then exit
62    -v, --verbose   verbosely report processing    -v, --verbose            verbosely report processing
63    -d, --debug     don't remove temporary files    -d, --debug              don't remove temporary files
64    -f, --force     consider all files obsolete    -f, --force              consider all files obsolete
65    -i, --install   copy missing auxiliary files    -i, --install            copy missing auxiliary files
66    -s, --symlink   with -i, install symbolic links instead of copies    -s, --symlink            with -i, install symbolic links instead of copies
67      -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [syntax]
68    
69    Warning categories include:
70      \`cross\'         cross compilation issues
71      \`obsolete\'      obsolete constructs
72      \`portability\'   portability issues
73      \`syntax\'        dubious syntactic constructs
74      \`all\'           all the warnings
75      \`no-CATEGORY\'   turn off the warnings on CATEGORY
76      \`none\'          turn off all the warnings
77      \`error\'         warnings are error
78    
79    The environment variable \`WARNINGS\' is honored.  Some subtools might
80    support other warning types, using \`all' is encouraged.
81    
82  Library directories:  Library directories:
83    -B, --prepend-include=DIR  prepend directory DIR to search path    -B, --prepend-include=DIR  prepend directory DIR to search path
# Line 104  my $symlink = 0; Line 118  my $symlink = 0;
118  # The directory where autoreconf was run.  # The directory where autoreconf was run.
119  my $cwd = cwd;  my $cwd = cwd;
120    
121    # List of warnings.
122    my @warning;
123    
124    
125  ## ---------- ##  ## ---------- ##
# Line 118  sub parse_args () Line 134  sub parse_args ()
134  {  {
135    my $srcdir;    my $srcdir;
136    
137    getopt ('I|include=s'           => \@include,    getopt ("W|warnings=s"         => \@warning,
138            'B|prepend-include=s'   => \@prepend_include,            'I|include=s'          => \@include,
139            'i|install'             => \$install,            'B|prepend-include=s'  => \@prepend_include,
140            's|symlink'             => \$symlink);            'i|install'            => \$install,
141              's|symlink'            => \$symlink);
142    
143      # Split the warnings as a list of elements instead of a list of
144      # lists.
145      @warning = map { split /,/ } @warning;
146    
147    # Even if the user specified a configure.ac, trim to get the    # Even if the user specified a configure.ac, trim to get the
148    # directory, and look for configure.ac again.  Because (i) the code    # directory, and look for configure.ac again.  Because (i) the code
# Line 178  sub parse_args () Line 199  sub parse_args ()
199        $aclocal    .= ' --verbose';        $aclocal    .= ' --verbose';
200        $libtoolize .= ' --debug';        $libtoolize .= ' --debug';
201      }      }
202      # --warnings;
203      if (@warning)
204        {
205          $autoconf   .= ' --warnings=' . join (',', @warning);
206          $autoheader .= ' --warnings=' . join (',', @warning);
207          $automake   .= ' --warnings=' . join (',', @warning)
208            if `$automake --help` =~ /--warnings/;
209        }
210  }  }
211    
212    

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109

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