as on 2005-05-02.
* doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
Mention LIBOBJDIR.
+2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
+ as on 2005-05-02.
+ * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
+ Mention LIBOBJDIR.
+
2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
* AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
infodir info documentation [DATAROOTDIR/info]
mandir man documentation [DATAROOTDIR/man]
+ This means that if you use any of `@datadir@', `@infodir@', or
+ `@mandir@' in a file, you will have to ensure `${datarootdir}' is
+ defined in this file.
+
** AC_PROG_CC_C89, AC_PROG_CC_C99
New macros for ISO C99 support. AC_PROG_CC_C89 and AC_PROG_CC_C99
check for ANSI C89 and ISO C99 support respectively.
** AT_COPYRIGHT
New macro for copyright notices in testsuite files.
+** ALLOCA, LIBOBJS, LTLIBOBJS
+ Object names added to these variables are now prefixed with `${LIBOBJDIR}',
+ as in `${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
+ `Makefile.in' in case the object files lie in a different directory.
+
* Major changes in Autoconf 2.59b
Released 2004-08-20, by Paul Eggert.
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
-@code{ALLOCA} 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}.
+@code{ALLOCA} to @samp{$@{LIBOBJDIR@}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}. The @samp{$@{LIBOBJDIR@}} 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
# 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_LIBSOURCES(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,