+2005-05-11 Stepan Kasal <kasal@ucw.cz>
+
+ * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
+ for absolute directory names in one loop.
+ * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
+ abbreviations of --version and --debug.
+
2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Autoconf Language): Be more precise about
fi
# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
do
eval ac_val=$`echo $ac_var`
case $ac_val in
- [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
- *) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
- esac
-done
-
-# Be sure to have absolute directory names.
-for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir \
- sharedstatedir localstatedir includedir oldincludedir \
- docdir infodir htmldir dvidir pdfdir psdir libdir \
- localedir mandir
-do
- eval ac_val=$`echo $ac_var`
- case $ac_val in
- [[\\/$]]* | ?:[[\\/]]* ) ;;
- *) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
+ [[\\/$]]* | ?:[[\\/]]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
+ AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val])
done
# There might be people who depend on the old broken behavior: `$host'
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
- --version | --vers* | -V )
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
echo "$ac_cs_version"; exit ;;
--he | --h)
# Conflict between --help and --header
Try `$[0] --help' for more information.]);;
--help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
- --debug | --d* | -d )
+ --debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift