`--with-*', `--without-*' and `*' decoding.
Reported by Raja R Harinath.
Fixes autoconf/119.
+2000-03-08 Akim Demaille <akim@epita.fr>
+
+ * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix copy n' paste typos in
+ `--with-*', `--without-*' and `*' decoding.
+ Reported by Raja R Harinath.
+ Fixes autoconf/119.
+
2000-03-08 Akim Demaille <akim@epita.fr>
Don't dump AC_ARG_PROGRAM help messages if not used.
Pavel Roskin pavel_roskin@geocities.com
Philipp Thomas kthomas@gwdg.de
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
+Raja R Harinath harinath@cs.umn.edu
Ralf S. Engelschall rse@engelschall.com
Richard Stallman rms@gnu.org
Robert S. Maier rsm@math.arizona.edu
-with-* | --with-*)
ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
+ if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
]AC_MSG_ERROR(invalid package: $ac_package)[
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
-without-* | --without-*)
ac_package=`echo "$ac_option"|sed -e 's/-*without-//'`
# Reject names that are not valid shell variable names.
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
+ if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
]AC_MSG_ERROR(invalid package: $ac_package)[
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
export $ac_envvar ;;
*)
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
+ if echo "$ac_option" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
]AC_MSG_WARN(invalid host type: $ac_option)[
fi
if test "x$nonopt" != xNONE; then
-with-* | --with-*)
ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
+ if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
]AC_MSG_ERROR(invalid package: $ac_package)[
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
-without-* | --without-*)
ac_package=`echo "$ac_option"|sed -e 's/-*without-//'`
# Reject names that are not valid shell variable names.
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
+ if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
]AC_MSG_ERROR(invalid package: $ac_package)[
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
export $ac_envvar ;;
*)
- if echo "$ac_feature" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
+ if echo "$ac_option" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
]AC_MSG_WARN(invalid host type: $ac_option)[
fi
if test "x$nonopt" != xNONE; then