From 72d9b5b37f763cfae9f2a5e20cc12e7f81563075 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 22 Jun 2000 22:05:01 +0000 Subject: [PATCH] (HAVE_LIBXP): Change test for libXp. --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 32decf1fbe1..6200d4ae392 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.39.2