autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: documentation example in AC_CONFIG_COMMANDS_PRE wrong


From: Paul Eggert
Subject: Re: documentation example in AC_CONFIG_COMMANDS_PRE wrong
Date: Tue, 3 Sep 2002 16:47:36 -0700 (PDT)

Thanks for the bug report.  I don't offhand know why
AC_CONFIG_COMMANDS_PRE would be useful these days, so the simplest fix
is to remove the example.  I installed the following patch.

2002-09-03  Paul Eggert  <address@hidden>

        * doc/autoconf.texi (Configuration Commands): Remove obsolete
        example for AC_CONFIG_COMMANDS_PRE.  Problem reported by Marcus
        Brinkmann.

Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.662
retrieving revision 1.663
diff -p -u -r1.662 -r1.663
--- doc/autoconf.texi   3 Sep 2002 06:09:31 -0000       1.662
+++ doc/autoconf.texi   3 Sep 2002 23:44:01 -0000       1.663
@@ -2687,15 +2687,7 @@ AC_CONFIG_COMMANDS([time-stamp], [date >
 
 @defmac AC_CONFIG_COMMANDS_PRE (@var{cmds})
 @acindex OUTPUT_COMMANDS_PRE
-Execute the @var{cmds} right before creating @file{config.status}.  A
-typical use is computing values derived from variables built during the
-execution of @command{configure}:
-
address@hidden
-AC_CONFIG_COMMANDS_PRE(
-[LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
-AC_SUBST(LTLIBOBJS)])
address@hidden example
+Execute the @var{cmds} right before creating @file{config.status}.
 @end defmac
 
 @defmac AC_CONFIG_COMMANDS_POST (@var{cmds})




reply via email to

[Prev in Thread] Current Thread [Next in Thread]