From: Ben Elliston Date: Sun, 21 Feb 1999 21:05:26 +0000 (+0000) Subject: 1999-02-02 Pavel Roskin X-Git-Tag: experimental-branchpoint~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bab20391bbe5a83b8a1cee6bf24b55db157bd93;p=thirdparty%2Fautoconf.git 1999-02-02 Pavel Roskin * autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and AC_TRY_LINK_FUNC removed. --- diff --git a/ChangeLog b/ChangeLog index a41b2721..ccf5ca87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -42,6 +42,12 @@ * standards.texi: Update from FSF. +1999-02-02 Pavel Roskin + + * autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and + AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and + AC_TRY_LINK_FUNC removed. + 1999-01-29 Ben Elliston * acspecific.m4 (AC_EXEEXT): Ignore C++ source files. diff --git a/autoconf.texi b/autoconf.texi index f266a92e..d516fc43 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -781,7 +781,7 @@ might need to tell @code{configure} where to find some other shell scripts by calling @code{AC_CONFIG_AUX_DIR}, though the default places it looks are correct for most cases. -@defmac AC_CONFIG_AUX_DIR(@var{dir}) +@defmac AC_CONFIG_AUX_DIR (@var{dir}) @maindex CONFIG_AUX_DIR Use the @file{install-sh}, @file{config.sub}, @file{config.guess}, and Cygnus @code{configure} scripts that are in directory @var{dir}. These @@ -1625,7 +1625,7 @@ calling @code{AC_TRY_CPP}, @code{AC_CHECK_HEADER}, @code{AC_EGREP_HEADER}, or @code{AC_EGREP_CPP}. @end defmac -@defmac AC_PROG_F77 +@defmac AC_PROG_F77 @maindex PROG_FORTRAN @ovindex F77 @ovindex FFLAGS @@ -1880,8 +1880,9 @@ Search for a library defining @var{function}, if it's not already available. This equates to calling @code{AC_TRY_LINK_FUNC} first with no libraries, then for each library listed in @var{search-libs}. -If the function is found, run @var{action-if-found}, otherwise run -@var{action-if-not-found}. +Add @samp{-l@var{library}} to @code{LIBS} for the first library found +to contain @var{function}, and run @var{action-if-found}. If the +function is not found, run @var{action-if-not-found}. If linking with @var{library} results in unresolved symbols, which would be resolved by linking with additional libraries, give those libraries @@ -1891,15 +1892,6 @@ present, because linking the test program will always fail with unresolved symbols. @end defmac -@defmac AC_SEARCH_LIBS (@var{function}, @var{search-libs}@r{[}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]}) -@maindex SEARCH_LIBS -This macro is equivalent to calling @code{AC_TRY_LINK_FUNC} once for each -library listed in @var{search-libs}. Add @samp{-l@var{library}} to -@code{LIBS} for the first library found to contain @var{function}, and -execute @var{action-if-found}. Otherwise execute -@var{action-if-not-found}. -@end defmac - @node Library Functions, Header Files, Libraries, Existing Tests @section Library Functions @@ -3153,14 +3145,6 @@ If the file compiles and links successfully, run shell commands @var{action-if-found}, otherwise run @var{action-if-not-found}. @end defmac -@defmac AC_TRY_LINK_FUNC (@var{function}, @r{[}@var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]}) -@maindex TRY_LINK_FUNC -Attempt to compile and link a small program that links with -@var{function}. If the file compiles and links successfully, -run shell commands @var{action-if-found}, otherwise run -@var{action-if-not-found}. -@end defmac - @defmac AC_COMPILE_CHECK (@var{echo-text}, @var{includes}, @var{function-body}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]}) @maindex COMPILE_CHECK This is an obsolete version of @code{AC_TRY_LINK}, with the addition diff --git a/doc/autoconf.texi b/doc/autoconf.texi index f266a92e..d516fc43 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -781,7 +781,7 @@ might need to tell @code{configure} where to find some other shell scripts by calling @code{AC_CONFIG_AUX_DIR}, though the default places it looks are correct for most cases. -@defmac AC_CONFIG_AUX_DIR(@var{dir}) +@defmac AC_CONFIG_AUX_DIR (@var{dir}) @maindex CONFIG_AUX_DIR Use the @file{install-sh}, @file{config.sub}, @file{config.guess}, and Cygnus @code{configure} scripts that are in directory @var{dir}. These @@ -1625,7 +1625,7 @@ calling @code{AC_TRY_CPP}, @code{AC_CHECK_HEADER}, @code{AC_EGREP_HEADER}, or @code{AC_EGREP_CPP}. @end defmac -@defmac AC_PROG_F77 +@defmac AC_PROG_F77 @maindex PROG_FORTRAN @ovindex F77 @ovindex FFLAGS @@ -1880,8 +1880,9 @@ Search for a library defining @var{function}, if it's not already available. This equates to calling @code{AC_TRY_LINK_FUNC} first with no libraries, then for each library listed in @var{search-libs}. -If the function is found, run @var{action-if-found}, otherwise run -@var{action-if-not-found}. +Add @samp{-l@var{library}} to @code{LIBS} for the first library found +to contain @var{function}, and run @var{action-if-found}. If the +function is not found, run @var{action-if-not-found}. If linking with @var{library} results in unresolved symbols, which would be resolved by linking with additional libraries, give those libraries @@ -1891,15 +1892,6 @@ present, because linking the test program will always fail with unresolved symbols. @end defmac -@defmac AC_SEARCH_LIBS (@var{function}, @var{search-libs}@r{[}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]}) -@maindex SEARCH_LIBS -This macro is equivalent to calling @code{AC_TRY_LINK_FUNC} once for each -library listed in @var{search-libs}. Add @samp{-l@var{library}} to -@code{LIBS} for the first library found to contain @var{function}, and -execute @var{action-if-found}. Otherwise execute -@var{action-if-not-found}. -@end defmac - @node Library Functions, Header Files, Libraries, Existing Tests @section Library Functions @@ -3153,14 +3145,6 @@ If the file compiles and links successfully, run shell commands @var{action-if-found}, otherwise run @var{action-if-not-found}. @end defmac -@defmac AC_TRY_LINK_FUNC (@var{function}, @r{[}@var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]}) -@maindex TRY_LINK_FUNC -Attempt to compile and link a small program that links with -@var{function}. If the file compiles and links successfully, -run shell commands @var{action-if-found}, otherwise run -@var{action-if-not-found}. -@end defmac - @defmac AC_COMPILE_CHECK (@var{echo-text}, @var{includes}, @var{function-body}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]}) @maindex COMPILE_CHECK This is an obsolete version of @code{AC_TRY_LINK}, with the addition