(HAVE_LIBXP): Change test for libXp.
authorGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 22:05:01 +0000 (22:05 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 22:05:01 +0000 (22:05 +0000)
configure.in

index 32decf1..6200d4a 100644 (file)
@@ -1700,7 +1700,10 @@ Motif version prior to 2.1.
   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