/[autoconf]/autoconf/bin/autoconf.as
ViewVC logotype

Diff of /autoconf/bin/autoconf.as

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

revision 1.3 by eggert, Wed Jun 12 17:26:19 2002 UTC revision 1.4 by eggert, Sun Sep 1 10:10:02 2002 UTC
# Line 31  Operation modes: Line 31  Operation modes:
31    -V, --version            print version number, then exit    -V, --version            print version number, then exit
32    -v, --verbose            verbosely report processing    -v, --verbose            verbosely report processing
33    -d, --debug              don't remove temporary files    -d, --debug              don't remove temporary files
34    -I, --include=DIR        look for input files in DIR (cumulative)    -B, --prepend-include=DIR   prepend directory DIR to search path
35      -I, --include=DIR           append directory DIR to search path
36    -f, --force              consider all files obsolete    -f, --force              consider all files obsolete
37    -o, --output=FILE        save output in FILE (stdout is the default)    -o, --output=FILE        save output in FILE (stdout is the default)
38    -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [syntax]    -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [syntax]
# Line 99  while test $# -gt 0 ; do Line 100  while test $# -gt 0 ; do
100      --debug      | -d   | \      --debug      | -d   | \
101      --force      | -f   | \      --force      | -f   | \
102      --include=*  | -I?* | \      --include=*  | -I?* | \
103        --prepend-include=* | -B?* | \
104      --warnings=* | -W?* )      --warnings=* | -W?* )
105         AUTOM4TE="$AUTOM4TE $1"; shift ;;         AUTOM4TE="$AUTOM4TE $1"; shift ;;
106    
107      # Options with separated arg passed as is to autom4te.      # Options with separated arg passed as is to autom4te.
108      --include | -I | \      --include | -I | \
109        --prepend-include | -B | \
110      --warnings | -W )      --warnings | -W )
111         test $# = 1 && eval "$exit_missing_arg"         test $# = 1 && eval "$exit_missing_arg"
112         AUTOM4TE="$AUTOM4TE $option $2"         AUTOM4TE="$AUTOM4TE $option $2"
# Line 159  done Line 162  done
162  # Find the input file.  # Find the input file.
163  case $# in  case $# in
164    0)    0)
165      case `ls configure.ac configure.in 2>/dev/null` in      if test -f configure.ac; then
166        *ac*in )        if test -f configure.in; then
167          echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2          echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2
168          echo "$me: warning: proceeding with \`configure.ac'." >&2          echo "$me: warning: proceeding with \`configure.ac'." >&2
169          infile=configure.ac;;        fi
170        *ac ) infile=configure.ac;;        infile=configure.ac
171        *in ) infile=configure.in;;      elif test -f configure.in; then
172        * )        infile=configure.in
173          echo "$me: no input file" >&2      else
174          exit 1;;        echo "$me: no input file" >&2
175      esac        exit 1
176        fi
177      test -z "$traces" && test -z "$outfile" && outfile=configure;;      test -z "$traces" && test -z "$outfile" && outfile=configure;;
178    1) # autom4te doesn't like `-'.    1) # autom4te doesn't like `-'.
179       test "x$1" != "x-" && infile=$1 ;;       test "x$1" != "x-" && infile=$1 ;;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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