Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
08741ba9
Commit
08741ba9
authored
Dec 25, 1995
by
Richard M. Stallman
Browse files
Determine HAVE_X11R6.
(HAVE_MENUS): Renamed from HAVE_X_MENU.
parent
0afac48c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
configure.in
configure.in
+15
-4
No files found.
configure.in
View file @
08741ba9
...
...
@@ -1032,9 +1032,9 @@ esac
X_TOOLKIT_TYPE=$USE_X_TOOLKIT
### If we're using X11, we should use the X menu package.
HAVE_
X_
MENU=no
HAVE_MENU
S
=no
case ${HAVE_X11} in
yes ) HAVE_
X_
MENU=yes ;;
yes ) HAVE_MENU
S
=yes ;;
esac
if test "${opsys}" = "hpux9"; then
...
...
@@ -1255,6 +1255,17 @@ XScreenNumberOfScreen XSetWMProtocols)
AC_CHECK_LIB(Xmu, XmuConvertStandardSelection)
fi
if test "${window_system}" = "x11"; then
AC_MSG_CHECKING(X11 version)
AC_TRY_LINK([#include <X11/Xlib.h>],
[#if XlibSpecificationRelease < 6
fail;
#endif
], [AC_MSG_RESULT(6)
AC_DEFINE(HAVE_X11R6)],
[AC_MSG_RESULT(not 6)])
fi
if test "${USE_X_TOOLKIT}" != "none"; then
AC_MSG_CHECKING(X11 toolkit version)
AC_TRY_LINK([#include <X11/Intrinsic.h>],
...
...
@@ -1419,8 +1430,8 @@ fi
if test "${HAVE_XFREE386}" = "yes" ; then
AC_DEFINE(HAVE_XFREE386)
fi
if test "${HAVE_
X_
MENU}" = "yes" ; then
AC_DEFINE(HAVE_
X_
MENU)
if test "${HAVE_MENU
S
}" = "yes" ; then
AC_DEFINE(HAVE_MENU
S
)
fi
if test "${GNU_MALLOC}" = "yes" ; then
AC_DEFINE(GNU_MALLOC)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment