]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
authorAkim Demaille <akim@epita.fr>
Fri, 26 Sep 2003 13:55:03 +0000 (13:55 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 26 Sep 2003 13:55:03 +0000 (13:55 +0000)
directory for AC_CONFIG_COMMANDS' first argument exists.
This makes valid the invocation of _AC_SRCPATH that follows.
Reported by Eric Sunshine.
* doc/autoconf.texi (Configuration Commands): Adjust.

ChangeLog
NEWS
THANKS
doc/autoconf.texi
lib/autoconf/status.m4
tests/acgeneral.at

index 67f6371711d71523e57e31fbe14bed4795b7350c..8d8f16b401210e04856ce3514208bdf9bc300692 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-09-26  Akim Demaille  <akim@epita.fr>
+
+       * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
+       directory for AC_CONFIG_COMMANDS' first argument exists.
+       This makes valid the invocation of _AC_SRCPATH that follows.
+       Reported by Eric Sunshine.
+       * doc/autoconf.texi (Configuration Commands): Adjust.
+
 2003-09-26  Akim Demaille  <akim@epita.fr>
 
        * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
diff --git a/NEWS b/NEWS
index a3e6c714192689e32c88ace90aa0b24b5eb7677a..370555dfe0e655eae84dd75488190bb879e668fb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
 * Major changes in Autoconf 2.57e                       -*- outline -*-
 
+** AC_CONFIG_COMMANDS
+  The directory for its first argument is automatically created.  For
+  instance, with
+
+      AC_CONFIG_COMMANDS([src/modules.hh], [...])
+
+  $top_builddir/src/ is created if needed.
+
 * Major changes in Autoconf 2.57d
 
   Released 2003-09-25, by Akim Demaille.
diff --git a/THANKS b/THANKS
index 4d94bde1f4e20710c135bb85626f23c907da4f89..93b13bf3136b147f3701e9a60b1460462269c21c 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -56,6 +56,7 @@ Enrique Robledo Arnuncio    enrique.robledo@wanadoo.es
 Erez Zadok                  ezk@cs.columbia.edu
 Eric Backus                 ericb@lsid.hp.com
 Eric Mumpower               nocturne@mit.edu
+Eric Sunshine               sunshine@sunshineco.com
 Ezra Peisach                epeisach@zif.mit.edu
 Felix Lee                   flee@cygnus.com
 Franc,ois Pinard            pinard@iro.umontreal.ca
index 4d2ce3afed1021195b018d169d0459cdf6327842..0da94a41362d095368013f7fa583020077c611cd 100644 (file)
@@ -2805,9 +2805,10 @@ commands to run when they are called multiple times.
 @acindex{CONFIG_COMMANDS}
 Specify additional shell commands to run at the end of
 @file{config.status}, and shell commands to initialize any variables
-from @command{configure}.  Associate the commands with @var{tag}.  Since
-typically the @var{cmds} create a file, @var{tag} should naturally be
-the name of that file.  This macro is one of the instantiating macros;
+from @command{configure}.  Associate the commands with @var{tag}.
+Since typically the @var{cmds} create a file, @var{tag} should
+naturally be the name of that file.  If needed, the directory hosting
+@var{tag} is created. This macro is one of the instantiating macros;
 see @ref{Configuration Actions}.
 
 Here is an unrealistic example:
index 90924bbb11f6ae948ea59693ec99fb9644d49633..252212466fedb1d875f488086a4f0f9fd9f9a171 100644 (file)
@@ -366,6 +366,7 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
   ac_dir=`AS_DIRNAME(["$ac_dest"])`
+  AS_MKDIR_P(["$ac_dir"])  
   _AC_SRCPATHS(["$ac_dir"])
 
   AC_MSG_NOTICE([executing $ac_dest commands])
index cff0af7bfc9289762f24a1bf6e1cdece5718d119..5926898035d88f5e34387c1fcee95d37ce1ece31 100644 (file)
@@ -21,7 +21,6 @@ AT_CHECK_MACRO([AC_PREFIX_DEFAULT])
 AT_CHECK_AU_MACRO([AC_CHECKING])
 AT_CHECK_AU_MACRO([AC_COMPILE_CHECK])
 AT_CHECK_AU_MACRO([AC_ENABLE])
-AT_CHECK_AU_MACRO([AC_HELP_STRING])
 AT_CHECK_AU_MACRO([AC_TRY_COMPILE])
 AT_CHECK_AU_MACRO([AC_TRY_CPP])
 AT_CHECK_AU_MACRO([AC_TRY_LINK])