diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
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 |