diff options
| author | Paul Eggert | 2014-06-04 17:34:34 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-06-04 17:34:34 -0700 |
| commit | 444060a55d4d6fb55a9c0fd4d22c09ef757b38d7 (patch) | |
| tree | 2a9246b953f1599164e9517659990fc1636503a7 | |
| parent | b1b4013662078e4134d32214aa2584610b65e29b (diff) | |
| download | emacs-444060a55d4d6fb55a9c0fd4d22c09ef757b38d7.tar.gz emacs-444060a55d4d6fb55a9c0fd4d22c09ef757b38d7.zip | |
* configure.ac: --without-all now implies --without-xft, --disable-acl.
* INSTALL: Remove apparently unmaintained documentation about what
--without-all exactly means.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | INSTALL | 17 | ||||
| -rw-r--r-- | configure.ac | 21 |
3 files changed, 27 insertions, 17 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-06-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure.ac: --without-all now implies --without-xft, --disable-acl. | ||
| 4 | * INSTALL: Remove apparently unmaintained documentation about what | ||
| 5 | --without-all exactly means. | ||
| 6 | |||
| 1 | 2014-06-03 Eli Zaretskii <eliz@gnu.org> | 7 | 2014-06-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * configure.ac (C_HEAP_SWITCH): Remove. | 9 | * configure.ac (C_HEAP_SWITCH): Remove. |
| @@ -304,22 +304,17 @@ systems which support that. | |||
| 304 | 304 | ||
| 305 | Use --without-sound to disable sound support. | 305 | Use --without-sound to disable sound support. |
| 306 | 306 | ||
| 307 | Use --without-all if you want to build a small executable with the minimal | 307 | Use --without-all for a smaller executable with fewer dependencies on |
| 308 | dependencies on external libraries, at the cost of disabling most of the | 308 | external libraries, at the cost of disabling many features. Although |
| 309 | features that are normally enabled by default. Using --without-all is | 309 | --without-all disables libraries not needed for ordinary Emacs |
| 310 | equivalent to --without-sound --without-dbus --without-libotf | 310 | operation, it does enable X support, and using the GTK2 or GTK3 |
| 311 | --without-selinux --without-xft --without-gsettings --without-gnutls | ||
| 312 | --without-rsvg --without-xml2 --without-gconf --without-imagemagick | ||
| 313 | --without-m17n-flt --without-jpeg --without-tiff --without-gif | ||
| 314 | --without-png --without-gpm --without-file-notification. Note that | ||
| 315 | --without-all leaves X support enabled, and using the GTK2 or GTK3 | ||
| 316 | toolkit creates a lot of library dependencies. So if you want to | 311 | toolkit creates a lot of library dependencies. So if you want to |
| 317 | build a small executable with very basic X support, use --without-all | 312 | build a small executable with very basic X support, use --without-all |
| 318 | --with-x-toolkit=no. For the smallest possible executable without X, | 313 | --with-x-toolkit=no. For the smallest possible executable without X, |
| 319 | use --without-all --without-x. If you want to build with just a few | 314 | use --without-all --without-x. If you want to build with just a few |
| 320 | features enabled, you can combine --without-all with --with-FEATURE. | 315 | features enabled, you can combine --without-all with --with-FEATURE. |
| 321 | For example, you can use --without-all --with-dbus to build with DBus | 316 | For example, you can use --without-all --without-x --with-dbus to |
| 322 | support and nothing more. | 317 | build with DBus support and nothing more. |
| 323 | 318 | ||
| 324 | Use --with-wide-int to implement Emacs values with the type 'long long', | 319 | Use --with-wide-int to implement Emacs values with the type 'long long', |
| 325 | even on hosts where a narrower type would do. With this option, on a | 320 | even on hosts where a narrower type would do. With this option, on a |
diff --git a/configure.ac b/configure.ac index 967d2c44705..fbfedb02795 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -2817,14 +2817,17 @@ fi | |||
| 2817 | 2817 | ||
| 2818 | ### Start of font-backend (under X11) section. | 2818 | ### Start of font-backend (under X11) section. |
| 2819 | if test "${HAVE_X11}" = "yes"; then | 2819 | if test "${HAVE_X11}" = "yes"; then |
| 2820 | EMACS_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.2.0], | 2820 | ## Use -lXft if available, unless `--with-xft=no'. |
| 2821 | [HAVE_FC=yes], [HAVE_FC=no]) | 2821 | HAVE_XFT=maybe |
| 2822 | 2822 | if test "x${with_x}" = "xno"; then | |
| 2823 | ## Use -lXft if available, unless `--with-xft=no'. | ||
| 2824 | HAVE_XFT=maybe | ||
| 2825 | if test "${HAVE_FC}" = "no" || test "x${with_x}" = "xno"; then | ||
| 2826 | with_xft="no"; | 2823 | with_xft="no"; |
| 2827 | fi | 2824 | fi |
| 2825 | |||
| 2826 | if test "$with_xft" != no; then | ||
| 2827 | EMACS_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.2.0]) | ||
| 2828 | with_xft=$HAVE_FONTCONFIG | ||
| 2829 | fi | ||
| 2830 | |||
| 2828 | if test "x${with_xft}" != "xno"; then | 2831 | if test "x${with_xft}" != "xno"; then |
| 2829 | 2832 | ||
| 2830 | EMACS_CHECK_MODULES([XFT], [xft >= 0.13.0], [], [HAVE_XFT=no]) | 2833 | EMACS_CHECK_MODULES([XFT], [xft >= 0.13.0], [], [HAVE_XFT=no]) |
| @@ -4751,6 +4754,12 @@ AH_VERBATIM([FORTIFY_SOUR], | |||
| 4751 | #endif | 4754 | #endif |
| 4752 | ]) | 4755 | ]) |
| 4753 | 4756 | ||
| 4757 | # If user asks to omit features, disable optional features that gnulib | ||
| 4758 | # might otherwise enable. | ||
| 4759 | if test "$with_features" = no && test "$enable_acl" != yes; then | ||
| 4760 | enable_acl=no | ||
| 4761 | fi | ||
| 4762 | |||
| 4754 | # Configure gnulib. Although this does not affect CFLAGS or LIBS permanently. | 4763 | # Configure gnulib. Although this does not affect CFLAGS or LIBS permanently. |
| 4755 | # it temporarily reverts them to their pre-pkg-config values, | 4764 | # it temporarily reverts them to their pre-pkg-config values, |
| 4756 | # because gnulib needs to work with both src (which uses the | 4765 | # because gnulib needs to work with both src (which uses the |