]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Move AC_ARG_VAR up.
authorStepan Kasal <kasal@ucw.cz>
Wed, 29 Jun 2005 06:37:47 +0000 (06:37 +0000)
committerStepan Kasal <kasal@ucw.cz>
Wed, 29 Jun 2005 06:37:47 +0000 (06:37 +0000)
ChangeLog
lib/autoconf/general.m4

index 2cc4e693d9d896bc110b009c5943f9b8302ff000..63279ec6c2873354131bfecf1d7f38540429895f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-29  Stepan Kasal  <kasal@ucw.cz>
+
+       * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
+
 2005-06-28  Derek Price  <derek@ximbiot.com>
 
        * doc/autoconf.texi (Limitations of Usual Tools <sed>): Reword recent
index a6562144add1517df085b36b54f9004ed460ae82..7666dd9e90ddcc0e4298a7f69f97888f3fbff186 100644 (file)
@@ -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
-
-