aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in19
1 files changed, 15 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 7ca502c7be8..a72e4b9f570 100644
--- a/configure.in
+++ b/configure.in
@@ -1032,9 +1032,9 @@ esac
1032X_TOOLKIT_TYPE=$USE_X_TOOLKIT 1032X_TOOLKIT_TYPE=$USE_X_TOOLKIT
1033 1033
1034### If we're using X11, we should use the X menu package. 1034### If we're using X11, we should use the X menu package.
1035HAVE_X_MENU=no 1035HAVE_MENUS=no
1036case ${HAVE_X11} in 1036case ${HAVE_X11} in
1037 yes ) HAVE_X_MENU=yes ;; 1037 yes ) HAVE_MENUS=yes ;;
1038esac 1038esac
1039 1039
1040if test "${opsys}" = "hpux9"; then 1040if test "${opsys}" = "hpux9"; then
@@ -1255,6 +1255,17 @@ XScreenNumberOfScreen XSetWMProtocols)
1255 AC_CHECK_LIB(Xmu, XmuConvertStandardSelection) 1255 AC_CHECK_LIB(Xmu, XmuConvertStandardSelection)
1256fi 1256fi
1257 1257
1258if test "${window_system}" = "x11"; then
1259 AC_MSG_CHECKING(X11 version)
1260 AC_TRY_LINK([#include <X11/Xlib.h>],
1261[#if XlibSpecificationRelease < 6
1262fail;
1263#endif
1264], [AC_MSG_RESULT(6)
1265 AC_DEFINE(HAVE_X11R6)],
1266 [AC_MSG_RESULT(not 6)])
1267fi
1268
1258if test "${USE_X_TOOLKIT}" != "none"; then 1269if test "${USE_X_TOOLKIT}" != "none"; then
1259 AC_MSG_CHECKING(X11 toolkit version) 1270 AC_MSG_CHECKING(X11 toolkit version)
1260 AC_TRY_LINK([#include <X11/Intrinsic.h>], 1271 AC_TRY_LINK([#include <X11/Intrinsic.h>],
@@ -1419,8 +1430,8 @@ fi
1419if test "${HAVE_XFREE386}" = "yes" ; then 1430if test "${HAVE_XFREE386}" = "yes" ; then
1420 AC_DEFINE(HAVE_XFREE386) 1431 AC_DEFINE(HAVE_XFREE386)
1421fi 1432fi
1422if test "${HAVE_X_MENU}" = "yes" ; then 1433if test "${HAVE_MENUS}" = "yes" ; then
1423 AC_DEFINE(HAVE_X_MENU) 1434 AC_DEFINE(HAVE_MENUS)
1424fi 1435fi
1425if test "${GNU_MALLOC}" = "yes" ; then 1436if test "${GNU_MALLOC}" = "yes" ; then
1426 AC_DEFINE(GNU_MALLOC) 1437 AC_DEFINE(GNU_MALLOC)