[Top][All Lists]

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

Re: [PATCH] Bug detecting X headers in autoconf 2.59

From: Paul Eggert
Subject: Re: [PATCH] Bug detecting X headers in autoconf 2.59
Date: Sat, 04 Sep 2004 20:38:55 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Andrew Church) writes:

>      When checking for the location of X11 headers in autoconf 2.59, if
> xmkmf returns an include path of "/usr/include", ac_x_includes is left
> unchanged; since this variable is initialized to "no", the subsequent code
> erroneously concludes that X is not present.

Thanks for reporting that.  I installed the patch.  Here's a copy of
it again, since it's been a while:

2004-09-04  Paul Eggert  <address@hidden>

        * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
        "/usr/include", clear ac_x_includes instead of leaving it as "no"
        (trivial change).  Problem and patch reported by Andrew Church in:

Index: libs.m4
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/libs.m4,v
retrieving revision 1.9
retrieving revision 1.10
diff -p -u -r1.9 -r1.10
--- libs.m4     5 Jan 2004 07:05:22 -0000       1.9
+++ libs.m4     5 Sep 2004 03:29:58 -0000       1.10
@@ -202,7 +202,7 @@ _ACEOF
     # bogus both because they are the default anyway, and because
     # using them would break gcc on systems where it needs fixed includes.
     case $ac_im_incroot in
-       /usr/include) ;;
+       /usr/include) ac_x_includes= ;;
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
     case $ac_im_usrlibdir in

reply via email to

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