changeset 29864:507584616639

(HAVE_LIBXP): Change test for libXp.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Jun 2000 22:05:01 +0000
parents bd4f71c0f33b
children 6b6699c7fce3
files configure.in
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Jun 22 20:50:00 2000 +0000
+++ b/configure.in	Thu Jun 22 22:05:01 2000 +0000
@@ -1700,7 +1700,10 @@
   HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
   if test $emacs_cv_motif_version_2_1 = yes; then
     AC_DEFINE(HAVE_MOTIF_2_1)
-    AC_CHECK_LIB(Xp, XpCreateContext)
+    AC_CHECK_LIB(Xp, XpCreateContext, HAVE_LIBXP=yes, , -lXext)
+    if test ${HAVE_LIBXP} = yes; then
+      AC_DEFINE(HAVE_LIBXP)
+    fi	
   fi
 fi