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] |
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" |
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 ;; |