aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-06-13 06:07:43 +0000
committerGlenn Morris2007-06-13 06:07:43 +0000
commit9aeb8aaab6800fb0622837383b28bd7c5384712e (patch)
tree5a6d0fc3dbceefc6dcd76434b3c35d5a302f2bdd
parent1486bdf77a552c97266251d9cf27c8b49fa559df (diff)
downloademacs-9aeb8aaab6800fb0622837383b28bd7c5384712e.tar.gz
emacs-9aeb8aaab6800fb0622837383b28bd7c5384712e.zip
Regenerate, with shell-functions patch.
-rwxr-xr-xconfigure96
1 files changed, 89 insertions, 7 deletions
diff --git a/configure b/configure
index b5936de5940..1d1223e81e8 100755
--- a/configure
+++ b/configure
@@ -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
13809fi 13809fi
13810 13810
13811### Use -lgif if available, unless `--with-gif=no'. 13811### Use -lgif or -lungif if available, unless `--with-gif=no'.
13812HAVE_GIF=no 13812HAVE_GIF=no
13813if test "${HAVE_X11}" = "yes"; then 13813if 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
13817echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } 13816echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
13818if test "${ac_cv_header_gif_lib_h+set}" = set; then 13817if test "${ac_cv_header_gif_lib_h+set}" = set; then
@@ -13940,7 +13939,7 @@ fi
13940if test $ac_cv_header_gif_lib_h = yes; then 13939if 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
13944echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } 13943echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
13945if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 13944if 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
14003echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 14002echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
14004if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 14003if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
14005 HAVE_GIF=yes 14004 HAVE_GIF=yes
14005else
14006 try_libgif=yes
14006fi 14007fi
14007 14008
14008fi 14009fi
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
14020echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; }
14021if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14023else
14024 ac_check_lib_save_LIBS=$LIBS
14025LIBS="-lgif $LIBS"
14026cat >conftest.$ac_ext <<_ACEOF
14027/* confdefs.h. */
14028_ACEOF
14029cat confdefs.h >>conftest.$ac_ext
14030cat >>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
14037extern "C"
14038#endif
14039char EGifPutExtensionLast ();
14040int
14041main ()
14042{
14043return EGifPutExtensionLast ();
14044 ;
14045 return 0;
14046}
14047_ACEOF
14048rm -f conftest.$ac_objext conftest$ac_exeext
14049if { (ac_try="$ac_link"
14050case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14053esac
14054eval "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
14067else
14068 echo "$as_me: failed program was:" >&5
14069sed 's/^/| /' conftest.$ac_ext >&5
14070
14071 ac_cv_lib_gif_EGifPutExtensionLast=no
14072fi
14073
14074rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14075 conftest$ac_exeext conftest.$ac_ext
14076LIBS=$ac_check_lib_save_LIBS
14077fi
14078{ echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
14079echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
14080if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
14081 HAVE_GIF=yes
14082fi
14083
14084
14085 if test "$HAVE_GIF" = yes; then
14086
14087cat >>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}"
23394echo " Does Emacs use -lXpm? ${HAVE_XPM}" 23476echo " Does Emacs use -lXpm? ${HAVE_XPM}"
23395echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" 23477echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
23396echo " Does Emacs use -ltiff? ${HAVE_TIFF}" 23478echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
23397echo " Does Emacs use -lungif? ${HAVE_GIF}" 23479echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name"
23398echo " Does Emacs use -lpng? ${HAVE_PNG}" 23480echo " Does Emacs use -lpng? ${HAVE_PNG}"
23399echo " Does Emacs use -lgpm? ${HAVE_GPM}" 23481echo " Does Emacs use -lgpm? ${HAVE_GPM}"
23400echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" 23482echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"