aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-07-24 11:00:18 +0200
committerPaul Eggert2016-07-24 11:07:17 +0200
commit2c2b0cd07c143e33af9f7237ef4819c28764a90f (patch)
tree492c3c432782b96f59c43dd2fc0dbfd59104f2e2
parent4d34210256c6e07cb713ece8d7ad998a873f0f94 (diff)
downloademacs-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.ac13
-rw-r--r--etc/NEWS3
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
3568AC_SUBST(LIBGIF) 3568AC_SUBST(LIBGIF)
3569 3569
3570dnl Check for required libraries. 3570dnl Check for required libraries.
3571MISSING=
3572WITH_NO=
3571if test "${HAVE_X11}" = "yes"; then 3573if 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 3584fi
3585 if test "X${MISSING}" != X; then 3585test "${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"
3587if test "X${MISSING}" != X; then
3588 AC_MSG_ERROR([The following required libraries were not found:
3587 $MISSING 3589 $MISSING
3588Maybe some development libraries/packages are missing? 3590Maybe some development libraries/packages are missing?
3589If you don't want to link with them give 3591If you don't want to link with them give
3590 $WITH_NO 3592 $WITH_NO
3591as options to configure]) 3593as options to configure])
3592 fi
3593fi 3594fi
3594 3595
3595### Use -lgpm if available, unless '--with-gpm=no'. 3596### Use -lgpm if available, unless '--with-gpm=no'.
diff --git a/etc/NEWS b/etc/NEWS
index e01f180e711..6462effd9f4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
29Use '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
29GCC to issue warnings without stopping the build. This behavior is 32GCC to issue warnings without stopping the build. This behavior is
30now the default in developer builds. As before, use 33now the default in developer builds. As before, use