85 |
# Parse command line. |
# Parse command line. |
86 |
while test $# -gt 0 ; do |
while test $# -gt 0 ; do |
87 |
option=[`expr "x$1" : 'x\(--[^=]*\)' \| \ |
option=[`expr "x$1" : 'x\(--[^=]*\)' \| \ |
88 |
"x$1" : 'x\(-.\)'`] |
"x$1" : 'x\(-.\)'`] |
89 |
optarg=[`expr "x$1" : 'x--[^=]*=\(.*\)' \| \ |
optarg=[`expr "x$1" : 'x--[^=]*=\(.*\)' \| \ |
90 |
"x$1" : 'x-.\(.*\)'`] |
"x$1" : 'x-.\(.*\)'`] |
91 |
case $1 in |
case $1 in |
92 |
--version | -V ) |
--version | -V ) |
93 |
echo "$version" ; exit 0 ;; |
echo "$version" ; exit 0 ;; |
154 |
0) |
0) |
155 |
if test -f configure.ac; then |
if test -f configure.ac; then |
156 |
if test -f configure.in; then |
if test -f configure.in; then |
157 |
echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2 |
echo "$me: warning: both \`configure.ac' and \`configure.in' are present." >&2 |
158 |
echo "$me: warning: proceeding with \`configure.ac'." >&2 |
echo "$me: warning: proceeding with \`configure.ac'." >&2 |
159 |
fi |
fi |
160 |
infile=configure.ac |
infile=configure.ac |
161 |
elif test -f configure.in; then |
elif test -f configure.in; then |