(HAVE_X11XTR6): Arrange to define it.
authorRichard M. Stallman <rms@gnu.org>
Fri, 13 May 1994 21:02:57 +0000 (21:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 13 May 1994 21:02:57 +0000 (21:02 +0000)
configure1.in

index 2e48ca7..080141c 100755 (executable)
@@ -1424,6 +1424,15 @@ if test "${HAVE_X11}" = "yes"; then
 XScreenNumberOfScreen XSetWMProtocols)
 fi
 
+if test "${USE_X_TOOLKIT}" != "none"; then
+  AC_COMPILE_CHECK(X11 toolkit version,
+                  [#include <X11/Intrinsic.h>],
+                  [#if XtSpecificationRelease < 6
+fail;
+#endif],
+                  AC_DEFINE(HAVE_X11XTR6))
+fi
+
 AC_ALLOCA
 
 # logb and frexp are found in -lm on most systems.