diff options
| -rw-r--r-- | ChangeLog | 10 | ||||
| -rw-r--r-- | configure.ac | 9 |
2 files changed, 4 insertions, 15 deletions
| @@ -1,13 +1,3 @@ | |||
| 1 | 2013-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 | |||
| 11 | 2013-12-11 Glenn Morris <rgm@gnu.org> | 1 | 2013-12-11 Glenn Morris <rgm@gnu.org> |
| 12 | 2 | ||
| 13 | * info/dir: Add octave-mode. | 3 | * info/dir: Add octave-mode. |
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" \ | |||
| 3106 | fi | 3106 | fi |
| 3107 | AC_SUBST(LIBGIF) | 3107 | AC_SUBST(LIBGIF) |
| 3108 | 3108 | ||
| 3109 | dnl If using X11, warn if image libraries are missing. | 3109 | dnl Check for required libraries. |
| 3110 | dnl It's not fatal if they're absent, though the UI may suffer. | ||
| 3111 | if test "${HAVE_X11}" = "yes"; then | 3110 | if test "${HAVE_X11}" = "yes"; then |
| 3112 | MISSING="" | 3111 | MISSING="" |
| 3113 | WITH_NO="" | 3112 | WITH_NO="" |
| @@ -3123,12 +3122,12 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 3123 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 3122 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 3124 | 3123 | ||
| 3125 | if test "X${MISSING}" != X; then | 3124 | if test "X${MISSING}" != X; then |
| 3126 | AC_MSG_WARN([X11 used, but the following libraries were not found: | 3125 | AC_MSG_ERROR([The following required libraries were not found: |
| 3127 | $MISSING | 3126 | $MISSING |
| 3128 | Maybe some development libraries/packages are missing? | 3127 | Maybe some development libraries/packages are missing? |
| 3129 | Emacs will be built without them. To silence this warning, give | 3128 | If you don't want to link with them give |
| 3130 | $WITH_NO | 3129 | $WITH_NO |
| 3131 | as options to 'configure'.]) | 3130 | as options to configure]) |
| 3132 | fi | 3131 | fi |
| 3133 | fi | 3132 | fi |
| 3134 | 3133 | ||