diff configure.ac @ 2694:296a5cd2a686

[xemacs-hg @ 2005-03-27 04:21:07 by james] Fix configure's test for XawInit.h. See the xemacs-patches message with ID <pshdjcx0x9.fsf@diannao.ittc.ku.edu>.
author james
date Sun, 27 Mar 2005 04:21:09 +0000
parents 7be4146ed65e
children 2b621542ba7a
line wrap: on
line diff
--- a/configure.ac	Sat Mar 26 22:52:06 2005 +0000
+++ b/configure.ac	Sun Mar 27 04:21:09 2005 +0000
@@ -3928,7 +3928,10 @@
       [AC_MSG_WARN([Could not find a non-3d Athena header set.])],
       [AC_CHECK_HEADER(X11/Xaw/XawInit.h,
         [athena_h_path=X11/Xaw],
-        [AC_MSG_WARN([Could not find a non-3d Athena header set.])])])
+        [AC_MSG_WARN([Could not find a non-3d Athena header set.])],
+[
+#include <X11/Intrinsic.h>
+])])
   else
     dnl The three-d Athena headers are so much more slippery.
     dnl Curse this `Lets replace standard libraries' thing that they did. :/
@@ -3939,6 +3942,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h.>
 ])
 
     dnl Is the variant specific header directory directly under include?
@@ -3950,6 +3954,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi
 
@@ -3965,6 +3970,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi
 
@@ -3980,6 +3986,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi