diff options
author | Miles Bader <miles@gnu.org> | 2007-10-11 16:14:00 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-10-11 16:14:00 +0000 |
commit | ecb21060d5c1752d41d7a742be565c59b5fcb855 (patch) | |
tree | fadebcd18a69457a1d564f738c3f9bdcf512ab4b /configure | |
parent | 42af7493ae7e7a14ee508800c7fa75b65a94c143 (diff) | |
parent | 58ade22bf16a9ec2ff0aee6c59d8db4d1703e94f (diff) | |
download | emacs-ecb21060d5c1752d41d7a742be565c59b5fcb855.tar.gz |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 866-879)
- Merge multi-tty branch
- Update from CVS
- Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 65 |
1 files changed, 48 insertions, 17 deletions
diff --git a/configure b/configure index c8382e4bf2c..8d5e5c98f8c 100755 --- a/configure +++ b/configure @@ -1324,12 +1324,14 @@ if test -n "$ac_init_help"; then Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-carbon-app[=DIR] [DIR=/Application] + --enable-carbon-app[=DIR] specify install directory for Emacs.app on Mac OS X + [DIR=/Application] --enable-font-backend compile code of font-backend support --enable-asserts compile code with asserts enabled - --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer --enable-locallisppath=PATH directories Emacs should search for lisp files specific to this site @@ -1344,8 +1346,8 @@ Optional Packages: --with-kerberos5 support Kerberos version 5 authenticated POP --with-hesiod support Hesiod to get the POP server host --without-sound don't compile with sound support - --with-x-toolkit=KIT use an X toolkit - (KIT = yes/lucid/athena/motif/gtk/no) + --with-x-toolkit=KIT use an X toolkit (KIT one of: yes, lucid, athena, + motif, gtk, no) --with-xpm use -lXpm for displaying XPM images --with-jpeg use -ljpeg for displaying JPEG images --with-tiff use -ltiff for displaying TIFF images @@ -1356,9 +1358,10 @@ Optional Packages: --with-gpm use -lgpm for mouse support on a GNU/Linux console --with-rsvg use -lrsvg-2 for displaying SVG images --with-gtk use GTK (same as --with-x-toolkit=gtk) - --with-pkg-config-prog Path to pkg-config to use for finding GTK and librsvg + --with-pkg-config-prog Path to pkg-config for finding GTK and librsvg --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars + --without-xaw3d don't use Xaw3d --without-xim don't use X11 XIM --without-carbon don't use Carbon GUI on Mac OS X --with-x use the X Window System @@ -1828,12 +1831,14 @@ gamedir='${localstatedir}/games/emacs' gameuser=games + # Check whether --with-gcc was given. if test "${with_gcc+set}" = set; then withval=$with_gcc; fi + # Check whether --with-pop was given. if test "${with_pop+set}" = set; then withval=$with_pop; if test "$withval" = yes; then @@ -1852,6 +1857,7 @@ fi + # Check whether --with-kerberos was given. if test "${with_kerberos+set}" = set; then withval=$with_kerberos; if test "$withval" = yes; then @@ -1864,6 +1870,7 @@ fi + # Check whether --with-kerberos5 was given. if test "${with_kerberos5+set}" = set; then withval=$with_kerberos5; if test "${with_kerberos5+set}" = set; then @@ -1883,6 +1890,7 @@ fi fi + # Check whether --with-hesiod was given. if test "${with_hesiod+set}" = set; then withval=$with_hesiod; if test "$withval" = yes; then @@ -1927,6 +1935,7 @@ this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \` fi + # Check whether --with-xpm was given. if test "${with_xpm+set}" = set; then withval=$with_xpm; @@ -1999,6 +2008,12 @@ if test "${with_toolkit_scroll_bars+set}" = set; then fi +# Check whether --with-xaw3d was given. +if test "${with_xaw3d+set}" = set; then + withval=$with_xaw3d; +fi + + # Check whether --with-xim was given. if test "${with_xim+set}" = set; then withval=$with_xim; @@ -2010,6 +2025,7 @@ if test "${with_carbon+set}" = set; then withval=$with_carbon; fi + # Check whether --enable-carbon-app was given. if test "${enable_carbon_app+set}" = set; then enableval=$enable_carbon_app; carbon_appdir_x=${enableval} @@ -5404,7 +5420,7 @@ fi if test "$MAKEINFO" != "no" && \ - test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([5-9]|4\.[6-9])'`" = x; then + test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[6-9]|4\.[1-5][0-9]+)'`" = x; then MAKEINFO=no fi @@ -11298,8 +11314,8 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk" || \ echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;} { (exit 1); exit 1; }; }; fi - GLIB_REQUIRED=2.4 - GTK_REQUIRED=2.4 + GLIB_REQUIRED=2.6 + GTK_REQUIRED=2.6 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" if test "X${with_pkg_config_prog}" != X; then @@ -11638,6 +11654,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF fi + HAVE_GTK_FILE_SELECTION=no for ac_func in gtk_file_selection_new @@ -12049,7 +12066,10 @@ fi fi if test "$HAVE_GTK_AND_PTHREAD" = yes; then - GTK_LIBS="$GTK_LIBS -lpthread" + case "${canonical}" in + *-hpux*) ;; + *) GTK_LIBS="$GTK_LIBS -lpthread" ;; + esac cat >>confdefs.h <<\_ACEOF #define HAVE_GTK_AND_PTHREAD 1 @@ -12064,9 +12084,10 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then if test x"${HAVE_X11R5}" != xyes; then USE_X_TOOLKIT=none else - { echo "$as_me:$LINENO: checking for xaw3d" >&5 + if test "$with_xaw3d" != no; then + { echo "$as_me:$LINENO: checking for xaw3d" >&5 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } - if test "${emacs_cv_xaw3d+set}" = set; then + if test "${emacs_cv_xaw3d+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -12116,6 +12137,9 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi + else + emacs_cv_xaw3d=no + fi if test $emacs_cv_xaw3d = yes; then { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 echo "${ECHO_T}yes; using Lucid toolkit" >&6; } @@ -15707,6 +15731,12 @@ _ACEOF fi +if test x"$ac_cv_func_alloca_works" != xyes; then + { { echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 +echo "$as_me: error: a system implementation of alloca is required " >&2;} + { (exit 1); exit 1; }; } +fi + # fmod, logb, and frexp are found in -lm on most systems. # On HPUX 9.01, -lm does not contain logb, so check for sqrt. @@ -24144,7 +24174,7 @@ fi rm -f conftest* -ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" +ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile doc/lispref/Makefile src/Makefile.c:src/Makefile.in lwlib/Makefile lisp/Makefile leim/Makefile" ac_config_commands="$ac_config_commands default" @@ -24714,12 +24744,13 @@ do "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; - "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; - "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; + "doc/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/emacs/Makefile" ;; + "doc/misc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/misc/Makefile" ;; + "doc/lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES doc/lispintro/Makefile" ;; + "doc/lispref/Makefile") CONFIG_FILES="$CONFIG_FILES doc/lispref/Makefile" ;; "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; + "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; - "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; - "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |