PATCH 21.5
I just tried out the new configure.ac for the first time.  Nice work,
Malcolm!  My usual configure options, once mapped to the new names,
mostly worked.  I needed the patch below to be able to use Xaw/XawInit.h
on my Fedora Core 3 machine, though.
ChangeLog addition:
2005-03-15  Jerry James  <james(a)xemacs.org>
	* configure.ac: Include <X11/Intrinsic.h> when checking for
	<Xaw/XawInit.h> usability.
xemacs-21.5 source patch:
Diff command:   cvs -q diff -uN
Files affected: configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.4
diff -d -u -r1.4 configure.ac
--- configure.ac	2005/03/15 12:37:14	1.4
+++ configure.ac	2005/03/15 17:36:07
@@ -3930,7 +3930,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. :/
@@ -3941,6 +3944,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?
@@ -3952,6 +3956,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi
 
@@ -3967,6 +3972,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi
 
@@ -3982,6 +3988,7 @@
 #if HAVE_X11_XFUNCPROTO_H
 #include <X11/Xfuncproto.h>
 #endif
+#include <X11/Intrinsic.h>
 ])
     fi
 
Regards,
-- 
Jerry James
http://www.ittc.ku.edu/~james/