[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PATH_XTRA and -rpath

From: Paul Eggert
Subject: Re: AC_PATH_XTRA and -rpath
Date: Thu, 20 Jul 2006 15:39:37 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Peter O'Gorman" <address@hidden> writes:

> see 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  <address@hidden>

        * 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
        X_LIBS="$X_LIBS -R$x_libraries"],
@@ -407,6 +409,7 @@ else
          X_LIBS="$X_LIBS -R $x_libraries"],
         [AC_MSG_RESULT([neither works])])])
+    ac_[]_AC_LANG_ABBREV[]_werror_flag=$ac_xsave_werror_flag

reply via email to

[Prev in Thread] Current Thread [Next in Thread]