Mercurial > emacs
comparison configure @ 83644:0ece58f6e0aa
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 803-813)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 51-58)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 233-236)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-25
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 15 Jul 2007 02:05:20 +0000 |
parents | 9c01792a3ce8 f5538958a28a |
children | 27d11c1d4e46 |
comparison
equal
deleted
inserted
replaced
83643:70b38dec13a1 | 83644:0ece58f6e0aa |
---|---|
684 ALSA_CFLAGS | 684 ALSA_CFLAGS |
685 ALSA_LIBS | 685 ALSA_LIBS |
686 CFLAGS_SOUND | 686 CFLAGS_SOUND |
687 SET_MAKE | 687 SET_MAKE |
688 XMKMF | 688 XMKMF |
689 HAVE_XSERVER | |
689 GTK_CFLAGS | 690 GTK_CFLAGS |
690 GTK_LIBS | 691 GTK_LIBS |
691 XFT_CFLAGS | 692 XFT_CFLAGS |
692 XFT_LIBS | 693 XFT_LIBS |
693 ALLOCA | 694 ALLOCA |
1335 --with-x-toolkit=KIT use an X toolkit | 1336 --with-x-toolkit=KIT use an X toolkit |
1336 (KIT = yes/lucid/athena/motif/gtk/no) | 1337 (KIT = yes/lucid/athena/motif/gtk/no) |
1337 --with-xpm use -lXpm for displaying XPM images | 1338 --with-xpm use -lXpm for displaying XPM images |
1338 --with-jpeg use -ljpeg for displaying JPEG images | 1339 --with-jpeg use -ljpeg for displaying JPEG images |
1339 --with-tiff use -ltiff for displaying TIFF images | 1340 --with-tiff use -ltiff for displaying TIFF images |
1340 --with-gif use -lungif (or -lgif) for displaying GIF images | 1341 --with-gif use -lgif (or -lungif) for displaying GIF images |
1341 --with-png use -lpng for displaying PNG images | 1342 --with-png use -lpng for displaying PNG images |
1342 --with-gpm use -lgpm for mouse support on a GNU/Linux console | 1343 --with-gpm use -lgpm for mouse support on a GNU/Linux console |
1343 --with-gtk use GTK (same as --with-x-toolkit=gtk) | 1344 --with-gtk use GTK (same as --with-x-toolkit=gtk) |
1344 --with-pkg-config-prog Path to pkg-config to use for finding GTK | 1345 --with-pkg-config-prog Path to pkg-config to use for finding GTK |
1345 --without-toolkit-scroll-bars | 1346 --without-toolkit-scroll-bars |
9582 HAVE_X11=no | 9583 HAVE_X11=no |
9583 USE_X_TOOLKIT=none | 9584 USE_X_TOOLKIT=none |
9584 ;; | 9585 ;; |
9585 esac | 9586 esac |
9586 | 9587 |
9588 if test "$window_system" = none && test "X$with_x" != "Xno"; then | |
9589 # Extract the first word of "X", so it can be a program name with args. | |
9590 set dummy X; ac_word=$2 | |
9591 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
9592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
9593 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then | |
9594 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9595 else | |
9596 if test -n "$HAVE_XSERVER"; then | |
9597 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | |
9598 else | |
9599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9600 for as_dir in $PATH | |
9601 do | |
9602 IFS=$as_save_IFS | |
9603 test -z "$as_dir" && as_dir=. | |
9604 for ac_exec_ext in '' $ac_executable_extensions; do | |
9605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9606 ac_cv_prog_HAVE_XSERVER="true" | |
9607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9608 break 2 | |
9609 fi | |
9610 done | |
9611 done | |
9612 IFS=$as_save_IFS | |
9613 | |
9614 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | |
9615 fi | |
9616 fi | |
9617 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | |
9618 if test -n "$HAVE_XSERVER"; then | |
9619 { echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 | |
9620 echo "${ECHO_T}$HAVE_XSERVER" >&6; } | |
9621 else | |
9622 { echo "$as_me:$LINENO: result: no" >&5 | |
9623 echo "${ECHO_T}no" >&6; } | |
9624 fi | |
9625 | |
9626 | |
9627 if test "$HAVE_XSERVER" = true || | |
9628 test -n "$DISPLAY" || | |
9629 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | |
9630 { { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries | |
9631 where found. You should install the relevant development files for X | |
9632 and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
9633 sure you have development files for image handling, i.e. | |
9634 tiff, gif, jpeg, png and xpm. | |
9635 If you are sure you want Emacs compiled without X window support, pass | |
9636 --without-x | |
9637 to configure." >&5 | |
9638 echo "$as_me: error: You seem to be running X, but no X development libraries | |
9639 where found. You should install the relevant development files for X | |
9640 and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
9641 sure you have development files for image handling, i.e. | |
9642 tiff, gif, jpeg, png and xpm. | |
9643 If you are sure you want Emacs compiled without X window support, pass | |
9644 --without-x | |
9645 to configure." >&2;} | |
9646 { (exit 1); exit 1; }; } | |
9647 fi | |
9648 fi | |
9649 | |
9587 ### If we're using X11, we should use the X menu package. | 9650 ### If we're using X11, we should use the X menu package. |
9588 HAVE_MENUS=no | 9651 HAVE_MENUS=no |
9589 case ${HAVE_X11} in | 9652 case ${HAVE_X11} in |
9590 yes ) HAVE_MENUS=yes ;; | 9653 yes ) HAVE_MENUS=yes ;; |
9591 esac | 9654 esac |
13878 | 13941 |
13879 fi | 13942 fi |
13880 if test $ac_cv_header_gif_lib_h = yes; then | 13943 if test $ac_cv_header_gif_lib_h = yes; then |
13881 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 13944 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
13882 # Earlier versions can crash Emacs. | 13945 # Earlier versions can crash Emacs. |
13883 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 13946 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
13884 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } | 13947 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } |
13885 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 13948 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
13886 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13949 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13887 else | 13950 else |
13888 ac_check_lib_save_LIBS=$LIBS | 13951 ac_check_lib_save_LIBS=$LIBS |
13889 LIBS="-lungif $LIBS" | 13952 LIBS="-lgif $LIBS" |
13890 cat >conftest.$ac_ext <<_ACEOF | 13953 cat >conftest.$ac_ext <<_ACEOF |
13891 /* confdefs.h. */ | 13954 /* confdefs.h. */ |
13892 _ACEOF | 13955 _ACEOF |
13893 cat confdefs.h >>conftest.$ac_ext | 13956 cat confdefs.h >>conftest.$ac_ext |
13894 cat >>conftest.$ac_ext <<_ACEOF | 13957 cat >>conftest.$ac_ext <<_ACEOF |
13925 (exit $ac_status); } && { | 13988 (exit $ac_status); } && { |
13926 test -z "$ac_c_werror_flag" || | 13989 test -z "$ac_c_werror_flag" || |
13927 test ! -s conftest.err | 13990 test ! -s conftest.err |
13928 } && test -s conftest$ac_exeext && | 13991 } && test -s conftest$ac_exeext && |
13929 $as_test_x conftest$ac_exeext; then | 13992 $as_test_x conftest$ac_exeext; then |
13930 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 13993 ac_cv_lib_gif_EGifPutExtensionLast=yes |
13931 else | 13994 else |
13932 echo "$as_me: failed program was:" >&5 | 13995 echo "$as_me: failed program was:" >&5 |
13933 sed 's/^/| /' conftest.$ac_ext >&5 | 13996 sed 's/^/| /' conftest.$ac_ext >&5 |
13934 | 13997 |
13935 ac_cv_lib_ungif_EGifPutExtensionLast=no | 13998 ac_cv_lib_gif_EGifPutExtensionLast=no |
13936 fi | 13999 fi |
13937 | 14000 |
13938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13939 conftest$ac_exeext conftest.$ac_ext | 14002 conftest$ac_exeext conftest.$ac_ext |
13940 LIBS=$ac_check_lib_save_LIBS | 14003 LIBS=$ac_check_lib_save_LIBS |
13941 fi | 14004 fi |
13942 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 14005 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
13943 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 14006 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
13944 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 14007 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
13945 HAVE_GIF=yes | 14008 HAVE_GIF=yes |
13946 else | 14009 else |
13947 try_libgif=yes | 14010 try_libungif=yes |
13948 fi | 14011 fi |
13949 | 14012 |
13950 fi | 14013 fi |
13951 | 14014 |
13952 | 14015 |
13953 | 14016 |
13954 if test "$HAVE_GIF" = yes; then | 14017 if test "$HAVE_GIF" = yes; then |
13955 ac_gif_lib_name="-lungif" | 14018 ac_gif_lib_name="-lgif" |
13956 fi | 14019 fi |
13957 | 14020 |
13958 # If gif_lib.h but no libungif, try libgif. | 14021 # If gif_lib.h but no libgif, try libungif. |
13959 if test x"$try_libgif" = xyes; then | 14022 if test x"$try_libungif" = xyes; then |
13960 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 | 14023 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
13961 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } | 14024 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } |
13962 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then | 14025 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
13963 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14026 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13964 else | 14027 else |
13965 ac_check_lib_save_LIBS=$LIBS | 14028 ac_check_lib_save_LIBS=$LIBS |
13966 LIBS="-lgif $LIBS" | 14029 LIBS="-lungif $LIBS" |
13967 cat >conftest.$ac_ext <<_ACEOF | 14030 cat >conftest.$ac_ext <<_ACEOF |
13968 /* confdefs.h. */ | 14031 /* confdefs.h. */ |
13969 _ACEOF | 14032 _ACEOF |
13970 cat confdefs.h >>conftest.$ac_ext | 14033 cat confdefs.h >>conftest.$ac_ext |
13971 cat >>conftest.$ac_ext <<_ACEOF | 14034 cat >>conftest.$ac_ext <<_ACEOF |
14002 (exit $ac_status); } && { | 14065 (exit $ac_status); } && { |
14003 test -z "$ac_c_werror_flag" || | 14066 test -z "$ac_c_werror_flag" || |
14004 test ! -s conftest.err | 14067 test ! -s conftest.err |
14005 } && test -s conftest$ac_exeext && | 14068 } && test -s conftest$ac_exeext && |
14006 $as_test_x conftest$ac_exeext; then | 14069 $as_test_x conftest$ac_exeext; then |
14007 ac_cv_lib_gif_EGifPutExtensionLast=yes | 14070 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
14008 else | 14071 else |
14009 echo "$as_me: failed program was:" >&5 | 14072 echo "$as_me: failed program was:" >&5 |
14010 sed 's/^/| /' conftest.$ac_ext >&5 | 14073 sed 's/^/| /' conftest.$ac_ext >&5 |
14011 | 14074 |
14012 ac_cv_lib_gif_EGifPutExtensionLast=no | 14075 ac_cv_lib_ungif_EGifPutExtensionLast=no |
14013 fi | 14076 fi |
14014 | 14077 |
14015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14016 conftest$ac_exeext conftest.$ac_ext | 14079 conftest$ac_exeext conftest.$ac_ext |
14017 LIBS=$ac_check_lib_save_LIBS | 14080 LIBS=$ac_check_lib_save_LIBS |
14018 fi | 14081 fi |
14019 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 14082 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
14020 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 14083 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
14021 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then | 14084 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
14022 HAVE_GIF=yes | 14085 HAVE_GIF=yes |
14023 fi | 14086 fi |
14024 | 14087 |
14025 | 14088 |
14026 if test "$HAVE_GIF" = yes; then | 14089 if test "$HAVE_GIF" = yes; then |
14027 | 14090 |
14028 cat >>confdefs.h <<\_ACEOF | 14091 cat >>confdefs.h <<\_ACEOF |
14029 #define LIBGIF -lgif | 14092 #define LIBGIF -lungif |
14030 _ACEOF | 14093 _ACEOF |
14031 | 14094 |
14032 ac_gif_lib_name="-lgif" | 14095 ac_gif_lib_name="-lungif" |
14033 fi | 14096 fi |
14034 fi | 14097 fi |
14035 | 14098 |
14036 if test "${HAVE_GIF}" = "yes"; then | 14099 if test "${HAVE_GIF}" = "yes"; then |
14037 | 14100 |
24213 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim | 24276 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim |
24214 ALSA_LIBS!$ALSA_LIBS$ac_delim | 24277 ALSA_LIBS!$ALSA_LIBS$ac_delim |
24215 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim | 24278 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim |
24216 SET_MAKE!$SET_MAKE$ac_delim | 24279 SET_MAKE!$SET_MAKE$ac_delim |
24217 XMKMF!$XMKMF$ac_delim | 24280 XMKMF!$XMKMF$ac_delim |
24281 HAVE_XSERVER!$HAVE_XSERVER$ac_delim | |
24218 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | 24282 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
24219 GTK_LIBS!$GTK_LIBS$ac_delim | 24283 GTK_LIBS!$GTK_LIBS$ac_delim |
24220 XFT_CFLAGS!$XFT_CFLAGS$ac_delim | 24284 XFT_CFLAGS!$XFT_CFLAGS$ac_delim |
24221 XFT_LIBS!$XFT_LIBS$ac_delim | 24285 XFT_LIBS!$XFT_LIBS$ac_delim |
24222 ALLOCA!$ALLOCA$ac_delim | 24286 ALLOCA!$ALLOCA$ac_delim |
24239 archlibdir!$archlibdir$ac_delim | 24303 archlibdir!$archlibdir$ac_delim |
24240 bitmapdir!$bitmapdir$ac_delim | 24304 bitmapdir!$bitmapdir$ac_delim |
24241 gamedir!$gamedir$ac_delim | 24305 gamedir!$gamedir$ac_delim |
24242 gameuser!$gameuser$ac_delim | 24306 gameuser!$gameuser$ac_delim |
24243 c_switch_system!$c_switch_system$ac_delim | 24307 c_switch_system!$c_switch_system$ac_delim |
24244 c_switch_machine!$c_switch_machine$ac_delim | |
24245 _ACEOF | 24308 _ACEOF |
24246 | 24309 |
24247 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 24310 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
24248 break | 24311 break |
24249 elif $ac_last_try; then | 24312 elif $ac_last_try; then |
24281 | 24344 |
24282 | 24345 |
24283 ac_delim='%!_!# ' | 24346 ac_delim='%!_!# ' |
24284 for ac_last_try in false false false false false :; do | 24347 for ac_last_try in false false false false false :; do |
24285 cat >conf$$subs.sed <<_ACEOF | 24348 cat >conf$$subs.sed <<_ACEOF |
24349 c_switch_machine!$c_switch_machine$ac_delim | |
24286 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim | 24350 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim |
24287 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim | 24351 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim |
24288 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim | 24352 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim |
24289 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | 24353 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim |
24290 machfile!$machfile$ac_delim | 24354 machfile!$machfile$ac_delim |
24291 opsysfile!$opsysfile$ac_delim | 24355 opsysfile!$opsysfile$ac_delim |
24292 carbon_appdir!$carbon_appdir$ac_delim | 24356 carbon_appdir!$carbon_appdir$ac_delim |
24293 LTLIBOBJS!$LTLIBOBJS$ac_delim | 24357 LTLIBOBJS!$LTLIBOBJS$ac_delim |
24294 _ACEOF | 24358 _ACEOF |
24295 | 24359 |
24296 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then | 24360 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then |
24297 break | 24361 break |
24298 elif $ac_last_try; then | 24362 elif $ac_last_try; then |
24299 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 24363 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
24300 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 24364 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
24301 { (exit 1); exit 1; }; } | 24365 { (exit 1); exit 1; }; } |