summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-01-30 19:47:51 -0800
committerGlenn Morris <rgm@gnu.org>2012-01-30 19:47:51 -0800
commite4070def538c1ffc40241f3beb79c55a9fbac13e (patch)
tree359ca7af3f2786ff557aa773222a4d6af2174dc6
parentc78c6e0bbf8ef6d442f92b38083311e51a51beaf (diff)
downloademacs-e4070def538c1ffc40241f3beb79c55a9fbac13e.tar.gz
Small configure.in fix for Motif toolkit.
* configure.in: Throw an explicit error if Motif toolkit was requested but requirements could not be found.
-rw-r--r--ChangeLog3
-rw-r--r--configure.in2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 54f5a809e5a..bc5b3fcd77e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-01-31 Glenn Morris <rgm@gnu.org>
+ * configure.in: Throw an explicit error if Motif toolkit was
+ requested but requirements could not be found.
+
* configure.in: Allow Emacs to actually be built with xaw scroll-bars.
2012-01-30 Eli Zaretskii <eliz@gnu.org>
diff --git a/configure.in b/configure.in
index 7ec17a176d6..9eae1a51767 100644
--- a/configure.in
+++ b/configure.in
@@ -2234,6 +2234,8 @@ Motif version prior to 2.1.
CPPFLAGS=$OLD_CPPFLAGS
fi
fi
+ AC_CHECK_HEADER([Xm/BulletinB.h], [],
+ [AC_MSG_ERROR([Motif toolkit requested but requirements not found.])])
fi
dnl Use toolkit scroll bars if configured for GTK or X toolkit and either