Mercurial > emacs
changeset 87954:a5ce1dbca0cc
Correct usage of OPTION_DEFAULT_ON, OPTION_DEFAULT_OFF so that the
defaults are as they used to be.
Default `Carbon' to off (it's unsupported).
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 25 Jan 2008 04:32:32 +0000 |
parents | 2c8219ff3526 |
children | f114cd2233ab |
files | configure.in |
diffstat | 1 files changed, 16 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Fri Jan 25 04:31:22 2008 +0000 +++ b/configure.in Fri Jan 25 04:32:32 2008 +0000 @@ -101,6 +101,7 @@ OPTION_DEFAULT_ON([sound],[don't compile with sound support]) +dnl FIXME currently it is not the last. dnl This should be the last --with option, because --with-x is dnl added later on when we find the path of X, and it's best to dnl keep them together visually. @@ -122,19 +123,24 @@ with_x_toolkit=$val ]) -OPTION_DEFAULT_OFF([xpm],[use -lXpm for displaying XPM images]) -OPTION_DEFAULT_OFF([jpeg],[use -ljpeg for displaying JPEG images]) -OPTION_DEFAULT_OFF([tiff],[use -ltiff for displaying TIFF images]) -OPTION_DEFAULT_OFF([gif],[use -lgif (or -lungif) for displaying GIF images]) -OPTION_DEFAULT_OFF([png],[use -lpng for displaying PNG images]) -OPTION_DEFAULT_OFF([gpm],[use -lgpm for mouse support on a GNU/Linux console]) -OPTION_DEFAULT_OFF([rsvg],[use -lrsvg-2 for displaying SVG images]) -OPTION_DEFAULT_OFF([gtk],[use GTK (same as --with-x-toolkit=gtk)]) +dnl _ON results in a '--without' option in the --help output, so +dnl the help text should refer to "don't compile", etc. +OPTION_DEFAULT_ON([xpm],[don't compile with XPM image support]) +OPTION_DEFAULT_ON([jpeg],[don't compile with JPEG image support]) +OPTION_DEFAULT_ON([tiff],[don't compile with TIFF image support]) +OPTION_DEFAULT_ON([gif],[don't compile with GIF image support]) +OPTION_DEFAULT_ON([png],[don't compile with PNG image support]) +OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support]) + +OPTION_DEFAULT_OFF([gtk],[use GTK toolkit]) OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) -OPTION_DEFAULT_ON([carbon],[don't use Carbon GUI on Mac OS X]) -OPTION_DEFAULT_ON([dbus],[use D-Bus]) +OPTION_DEFAULT_OFF([carbon],[use Carbon GUI on Mac OS X. **UNSUPPORTED!**]) + +OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) +OPTION_DEFAULT_OFF([dbus],[compile with D-Bus support]) + AC_ARG_WITH([pkg-config-prog],dnl [AS_HELP_STRING([--with-pkg-config-prog=PATH],