diff configure.in @ 94175:dfdc13740582

* 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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 18 Apr 2008 15:48:06 +0000
parents 5b10e5646973
children ca9efc5939fc
line wrap: on
line diff
--- a/configure.in	Fri Apr 18 15:34:26 2008 +0000
+++ b/configure.in	Fri Apr 18 15:48:06 2008 +0000
@@ -2641,6 +2641,11 @@
 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,