Mercurial > emacs
comparison configure @ 90979:988f1edc9674
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 803-805)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 09 Jul 2007 08:00:55 +0000 |
parents | 4c340ae135ce f5538958a28a |
children | a37d5bf6cbb7 |
comparison
equal
deleted
inserted
replaced
90978:f866074aedc4 | 90979:988f1edc9674 |
---|---|
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 FREETYPE_CFLAGS | 694 FREETYPE_CFLAGS |
1343 --with-x-toolkit=KIT use an X toolkit | 1344 --with-x-toolkit=KIT use an X toolkit |
1344 (KIT = yes/lucid/athena/motif/gtk/no) | 1345 (KIT = yes/lucid/athena/motif/gtk/no) |
1345 --with-xpm use -lXpm for displaying XPM images | 1346 --with-xpm use -lXpm for displaying XPM images |
1346 --with-jpeg use -ljpeg for displaying JPEG images | 1347 --with-jpeg use -ljpeg for displaying JPEG images |
1347 --with-tiff use -ltiff for displaying TIFF images | 1348 --with-tiff use -ltiff for displaying TIFF images |
1348 --with-gif use -lungif (or -lgif) for displaying GIF images | 1349 --with-gif use -lgif (or -lungif) for displaying GIF images |
1349 --with-png use -lpng for displaying PNG images | 1350 --with-png use -lpng for displaying PNG images |
1350 --with-freetype use -lfreetype for local fonts support | 1351 --with-freetype use -lfreetype for local fonts support |
1351 --with-xft use -lXft for anti aliased fonts | 1352 --with-xft use -lXft for anti aliased fonts |
1352 --with-gpm use -lgpm for mouse support on a GNU/Linux console | 1353 --with-gpm use -lgpm for mouse support on a GNU/Linux console |
1353 --with-gtk use GTK (same as --with-x-toolkit=gtk) | 1354 --with-gtk use GTK (same as --with-x-toolkit=gtk) |
9612 HAVE_X11=no | 9613 HAVE_X11=no |
9613 USE_X_TOOLKIT=none | 9614 USE_X_TOOLKIT=none |
9614 ;; | 9615 ;; |
9615 esac | 9616 esac |
9616 | 9617 |
9618 if test "$window_system" = none && test "X$with_x" != "Xno"; then | |
9619 # Extract the first word of "X", so it can be a program name with args. | |
9620 set dummy X; ac_word=$2 | |
9621 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
9622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
9623 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then | |
9624 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9625 else | |
9626 if test -n "$HAVE_XSERVER"; then | |
9627 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | |
9628 else | |
9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9630 for as_dir in $PATH | |
9631 do | |
9632 IFS=$as_save_IFS | |
9633 test -z "$as_dir" && as_dir=. | |
9634 for ac_exec_ext in '' $ac_executable_extensions; do | |
9635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9636 ac_cv_prog_HAVE_XSERVER="true" | |
9637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9638 break 2 | |
9639 fi | |
9640 done | |
9641 done | |
9642 IFS=$as_save_IFS | |
9643 | |
9644 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | |
9645 fi | |
9646 fi | |
9647 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | |
9648 if test -n "$HAVE_XSERVER"; then | |
9649 { echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 | |
9650 echo "${ECHO_T}$HAVE_XSERVER" >&6; } | |
9651 else | |
9652 { echo "$as_me:$LINENO: result: no" >&5 | |
9653 echo "${ECHO_T}no" >&6; } | |
9654 fi | |
9655 | |
9656 | |
9657 if test "$HAVE_XSERVER" = true || | |
9658 test -n "$DISPLAY" || | |
9659 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | |
9660 { { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries | |
9661 where found. You should install the relevant development files for X | |
9662 and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
9663 sure you have development files for image handling, i.e. | |
9664 tiff, gif, jpeg, png and xpm. | |
9665 If you are sure you want Emacs compiled without X window support, pass | |
9666 --without-x | |
9667 to configure." >&5 | |
9668 echo "$as_me: error: You seem to be running X, but no X development libraries | |
9669 where found. You should install the relevant development files for X | |
9670 and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
9671 sure you have development files for image handling, i.e. | |
9672 tiff, gif, jpeg, png and xpm. | |
9673 If you are sure you want Emacs compiled without X window support, pass | |
9674 --without-x | |
9675 to configure." >&2;} | |
9676 { (exit 1); exit 1; }; } | |
9677 fi | |
9678 fi | |
9679 | |
9617 ### If we're using X11, we should use the X menu package. | 9680 ### If we're using X11, we should use the X menu package. |
9618 HAVE_MENUS=no | 9681 HAVE_MENUS=no |
9619 case ${HAVE_X11} in | 9682 case ${HAVE_X11} in |
9620 yes ) HAVE_MENUS=yes ;; | 9683 yes ) HAVE_MENUS=yes ;; |
9621 esac | 9684 esac |
14268 | 14331 |
14269 fi | 14332 fi |
14270 if test $ac_cv_header_gif_lib_h = yes; then | 14333 if test $ac_cv_header_gif_lib_h = yes; then |
14271 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 14334 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
14272 # Earlier versions can crash Emacs. | 14335 # Earlier versions can crash Emacs. |
14273 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 14336 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
14274 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } | 14337 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } |
14275 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 14338 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
14276 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14339 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14277 else | 14340 else |
14278 ac_check_lib_save_LIBS=$LIBS | 14341 ac_check_lib_save_LIBS=$LIBS |
14279 LIBS="-lungif $LIBS" | 14342 LIBS="-lgif $LIBS" |
14280 cat >conftest.$ac_ext <<_ACEOF | 14343 cat >conftest.$ac_ext <<_ACEOF |
14281 /* confdefs.h. */ | 14344 /* confdefs.h. */ |
14282 _ACEOF | 14345 _ACEOF |
14283 cat confdefs.h >>conftest.$ac_ext | 14346 cat confdefs.h >>conftest.$ac_ext |
14284 cat >>conftest.$ac_ext <<_ACEOF | 14347 cat >>conftest.$ac_ext <<_ACEOF |
14315 (exit $ac_status); } && { | 14378 (exit $ac_status); } && { |
14316 test -z "$ac_c_werror_flag" || | 14379 test -z "$ac_c_werror_flag" || |
14317 test ! -s conftest.err | 14380 test ! -s conftest.err |
14318 } && test -s conftest$ac_exeext && | 14381 } && test -s conftest$ac_exeext && |
14319 $as_test_x conftest$ac_exeext; then | 14382 $as_test_x conftest$ac_exeext; then |
14320 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 14383 ac_cv_lib_gif_EGifPutExtensionLast=yes |
14321 else | 14384 else |
14322 echo "$as_me: failed program was:" >&5 | 14385 echo "$as_me: failed program was:" >&5 |
14323 sed 's/^/| /' conftest.$ac_ext >&5 | 14386 sed 's/^/| /' conftest.$ac_ext >&5 |
14324 | 14387 |
14325 ac_cv_lib_ungif_EGifPutExtensionLast=no | 14388 ac_cv_lib_gif_EGifPutExtensionLast=no |
14326 fi | 14389 fi |
14327 | 14390 |
14328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14329 conftest$ac_exeext conftest.$ac_ext | 14392 conftest$ac_exeext conftest.$ac_ext |
14330 LIBS=$ac_check_lib_save_LIBS | 14393 LIBS=$ac_check_lib_save_LIBS |
14331 fi | 14394 fi |
14332 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 14395 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
14333 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 14396 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
14334 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 14397 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
14335 HAVE_GIF=yes | 14398 HAVE_GIF=yes |
14336 else | 14399 else |
14337 try_libgif=yes | 14400 try_libungif=yes |
14338 fi | 14401 fi |
14339 | 14402 |
14340 fi | 14403 fi |
14341 | 14404 |
14342 | 14405 |
14343 | 14406 |
14344 if test "$HAVE_GIF" = yes; then | 14407 if test "$HAVE_GIF" = yes; then |
14345 ac_gif_lib_name="-lungif" | 14408 ac_gif_lib_name="-lgif" |
14346 fi | 14409 fi |
14347 | 14410 |
14348 # If gif_lib.h but no libungif, try libgif. | 14411 # If gif_lib.h but no libgif, try libungif. |
14349 if test x"$try_libgif" = xyes; then | 14412 if test x"$try_libungif" = xyes; then |
14350 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 | 14413 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
14351 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } | 14414 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } |
14352 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then | 14415 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
14353 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14416 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14354 else | 14417 else |
14355 ac_check_lib_save_LIBS=$LIBS | 14418 ac_check_lib_save_LIBS=$LIBS |
14356 LIBS="-lgif $LIBS" | 14419 LIBS="-lungif $LIBS" |
14357 cat >conftest.$ac_ext <<_ACEOF | 14420 cat >conftest.$ac_ext <<_ACEOF |
14358 /* confdefs.h. */ | 14421 /* confdefs.h. */ |
14359 _ACEOF | 14422 _ACEOF |
14360 cat confdefs.h >>conftest.$ac_ext | 14423 cat confdefs.h >>conftest.$ac_ext |
14361 cat >>conftest.$ac_ext <<_ACEOF | 14424 cat >>conftest.$ac_ext <<_ACEOF |
14392 (exit $ac_status); } && { | 14455 (exit $ac_status); } && { |
14393 test -z "$ac_c_werror_flag" || | 14456 test -z "$ac_c_werror_flag" || |
14394 test ! -s conftest.err | 14457 test ! -s conftest.err |
14395 } && test -s conftest$ac_exeext && | 14458 } && test -s conftest$ac_exeext && |
14396 $as_test_x conftest$ac_exeext; then | 14459 $as_test_x conftest$ac_exeext; then |
14397 ac_cv_lib_gif_EGifPutExtensionLast=yes | 14460 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
14398 else | 14461 else |
14399 echo "$as_me: failed program was:" >&5 | 14462 echo "$as_me: failed program was:" >&5 |
14400 sed 's/^/| /' conftest.$ac_ext >&5 | 14463 sed 's/^/| /' conftest.$ac_ext >&5 |
14401 | 14464 |
14402 ac_cv_lib_gif_EGifPutExtensionLast=no | 14465 ac_cv_lib_ungif_EGifPutExtensionLast=no |
14403 fi | 14466 fi |
14404 | 14467 |
14405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14406 conftest$ac_exeext conftest.$ac_ext | 14469 conftest$ac_exeext conftest.$ac_ext |
14407 LIBS=$ac_check_lib_save_LIBS | 14470 LIBS=$ac_check_lib_save_LIBS |
14408 fi | 14471 fi |
14409 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 14472 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
14410 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 14473 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
14411 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then | 14474 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
14412 HAVE_GIF=yes | 14475 HAVE_GIF=yes |
14413 fi | 14476 fi |
14414 | 14477 |
14415 | 14478 |
14416 if test "$HAVE_GIF" = yes; then | 14479 if test "$HAVE_GIF" = yes; then |
14417 | 14480 |
14418 cat >>confdefs.h <<\_ACEOF | 14481 cat >>confdefs.h <<\_ACEOF |
14419 #define LIBGIF -lgif | 14482 #define LIBGIF -lungif |
14420 _ACEOF | 14483 _ACEOF |
14421 | 14484 |
14422 ac_gif_lib_name="-lgif" | 14485 ac_gif_lib_name="-lungif" |
14423 fi | 14486 fi |
14424 fi | 14487 fi |
14425 | 14488 |
14426 if test "${HAVE_GIF}" = "yes"; then | 14489 if test "${HAVE_GIF}" = "yes"; then |
14427 | 14490 |
24599 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim | 24662 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim |
24600 ALSA_LIBS!$ALSA_LIBS$ac_delim | 24663 ALSA_LIBS!$ALSA_LIBS$ac_delim |
24601 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim | 24664 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim |
24602 SET_MAKE!$SET_MAKE$ac_delim | 24665 SET_MAKE!$SET_MAKE$ac_delim |
24603 XMKMF!$XMKMF$ac_delim | 24666 XMKMF!$XMKMF$ac_delim |
24667 HAVE_XSERVER!$HAVE_XSERVER$ac_delim | |
24604 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | 24668 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
24605 GTK_LIBS!$GTK_LIBS$ac_delim | 24669 GTK_LIBS!$GTK_LIBS$ac_delim |
24606 XFT_CFLAGS!$XFT_CFLAGS$ac_delim | 24670 XFT_CFLAGS!$XFT_CFLAGS$ac_delim |
24607 XFT_LIBS!$XFT_LIBS$ac_delim | 24671 XFT_LIBS!$XFT_LIBS$ac_delim |
24608 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim | 24672 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim |
24626 srcdir!$srcdir$ac_delim | 24690 srcdir!$srcdir$ac_delim |
24627 lispdir!$lispdir$ac_delim | 24691 lispdir!$lispdir$ac_delim |
24628 locallisppath!$locallisppath$ac_delim | 24692 locallisppath!$locallisppath$ac_delim |
24629 lisppath!$lisppath$ac_delim | 24693 lisppath!$lisppath$ac_delim |
24630 x_default_search_path!$x_default_search_path$ac_delim | 24694 x_default_search_path!$x_default_search_path$ac_delim |
24695 etcdir!$etcdir$ac_delim | |
24696 archlibdir!$archlibdir$ac_delim | |
24697 bitmapdir!$bitmapdir$ac_delim | |
24698 gamedir!$gamedir$ac_delim | |
24699 gameuser!$gameuser$ac_delim | |
24700 c_switch_system!$c_switch_system$ac_delim | |
24631 _ACEOF | 24701 _ACEOF |
24632 | 24702 |
24633 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 24703 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
24634 break | 24704 break |
24635 elif $ac_last_try; then | 24705 elif $ac_last_try; then |
24667 | 24737 |
24668 | 24738 |
24669 ac_delim='%!_!# ' | 24739 ac_delim='%!_!# ' |
24670 for ac_last_try in false false false false false :; do | 24740 for ac_last_try in false false false false false :; do |
24671 cat >conf$$subs.sed <<_ACEOF | 24741 cat >conf$$subs.sed <<_ACEOF |
24672 etcdir!$etcdir$ac_delim | |
24673 archlibdir!$archlibdir$ac_delim | |
24674 bitmapdir!$bitmapdir$ac_delim | |
24675 gamedir!$gamedir$ac_delim | |
24676 gameuser!$gameuser$ac_delim | |
24677 c_switch_system!$c_switch_system$ac_delim | |
24678 c_switch_machine!$c_switch_machine$ac_delim | 24742 c_switch_machine!$c_switch_machine$ac_delim |
24679 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim | 24743 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim |
24680 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim | 24744 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim |
24681 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim | 24745 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim |
24682 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | 24746 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim |