15 |
fi |
fi |
16 |
|
|
17 |
# Support unset when possible. |
# Support unset when possible. |
18 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if (as_foo=foo; unset as_foo) >/dev/null 2>&1; then |
19 |
as_unset=unset |
as_unset=unset |
20 |
else |
else |
21 |
as_unset=false |
as_unset=false |
174 |
# Parse command line. |
# Parse command line. |
175 |
while test $# -gt 0 ; do |
while test $# -gt 0 ; do |
176 |
option=`expr "x$1" : 'x\(--[^=]*\)' \| \ |
option=`expr "x$1" : 'x\(--[^=]*\)' \| \ |
177 |
"x$1" : 'x\(-.\)'` |
"x$1" : 'x\(-.\)'` |
178 |
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \ |
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \ |
179 |
"x$1" : 'x-.\(.*\)'` |
"x$1" : 'x-.\(.*\)'` |
180 |
case $1 in |
case $1 in |
181 |
--version | -V ) |
--version | -V ) |
182 |
echo "$version" ; exit 0 ;; |
echo "$version" ; exit 0 ;; |
243 |
0) |
0) |
244 |
if test -f configure.ac; then |
if test -f configure.ac; then |
245 |
if test -f configure.in; then |
if test -f configure.in; then |
246 |
echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2 |
echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2 |
247 |
echo "$me: warning: proceeding with \`configure.ac'." >&2 |
echo "$me: warning: proceeding with \`configure.ac'." >&2 |
248 |
fi |
fi |
249 |
infile=configure.ac |
infile=configure.ac |
250 |
elif test -f configure.in; then |
elif test -f configure.in; then |