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