[Top][All Lists]

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


From: Alexandre Duret-Lutz
Date: Sat, 14 May 2005 13:22:43 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

ALLOCA and LIBOBJS are siblings.

2005-05-14  Alexandre Duret-Lutz  <address@hidden>

        * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
        as on 2005-05-02.
        * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
        Mention LIBOBJDIR.

Index: NEWS
RCS file: /cvsroot/autoconf/autoconf/NEWS,v
retrieving revision 1.339
diff -u -r1.339 NEWS
--- NEWS        14 May 2005 07:00:39 -0000      1.339
+++ NEWS        14 May 2005 11:09:32 -0000
@@ -27,6 +27,10 @@
     infodir       info documentation [DATAROOTDIR/info]
     mandir        man documentation [DATAROOTDIR/man]
+  This means that if you use any of address@hidden@', address@hidden@', or
+  address@hidden@' in a file, you will have to ensure `${datarootdir}' is
+  defined in this file.
   New macros for ISO C99 support.  AC_PROG_CC_C89 and AC_PROG_CC_C99
   check for ANSI C89 and ISO C99 support respectively.
@@ -41,6 +45,11 @@
   New macro for copyright notices in testsuite files.
+  Object names added to these variables are now prefixed with `${LIBOBJDIR}',
+  as in `${LIBOBJDIR}alloca.o'.  LIBOBJDIR is meant to be defined from
+  `' in case the object files lie in a different directory.
 * Major changes in Autoconf 2.59b
   Released 2004-08-20, by Paul Eggert.
Index: doc/autoconf.texi
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.897
diff -u -r1.897 autoconf.texi
--- doc/autoconf.texi   10 May 2005 23:37:37 -0000      1.897
+++ doc/autoconf.texi   14 May 2005 11:09:35 -0000
@@ -3989,11 +3989,13 @@
 If those attempts fail, it looks for the function in the standard C
 library.  If any of those methods succeed, it defines
 @code{HAVE_ALLOCA}.  Otherwise, it sets the output variable
address@hidden to @samp{alloca.o} and defines @code{C_ALLOCA} (so
-programs can periodically call @samp{alloca(0)} to garbage collect).
-This variable is separate from @code{LIBOBJS} so multiple programs can
-share the value of @code{ALLOCA} without needing to create an actual
-library, in case only some of them use the code in @code{LIBOBJS}.
address@hidden to @address@hidden@}alloca.o} and defines
address@hidden (so programs can periodically call @samp{alloca(0)} to
+garbage collect).  This variable is separate from @code{LIBOBJS} so
+multiple programs can share the value of @code{ALLOCA} without needing
+to create an actual library, in case only some of them use the code in
address@hidden  The @address@hidden@}} prefix serves the same
+purpose as in @code{LIBOBJS} (@pxref{AC_LIBOBJ vs LIBOBJS}).
 This macro does not try to get @code{alloca} from the System V R3
 @file{libPW} or the System V R4 @file{libucb} because those libraries
Index: lib/autoconf/functions.m4
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/functions.m4,v
retrieving revision 1.92
diff -u -r1.92 functions.m4
--- lib/autoconf/functions.m4   14 May 2005 07:00:39 -0000      1.92
+++ lib/autoconf/functions.m4   14 May 2005 11:09:36 -0000
@@ -254,7 +254,7 @@
 # contain a buggy version.  If you still want to use their alloca,
 # use ar to extract alloca.o from them instead of compiling alloca.c.
-AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
+AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl
 AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using `alloca.c'.])
 AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
Alexandre Duret-Lutz

reply via email to

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