aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-12-11 14:31:02 -0800
committerPaul Eggert2013-12-11 14:31:02 -0800
commit7204a2e666b34d8b309b7b8568c88032468e207e (patch)
tree40eefecf7cac67fe1d61887986f651c72604e4cc
parent7b3f56792cb7d093aacc14dda81960dd75c23c4d (diff)
downloademacs-7204a2e666b34d8b309b7b8568c88032468e207e.tar.gz
emacs-7204a2e666b34d8b309b7b8568c88032468e207e.zip
Make 'configure' work out-of-the-box on Solaris.
* configure.ac: Work even if libgif etc. are missing. Emacs works without these libraries even if its default GUI is harmed, so they are not strictly necessary. Another possibility would be to disable X11 if these libraries are missing. The point is that a plain 'configure' should not fail on platforms like Solaris 11 where one or more image libraries are not installed by default.
-rw-r--r--ChangeLog10
-rw-r--r--configure.ac9
2 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 795313685eb..7443e049f61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
12013-12-11 Paul Eggert <eggert@cs.ucla.edu>
2
3 Make 'configure' work out-of-the-box on Solaris.
4 * configure.ac: Work even if libgif etc. are missing. Emacs works
5 without these libraries even if its default GUI is harmed, so they
6 are not strictly necessary. Another possibility would be to
7 disable X11 if these libraries are missing. The point is that a
8 plain 'configure' should not fail on platforms like Solaris 11
9 where one or more image libraries are not installed by default.
10
12013-12-11 Glenn Morris <rgm@gnu.org> 112013-12-11 Glenn Morris <rgm@gnu.org>
2 12
3 * info/dir: Add octave-mode. 13 * info/dir: Add octave-mode.
diff --git a/configure.ac b/configure.ac
index 41258fcb7a9..0720b4bf56e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3106,7 +3106,8 @@ elif test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no" \
3106fi 3106fi
3107AC_SUBST(LIBGIF) 3107AC_SUBST(LIBGIF)
3108 3108
3109dnl Check for required libraries. 3109dnl If using X11, warn if image libraries are missing.
3110dnl It's not fatal if they're absent, though the UI may suffer.
3110if test "${HAVE_X11}" = "yes"; then 3111if test "${HAVE_X11}" = "yes"; then
3111 MISSING="" 3112 MISSING=""
3112 WITH_NO="" 3113 WITH_NO=""
@@ -3122,12 +3123,12 @@ if test "${HAVE_X11}" = "yes"; then
3122 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 3123 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
3123 3124
3124 if test "X${MISSING}" != X; then 3125 if test "X${MISSING}" != X; then
3125 AC_MSG_ERROR([The following required libraries were not found: 3126 AC_MSG_WARN([X11 used, but the following libraries were not found:
3126 $MISSING 3127 $MISSING
3127Maybe some development libraries/packages are missing? 3128Maybe some development libraries/packages are missing?
3128If you don't want to link with them give 3129Emacs will be built without them. To silence this warning, give
3129 $WITH_NO 3130 $WITH_NO
3130as options to configure]) 3131as options to 'configure'.])
3131 fi 3132 fi
3132fi 3133fi
3133 3134