summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-04-18 15:48:06 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-04-18 15:48:06 +0000
commit67e1e2cbcbb6615e381bb99d3ea6cc8f2ec8cd9b (patch)
treebef801c89858c41dadc64253ff5d5630a86143bd /configure.in
parent699c71e1f5eb610c474c55c2a65c027a0e9ce1f8 (diff)
downloademacs-67e1e2cbcbb6615e381bb99d3ea6cc8f2ec8cd9b.tar.gz
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
* lwlib/Makefile.in (TOOLKIT_DEFINES): Remove. * src/Makefile.in (TOOLKIT_DEFINES): Remove. (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 31523db9d5c..dee41383f1e 100644
--- a/configure.in
+++ b/configure.in
@@ -2641,6 +2641,11 @@ if test "${HAVE_X_WINDOWS}" = "yes" ; then
fi
if test "${USE_X_TOOLKIT}" != "none" ; then
AC_DEFINE(USE_X_TOOLKIT, 1, [Define to 1 if using an X toolkit.])
+ if test "${USE_X_TOOLKIT}" == "LUCID"; then
+ AC_DEFINE(USE_LUCID, 1, [Define to 1 if using the Lucid X toolkit.])
+ elif test "${USE_X_TOOLKIT}" == "MOTIF"; then
+ AC_DEFINE(USE_MOTIF, 1, [Define to 1 if using the Motif X toolkit.])
+ fi
fi
if test "${HAVE_X11}" = "yes" ; then
AC_DEFINE(HAVE_X11, 1,