diff --git a/ChangeLog b/ChangeLog index d591de1a..8f9a6e72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-13 Eric Blake + + * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and + AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change) + 2004-01-10 Jim Meyering * doc/autoconf.texi (Running the Preprocessor): Correct grammar. @@ -5,8 +10,8 @@ 2004-01-09 Paul Eggert * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning - with `autoconf -Wall,error'. Bug reported by Eric Blake in - . + with `autoconf -Wall,error'. Bug reported by Eric Blake in: + http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not AC_COMPILE_IFELSE, since we now assume our caller invokes AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 86ab24bb..fb5eb895 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -13974,7 +13974,7 @@ issue. @defmac AC_TRY_COMPILE (@var{includes}, @var{function-body}, @ovar{action-if-found}, @ovar{action-if-not-found}) @acindex{TRY_COMPILE} -Same as @samp{AC_COMPILE_IFELSE([AC_LANG_SOURCE([[@var{includes}]], +Same as @samp{AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@var{includes}]], [[@var{function-body}]])], [@var{action-if-true}], [@var{action-if-false}])} (@pxref{Running the Compiler}). @@ -13998,7 +13998,7 @@ This macro double quotes the @var{input}. @defmac AC_TRY_LINK (@var{includes}, @var{function-body}, @ovar{action-if-found}, @ovar{action-if-not-found}) @acindex{TRY_LINK} -Same as @samp{AC_LINK_IFELSE([AC_LANG_SOURCE([[@var{includes}]], +Same as @samp{AC_LINK_IFELSE([AC_LANG_PROGRAM([[@var{includes}]], [[@var{function-body}]])], [@var{action-if-true}], [@var{action-if-false}])} (@pxref{Running the Compiler}).