]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(_AC_PATH_X_XMKMF): If xmkmf returns
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2004 03:29:58 +0000 (03:29 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2004 03:29:58 +0000 (03:29 +0000)
"/usr/include", clear ac_x_includes instead of leaving it as "no"
(trivial change).  Problem and patch reported by Andrew Church in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html

lib/autoconf/libs.m4

index 9992f4d1b0afff85be99b404555398e4f3e310a7..1867cc8208b74ad56e9d8a176557b276f8a570e9 100644 (file)
@@ -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;;
     esac
     case $ac_im_usrlibdir in