"Peter O'Gorman" <[EMAIL PROTECTED]> writes:
> see http://pogma.com/misc/autoscrewup.txt for the transcript.
Thanks for checking this. Please bear with me, as I can't easily
test this directly. How about the following further patch, which
I just now installed?
2006-07-20 Paul Eggert <[EMAIL PROTECTED]>
* lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
compiler complains about it, even if things works after the
complaint. Problem reported by Peter O'Gorman.
--- lib/autoconf/libs.m4 17 Jul 2006 17:34:05 -0000 1.19
+++ lib/autoconf/libs.m4 20 Jul 2006 22:27:26 -0000
@@ -399,6 +399,8 @@ else
# others require no space. Words are not sufficient . . . .
AC_MSG_CHECKING([whether -R must be followed by a space])
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+ ac_xsave_werror_flag=$ac_[]_AC_LANG_ABBREV[]_werror_flag
+ ac_[]_AC_LANG_ABBREV[]_werror_flag=yes
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
[AC_MSG_RESULT([no])
X_LIBS="$X_LIBS -R$x_libraries"],
@@ -407,6 +409,7 @@ else
[AC_MSG_RESULT([yes])
X_LIBS="$X_LIBS -R $x_libraries"],
[AC_MSG_RESULT([neither works])])])
+ ac_[]_AC_LANG_ABBREV[]_werror_flag=$ac_xsave_werror_flag
LIBS=$ac_xsave_LIBS
fi
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf