diff options
| author | Paul Eggert | 2016-07-24 11:00:18 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-07-24 11:07:17 +0200 |
| commit | 2c2b0cd07c143e33af9f7237ef4819c28764a90f (patch) | |
| tree | 492c3c432782b96f59c43dd2fc0dbfd59104f2e2 | |
| parent | 4d34210256c6e07cb713ece8d7ad998a873f0f94 (diff) | |
| download | emacs-2c2b0cd07c143e33af9f7237ef4819c28764a90f.tar.gz emacs-2c2b0cd07c143e33af9f7237ef4819c28764a90f.zip | |
Require libgnutls unless --with-gnutls=no
* configure.ac: Report an error if the gnutls library is missing,
unless --with-gnutls=no is specified.
| -rw-r--r-- | configure.ac | 13 | ||||
| -rw-r--r-- | etc/NEWS | 3 |
2 files changed, 10 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index c94ecb629ef..cca555c27b4 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3568,9 +3568,9 @@ fi | |||
| 3568 | AC_SUBST(LIBGIF) | 3568 | AC_SUBST(LIBGIF) |
| 3569 | 3569 | ||
| 3570 | dnl Check for required libraries. | 3570 | dnl Check for required libraries. |
| 3571 | MISSING= | ||
| 3572 | WITH_NO= | ||
| 3571 | if test "${HAVE_X11}" = "yes"; then | 3573 | if test "${HAVE_X11}" = "yes"; then |
| 3572 | MISSING="" | ||
| 3573 | WITH_NO="" | ||
| 3574 | test "${with_xpm}" != "no" && test "${HAVE_XPM}" != "yes" && | 3574 | test "${with_xpm}" != "no" && test "${HAVE_XPM}" != "yes" && |
| 3575 | MISSING="libXpm" && WITH_NO="--with-xpm=no" | 3575 | MISSING="libXpm" && WITH_NO="--with-xpm=no" |
| 3576 | test "${with_jpeg}" != "no" && test "${HAVE_JPEG}" != "yes" && | 3576 | test "${with_jpeg}" != "no" && test "${HAVE_JPEG}" != "yes" && |
| @@ -3581,15 +3581,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 3581 | MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 3581 | MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
| 3582 | test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 3582 | test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
| 3583 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 3583 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 3584 | 3584 | fi | |
| 3585 | if test "X${MISSING}" != X; then | 3585 | test "${with_gnutls}" != "no" && test "${HAVE_GNUTLS}" != "yes" && |
| 3586 | AC_MSG_ERROR([The following required libraries were not found: | 3586 | MISSING="$MISSING gnutls" && WITH_NO="$WITH_NO --with-gnutls=no" |
| 3587 | if test "X${MISSING}" != X; then | ||
| 3588 | AC_MSG_ERROR([The following required libraries were not found: | ||
| 3587 | $MISSING | 3589 | $MISSING |
| 3588 | Maybe some development libraries/packages are missing? | 3590 | Maybe some development libraries/packages are missing? |
| 3589 | If you don't want to link with them give | 3591 | If you don't want to link with them give |
| 3590 | $WITH_NO | 3592 | $WITH_NO |
| 3591 | as options to configure]) | 3593 | as options to configure]) |
| 3592 | fi | ||
| 3593 | fi | 3594 | fi |
| 3594 | 3595 | ||
| 3595 | ### Use -lgpm if available, unless '--with-gpm=no'. | 3596 | ### Use -lgpm if available, unless '--with-gpm=no'. |
| @@ -25,6 +25,9 @@ otherwise leave it unmarked. | |||
| 25 | 25 | ||
| 26 | * Installation Changes in Emacs 25.2 | 26 | * Installation Changes in Emacs 25.2 |
| 27 | 27 | ||
| 28 | ** By default libgnutls is now required when building Emacs. | ||
| 29 | Use 'configure --with-gnutls=no' to build even when GnuTLS is missing. | ||
| 30 | |||
| 28 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes | 31 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes |
| 29 | GCC to issue warnings without stopping the build. This behavior is | 32 | GCC to issue warnings without stopping the build. This behavior is |
| 30 | now the default in developer builds. As before, use | 33 | now the default in developer builds. As before, use |