From: Stepan Kasal Date: Wed, 29 Jun 2005 06:37:47 +0000 (+0000) Subject: Move AC_ARG_VAR up. X-Git-Tag: AUTOCONF-2.59c~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5864b9b4fafbb465329401217f5dbe41f8d2ed7a;p=thirdparty%2Fautoconf.git Move AC_ARG_VAR up. --- diff --git a/ChangeLog b/ChangeLog index 2cc4e693d..63279ec6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-06-29 Stepan Kasal + + * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS. + 2005-06-28 Derek Price * doc/autoconf.texi (Limitations of Usual Tools ): Reword recent diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index a6562144a..7666dd9e9 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1413,6 +1413,23 @@ AU_DEFUN([AC_WITH], ## ----------------------------------------- ## +# AC_ARG_VAR(VARNAME, DOCUMENTATION) +# ---------------------------------- +# Register VARNAME as a precious variable, and document it in +# `configure --help' (but only once). +AC_DEFUN([AC_ARG_VAR], +[m4_divert_once([HELP_VAR], [[ +Some influential environment variables:]])dnl +m4_divert_once([HELP_VAR_END], [[ +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations.]])dnl +m4_expand_once([m4_divert_once([HELP_VAR], + [AS_HELP_STRING([$1], [$2], [ ])])], + [$0($1)])dnl +_AC_ARG_VAR_PRECIOUS([$1])dnl +])# AC_ARG_VAR + + # _AC_ARG_VAR_PRECIOUS(VARNAME) # ----------------------------- # Declare VARNAME is precious. @@ -1498,23 +1515,6 @@ fi ])# _AC_ARG_VAR_VALIDATE -# AC_ARG_VAR(VARNAME, DOCUMENTATION) -# ---------------------------------- -# Register VARNAME as a precious variable, and document it in -# `configure --help' (but only once). -AC_DEFUN([AC_ARG_VAR], -[m4_divert_once([HELP_VAR], [[ -Some influential environment variables:]])dnl -m4_divert_once([HELP_VAR_END], [[ -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations.]])dnl -m4_expand_once([m4_divert_once([HELP_VAR], - [AS_HELP_STRING([$1], [$2], [ ])])], - [$0($1)])dnl -_AC_ARG_VAR_PRECIOUS([$1])dnl -])# AC_ARG_VAR - -