diff options
| author | Glenn Morris | 2007-06-13 06:07:43 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-06-13 06:07:43 +0000 |
| commit | 9aeb8aaab6800fb0622837383b28bd7c5384712e (patch) | |
| tree | 5a6d0fc3dbceefc6dcd76434b3c35d5a302f2bdd | |
| parent | 1486bdf77a552c97266251d9cf27c8b49fa559df (diff) | |
| download | emacs-9aeb8aaab6800fb0622837383b28bd7c5384712e.tar.gz emacs-9aeb8aaab6800fb0622837383b28bd7c5384712e.zip | |
Regenerate, with shell-functions patch.
| -rwxr-xr-x | configure | 96 |
1 files changed, 89 insertions, 7 deletions
| @@ -1337,7 +1337,7 @@ Optional Packages: | |||
| 1337 | --with-xpm use -lXpm for displaying XPM images | 1337 | --with-xpm use -lXpm for displaying XPM images |
| 1338 | --with-jpeg use -ljpeg for displaying JPEG images | 1338 | --with-jpeg use -ljpeg for displaying JPEG images |
| 1339 | --with-tiff use -ltiff for displaying TIFF images | 1339 | --with-tiff use -ltiff for displaying TIFF images |
| 1340 | --with-gif use -lungif for displaying GIF images | 1340 | --with-gif use -lungif (or -lgif) for displaying GIF images |
| 1341 | --with-png use -lpng for displaying PNG images | 1341 | --with-png use -lpng for displaying PNG images |
| 1342 | --with-gpm use -lgpm for mouse support on a GNU/Linux console | 1342 | --with-gpm use -lgpm for mouse support on a GNU/Linux console |
| 1343 | --with-gtk use GTK (same as --with-x-toolkit=gtk) | 1343 | --with-gtk use GTK (same as --with-x-toolkit=gtk) |
| @@ -13808,11 +13808,10 @@ _ACEOF | |||
| 13808 | fi | 13808 | fi |
| 13809 | fi | 13809 | fi |
| 13810 | 13810 | ||
| 13811 | ### Use -lgif if available, unless `--with-gif=no'. | 13811 | ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
| 13812 | HAVE_GIF=no | 13812 | HAVE_GIF=no |
| 13813 | if test "${HAVE_X11}" = "yes"; then | 13813 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
| 13814 | if test "${with_gif}" != "no"; then | 13814 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 13815 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 13816 | { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 13815 | { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 13817 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } | 13816 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } |
| 13818 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | 13817 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| @@ -13940,7 +13939,7 @@ fi | |||
| 13940 | if test $ac_cv_header_gif_lib_h = yes; then | 13939 | if test $ac_cv_header_gif_lib_h = yes; then |
| 13941 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 13940 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 13942 | # Earlier versions can crash Emacs. | 13941 | # Earlier versions can crash Emacs. |
| 13943 | { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 13942 | { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
| 13944 | echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } | 13943 | echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } |
| 13945 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 13944 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
| 13946 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13945 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| @@ -14003,11 +14002,94 @@ fi | |||
| 14003 | echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 14002 | echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 14004 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 14003 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
| 14005 | HAVE_GIF=yes | 14004 | HAVE_GIF=yes |
| 14005 | else | ||
| 14006 | try_libgif=yes | ||
| 14006 | fi | 14007 | fi |
| 14007 | 14008 | ||
| 14008 | fi | 14009 | fi |
| 14009 | 14010 | ||
| 14010 | 14011 | ||
| 14012 | |||
| 14013 | if test "$HAVE_GIF" = yes; then | ||
| 14014 | ac_gif_lib_name="-lungif" | ||
| 14015 | fi | ||
| 14016 | |||
| 14017 | # If gif_lib.h but no libungif, try libgif. | ||
| 14018 | if test x"$try_libgif" = xyes; then | ||
| 14019 | { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 | ||
| 14020 | echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } | ||
| 14021 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then | ||
| 14022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 14023 | else | ||
| 14024 | ac_check_lib_save_LIBS=$LIBS | ||
| 14025 | LIBS="-lgif $LIBS" | ||
| 14026 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14027 | /* confdefs.h. */ | ||
| 14028 | _ACEOF | ||
| 14029 | cat confdefs.h >>conftest.$ac_ext | ||
| 14030 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14031 | /* end confdefs.h. */ | ||
| 14032 | |||
| 14033 | /* Override any GCC internal prototype to avoid an error. | ||
| 14034 | Use char because int might match the return type of a GCC | ||
| 14035 | builtin and then its argument prototype would still apply. */ | ||
| 14036 | #ifdef __cplusplus | ||
| 14037 | extern "C" | ||
| 14038 | #endif | ||
| 14039 | char EGifPutExtensionLast (); | ||
| 14040 | int | ||
| 14041 | main () | ||
| 14042 | { | ||
| 14043 | return EGifPutExtensionLast (); | ||
| 14044 | ; | ||
| 14045 | return 0; | ||
| 14046 | } | ||
| 14047 | _ACEOF | ||
| 14048 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 14049 | if { (ac_try="$ac_link" | ||
| 14050 | case "(($ac_try" in | ||
| 14051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14052 | *) ac_try_echo=$ac_try;; | ||
| 14053 | esac | ||
| 14054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14055 | (eval "$ac_link") 2>conftest.er1 | ||
| 14056 | ac_status=$? | ||
| 14057 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14058 | rm -f conftest.er1 | ||
| 14059 | cat conftest.err >&5 | ||
| 14060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14061 | (exit $ac_status); } && { | ||
| 14062 | test -z "$ac_c_werror_flag" || | ||
| 14063 | test ! -s conftest.err | ||
| 14064 | } && test -s conftest$ac_exeext && | ||
| 14065 | $as_test_x conftest$ac_exeext; then | ||
| 14066 | ac_cv_lib_gif_EGifPutExtensionLast=yes | ||
| 14067 | else | ||
| 14068 | echo "$as_me: failed program was:" >&5 | ||
| 14069 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14070 | |||
| 14071 | ac_cv_lib_gif_EGifPutExtensionLast=no | ||
| 14072 | fi | ||
| 14073 | |||
| 14074 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14075 | conftest$ac_exeext conftest.$ac_ext | ||
| 14076 | LIBS=$ac_check_lib_save_LIBS | ||
| 14077 | fi | ||
| 14078 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | ||
| 14079 | echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | ||
| 14080 | if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then | ||
| 14081 | HAVE_GIF=yes | ||
| 14082 | fi | ||
| 14083 | |||
| 14084 | |||
| 14085 | if test "$HAVE_GIF" = yes; then | ||
| 14086 | |||
| 14087 | cat >>confdefs.h <<\_ACEOF | ||
| 14088 | #define LIBGIF -lgif | ||
| 14089 | _ACEOF | ||
| 14090 | |||
| 14091 | ac_gif_lib_name="-lgif" | ||
| 14092 | fi | ||
| 14011 | fi | 14093 | fi |
| 14012 | 14094 | ||
| 14013 | if test "${HAVE_GIF}" = "yes"; then | 14095 | if test "${HAVE_GIF}" = "yes"; then |
| @@ -23394,7 +23476,7 @@ echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}" | |||
| 23394 | echo " Does Emacs use -lXpm? ${HAVE_XPM}" | 23476 | echo " Does Emacs use -lXpm? ${HAVE_XPM}" |
| 23395 | echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" | 23477 | echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" |
| 23396 | echo " Does Emacs use -ltiff? ${HAVE_TIFF}" | 23478 | echo " Does Emacs use -ltiff? ${HAVE_TIFF}" |
| 23397 | echo " Does Emacs use -lungif? ${HAVE_GIF}" | 23479 | echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name" |
| 23398 | echo " Does Emacs use -lpng? ${HAVE_PNG}" | 23480 | echo " Does Emacs use -lpng? ${HAVE_PNG}" |
| 23399 | echo " Does Emacs use -lgpm? ${HAVE_GPM}" | 23481 | echo " Does Emacs use -lgpm? ${HAVE_GPM}" |
| 23400 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" | 23482 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |