comparison configure @ 90951:3619e7770f2e

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 793-802) - Update from CVS - Remove RCS keywords - Merge from emacs--rel--22 * emacs--rel--22 (patch 42-50) - Update from CVS - Merge from gnus--rel--5.10 - Gnus ChangeLog tweaks * gnus--rel--5.10 (patch 229-232) - Merge from emacs--devo--0, emacs--rel--22 - ChangeLog tweak - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-223
author Miles Bader <miles@gnu.org>
date Sat, 16 Jun 2007 22:32:13 +0000
parents e9f94688a064 e300151b6b3a
children 4c340ae135ce
comparison
equal deleted inserted replaced
90950:8568c29985a3 90951:3619e7770f2e
1343 --with-x-toolkit=KIT use an X toolkit 1343 --with-x-toolkit=KIT use an X toolkit
1344 (KIT = yes/lucid/athena/motif/gtk/no) 1344 (KIT = yes/lucid/athena/motif/gtk/no)
1345 --with-xpm use -lXpm for displaying XPM images 1345 --with-xpm use -lXpm for displaying XPM images
1346 --with-jpeg use -ljpeg for displaying JPEG images 1346 --with-jpeg use -ljpeg for displaying JPEG images
1347 --with-tiff use -ltiff for displaying TIFF images 1347 --with-tiff use -ltiff for displaying TIFF images
1348 --with-gif use -lungif for displaying GIF images 1348 --with-gif use -lungif (or -lgif) for displaying GIF images
1349 --with-png use -lpng for displaying PNG images 1349 --with-png use -lpng for displaying PNG images
1350 --with-freetype use -lfreetype for local fonts support 1350 --with-freetype use -lfreetype for local fonts support
1351 --with-xft use -lXft for anti aliased fonts 1351 --with-xft use -lXft for anti aliased fonts
1352 --with-gpm use -lgpm for mouse support on a GNU/Linux console 1352 --with-gpm use -lgpm for mouse support on a GNU/Linux console
1353 --with-gtk use GTK (same as --with-x-toolkit=gtk) 1353 --with-gtk use GTK (same as --with-x-toolkit=gtk)
1906 l | lu | luc | luci | lucid ) val=lucid ;; 1906 l | lu | luc | luci | lucid ) val=lucid ;;
1907 a | at | ath | athe | athen | athena ) val=athena ;; 1907 a | at | ath | athe | athen | athena ) val=athena ;;
1908 m | mo | mot | moti | motif ) val=motif ;; 1908 m | mo | mot | moti | motif ) val=motif ;;
1909 g | gt | gtk ) val=gtk ;; 1909 g | gt | gtk ) val=gtk ;;
1910 * ) 1910 * )
1911 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\; 1911 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
1912 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1912 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1913 Currently, \`yes' and \`gtk', and \`athena' and \`lucid' are synonyms." >&5 1913 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
1914 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1914 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
1915 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1915 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1916 Currently, \`yes' and \`gtk', and \`athena' and \`lucid' are synonyms." >&2;} 1916 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
1917 { (exit 1); exit 1; }; } 1917 { (exit 1); exit 1; }; }
1918 ;; 1918 ;;
1919 esac 1919 esac
1920 with_x_toolkit=$val 1920 with_x_toolkit=$val
1921 1921
11805 11805
11806 fi 11806 fi
11807 fi 11807 fi
11808 fi 11808 fi
11809 11809
11810 HAVE_XAW3D=no
11810 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 11811 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
11811 if test x"${HAVE_X11R5}" = xyes; then 11812 if test x"${HAVE_X11R5}" != xyes; then
11812 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 11813 USE_X_TOOLKIT=none
11813 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; } 11814 else
11814 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 11815 { echo "$as_me:$LINENO: checking for xaw3d" >&5
11816 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; }
11817 if test "${emacs_cv_xaw3d+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 else
11820 cat >conftest.$ac_ext <<_ACEOF
11821 /* confdefs.h. */
11822 _ACEOF
11823 cat confdefs.h >>conftest.$ac_ext
11824 cat >>conftest.$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826
11827 #include <X11/Intrinsic.h>
11828 #include <X11/Xaw3d/Simple.h>
11829 int
11830 main ()
11831 {
11832
11833 ;
11834 return 0;
11835 }
11836 _ACEOF
11837 rm -f conftest.$ac_objext conftest$ac_exeext
11838 if { (ac_try="$ac_link"
11839 case "(($ac_try" in
11840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841 *) ac_try_echo=$ac_try;;
11842 esac
11843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11844 (eval "$ac_link") 2>conftest.er1
11845 ac_status=$?
11846 grep -v '^ *+' conftest.er1 >conftest.err
11847 rm -f conftest.er1
11848 cat conftest.err >&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } && {
11851 test -z "$ac_c_werror_flag" ||
11852 test ! -s conftest.err
11853 } && test -s conftest$ac_exeext &&
11854 $as_test_x conftest$ac_exeext; then
11855 emacs_cv_xaw3d=yes
11856 else
11857 echo "$as_me: failed program was:" >&5
11858 sed 's/^/| /' conftest.$ac_ext >&5
11859
11860 emacs_cv_xaw3d=no
11861 fi
11862
11863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11864 conftest$ac_exeext conftest.$ac_ext
11865 fi
11866
11867 if test $emacs_cv_xaw3d = yes; then
11868 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
11869 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
11870 USE_X_TOOLKIT=LUCID
11871 HAVE_XAW3D=yes
11872
11873 cat >>confdefs.h <<\_ACEOF
11874 #define HAVE_XAW3D 1
11875 _ACEOF
11876
11877 else
11878 { echo "$as_me:$LINENO: result: no" >&5
11879 echo "${ECHO_T}no" >&6; }
11880 { echo "$as_me:$LINENO: checking for libXaw" >&5
11881 echo $ECHO_N "checking for libXaw... $ECHO_C" >&6; }
11882 if test "${emacs_cv_xaw+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6 11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 else 11884 else
11817 cat >conftest.$ac_ext <<_ACEOF 11885 cat >conftest.$ac_ext <<_ACEOF
11818 /* confdefs.h. */ 11886 /* confdefs.h. */
11819 _ACEOF 11887 _ACEOF
11847 (exit $ac_status); } && { 11915 (exit $ac_status); } && {
11848 test -z "$ac_c_werror_flag" || 11916 test -z "$ac_c_werror_flag" ||
11849 test ! -s conftest.err 11917 test ! -s conftest.err
11850 } && test -s conftest$ac_exeext && 11918 } && test -s conftest$ac_exeext &&
11851 $as_test_x conftest$ac_exeext; then 11919 $as_test_x conftest$ac_exeext; then
11852 emacs_cv_x11_version_5_with_xaw=yes 11920 emacs_cv_xaw=yes
11853 else 11921 else
11854 echo "$as_me: failed program was:" >&5 11922 echo "$as_me: failed program was:" >&5
11855 sed 's/^/| /' conftest.$ac_ext >&5 11923 sed 's/^/| /' conftest.$ac_ext >&5
11856 11924
11857 emacs_cv_x11_version_5_with_xaw=no 11925 emacs_cv_xaw=no
11858 fi 11926 fi
11859 11927
11860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11861 conftest$ac_exeext conftest.$ac_ext 11929 conftest$ac_exeext conftest.$ac_ext
11862 fi 11930 fi
11863 11931
11864 if test $emacs_cv_x11_version_5_with_xaw = yes; then 11932 if test $emacs_cv_xaw = yes; then
11865 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 11933 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
11866 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; } 11934 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
11867 USE_X_TOOLKIT=LUCID 11935 USE_X_TOOLKIT=LUCID
11868 else 11936 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
11869 if test x"${USE_X_TOOLKIT}" = xLUCID; then
11870 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 11937 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
11871 echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} 11938 echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
11872 { (exit 1); exit 1; }; } 11939 { (exit 1); exit 1; }; }
11873 else 11940 else
11874 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 11941 { echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
11875 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; } 11942 echo "${ECHO_T}no; do not use toolkit by default" >&6; }
11876 USE_X_TOOLKIT=none 11943 USE_X_TOOLKIT=none
11877 fi 11944 fi
11878 fi 11945 fi
11879 else
11880 USE_X_TOOLKIT=none
11881 fi 11946 fi
11882 fi 11947 fi
11883 11948
11884 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 11949 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
11885 11950
12308 REAL_CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS" 12373 REAL_CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
12309 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS" 12374 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
12310 else 12375 else
12311 CFLAGS=$OLD_CFLAGS 12376 CFLAGS=$OLD_CFLAGS
12312 CPPFLAGS=$OLD_CPPFLAGS 12377 CPPFLAGS=$OLD_CPPFLAGS
12313 fi
12314 fi
12315 fi
12316
12317 ### Is -lXaw3d available?
12318 HAVE_XAW3D=no
12319 if test "${HAVE_X11}" = "yes"; then
12320 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
12321 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
12322 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; }
12323 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 else
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h. */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 #include <X11/Xaw3d/Scrollbar.h>
12333 _ACEOF
12334 if { (ac_try="$ac_cpp conftest.$ac_ext"
12335 case "(($ac_try" in
12336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12337 *) ac_try_echo=$ac_try;;
12338 esac
12339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12341 ac_status=$?
12342 grep -v '^ *+' conftest.er1 >conftest.err
12343 rm -f conftest.er1
12344 cat conftest.err >&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } >/dev/null && {
12347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12348 test ! -s conftest.err
12349 }; then
12350 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
12351 else
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.$ac_ext >&5
12354
12355 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
12356 fi
12357
12358 rm -f conftest.err conftest.$ac_ext
12359 fi
12360 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
12361 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; }
12362 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
12363 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
12364 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; }
12365 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368 ac_check_lib_save_LIBS=$LIBS
12369 LIBS="-lXaw3d $LIBS"
12370 cat >conftest.$ac_ext <<_ACEOF
12371 /* confdefs.h. */
12372 _ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12376
12377 /* Override any GCC internal prototype to avoid an error.
12378 Use char because int might match the return type of a GCC
12379 builtin and then its argument prototype would still apply. */
12380 #ifdef __cplusplus
12381 extern "C"
12382 #endif
12383 char XawScrollbarSetThumb ();
12384 int
12385 main ()
12386 {
12387 return XawScrollbarSetThumb ();
12388 ;
12389 return 0;
12390 }
12391 _ACEOF
12392 rm -f conftest.$ac_objext conftest$ac_exeext
12393 if { (ac_try="$ac_link"
12394 case "(($ac_try" in
12395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396 *) ac_try_echo=$ac_try;;
12397 esac
12398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12399 (eval "$ac_link") 2>conftest.er1
12400 ac_status=$?
12401 grep -v '^ *+' conftest.er1 >conftest.err
12402 rm -f conftest.er1
12403 cat conftest.err >&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } && {
12406 test -z "$ac_c_werror_flag" ||
12407 test ! -s conftest.err
12408 } && test -s conftest$ac_exeext &&
12409 $as_test_x conftest$ac_exeext; then
12410 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
12411 else
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.$ac_ext >&5
12414
12415 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
12416 fi
12417
12418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_lib_save_LIBS
12421 fi
12422 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
12423 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
12424 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
12425 HAVE_XAW3D=yes
12426 fi
12427
12428 fi
12429
12430
12431 if test "${HAVE_XAW3D}" = "yes"; then
12432
12433 cat >>confdefs.h <<\_ACEOF
12434 #define HAVE_XAW3D 1
12435 _ACEOF
12436
12437 fi 12378 fi
12438 fi 12379 fi
12439 fi 12380 fi
12440 12381
12441 12382
14196 _ACEOF 14137 _ACEOF
14197 14138
14198 fi 14139 fi
14199 fi 14140 fi
14200 14141
14201 ### Use -lgif if available, unless `--with-gif=no'. 14142 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
14202 HAVE_GIF=no 14143 HAVE_GIF=no
14203 if test "${HAVE_X11}" = "yes"; then 14144 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
14204 if test "${with_gif}" != "no"; then 14145 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14205 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14206 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14146 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14207 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } 14147 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
14208 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14148 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14209 echo $ECHO_N "(cached) $ECHO_C" >&6 14149 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 fi 14150 fi
14328 14268
14329 fi 14269 fi
14330 if test $ac_cv_header_gif_lib_h = yes; then 14270 if test $ac_cv_header_gif_lib_h = yes; then
14331 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 14271 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
14332 # Earlier versions can crash Emacs. 14272 # Earlier versions can crash Emacs.
14333 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 14273 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
14334 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } 14274 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
14335 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 14275 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6 14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else 14277 else
14338 ac_check_lib_save_LIBS=$LIBS 14278 ac_check_lib_save_LIBS=$LIBS
14391 fi 14331 fi
14392 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 14332 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
14393 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 14333 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
14394 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 14334 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
14395 HAVE_GIF=yes 14335 HAVE_GIF=yes
14396 fi 14336 else
14397 14337 try_libgif=yes
14398 fi 14338 fi
14399 14339
14400 14340 fi
14341
14342
14343
14344 if test "$HAVE_GIF" = yes; then
14345 ac_gif_lib_name="-lungif"
14346 fi
14347
14348 # If gif_lib.h but no libungif, try libgif.
14349 if test x"$try_libgif" = xyes; then
14350 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
14351 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; }
14352 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 ac_check_lib_save_LIBS=$LIBS
14356 LIBS="-lgif $LIBS"
14357 cat >conftest.$ac_ext <<_ACEOF
14358 /* confdefs.h. */
14359 _ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 #ifdef __cplusplus
14368 extern "C"
14369 #endif
14370 char EGifPutExtensionLast ();
14371 int
14372 main ()
14373 {
14374 return EGifPutExtensionLast ();
14375 ;
14376 return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.$ac_objext conftest$ac_exeext
14380 if { (ac_try="$ac_link"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14384 esac
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_link") 2>conftest.er1
14387 ac_status=$?
14388 grep -v '^ *+' conftest.er1 >conftest.err
14389 rm -f conftest.er1
14390 cat conftest.err >&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } && {
14393 test -z "$ac_c_werror_flag" ||
14394 test ! -s conftest.err
14395 } && test -s conftest$ac_exeext &&
14396 $as_test_x conftest$ac_exeext; then
14397 ac_cv_lib_gif_EGifPutExtensionLast=yes
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 ac_cv_lib_gif_EGifPutExtensionLast=no
14403 fi
14404
14405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LIBS=$ac_check_lib_save_LIBS
14408 fi
14409 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
14410 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
14411 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
14412 HAVE_GIF=yes
14413 fi
14414
14415
14416 if test "$HAVE_GIF" = yes; then
14417
14418 cat >>confdefs.h <<\_ACEOF
14419 #define LIBGIF -lgif
14420 _ACEOF
14421
14422 ac_gif_lib_name="-lgif"
14423 fi
14401 fi 14424 fi
14402 14425
14403 if test "${HAVE_GIF}" = "yes"; then 14426 if test "${HAVE_GIF}" = "yes"; then
14404 14427
14405 cat >>confdefs.h <<\_ACEOF 14428 cat >>confdefs.h <<\_ACEOF
14406 #define HAVE_GIF 1 14429 #define HAVE_GIF 1
14407 _ACEOF 14430 _ACEOF
14408 14431
14432 fi
14433 fi
14434
14435 if test "${HAVE_X11}" = "yes"; then
14436 MISSING=""
14437 WITH_NO=""
14438 test "${with_xpm}" != "no" && test "${HAVE_XPM}" != "yes" &&
14439 MISSING="libXpm" && WITH_NO="--with-xpm=no"
14440 test "${with_jpeg}" != "no" && test "${HAVE_JPEG}" != "yes" &&
14441 MISSING="$MISSING libjpeg" && WITH_NO="$WITH_NO --with-jpeg=no"
14442 test "${with_png}" != "no" && test "${HAVE_PNG}" != "yes" &&
14443 MISSING="$MISSING libpng" && WITH_NO="$WITH_NO --with-png=no"
14444 test "${with_gif}" != "no" && test "${HAVE_GIF}" != "yes" &&
14445 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
14446 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
14447 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
14448
14449 if test "X${MISSING}" != X; then
14450 { { echo "$as_me:$LINENO: error: The following required libraries was not found:
14451 $MISSING
14452 Maybe some development libraries/packages are missing?
14453 If you don't want to link with them give
14454 $WITH_NO
14455 as options to configure" >&5
14456 echo "$as_me: error: The following required libraries was not found:
14457 $MISSING
14458 Maybe some development libraries/packages are missing?
14459 If you don't want to link with them give
14460 $WITH_NO
14461 as options to configure" >&2;}
14462 { (exit 1); exit 1; }; }
14409 fi 14463 fi
14410 fi 14464 fi
14411 14465
14412 ### Use -lgpm if available, unless `--with-gpm=no'. 14466 ### Use -lgpm if available, unless `--with-gpm=no'.
14413 HAVE_GPM=no 14467 HAVE_GPM=no
23750 23804
23751 23805
23752 23806
23753 23807
23754 23808
23809
23755 #### Report on what we decided to do. 23810 #### Report on what we decided to do.
23756 #### Report GTK as a toolkit, even if it doesn't use Xt. 23811 #### Report GTK as a toolkit, even if it doesn't use Xt.
23757 #### It makes printing result more understandable as using GTK sets 23812 #### It makes printing result more understandable as using GTK sets
23758 #### toolkit_scroll_bars to yes by default. 23813 #### toolkit_scroll_bars to yes by default.
23759 if test "${HAVE_GTK}" = "yes"; then 23814 if test "${HAVE_GTK}" = "yes"; then
23786 23841
23787 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}" 23842 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
23788 echo " Does Emacs use -lXpm? ${HAVE_XPM}" 23843 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
23789 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" 23844 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
23790 echo " Does Emacs use -ltiff? ${HAVE_TIFF}" 23845 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
23791 echo " Does Emacs use -lungif? ${HAVE_GIF}" 23846 echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name"
23792 echo " Does Emacs use -lpng? ${HAVE_PNG}" 23847 echo " Does Emacs use -lpng? ${HAVE_PNG}"
23793 echo " Does Emacs use -lgpm? ${HAVE_GPM}" 23848 echo " Does Emacs use -lgpm? ${HAVE_GPM}"
23794 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" 23849 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
23795 echo 23850 echo
23796 23851