summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-12-11 20:53:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-12-11 20:53:59 -0800
commit139f528442726be5160120fb13e68240982de92f (patch)
treebb0c5b77ec5de821d9d4f9db5dffa5e4a621b0b5 /configure.ac
parentf4f84024e6d2c4330198f752d2e71263d964e16a (diff)
downloademacs-139f528442726be5160120fb13e68240982de92f.tar.gz
Revert my most-recent change re Solaris.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 0720b4bf56e..41258fcb7a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3106,8 +3106,7 @@ elif test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no" \
fi
AC_SUBST(LIBGIF)
-dnl If using X11, warn if image libraries are missing.
-dnl It's not fatal if they're absent, though the UI may suffer.
+dnl Check for required libraries.
if test "${HAVE_X11}" = "yes"; then
MISSING=""
WITH_NO=""
@@ -3123,12 +3122,12 @@ if test "${HAVE_X11}" = "yes"; then
MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
if test "X${MISSING}" != X; then
- AC_MSG_WARN([X11 used, but the following libraries were not found:
+ AC_MSG_ERROR([The following required libraries were not found:
$MISSING
Maybe some development libraries/packages are missing?
-Emacs will be built without them. To silence this warning, give
+If you don't want to link with them give
$WITH_NO
-as options to 'configure'.])
+as options to configure])
fi
fi