[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3605) autoconf needs a patch



Full_Name: Howard Chu
Version: 2.1, 2.2, 2.3
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.126.120.178)
Submitted by: hyc


The version of autoconf we're using is discarding useful diagnostic information
that really needs to be saved in config.log. The following patch needs to be
applied to autoconf's acgeneral.m4 and the patched acgeneral should be
installed, then autoconf rerun to regenerate the configure scripts.

diff -u autoconf-2.13.1/acgeneral.m4 /usr/local/share/autoconf/acgeneral.m4
--- autoconf-2.13.1/acgeneral.m4        1999-10-05 07:49:14.000000000 -0700
+++ /usr/local/share/autoconf/acgeneral.m4      2004-04-22 13:11:04.000000000
-0700
@@ -1814,7 +1814,7 @@
])dnl
[$1]
EOF
-if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} && (./conftest; exit)
2>/dev/null
+if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} && (./conftest; exit)
2>&AC_FD_CC
then
dnl Don't remove the temporary files here, so they can be examined.
  ifelse([$2], , :, [$2])