From d47259f9b2d361c9a39f6d208080b24a5d9a08b8 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Fri, 26 Aug 1994 03:11:17 +0000 Subject: [PATCH] mention a linker bug --- autoconf.texi | 9 ++++++++- doc/autoconf.texi | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/autoconf.texi b/autoconf.texi index 6b5392a8..6eae404f 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -54,7 +54,8 @@ by the Foundation. @subtitle Generating Automatic Configuration Scripts @subtitle Edition @value{EDITION}, for Autoconf version @value{VERSION} @subtitle @value{UPDATED} -@author by David MacKenzie, Roland McGrath, and Noah Friedman +@author by David MacKenzie +@c I think I've rewritten all of Noah and Roland's contributions by now. @page @vskip 0pt plus 1filll @@ -1954,6 +1955,12 @@ If the file compiles and links successfully, run shell commands @var{action-if-found}, otherwise run @var{action-if-not-found}. This macro uses @code{CFLAGS} or @code{CXXFLAGS}, @code{CPPFLAGS}, @code{LDFLAGS}, and @code{LIBS} when compiling. + +A few systems have linkers that do not return a failure exit status when +there are unresolved functions in the link. This bug makes the +configuration scripts produced by Autoconf unusable on those systems. +However, some of them can be given options that make the exit status +correct. This is a problem that Autoconf does not currently address. @end defmac @defmac AC_TRY_RUN (@var{program}, @var{action-if-true} @r{[}, @var{action-if-false} @r{[}, @var{action-if-cross-compiling}@r{]]}) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 6b5392a8..6eae404f 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -54,7 +54,8 @@ by the Foundation. @subtitle Generating Automatic Configuration Scripts @subtitle Edition @value{EDITION}, for Autoconf version @value{VERSION} @subtitle @value{UPDATED} -@author by David MacKenzie, Roland McGrath, and Noah Friedman +@author by David MacKenzie +@c I think I've rewritten all of Noah and Roland's contributions by now. @page @vskip 0pt plus 1filll @@ -1954,6 +1955,12 @@ If the file compiles and links successfully, run shell commands @var{action-if-found}, otherwise run @var{action-if-not-found}. This macro uses @code{CFLAGS} or @code{CXXFLAGS}, @code{CPPFLAGS}, @code{LDFLAGS}, and @code{LIBS} when compiling. + +A few systems have linkers that do not return a failure exit status when +there are unresolved functions in the link. This bug makes the +configuration scripts produced by Autoconf unusable on those systems. +However, some of them can be given options that make the exit status +correct. This is a problem that Autoconf does not currently address. @end defmac @defmac AC_TRY_RUN (@var{program}, @var{action-if-true} @r{[}, @var{action-if-false} @r{[}, @var{action-if-cross-compiling}@r{]]})