[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CONFIG_COMMANDS problem
From: |
Akim Demaille |
Subject: |
Re: AC_CONFIG_COMMANDS problem |
Date: |
Fri, 26 Sep 2003 15:11:16 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
This is my proposal. Does it work properly for you?
Index: ChangeLog
from Akim Demaille <address@hidden>
* 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.
Index: NEWS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/NEWS,v
retrieving revision 1.307
diff -u -u -r1.307 NEWS
--- NEWS 25 Sep 2003 15:22:43 -0000 1.307
+++ NEWS 26 Sep 2003 13:07:04 -0000
@@ -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.
Index: THANKS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/THANKS,v
retrieving revision 1.120
diff -u -u -r1.120 THANKS
--- THANKS 26 Sep 2003 08:21:48 -0000 1.120
+++ THANKS 26 Sep 2003 13:07:04 -0000
@@ -56,6 +56,7 @@
Erez Zadok address@hidden
Eric Backus address@hidden
Eric Mumpower address@hidden
+Eric Sunshine address@hidden
Ezra Peisach address@hidden
Felix Lee address@hidden
Franc,ois Pinard address@hidden
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.760
diff -u -u -r1.760 autoconf.texi
--- doc/autoconf.texi 23 Sep 2003 23:05:10 -0000 1.760
+++ doc/autoconf.texi 26 Sep 2003 13:07:06 -0000
@@ -2805,9 +2805,10 @@
@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
address@hidden is created. This macro is one of the instantiating macros;
see @ref{Configuration Actions}.
Here is an unrealistic example: