comparison configure @ 81362:fbb350524e7a

Regenerate, with shell-functions patch.
author Glenn Morris <rgm@gnu.org>
date Wed, 13 Jun 2007 06:07:43 +0000
parents 0bb4d3dc37d5
children f50b45eabb35
comparison
equal deleted inserted replaced
81361:5551f0be4abc 81362:fbb350524e7a
1335 --with-x-toolkit=KIT use an X toolkit 1335 --with-x-toolkit=KIT use an X toolkit
1336 (KIT = yes/lucid/athena/motif/gtk/no) 1336 (KIT = yes/lucid/athena/motif/gtk/no)
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)
1344 --with-pkg-config-prog Path to pkg-config to use for finding GTK 1344 --with-pkg-config-prog Path to pkg-config to use for finding GTK
1345 --without-toolkit-scroll-bars 1345 --without-toolkit-scroll-bars
13806 _ACEOF 13806 _ACEOF
13807 13807
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
13819 echo $ECHO_N "(cached) $ECHO_C" >&6 13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 fi 13819 fi
13938 13937
13939 fi 13938 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
13947 else 13946 else
13948 ac_check_lib_save_LIBS=$LIBS 13947 ac_check_lib_save_LIBS=$LIBS
14001 fi 14000 fi
14002 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 14001 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
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
14006 fi 14005 else
14007 14006 try_libgif=yes
14008 fi 14007 fi
14009 14008
14010 14009 fi
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
14014 14096
14015 cat >>confdefs.h <<\_ACEOF 14097 cat >>confdefs.h <<\_ACEOF
23392 23474
23393 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}" 23475 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}"
23401 echo 23483 echo
23402 23484