aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2010-04-02 23:09:13 +0200
committerJoakim Verona2010-04-02 23:09:13 +0200
commit3de25479216a2ecec509df8933047873d084f708 (patch)
tree55a93b61a20914cff6afe0c9f40d3bd0f8680ed7
parent796bb9364a5244a089769f4c92daab1835b618c7 (diff)
downloademacs-3de25479216a2ecec509df8933047873d084f708.tar.gz
emacs-3de25479216a2ecec509df8933047873d084f708.zip
imagemagick patch5 + minor mods
-rwxr-xr-xconfigure986
-rw-r--r--configure.in20
-rw-r--r--lisp/image.el25
-rw-r--r--src/Makefile.in10
-rw-r--r--src/image.c478
5 files changed, 1095 insertions, 424 deletions
diff --git a/configure b/configure
index 7d0662ce346..bd8007cc712 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.62 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.63 for emacs 24.0.50.
4# 4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -638,150 +638,152 @@ ac_includes_default="\
638ac_config_libobj_dir=src 638ac_config_libobj_dir=src
639ac_header_list= 639ac_header_list=
640ac_func_list= 640ac_func_list=
641ac_subst_vars='SHELL 641ac_subst_vars='LTLIBOBJS
642PATH_SEPARATOR
643PACKAGE_NAME
644PACKAGE_TARNAME
645PACKAGE_VERSION
646PACKAGE_STRING
647PACKAGE_BUGREPORT
648exec_prefix
649prefix
650program_transform_name
651bindir
652sbindir
653libexecdir
654datarootdir
655datadir
656sysconfdir
657sharedstatedir
658localstatedir
659includedir
660oldincludedir
661docdir
662infodir
663htmldir
664dvidir
665pdfdir
666psdir
667libdir
668localedir
669mandir
670DEFS
671ECHO_C
672ECHO_N
673ECHO_T
674LIBS
675build_alias
676host_alias
677target_alias
678MAINT
679build
680build_cpu
681build_vendor
682build_os
683host
684host_cpu
685host_vendor
686host_os
687CC
688CFLAGS
689LDFLAGS
690CPPFLAGS
691ac_ct_CC
692EXEEXT
693OBJEXT
694CPP
695GREP
696EGREP
697LN_S
698INSTALL_PROGRAM
699INSTALL_SCRIPT
700INSTALL_DATA
701RANLIB
702INSTALL_INFO
703GZIP_PROG
704MAKEINFO
705LIBSOUND
706PKG_CONFIG
707ALSA_CFLAGS
708ALSA_LIBS
709CFLAGS_SOUND
710SET_MAKE
711XMKMF
712HAVE_XSERVER
713RSVG_CFLAGS
714RSVG_LIBS
715GTK_CFLAGS
716GTK_LIBS
717DBUS_CFLAGS
718DBUS_LIBS
719GCONF_CFLAGS
720GCONF_LIBS
721FONTCONFIG_CFLAGS
722FONTCONFIG_LIBS
723XFT_CFLAGS
724XFT_LIBS
725LIBOTF_CFLAGS
726LIBOTF_LIBS
727M17N_FLT_CFLAGS
728M17N_FLT_LIBS
729FREETYPE_CFLAGS
730FREETYPE_LIBS
731LIBXPM
732LIBJPEG
733LIBPNG
734LIBTIFF
735LIBGIF
736LIBGPM
737ALLOCA
738liblockfile
739LIBS_MAIL
740LIBOBJS
741NEED_SETGID
742KMEM_GROUP
743GETLOADAVG_LIBS
744GETOPT_H
745GETOPTOBJS
746LIBHESIOD
747LIBRESOLV
748COM_ERRLIB
749CRYPTOLIB
750KRB5LIB
751DESLIB
752KRB4LIB
753version
754configuration
755canonical
756srcdir
757lispdir
758locallisppath
759lisppath
760x_default_search_path
761etcdir
762archlibdir
763bitmapdir
764gamedir
765gameuser
766c_switch_system
767c_switch_machine
768LD_SWITCH_X_SITE
769LD_SWITCH_X_SITE_AUX
770C_SWITCH_X_SITE
771X_TOOLKIT_TYPE
772machfile
773opsysfile
774ns_appdir
775ns_appbindir
776ns_appresdir
777ns_appsrc
778GNUSTEP_MAKEFILES
779GNUSTEP_SYSTEM_HEADERS
780GNUSTEP_SYSTEM_LIBRARIES
781GNU_OBJC_CFLAGS
782LIB_SRC_EXTRA_INSTALLABLES
783OTHER_FILES 642OTHER_FILES
784LTLIBOBJS' 643LIB_SRC_EXTRA_INSTALLABLES
644GNU_OBJC_CFLAGS
645GNUSTEP_SYSTEM_LIBRARIES
646GNUSTEP_SYSTEM_HEADERS
647GNUSTEP_MAKEFILES
648ns_appsrc
649ns_appresdir
650ns_appbindir
651ns_appdir
652opsysfile
653machfile
654X_TOOLKIT_TYPE
655C_SWITCH_X_SITE
656LD_SWITCH_X_SITE_AUX
657LD_SWITCH_X_SITE
658c_switch_machine
659c_switch_system
660gameuser
661gamedir
662bitmapdir
663archlibdir
664etcdir
665x_default_search_path
666lisppath
667locallisppath
668lispdir
669srcdir
670canonical
671configuration
672version
673KRB4LIB
674DESLIB
675KRB5LIB
676CRYPTOLIB
677COM_ERRLIB
678LIBRESOLV
679LIBHESIOD
680GETOPTOBJS
681GETOPT_H
682GETLOADAVG_LIBS
683KMEM_GROUP
684NEED_SETGID
685LIBOBJS
686LIBS_MAIL
687liblockfile
688ALLOCA
689LIBGPM
690LIBGIF
691LIBTIFF
692LIBPNG
693LIBJPEG
694LIBXPM
695FREETYPE_LIBS
696FREETYPE_CFLAGS
697M17N_FLT_LIBS
698M17N_FLT_CFLAGS
699LIBOTF_LIBS
700LIBOTF_CFLAGS
701XFT_LIBS
702XFT_CFLAGS
703FONTCONFIG_LIBS
704FONTCONFIG_CFLAGS
705GCONF_LIBS
706GCONF_CFLAGS
707DBUS_LIBS
708DBUS_CFLAGS
709GTK_LIBS
710GTK_CFLAGS
711IMAGEMAGICK_LIBS
712IMAGEMAGICK_CFLAGS
713RSVG_LIBS
714RSVG_CFLAGS
715HAVE_XSERVER
716XMKMF
717SET_MAKE
718CFLAGS_SOUND
719ALSA_LIBS
720ALSA_CFLAGS
721PKG_CONFIG
722LIBSOUND
723MAKEINFO
724GZIP_PROG
725INSTALL_INFO
726RANLIB
727INSTALL_DATA
728INSTALL_SCRIPT
729INSTALL_PROGRAM
730LN_S
731EGREP
732GREP
733CPP
734OBJEXT
735EXEEXT
736ac_ct_CC
737CPPFLAGS
738LDFLAGS
739CFLAGS
740CC
741host_os
742host_vendor
743host_cpu
744host
745build_os
746build_vendor
747build_cpu
748build
749MAINT
750target_alias
751host_alias
752build_alias
753LIBS
754ECHO_T
755ECHO_N
756ECHO_C
757DEFS
758mandir
759localedir
760libdir
761psdir
762pdfdir
763dvidir
764htmldir
765infodir
766docdir
767oldincludedir
768includedir
769localstatedir
770sharedstatedir
771sysconfdir
772datadir
773datarootdir
774libexecdir
775sbindir
776bindir
777program_transform_name
778prefix
779exec_prefix
780PACKAGE_BUGREPORT
781PACKAGE_STRING
782PACKAGE_VERSION
783PACKAGE_TARNAME
784PACKAGE_NAME
785PATH_SEPARATOR
786SHELL'
785ac_subst_files='' 787ac_subst_files=''
786ac_user_opts=' 788ac_user_opts='
787enable_option_checking 789enable_option_checking
@@ -801,6 +803,7 @@ with_tiff
801with_gif 803with_gif
802with_png 804with_png
803with_rsvg 805with_rsvg
806with_imagemagick
804with_xft 807with_xft
805with_libotf 808with_libotf
806with_m17n_flt 809with_m17n_flt
@@ -1258,9 +1261,9 @@ fi
1258if test -n "$ac_unrecognized_opts"; then 1261if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in 1262 case $enable_option_checking in
1260 no) ;; 1263 no) ;;
1261 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1264 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1262 { (exit 1); exit 1; }; } ;; 1265 { (exit 1); exit 1; }; } ;;
1263 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1266 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 esac 1267 esac
1265fi 1268fi
1266 1269
@@ -1313,7 +1316,7 @@ test "$silent" = yes && exec 6>/dev/null
1313ac_pwd=`pwd` && test -n "$ac_pwd" && 1316ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314ac_ls_di=`ls -di .` && 1317ac_ls_di=`ls -di .` &&
1315ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1318ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1319 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1317 { (exit 1); exit 1; }; } 1320 { (exit 1); exit 1; }; }
1318test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1321test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1322 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
@@ -1512,6 +1515,7 @@ Optional Packages:
1512 --without-gif don't compile with GIF image support 1515 --without-gif don't compile with GIF image support
1513 --without-png don't compile with PNG image support 1516 --without-png don't compile with PNG image support
1514 --without-rsvg don't compile with SVG image support 1517 --without-rsvg don't compile with SVG image support
1518 --with-imagemagick compile with ImageMagick image support
1515 --without-xft don't use XFT for anti aliased fonts 1519 --without-xft don't use XFT for anti aliased fonts
1516 --without-libotf don't use libotf for OpenType font support 1520 --without-libotf don't use libotf for OpenType font support
1517 --without-m17n-flt don't use m17n-flt for text shaping 1521 --without-m17n-flt don't use m17n-flt for text shaping
@@ -1610,7 +1614,7 @@ test -n "$ac_init_help" && exit $ac_status
1610if $ac_init_version; then 1614if $ac_init_version; then
1611 cat <<\_ACEOF 1615 cat <<\_ACEOF
1612emacs configure 24.0.50 1616emacs configure 24.0.50
1613generated by GNU Autoconf 2.62 1617generated by GNU Autoconf 2.63
1614 1618
1615Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1619Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16162002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 16202002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -1624,7 +1628,7 @@ This file contains any messages produced by compilers while
1624running configure, to aid debugging if configure makes a mistake. 1628running configure, to aid debugging if configure makes a mistake.
1625 1629
1626It was created by emacs $as_me 24.0.50, which was 1630It was created by emacs $as_me 24.0.50, which was
1627generated by GNU Autoconf 2.62. Invocation command line was 1631generated by GNU Autoconf 2.63. Invocation command line was
1628 1632
1629 $ $0 $@ 1633 $ $0 $@
1630 1634
@@ -1747,8 +1751,8 @@ _ASBOX
1747 case $ac_val in #( 1751 case $ac_val in #(
1748 *${as_nl}*) 1752 *${as_nl}*)
1749 case $ac_var in #( 1753 case $ac_var in #(
1750 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1754 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1751$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1755$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1752 esac 1756 esac
1753 case $ac_var in #( 1757 case $ac_var in #(
1754 _ | IFS | as_nl) ;; #( 1758 _ | IFS | as_nl) ;; #(
@@ -1954,6 +1958,8 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1954 fi 1958 fi
1955done 1959done
1956if $ac_cache_corrupted; then 1960if $ac_cache_corrupted; then
1961 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1957 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1963 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1958$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1964$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1959 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1965 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
@@ -2233,6 +2239,14 @@ else
2233fi 2239fi
2234 2240
2235 2241
2242# Check whether --with-imagemagick was given.
2243if test "${with_imagemagick+set}" = set; then
2244 withval=$with_imagemagick;
2245else
2246 with_imagemagick=no
2247fi
2248
2249
2236 2250
2237# Check whether --with-xft was given. 2251# Check whether --with-xft was given.
2238if test "${with_xft+set}" = set; then 2252if test "${with_xft+set}" = set; then
@@ -2773,15 +2787,6 @@ _ACEOF
2773 esac 2787 esac
2774 ;; 2788 ;;
2775 2789
2776 ## LynxOS ports
2777 *-*-lynxos* )
2778 opsys=lynxos
2779 case "${canonical}" in
2780 i[3456]86-*-lynxos*) machine=intel386 ;;
2781 powerpc-*-lynxos*) machine=powerpc ;;
2782 esac
2783 ;;
2784
2785 alpha*-*-linux-gnu* ) 2790 alpha*-*-linux-gnu* )
2786 machine=alpha opsys=gnu-linux 2791 machine=alpha opsys=gnu-linux
2787 ;; 2792 ;;
@@ -2865,30 +2870,14 @@ _ACEOF
2865 2870
2866 *-sun-solaris* \ 2871 *-sun-solaris* \
2867 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \ 2872 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \
2868 | x86_64-*-solaris2* | x86_64-*-sunos5* \ 2873 | x86_64-*-solaris2* | x86_64-*-sunos5*)
2869 | powerpc*-*-solaris2* | rs6000-*-solaris2*)
2870 case "${canonical}" in 2874 case "${canonical}" in
2871 i[3456]86-*-* ) machine=intel386 ;; 2875 i[3456]86-*-* ) machine=intel386 ;;
2872 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;; 2876 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;;
2873 powerpc* | rs6000* ) machine=ibmrs6000 ;;
2874 sparc* ) machine=sparc ;; 2877 sparc* ) machine=sparc ;;
2875 * ) unported=yes ;; 2878 * ) unported=yes ;;
2876 esac 2879 esac
2877 case "${canonical}" in 2880 case "${canonical}" in
2878 *-sunos5.3* | *-solaris2.3* )
2879 opsys=sol2-3
2880 NON_GNU_CPP=/usr/ccs/lib/cpp
2881 ;;
2882 *-sunos5.4* | *-solaris2.4* )
2883 opsys=sol2-4
2884 NON_GNU_CPP=/usr/ccs/lib/cpp
2885 RANLIB="ar -ts"
2886 ;;
2887 *-sunos5.5* | *-solaris2.5* )
2888 opsys=sol2-5
2889 NON_GNU_CPP=/usr/ccs/lib/cpp
2890 RANLIB="ar -ts"
2891 ;;
2892 *-sunos5.6* | *-solaris2.6* ) 2881 *-sunos5.6* | *-solaris2.6* )
2893 opsys=sol2-6 2882 opsys=sol2-6
2894 NON_GNU_CPP=/usr/ccs/lib/cpp 2883 NON_GNU_CPP=/usr/ccs/lib/cpp
@@ -2979,22 +2968,6 @@ esac
2979if test x"${opsys}" = x; then 2968if test x"${opsys}" = x; then
2980 case "${canonical}" in 2969 case "${canonical}" in
2981 *-gnu* ) opsys=gnu ;; 2970 *-gnu* ) opsys=gnu ;;
2982 *-sysv4.2uw* ) opsys=unixware ;;
2983 *-sysv5uw* ) opsys=unixware ;;
2984 *-sysv5OpenUNIX* ) opsys=unixware ;;
2985 *-sysv4.1* | *-sysvr4.1* )
2986 NON_GNU_CPP=/usr/lib/cpp
2987 opsys=usg5-4 ;;
2988 *-sysv4.[2-9]* | *-sysvr4.[2-9]* )
2989 if [ x$NON_GNU_CPP = x ]; then
2990 if [ -f /usr/ccs/lib/cpp ]; then
2991 NON_GNU_CPP=/usr/ccs/lib/cpp
2992 else
2993 NON_GNU_CPP=/lib/cpp
2994 fi
2995 fi
2996 opsys=usg5-4-2 ;;
2997 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;;
2998 * ) 2971 * )
2999 unported=yes 2972 unported=yes
3000 ;; 2973 ;;
@@ -3108,12 +3081,8 @@ fi
3108 else 3081 else
3109 case $cross_compiling:$ac_tool_warned in 3082 case $cross_compiling:$ac_tool_warned in
3110yes:) 3083yes:)
3111{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3084{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3112whose name does not start with the host triplet. If you think this 3085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3113configuration is useful to you, please write to autoconf@gnu.org." >&5
3114$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3115whose name does not start with the host triplet. If you think this
3116configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3117ac_tool_warned=yes ;; 3086ac_tool_warned=yes ;;
3118esac 3087esac
3119 CC=$ac_ct_CC 3088 CC=$ac_ct_CC
@@ -3312,12 +3281,8 @@ done
3312 else 3281 else
3313 case $cross_compiling:$ac_tool_warned in 3282 case $cross_compiling:$ac_tool_warned in
3314yes:) 3283yes:)
3315{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3284{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3316whose name does not start with the host triplet. If you think this 3285$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3317configuration is useful to you, please write to autoconf@gnu.org." >&5
3318$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3319whose name does not start with the host triplet. If you think this
3320configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3321ac_tool_warned=yes ;; 3286ac_tool_warned=yes ;;
3322esac 3287esac
3323 CC=$ac_ct_CC 3288 CC=$ac_ct_CC
@@ -3327,11 +3292,13 @@ fi
3327fi 3292fi
3328 3293
3329 3294
3330test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3295test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3296$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3331See \`config.log' for more details." >&5 3298See \`config.log' for more details." >&5
3332$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3299$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3333See \`config.log' for more details." >&2;} 3300See \`config.log' for more details." >&2;}
3334 { (exit 1); exit 1; }; } 3301 { (exit 1); exit 1; }; }; }
3335 3302
3336# Provide some information about the compiler. 3303# Provide some information about the compiler.
3337$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3304$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
@@ -3461,11 +3428,13 @@ if test -z "$ac_file"; then
3461 $as_echo "$as_me: failed program was:" >&5 3428 $as_echo "$as_me: failed program was:" >&5
3462sed 's/^/| /' conftest.$ac_ext >&5 3429sed 's/^/| /' conftest.$ac_ext >&5
3463 3430
3431{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3433{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3465See \`config.log' for more details." >&5 3434See \`config.log' for more details." >&5
3466$as_echo "$as_me: error: C compiler cannot create executables 3435$as_echo "$as_me: error: C compiler cannot create executables
3467See \`config.log' for more details." >&2;} 3436See \`config.log' for more details." >&2;}
3468 { (exit 77); exit 77; }; } 3437 { (exit 77); exit 77; }; }; }
3469fi 3438fi
3470 3439
3471ac_exeext=$ac_cv_exeext 3440ac_exeext=$ac_cv_exeext
@@ -3493,13 +3462,15 @@ $as_echo "$ac_try_echo") >&5
3493 if test "$cross_compiling" = maybe; then 3462 if test "$cross_compiling" = maybe; then
3494 cross_compiling=yes 3463 cross_compiling=yes
3495 else 3464 else
3496 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3465 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3497If you meant to cross compile, use \`--host'. 3468If you meant to cross compile, use \`--host'.
3498See \`config.log' for more details." >&5 3469See \`config.log' for more details." >&5
3499$as_echo "$as_me: error: cannot run C compiled programs. 3470$as_echo "$as_me: error: cannot run C compiled programs.
3500If you meant to cross compile, use \`--host'. 3471If you meant to cross compile, use \`--host'.
3501See \`config.log' for more details." >&2;} 3472See \`config.log' for more details." >&2;}
3502 { (exit 1); exit 1; }; } 3473 { (exit 1); exit 1; }; }; }
3503 fi 3474 fi
3504 fi 3475 fi
3505fi 3476fi
@@ -3542,11 +3513,13 @@ for ac_file in conftest.exe conftest conftest.*; do
3542 esac 3513 esac
3543done 3514done
3544else 3515else
3545 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3516 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3546See \`config.log' for more details." >&5 3519See \`config.log' for more details." >&5
3547$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3520$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3548See \`config.log' for more details." >&2;} 3521See \`config.log' for more details." >&2;}
3549 { (exit 1); exit 1; }; } 3522 { (exit 1); exit 1; }; }; }
3550fi 3523fi
3551 3524
3552rm -f conftest$ac_cv_exeext 3525rm -f conftest$ac_cv_exeext
@@ -3600,11 +3573,13 @@ else
3600 $as_echo "$as_me: failed program was:" >&5 3573 $as_echo "$as_me: failed program was:" >&5
3601sed 's/^/| /' conftest.$ac_ext >&5 3574sed 's/^/| /' conftest.$ac_ext >&5
3602 3575
3576{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3603{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3578{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3604See \`config.log' for more details." >&5 3579See \`config.log' for more details." >&5
3605$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3580$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3606See \`config.log' for more details." >&2;} 3581See \`config.log' for more details." >&2;}
3607 { (exit 1); exit 1; }; } 3582 { (exit 1); exit 1; }; }; }
3608fi 3583fi
3609 3584
3610rm -f conftest.$ac_cv_objext conftest.$ac_ext 3585rm -f conftest.$ac_cv_objext conftest.$ac_ext
@@ -4276,11 +4251,13 @@ rm -f conftest.err conftest.$ac_ext
4276if $ac_preproc_ok; then 4251if $ac_preproc_ok; then
4277 : 4252 :
4278else 4253else
4279 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4254 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4280See \`config.log' for more details." >&5 4257See \`config.log' for more details." >&5
4281$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4258$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4282See \`config.log' for more details." >&2;} 4259See \`config.log' for more details." >&2;}
4283 { (exit 1); exit 1; }; } 4260 { (exit 1); exit 1; }; }; }
4284fi 4261fi
4285 4262
4286ac_ext=c 4263ac_ext=c
@@ -4663,8 +4640,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
4663 $as_echo "$as_val"'` 4640 $as_echo "$as_val"'`
4664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4641 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4665$as_echo "$ac_res" >&6; } 4642$as_echo "$ac_res" >&6; }
4666if test `eval 'as_val=${'$as_ac_Header'} 4643as_val=`eval 'as_val=${'$as_ac_Header'}
4667 $as_echo "$as_val"'` = yes; then 4644 $as_echo "$as_val"'`
4645 if test "x$as_val" = x""yes; then
4668 cat >>confdefs.h <<_ACEOF 4646 cat >>confdefs.h <<_ACEOF
4669#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4647#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4670_ACEOF 4648_ACEOF
@@ -4802,7 +4780,7 @@ fi
4802$as_echo "$ac_cv_header_minix_config_h" >&6; } 4780$as_echo "$ac_cv_header_minix_config_h" >&6; }
4803 4781
4804fi 4782fi
4805if test $ac_cv_header_minix_config_h = yes; then 4783if test "x$ac_cv_header_minix_config_h" = x""yes; then
4806 MINIX=yes 4784 MINIX=yes
4807else 4785else
4808 MINIX= 4786 MINIX=
@@ -5250,11 +5228,13 @@ rm -f conftest.err conftest.$ac_ext
5250if $ac_preproc_ok; then 5228if $ac_preproc_ok; then
5251 : 5229 :
5252else 5230else
5253 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 5231 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5233{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5254See \`config.log' for more details." >&5 5234See \`config.log' for more details." >&5
5255$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 5235$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5256See \`config.log' for more details." >&2;} 5236See \`config.log' for more details." >&2;}
5257 { (exit 1); exit 1; }; } 5237 { (exit 1); exit 1; }; }; }
5258fi 5238fi
5259 5239
5260ac_ext=c 5240ac_ext=c
@@ -5439,12 +5419,8 @@ fi
5439 else 5419 else
5440 case $cross_compiling:$ac_tool_warned in 5420 case $cross_compiling:$ac_tool_warned in
5441yes:) 5421yes:)
5442{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5422{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5443whose name does not start with the host triplet. If you think this 5423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444configuration is useful to you, please write to autoconf@gnu.org." >&5
5445$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5446whose name does not start with the host triplet. If you think this
5447configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5448ac_tool_warned=yes ;; 5424ac_tool_warned=yes ;;
5449esac 5425esac
5450 RANLIB=$ac_ct_RANLIB 5426 RANLIB=$ac_ct_RANLIB
@@ -5819,10 +5795,6 @@ configure___ use_mmap_for_buffers=yes
5819configure___ use_mmap_for_buffers=no 5795configure___ use_mmap_for_buffers=no
5820#endif 5796#endif
5821 5797
5822#ifndef C_DEBUG_SWITCH
5823#define C_DEBUG_SWITCH -g
5824#endif
5825
5826#ifndef C_OPTIMIZE_SWITCH 5798#ifndef C_OPTIMIZE_SWITCH
5827#ifdef __GNUC__ 5799#ifdef __GNUC__
5828#define C_OPTIMIZE_SWITCH -O2 5800#define C_OPTIMIZE_SWITCH -O2
@@ -5854,18 +5826,18 @@ configure___ ld_switch_machine=LD_SWITCH_MACHINE
5854 5826
5855/* Get the CFLAGS for tests in configure. */ 5827/* Get the CFLAGS for tests in configure. */
5856#ifdef __GNUC__ 5828#ifdef __GNUC__
5857configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' 5829configure___ CFLAGS=C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
5858#else 5830#else
5859configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' 5831configure___ CFLAGS='${SPECIFIED_CFLAGS}'
5860#endif 5832#endif
5861 5833
5862#else /* not THIS_IS_CONFIGURE */ 5834#else /* not THIS_IS_CONFIGURE */
5863 5835
5864/* Get the CFLAGS for real compilation. */ 5836/* Get the CFLAGS for real compilation. */
5865#ifdef __GNUC__ 5837#ifdef __GNUC__
5866configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}' 5838configure___ REAL_CFLAGS=C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}'
5867#else 5839#else
5868configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' 5840configure___ REAL_CFLAGS='${SPECIFIED_CFLAGS}'
5869#endif 5841#endif
5870 5842
5871#endif /* not THIS_IS_CONFIGURE */ 5843#endif /* not THIS_IS_CONFIGURE */
@@ -6413,8 +6385,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
6413$as_echo "$ac_res" >&6; } 6385$as_echo "$ac_res" >&6; }
6414 6386
6415fi 6387fi
6416if test `eval 'as_val=${'$as_ac_Header'} 6388as_val=`eval 'as_val=${'$as_ac_Header'}
6417 $as_echo "$as_val"'` = yes; then 6389 $as_echo "$as_val"'`
6390 if test "x$as_val" = x""yes; then
6418 cat >>confdefs.h <<_ACEOF 6391 cat >>confdefs.h <<_ACEOF
6419#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6392#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6420_ACEOF 6393_ACEOF
@@ -6489,7 +6462,7 @@ LIBS=$ac_check_lib_save_LIBS
6489fi 6462fi
6490{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6463{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6491$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6464$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6492if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 6465if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then
6493 LIBSOUND=-lossaudio 6466 LIBSOUND=-lossaudio
6494else 6467else
6495 LIBSOUND= 6468 LIBSOUND=
@@ -6867,8 +6840,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
6867$as_echo "$ac_res" >&6; } 6840$as_echo "$ac_res" >&6; }
6868 6841
6869fi 6842fi
6870if test `eval 'as_val=${'$as_ac_Header'} 6843as_val=`eval 'as_val=${'$as_ac_Header'}
6871 $as_echo "$as_val"'` = yes; then 6844 $as_echo "$as_val"'`
6845 if test "x$as_val" = x""yes; then
6872 cat >>confdefs.h <<_ACEOF 6846 cat >>confdefs.h <<_ACEOF
6873#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6847#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874_ACEOF 6848_ACEOF
@@ -6981,8 +6955,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
6981 $as_echo "$as_val"'` 6955 $as_echo "$as_val"'`
6982 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6983$as_echo "$ac_res" >&6; } 6957$as_echo "$ac_res" >&6; }
6984if test `eval 'as_val=${'$as_ac_Header'} 6958as_val=`eval 'as_val=${'$as_ac_Header'}
6985 $as_echo "$as_val"'` = yes; then 6959 $as_echo "$as_val"'`
6960 if test "x$as_val" = x""yes; then
6986 cat >>confdefs.h <<_ACEOF 6961 cat >>confdefs.h <<_ACEOF
6987#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6962#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6988_ACEOF 6963_ACEOF
@@ -7284,7 +7259,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284fi 7259fi
7285{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 7260{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7286$as_echo "$ac_cv_have_decl_sys_siglist" >&6; } 7261$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7287if test $ac_cv_have_decl_sys_siglist = yes; then 7262if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then
7288 7263
7289cat >>confdefs.h <<_ACEOF 7264cat >>confdefs.h <<_ACEOF
7290#define HAVE_DECL_SYS_SIGLIST 1 7265#define HAVE_DECL_SYS_SIGLIST 1
@@ -7355,7 +7330,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7355fi 7330fi
7356{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 7331{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7357$as_echo "$ac_cv_have_decl___sys_siglist" >&6; } 7332$as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7358if test $ac_cv_have_decl___sys_siglist = yes; then 7333if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then
7359 7334
7360cat >>confdefs.h <<_ACEOF 7335cat >>confdefs.h <<_ACEOF
7361#define HAVE_DECL___SYS_SIGLIST 1 7336#define HAVE_DECL___SYS_SIGLIST 1
@@ -7897,8 +7872,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
7897$as_echo "$ac_res" >&6; } 7872$as_echo "$ac_res" >&6; }
7898 7873
7899fi 7874fi
7900if test `eval 'as_val=${'$as_ac_Header'} 7875as_val=`eval 'as_val=${'$as_ac_Header'}
7901 $as_echo "$as_val"'` = yes; then 7876 $as_echo "$as_val"'`
7877 if test "x$as_val" = x""yes; then
7902 cat >>confdefs.h <<_ACEOF 7878 cat >>confdefs.h <<_ACEOF
7903#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7879#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7904_ACEOF 7880_ACEOF
@@ -7961,8 +7937,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
7961 $as_echo "$as_val"'` 7937 $as_echo "$as_val"'`
7962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7938 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7963$as_echo "$ac_res" >&6; } 7939$as_echo "$ac_res" >&6; }
7964if test `eval 'as_val=${'$as_ac_Header'} 7940as_val=`eval 'as_val=${'$as_ac_Header'}
7965 $as_echo "$as_val"'` = yes; then 7941 $as_echo "$as_val"'`
7942 if test "x$as_val" = x""yes; then
7966 cat >>confdefs.h <<_ACEOF 7943 cat >>confdefs.h <<_ACEOF
7967#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7944#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968_ACEOF 7945_ACEOF
@@ -8135,7 +8112,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8135fi 8112fi
8136{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 8113{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8137$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } 8114$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
8138if test $ac_cv_member_struct_tm_tm_zone = yes; then 8115if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then
8139 8116
8140cat >>confdefs.h <<_ACEOF 8117cat >>confdefs.h <<_ACEOF
8141#define HAVE_STRUCT_TM_TM_ZONE 1 8118#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -8205,7 +8182,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8205fi 8182fi
8206{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 8183{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8207$as_echo "$ac_cv_have_decl_tzname" >&6; } 8184$as_echo "$ac_cv_have_decl_tzname" >&6; }
8208if test $ac_cv_have_decl_tzname = yes; then 8185if test "x$ac_cv_have_decl_tzname" = x""yes; then
8209 8186
8210cat >>confdefs.h <<_ACEOF 8187cat >>confdefs.h <<_ACEOF
8211#define HAVE_DECL_TZNAME 1 8188#define HAVE_DECL_TZNAME 1
@@ -8386,7 +8363,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8386fi 8363fi
8387{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 8364{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8388$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } 8365$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8389if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 8366if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then
8390 8367
8391cat >>confdefs.h <<\_ACEOF 8368cat >>confdefs.h <<\_ACEOF
8392#define HAVE_TM_GMTOFF 1 8369#define HAVE_TM_GMTOFF 1
@@ -8503,7 +8480,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8503fi 8480fi
8504{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8481{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8505$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } 8482$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8506if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then 8483if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then
8507 8484
8508cat >>confdefs.h <<_ACEOF 8485cat >>confdefs.h <<_ACEOF
8509#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8486#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -8620,7 +8597,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8620fi 8597fi
8621{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 8598{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8622$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } 8599$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8623if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then 8600if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then
8624 8601
8625cat >>confdefs.h <<_ACEOF 8602cat >>confdefs.h <<_ACEOF
8626#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8603#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -8737,7 +8714,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737fi 8714fi
8738{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 8715{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8739$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } 8716$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8740if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then 8717if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then
8741 8718
8742cat >>confdefs.h <<_ACEOF 8719cat >>confdefs.h <<_ACEOF
8743#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8720#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -8854,7 +8831,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8854fi 8831fi
8855{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 8832{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8856$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } 8833$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8857if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then 8834if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then
8858 8835
8859cat >>confdefs.h <<_ACEOF 8836cat >>confdefs.h <<_ACEOF
8860#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8837#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -8971,7 +8948,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8971fi 8948fi
8972{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 8949{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8973$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } 8950$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8974if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then 8951if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then
8975 8952
8976cat >>confdefs.h <<_ACEOF 8953cat >>confdefs.h <<_ACEOF
8977#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8954#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -9402,8 +9379,8 @@ if test "x$with_x" = xno; then
9402 have_x=disabled 9379 have_x=disabled
9403else 9380else
9404 case $x_includes,$x_libraries in #( 9381 case $x_includes,$x_libraries in #(
9405 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 9382 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
9406$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} 9383$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
9407 { (exit 1); exit 1; }; };; #( 9384 { (exit 1); exit 1; }; };; #(
9408 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 9385 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9409 $as_echo_n "(cached) " >&6 9386 $as_echo_n "(cached) " >&6
@@ -9441,7 +9418,7 @@ _ACEOF
9441 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 9418 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9442 esac 9419 esac
9443 case $ac_im_usrlibdir in 9420 case $ac_im_usrlibdir in
9444 /usr/lib | /lib) ;; 9421 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9445 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 9422 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9446 esac 9423 esac
9447 fi 9424 fi
@@ -9850,7 +9827,7 @@ fi
9850$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } 9827$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9851 9828
9852fi 9829fi
9853if test $ac_cv_header_AppKit_AppKit_h = yes; then 9830if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then
9854 HAVE_NS=yes 9831 HAVE_NS=yes
9855else 9832else
9856 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 9833 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
@@ -10098,7 +10075,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10098fi 10075fi
10099{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 10076{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
10100$as_echo "$ac_cv_func_malloc_get_state" >&6; } 10077$as_echo "$ac_cv_func_malloc_get_state" >&6; }
10101if test $ac_cv_func_malloc_get_state = yes; then 10078if test "x$ac_cv_func_malloc_get_state" = x""yes; then
10102 : 10079 :
10103else 10080else
10104 doug_lea_malloc=no 10081 doug_lea_malloc=no
@@ -10189,7 +10166,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10189fi 10166fi
10190{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 10167{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
10191$as_echo "$ac_cv_func_malloc_set_state" >&6; } 10168$as_echo "$ac_cv_func_malloc_set_state" >&6; }
10192if test $ac_cv_func_malloc_set_state = yes; then 10169if test "x$ac_cv_func_malloc_set_state" = x""yes; then
10193 : 10170 :
10194else 10171else
10195 doug_lea_malloc=no 10172 doug_lea_malloc=no
@@ -10411,8 +10388,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
10411$as_echo "$ac_res" >&6; } 10388$as_echo "$ac_res" >&6; }
10412 10389
10413fi 10390fi
10414if test `eval 'as_val=${'$as_ac_Header'} 10391as_val=`eval 'as_val=${'$as_ac_Header'}
10415 $as_echo "$as_val"'` = yes; then 10392 $as_echo "$as_val"'`
10393 if test "x$as_val" = x""yes; then
10416 cat >>confdefs.h <<_ACEOF 10394 cat >>confdefs.h <<_ACEOF
10417#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10395#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10418_ACEOF 10396_ACEOF
@@ -10512,8 +10490,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
10512 $as_echo "$as_val"'` 10490 $as_echo "$as_val"'`
10513 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10491 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10514$as_echo "$ac_res" >&6; } 10492$as_echo "$ac_res" >&6; }
10515if test `eval 'as_val=${'$as_ac_var'} 10493as_val=`eval 'as_val=${'$as_ac_var'}
10516 $as_echo "$as_val"'` = yes; then 10494 $as_echo "$as_val"'`
10495 if test "x$as_val" = x""yes; then
10517 cat >>confdefs.h <<_ACEOF 10496 cat >>confdefs.h <<_ACEOF
10518#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10497#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10519_ACEOF 10498_ACEOF
@@ -10782,7 +10761,7 @@ LIBS=$ac_check_lib_save_LIBS
10782fi 10761fi
10783{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10762{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10784$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10763$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10785if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 10764if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
10786 cat >>confdefs.h <<_ACEOF 10765 cat >>confdefs.h <<_ACEOF
10787#define HAVE_LIBDNET 1 10766#define HAVE_LIBDNET 1
10788_ACEOF 10767_ACEOF
@@ -10851,7 +10830,7 @@ LIBS=$ac_check_lib_save_LIBS
10851fi 10830fi
10852{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 10831{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
10853$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10832$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
10854if test $ac_cv_lib_Xbsd_main = yes; then 10833if test "x$ac_cv_lib_Xbsd_main" = x""yes; then
10855 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10834 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
10856fi 10835fi
10857 10836
@@ -10922,7 +10901,7 @@ LIBS=$ac_check_lib_save_LIBS
10922fi 10901fi
10923{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 10902{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
10924$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10903$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
10925if test $ac_cv_lib_pthreads_cma_open = yes; then 10904if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then
10926 cat >>confdefs.h <<_ACEOF 10905 cat >>confdefs.h <<_ACEOF
10927#define HAVE_LIBPTHREADS 1 10906#define HAVE_LIBPTHREADS 1
10928_ACEOF 10907_ACEOF
@@ -11305,8 +11284,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
11305 $as_echo "$as_val"'` 11284 $as_echo "$as_val"'`
11306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11285 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11307$as_echo "$ac_res" >&6; } 11286$as_echo "$ac_res" >&6; }
11308if test `eval 'as_val=${'$as_ac_var'} 11287as_val=`eval 'as_val=${'$as_ac_var'}
11309 $as_echo "$as_val"'` = yes; then 11288 $as_echo "$as_val"'`
11289 if test "x$as_val" = x""yes; then
11310 cat >>confdefs.h <<_ACEOF 11290 cat >>confdefs.h <<_ACEOF
11311#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11291#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11312_ACEOF 11292_ACEOF
@@ -11506,6 +11486,121 @@ _ACEOF
11506 fi 11486 fi
11507fi 11487fi
11508 11488
11489HAVE_IMAGEMAGICK=no
11490if test "${HAVE_X11}" = "yes" ; then
11491 if test "${with_imagemagick}" != "no"; then
11492 IMAGEMAGICK_REQUIRED=1
11493 IMAGEMAGICK_MODULE="MagickWand >= $IMAGEMAGICK_REQUIRED"
11494
11495
11496 succeeded=no
11497
11498 # Extract the first word of "pkg-config", so it can be a program name with args.
11499set dummy pkg-config; ac_word=$2
11500{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11501$as_echo_n "checking for $ac_word... " >&6; }
11502if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11503 $as_echo_n "(cached) " >&6
11504else
11505 case $PKG_CONFIG in
11506 [\\/]* | ?:[\\/]*)
11507 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11508 ;;
11509 *)
11510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511for as_dir in $PATH
11512do
11513 IFS=$as_save_IFS
11514 test -z "$as_dir" && as_dir=.
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11517 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 break 2
11520 fi
11521done
11522done
11523IFS=$as_save_IFS
11524
11525 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11526 ;;
11527esac
11528fi
11529PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11530if test -n "$PKG_CONFIG"; then
11531 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11532$as_echo "$PKG_CONFIG" >&6; }
11533else
11534 { $as_echo "$as_me:$LINENO: result: no" >&5
11535$as_echo "no" >&6; }
11536fi
11537
11538
11539
11540 if test "$PKG_CONFIG" = "no" ; then
11541 :
11542 else
11543 PKG_CONFIG_MIN_VERSION=0.9.0
11544 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11545 { $as_echo "$as_me:$LINENO: checking for $IMAGEMAGICK_MODULE" >&5
11546$as_echo_n "checking for $IMAGEMAGICK_MODULE... " >&6; }
11547
11548 if $PKG_CONFIG --exists "$IMAGEMAGICK_MODULE" 2>&5; then
11549 { $as_echo "$as_me:$LINENO: result: yes" >&5
11550$as_echo "yes" >&6; }
11551 succeeded=yes
11552
11553 { $as_echo "$as_me:$LINENO: checking IMAGEMAGICK_CFLAGS" >&5
11554$as_echo_n "checking IMAGEMAGICK_CFLAGS... " >&6; }
11555 IMAGEMAGICK_CFLAGS=`$PKG_CONFIG --cflags "$IMAGEMAGICK_MODULE"|sed -e 's,///*,/,g'`
11556 { $as_echo "$as_me:$LINENO: result: $IMAGEMAGICK_CFLAGS" >&5
11557$as_echo "$IMAGEMAGICK_CFLAGS" >&6; }
11558
11559 { $as_echo "$as_me:$LINENO: checking IMAGEMAGICK_LIBS" >&5
11560$as_echo_n "checking IMAGEMAGICK_LIBS... " >&6; }
11561 IMAGEMAGICK_LIBS=`$PKG_CONFIG --libs "$IMAGEMAGICK_MODULE"|sed -e 's,///*,/,g'`
11562 { $as_echo "$as_me:$LINENO: result: $IMAGEMAGICK_LIBS" >&5
11563$as_echo "$IMAGEMAGICK_LIBS" >&6; }
11564 else
11565 { $as_echo "$as_me:$LINENO: result: no" >&5
11566$as_echo "no" >&6; }
11567 IMAGEMAGICK_CFLAGS=""
11568 IMAGEMAGICK_LIBS=""
11569 ## If we have a custom action on failure, don't print errors, but
11570 ## do set a variable so people can do so.
11571 IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$IMAGEMAGICK_MODULE"`
11572
11573 fi
11574
11575
11576
11577 else
11578 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11579 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11580 fi
11581 fi
11582
11583 if test $succeeded = yes; then
11584 :
11585 else
11586 :
11587 fi
11588
11589
11590
11591
11592 if test ".${IMAGEMAGICK_CFLAGS}" != "."; then
11593 HAVE_IMAGEMAGICK=yes
11594
11595cat >>confdefs.h <<\_ACEOF
11596#define HAVE_IMAGEMAGICK 1
11597_ACEOF
11598
11599 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
11600 LIBS="$IMAGEMAGICK_LIBS $LIBS"
11601 fi
11602 fi
11603fi
11509 11604
11510HAVE_GTK=no 11605HAVE_GTK=no
11511if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then 11606if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
@@ -11714,8 +11809,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
11714 $as_echo "$as_val"'` 11809 $as_echo "$as_val"'`
11715 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11716$as_echo "$ac_res" >&6; } 11811$as_echo "$ac_res" >&6; }
11717if test `eval 'as_val=${'$as_ac_var'} 11812as_val=`eval 'as_val=${'$as_ac_var'}
11718 $as_echo "$as_val"'` = yes; then 11813 $as_echo "$as_val"'`
11814 if test "x$as_val" = x""yes; then
11719 cat >>confdefs.h <<_ACEOF 11815 cat >>confdefs.h <<_ACEOF
11720#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11816#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11721_ACEOF 11817_ACEOF
@@ -11853,8 +11949,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
11853 $as_echo "$as_val"'` 11949 $as_echo "$as_val"'`
11854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11950 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11855$as_echo "$ac_res" >&6; } 11951$as_echo "$ac_res" >&6; }
11856if test `eval 'as_val=${'$as_ac_var'} 11952as_val=`eval 'as_val=${'$as_ac_var'}
11857 $as_echo "$as_val"'` = yes; then 11953 $as_echo "$as_val"'`
11954 if test "x$as_val" = x""yes; then
11858 cat >>confdefs.h <<_ACEOF 11955 cat >>confdefs.h <<_ACEOF
11859#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11956#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11860_ACEOF 11957_ACEOF
@@ -11926,7 +12023,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11926fi 12023fi
11927{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 12024{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11928$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } 12025$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11929if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then 12026if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then
11930 HAVE_GTK_FILE_SELECTION=yes 12027 HAVE_GTK_FILE_SELECTION=yes
11931else 12028else
11932 HAVE_GTK_FILE_SELECTION=no 12029 HAVE_GTK_FILE_SELECTION=no
@@ -12024,8 +12121,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
12024 $as_echo "$as_val"'` 12121 $as_echo "$as_val"'`
12025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12122 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12026$as_echo "$ac_res" >&6; } 12123$as_echo "$ac_res" >&6; }
12027if test `eval 'as_val=${'$as_ac_var'} 12124as_val=`eval 'as_val=${'$as_ac_var'}
12028 $as_echo "$as_val"'` = yes; then 12125 $as_echo "$as_val"'`
12126 if test "x$as_val" = x""yes; then
12029 cat >>confdefs.h <<_ACEOF 12127 cat >>confdefs.h <<_ACEOF
12030#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12128#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12031_ACEOF 12129_ACEOF
@@ -12093,7 +12191,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12093fi 12191fi
12094{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 12192{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
12095$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } 12193$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
12096if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then 12194if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then
12097 HAVE_GTK_FILE_CHOOSER=yes 12195 HAVE_GTK_FILE_CHOOSER=yes
12098else 12196else
12099 HAVE_GTK_FILE_CHOOSER=no 12197 HAVE_GTK_FILE_CHOOSER=no
@@ -12191,8 +12289,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
12191 $as_echo "$as_val"'` 12289 $as_echo "$as_val"'`
12192 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12290 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12193$as_echo "$ac_res" >&6; } 12291$as_echo "$ac_res" >&6; }
12194if test `eval 'as_val=${'$as_ac_var'} 12292as_val=`eval 'as_val=${'$as_ac_var'}
12195 $as_echo "$as_val"'` = yes; then 12293 $as_echo "$as_val"'`
12294 if test "x$as_val" = x""yes; then
12196 cat >>confdefs.h <<_ACEOF 12295 cat >>confdefs.h <<_ACEOF
12197#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12296#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12198_ACEOF 12297_ACEOF
@@ -12350,8 +12449,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
12350$as_echo "$ac_res" >&6; } 12449$as_echo "$ac_res" >&6; }
12351 12450
12352fi 12451fi
12353if test `eval 'as_val=${'$as_ac_Header'} 12452as_val=`eval 'as_val=${'$as_ac_Header'}
12354 $as_echo "$as_val"'` = yes; then 12453 $as_echo "$as_val"'`
12454 if test "x$as_val" = x""yes; then
12355 cat >>confdefs.h <<_ACEOF 12455 cat >>confdefs.h <<_ACEOF
12356#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12456#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12357_ACEOF 12457_ACEOF
@@ -12426,7 +12526,7 @@ LIBS=$ac_check_lib_save_LIBS
12426fi 12526fi
12427{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 12527{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
12428$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 12528$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
12429if test $ac_cv_lib_pthread_pthread_self = yes; then 12529if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then
12430 HAVE_GTK_AND_PTHREAD=yes 12530 HAVE_GTK_AND_PTHREAD=yes
12431fi 12531fi
12432 12532
@@ -12639,8 +12739,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
12639 $as_echo "$as_val"'` 12739 $as_echo "$as_val"'`
12640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12740 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12641$as_echo "$ac_res" >&6; } 12741$as_echo "$ac_res" >&6; }
12642if test `eval 'as_val=${'$as_ac_var'} 12742as_val=`eval 'as_val=${'$as_ac_var'}
12643 $as_echo "$as_val"'` = yes; then 12743 $as_echo "$as_val"'`
12744 if test "x$as_val" = x""yes; then
12644 cat >>confdefs.h <<_ACEOF 12745 cat >>confdefs.h <<_ACEOF
12645#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12746#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12646_ACEOF 12747_ACEOF
@@ -13049,7 +13150,7 @@ LIBS=$ac_check_lib_save_LIBS
13049fi 13150fi
13050{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 13151{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
13051$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 13152$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
13052if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 13153if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then
13053 cat >>confdefs.h <<_ACEOF 13154 cat >>confdefs.h <<_ACEOF
13054#define HAVE_LIBXMU 1 13155#define HAVE_LIBXMU 1
13055_ACEOF 13156_ACEOF
@@ -13130,7 +13231,7 @@ LIBS=$ac_check_lib_save_LIBS
13130fi 13231fi
13131{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 13232{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
13132$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 13233$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
13133if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 13234if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then
13134 cat >>confdefs.h <<_ACEOF 13235 cat >>confdefs.h <<_ACEOF
13135#define HAVE_LIBXEXT 1 13236#define HAVE_LIBXEXT 1
13136_ACEOF 13237_ACEOF
@@ -13270,7 +13371,7 @@ LIBS=$ac_check_lib_save_LIBS
13270fi 13371fi
13271{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 13372{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
13272$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 13373$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
13273if test $ac_cv_lib_Xp_XpCreateContext = yes; then 13374if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then
13274 HAVE_LIBXP=yes 13375 HAVE_LIBXP=yes
13275fi 13376fi
13276 13377
@@ -13795,7 +13896,7 @@ LIBS=$ac_check_lib_save_LIBS
13795fi 13896fi
13796{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 13897{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
13797$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 13898$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
13798if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then 13899if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then
13799 HAVE_XRENDER=yes 13900 HAVE_XRENDER=yes
13800fi 13901fi
13801 13902
@@ -13934,7 +14035,7 @@ fi
13934$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } 14035$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13935 14036
13936fi 14037fi
13937if test $ac_cv_header_X11_Xft_Xft_h = yes; then 14038if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then
13938 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 14039 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
13939$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 14040$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
13940if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 14041if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
@@ -14000,7 +14101,7 @@ LIBS=$ac_check_lib_save_LIBS
14000fi 14101fi
14001{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 14102{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
14002$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 14103$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
14003if test $ac_cv_lib_Xft_XftFontOpen = yes; then 14104if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then
14004 HAVE_XFT=yes 14105 HAVE_XFT=yes
14005fi 14106fi
14006 14107
@@ -14211,7 +14312,7 @@ LIBS=$ac_check_lib_save_LIBS
14211fi 14312fi
14212{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 14313{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
14213$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 14314$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
14214if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then 14315if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then
14215 HAVE_OTF_GET_VARIATION_GLYPHS=yes 14316 HAVE_OTF_GET_VARIATION_GLYPHS=yes
14216else 14317else
14217 HAVE_OTF_GET_VARIATION_GLYPHS=no 14318 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -14483,7 +14584,7 @@ fi
14483$as_echo "$ac_cv_header_X11_xpm_h" >&6; } 14584$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14484 14585
14485fi 14586fi
14486if test $ac_cv_header_X11_xpm_h = yes; then 14587if test "x$ac_cv_header_X11_xpm_h" = x""yes; then
14487 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 14588 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
14488$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 14589$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
14489if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 14590if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
@@ -14549,7 +14650,7 @@ LIBS=$ac_check_lib_save_LIBS
14549fi 14650fi
14550{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 14651{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
14551$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 14652$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
14552if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 14653if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then
14553 HAVE_XPM=yes 14654 HAVE_XPM=yes
14554fi 14655fi
14555 14656
@@ -14733,7 +14834,7 @@ fi
14733$as_echo "$ac_cv_header_jerror_h" >&6; } 14834$as_echo "$ac_cv_header_jerror_h" >&6; }
14734 14835
14735fi 14836fi
14736if test $ac_cv_header_jerror_h = yes; then 14837if test "x$ac_cv_header_jerror_h" = x""yes; then
14737 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 14838 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
14738$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 14839$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
14739if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 14840if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
@@ -14799,7 +14900,7 @@ LIBS=$ac_check_lib_save_LIBS
14799fi 14900fi
14800{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 14901{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
14801$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 14902$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
14802if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 14903if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then
14803 HAVE_JPEG=yes 14904 HAVE_JPEG=yes
14804fi 14905fi
14805 14906
@@ -14987,8 +15088,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
14987$as_echo "$ac_res" >&6; } 15088$as_echo "$ac_res" >&6; }
14988 15089
14989fi 15090fi
14990if test `eval 'as_val=${'$as_ac_Header'} 15091as_val=`eval 'as_val=${'$as_ac_Header'}
14991 $as_echo "$as_val"'` = yes; then 15092 $as_echo "$as_val"'`
15093 if test "x$as_val" = x""yes; then
14992 cat >>confdefs.h <<_ACEOF 15094 cat >>confdefs.h <<_ACEOF
14993#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15095#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14994_ACEOF 15096_ACEOF
@@ -15063,7 +15165,7 @@ LIBS=$ac_check_lib_save_LIBS
15063fi 15165fi
15064{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 15166{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
15065$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 15167$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
15066if test $ac_cv_lib_png_png_get_channels = yes; then 15168if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then
15067 HAVE_PNG=yes 15169 HAVE_PNG=yes
15068fi 15170fi
15069 15171
@@ -15213,7 +15315,7 @@ fi
15213$as_echo "$ac_cv_header_tiffio_h" >&6; } 15315$as_echo "$ac_cv_header_tiffio_h" >&6; }
15214 15316
15215fi 15317fi
15216if test $ac_cv_header_tiffio_h = yes; then 15318if test "x$ac_cv_header_tiffio_h" = x""yes; then
15217 tifflibs="-lz -lm" 15319 tifflibs="-lz -lm"
15218 # At least one tiff package requires the jpeg library. 15320 # At least one tiff package requires the jpeg library.
15219 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 15321 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
@@ -15282,7 +15384,7 @@ LIBS=$ac_check_lib_save_LIBS
15282fi 15384fi
15283{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 15385{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
15284$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 15386$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
15285if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 15387if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then
15286 HAVE_TIFF=yes 15388 HAVE_TIFF=yes
15287fi 15389fi
15288 15390
@@ -15433,7 +15535,7 @@ fi
15433$as_echo "$ac_cv_header_gif_lib_h" >&6; } 15535$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15434 15536
15435fi 15537fi
15436if test $ac_cv_header_gif_lib_h = yes; then 15538if test "x$ac_cv_header_gif_lib_h" = x""yes; then
15437 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 15539 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
15438# Earlier versions can crash Emacs. 15540# Earlier versions can crash Emacs.
15439 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 15541 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
@@ -15501,7 +15603,7 @@ LIBS=$ac_check_lib_save_LIBS
15501fi 15603fi
15502{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 15604{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
15503$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 15605$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
15504if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then 15606if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then
15505 HAVE_GIF=yes 15607 HAVE_GIF=yes
15506else 15608else
15507 HAVE_GIF=maybe 15609 HAVE_GIF=maybe
@@ -15580,7 +15682,7 @@ LIBS=$ac_check_lib_save_LIBS
15580fi 15682fi
15581{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15683{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
15582$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 15684$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
15583if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 15685if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then
15584 HAVE_GIF=yes 15686 HAVE_GIF=yes
15585else 15687else
15586 HAVE_GIF=no 15688 HAVE_GIF=no
@@ -15761,7 +15863,7 @@ fi
15761$as_echo "$ac_cv_header_gpm_h" >&6; } 15863$as_echo "$ac_cv_header_gpm_h" >&6; }
15762 15864
15763fi 15865fi
15764if test $ac_cv_header_gpm_h = yes; then 15866if test "x$ac_cv_header_gpm_h" = x""yes; then
15765 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 15867 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
15766$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 15868$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
15767if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 15869if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
@@ -15827,7 +15929,7 @@ LIBS=$ac_check_lib_save_LIBS
15827fi 15929fi
15828{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15930{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
15829$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 15931$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
15830if test $ac_cv_lib_gpm_Gpm_Open = yes; then 15932if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then
15831 HAVE_GPM=yes 15933 HAVE_GPM=yes
15832fi 15934fi
15833 15935
@@ -15973,7 +16075,7 @@ fi
15973$as_echo "$ac_cv_header_malloc_malloc_h" >&6; } 16075$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15974 16076
15975fi 16077fi
15976if test $ac_cv_header_malloc_malloc_h = yes; then 16078if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then
15977 16079
15978cat >>confdefs.h <<\_ACEOF 16080cat >>confdefs.h <<\_ACEOF
15979#define HAVE_MALLOC_MALLOC_H 1 16081#define HAVE_MALLOC_MALLOC_H 1
@@ -16149,7 +16251,7 @@ fi
16149$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } 16251$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16150 16252
16151fi 16253fi
16152if test $ac_cv_header_X11_SM_SMlib_h = yes; then 16254if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then
16153 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 16255 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
16154$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 16256$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
16155if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 16257if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
@@ -16215,7 +16317,7 @@ LIBS=$ac_check_lib_save_LIBS
16215fi 16317fi
16216{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 16318{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
16217$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 16319$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
16218if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 16320if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then
16219 HAVE_X_SM=yes 16321 HAVE_X_SM=yes
16220fi 16322fi
16221 16323
@@ -16581,8 +16683,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
16581 $as_echo "$as_val"'` 16683 $as_echo "$as_val"'`
16582 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16583$as_echo "$ac_res" >&6; } 16685$as_echo "$ac_res" >&6; }
16584if test `eval 'as_val=${'$as_ac_var'} 16686as_val=`eval 'as_val=${'$as_ac_var'}
16585 $as_echo "$as_val"'` = yes; then 16687 $as_echo "$as_val"'`
16688 if test "x$as_val" = x""yes; then
16586 16689
16587cat >>confdefs.h <<_ACEOF 16690cat >>confdefs.h <<_ACEOF
16588#define CRAY_STACKSEG_END $ac_func 16691#define CRAY_STACKSEG_END $ac_func
@@ -16751,7 +16854,7 @@ LIBS=$ac_check_lib_save_LIBS
16751fi 16854fi
16752{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 16855{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
16753$as_echo "$ac_cv_lib_m_sqrt" >&6; } 16856$as_echo "$ac_cv_lib_m_sqrt" >&6; }
16754if test $ac_cv_lib_m_sqrt = yes; then 16857if test "x$ac_cv_lib_m_sqrt" = x""yes; then
16755 cat >>confdefs.h <<_ACEOF 16858 cat >>confdefs.h <<_ACEOF
16756#define HAVE_LIBM 1 16859#define HAVE_LIBM 1
16757_ACEOF 16860_ACEOF
@@ -16828,7 +16931,7 @@ LIBS=$ac_check_lib_save_LIBS
16828fi 16931fi
16829{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 16932{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
16830$as_echo "$ac_cv_lib_mail_maillock" >&6; } 16933$as_echo "$ac_cv_lib_mail_maillock" >&6; }
16831if test $ac_cv_lib_mail_maillock = yes; then 16934if test "x$ac_cv_lib_mail_maillock" = x""yes; then
16832 have_mail=yes 16935 have_mail=yes
16833else 16936else
16834 have_mail=no 16937 have_mail=no
@@ -16910,7 +17013,7 @@ LIBS=$ac_check_lib_save_LIBS
16910fi 17013fi
16911{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 17014{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
16912$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 17015$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
16913if test $ac_cv_lib_lockfile_maillock = yes; then 17016if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then
16914 have_lockfile=yes 17017 have_lockfile=yes
16915else 17018else
16916 have_lockfile=no 17019 have_lockfile=no
@@ -17068,8 +17171,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
17068 $as_echo "$as_val"'` 17171 $as_echo "$as_val"'`
17069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17172 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17070$as_echo "$ac_res" >&6; } 17173$as_echo "$ac_res" >&6; }
17071if test `eval 'as_val=${'$as_ac_var'} 17174as_val=`eval 'as_val=${'$as_ac_var'}
17072 $as_echo "$as_val"'` = yes; then 17175 $as_echo "$as_val"'`
17176 if test "x$as_val" = x""yes; then
17073 cat >>confdefs.h <<_ACEOF 17177 cat >>confdefs.h <<_ACEOF
17074#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17178#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17075_ACEOF 17179_ACEOF
@@ -17212,8 +17316,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
17212$as_echo "$ac_res" >&6; } 17316$as_echo "$ac_res" >&6; }
17213 17317
17214fi 17318fi
17215if test `eval 'as_val=${'$as_ac_Header'} 17319as_val=`eval 'as_val=${'$as_ac_Header'}
17216 $as_echo "$as_val"'` = yes; then 17320 $as_echo "$as_val"'`
17321 if test "x$as_val" = x""yes; then
17217 cat >>confdefs.h <<_ACEOF 17322 cat >>confdefs.h <<_ACEOF
17218#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17323#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17219_ACEOF 17324_ACEOF
@@ -17394,8 +17499,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
17394 $as_echo "$as_val"'` 17499 $as_echo "$as_val"'`
17395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17500 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17396$as_echo "$ac_res" >&6; } 17501$as_echo "$ac_res" >&6; }
17397if test `eval 'as_val=${'$as_ac_var'} 17502as_val=`eval 'as_val=${'$as_ac_var'}
17398 $as_echo "$as_val"'` = yes; then 17503 $as_echo "$as_val"'`
17504 if test "x$as_val" = x""yes; then
17399 cat >>confdefs.h <<_ACEOF 17505 cat >>confdefs.h <<_ACEOF
17400#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17506#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17401_ACEOF 17507_ACEOF
@@ -17539,8 +17645,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
17539$as_echo "$ac_res" >&6; } 17645$as_echo "$ac_res" >&6; }
17540 17646
17541fi 17647fi
17542if test `eval 'as_val=${'$as_ac_Header'} 17648as_val=`eval 'as_val=${'$as_ac_Header'}
17543 $as_echo "$as_val"'` = yes; then 17649 $as_echo "$as_val"'`
17650 if test "x$as_val" = x""yes; then
17544 cat >>confdefs.h <<_ACEOF 17651 cat >>confdefs.h <<_ACEOF
17545#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17652#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17546_ACEOF 17653_ACEOF
@@ -17688,8 +17795,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
17688$as_echo "$ac_res" >&6; } 17795$as_echo "$ac_res" >&6; }
17689 17796
17690fi 17797fi
17691if test `eval 'as_val=${'$as_ac_Header'} 17798as_val=`eval 'as_val=${'$as_ac_Header'}
17692 $as_echo "$as_val"'` = yes; then 17799 $as_echo "$as_val"'`
17800 if test "x$as_val" = x""yes; then
17693 cat >>confdefs.h <<_ACEOF 17801 cat >>confdefs.h <<_ACEOF
17694#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17802#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17695_ACEOF 17803_ACEOF
@@ -17796,8 +17904,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
17796 $as_echo "$as_val"'` 17904 $as_echo "$as_val"'`
17797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17905 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17798$as_echo "$ac_res" >&6; } 17906$as_echo "$ac_res" >&6; }
17799if test `eval 'as_val=${'$as_ac_var'} 17907as_val=`eval 'as_val=${'$as_ac_var'}
17800 $as_echo "$as_val"'` = yes; then 17908 $as_echo "$as_val"'`
17909 if test "x$as_val" = x""yes; then
17801 cat >>confdefs.h <<_ACEOF 17910 cat >>confdefs.h <<_ACEOF
17802#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17911#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17803_ACEOF 17912_ACEOF
@@ -18182,7 +18291,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18182fi 18291fi
18183{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 18292{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
18184$as_echo "$ac_cv_func_getloadavg" >&6; } 18293$as_echo "$ac_cv_func_getloadavg" >&6; }
18185if test $ac_cv_func_getloadavg = yes; then 18294if test "x$ac_cv_func_getloadavg" = x""yes; then
18186 exit 0 18295 exit 0
18187else 18296else
18188 exit 1 18297 exit 1
@@ -18281,8 +18390,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
18281 $as_echo "$as_val"'` 18390 $as_echo "$as_val"'`
18282 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18391 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18283$as_echo "$ac_res" >&6; } 18392$as_echo "$ac_res" >&6; }
18284if test `eval 'as_val=${'$as_ac_var'} 18393as_val=`eval 'as_val=${'$as_ac_var'}
18285 $as_echo "$as_val"'` = yes; then 18394 $as_echo "$as_val"'`
18395 if test "x$as_val" = x""yes; then
18286 cat >>confdefs.h <<_ACEOF 18396 cat >>confdefs.h <<_ACEOF
18287#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18397#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18288_ACEOF 18398_ACEOF
@@ -18358,7 +18468,7 @@ LIBS=$ac_check_lib_save_LIBS
18358fi 18468fi
18359{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 18469{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
18360$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 18470$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
18361if test $ac_cv_lib_kstat_kstat_open = yes; then 18471if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then
18362 cat >>confdefs.h <<_ACEOF 18472 cat >>confdefs.h <<_ACEOF
18363#define HAVE_LIBKSTAT 1 18473#define HAVE_LIBKSTAT 1
18364_ACEOF 18474_ACEOF
@@ -18439,7 +18549,7 @@ LIBS=$ac_check_lib_save_LIBS
18439fi 18549fi
18440{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 18550{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
18441$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 18551$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
18442if test $ac_cv_lib_elf_elf_begin = yes; then 18552if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then
18443 LIBS="-lelf $LIBS" 18553 LIBS="-lelf $LIBS"
18444fi 18554fi
18445 18555
@@ -18510,7 +18620,7 @@ LIBS=$ac_check_lib_save_LIBS
18510fi 18620fi
18511{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 18621{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
18512$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 18622$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
18513if test $ac_cv_lib_kvm_kvm_open = yes; then 18623if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then
18514 LIBS="-lkvm $LIBS" 18624 LIBS="-lkvm $LIBS"
18515fi 18625fi
18516 18626
@@ -18580,7 +18690,7 @@ LIBS=$ac_check_lib_save_LIBS
18580fi 18690fi
18581{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 18691{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
18582$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 18692$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
18583if test $ac_cv_lib_util_getloadavg = yes; then 18693if test "x$ac_cv_lib_util_getloadavg" = x""yes; then
18584 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 18694 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
18585fi 18695fi
18586 18696
@@ -18656,7 +18766,7 @@ LIBS=$ac_check_lib_save_LIBS
18656fi 18766fi
18657{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 18767{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
18658$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 18768$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
18659if test $ac_cv_lib_getloadavg_getloadavg = yes; then 18769if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then
18660 LIBS="-lgetloadavg $LIBS" 18770 LIBS="-lgetloadavg $LIBS"
18661else 18771else
18662 LIBS=$ac_getloadavg_LIBS 18772 LIBS=$ac_getloadavg_LIBS
@@ -18757,8 +18867,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
18757 $as_echo "$as_val"'` 18867 $as_echo "$as_val"'`
18758 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18868 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18759$as_echo "$ac_res" >&6; } 18869$as_echo "$ac_res" >&6; }
18760if test `eval 'as_val=${'$as_ac_var'} 18870as_val=`eval 'as_val=${'$as_ac_var'}
18761 $as_echo "$as_val"'` = yes; then 18871 $as_echo "$as_val"'`
18872 if test "x$as_val" = x""yes; then
18762 cat >>confdefs.h <<_ACEOF 18873 cat >>confdefs.h <<_ACEOF
18763#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18874#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18764_ACEOF 18875_ACEOF
@@ -18904,7 +19015,7 @@ fi
18904$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } 19015$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18905 19016
18906fi 19017fi
18907if test $ac_cv_header_sys_dg_sys_info_h = yes; then 19018if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then
18908 ac_have_func=yes 19019 ac_have_func=yes
18909 19020
18910cat >>confdefs.h <<\_ACEOF 19021cat >>confdefs.h <<\_ACEOF
@@ -18977,7 +19088,7 @@ LIBS=$ac_check_lib_save_LIBS
18977fi 19088fi
18978{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 19089{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
18979$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 19090$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
18980if test $ac_cv_lib_dgc_dg_sys_info = yes; then 19091if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then
18981 cat >>confdefs.h <<_ACEOF 19092 cat >>confdefs.h <<_ACEOF
18982#define HAVE_LIBDGC 1 19093#define HAVE_LIBDGC 1
18983_ACEOF 19094_ACEOF
@@ -19210,8 +19321,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
19210 $as_echo "$as_val"'` 19321 $as_echo "$as_val"'`
19211 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19322 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19212$as_echo "$ac_res" >&6; } 19323$as_echo "$ac_res" >&6; }
19213if test `eval 'as_val=${'$as_ac_var'} 19324as_val=`eval 'as_val=${'$as_ac_var'}
19214 $as_echo "$as_val"'` = yes; then 19325 $as_echo "$as_val"'`
19326 if test "x$as_val" = x""yes; then
19215 cat >>confdefs.h <<_ACEOF 19327 cat >>confdefs.h <<_ACEOF
19216#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19328#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19217_ACEOF 19329_ACEOF
@@ -19360,7 +19472,7 @@ fi
19360$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } 19472$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19361 19473
19362fi 19474fi
19363if test $ac_cv_header_inq_stats_cpustats_h = yes; then 19475if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then
19364 ac_have_func=yes 19476 ac_have_func=yes
19365 19477
19366cat >>confdefs.h <<\_ACEOF 19478cat >>confdefs.h <<\_ACEOF
@@ -19505,7 +19617,7 @@ fi
19505$as_echo "$ac_cv_header_sys_cpustats_h" >&6; } 19617$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19506 19618
19507fi 19619fi
19508if test $ac_cv_header_sys_cpustats_h = yes; then 19620if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then
19509 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 19621 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
19510#define UMAX 1 19622#define UMAX 1
19511_ACEOF 19623_ACEOF
@@ -19651,8 +19763,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
19651$as_echo "$ac_res" >&6; } 19763$as_echo "$ac_res" >&6; }
19652 19764
19653fi 19765fi
19654if test `eval 'as_val=${'$as_ac_Header'} 19766as_val=`eval 'as_val=${'$as_ac_Header'}
19655 $as_echo "$as_val"'` = yes; then 19767 $as_echo "$as_val"'`
19768 if test "x$as_val" = x""yes; then
19656 cat >>confdefs.h <<_ACEOF 19769 cat >>confdefs.h <<_ACEOF
19657#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19770#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19658_ACEOF 19771_ACEOF
@@ -19798,8 +19911,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
19798$as_echo "$ac_res" >&6; } 19911$as_echo "$ac_res" >&6; }
19799 19912
19800fi 19913fi
19801if test `eval 'as_val=${'$as_ac_Header'} 19914as_val=`eval 'as_val=${'$as_ac_Header'}
19802 $as_echo "$as_val"'` = yes; then 19915 $as_echo "$as_val"'`
19916 if test "x$as_val" = x""yes; then
19803 cat >>confdefs.h <<_ACEOF 19917 cat >>confdefs.h <<_ACEOF
19804#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19918#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19805_ACEOF 19919_ACEOF
@@ -19900,7 +20014,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900fi 20014fi
19901{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 20015{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19902$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } 20016$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
19903if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 20017if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then
19904 20018
19905cat >>confdefs.h <<_ACEOF 20019cat >>confdefs.h <<_ACEOF
19906#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 20020#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
@@ -20281,8 +20395,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
20281$as_echo "$ac_res" >&6; } 20395$as_echo "$ac_res" >&6; }
20282 20396
20283fi 20397fi
20284if test `eval 'as_val=${'$as_ac_Header'} 20398as_val=`eval 'as_val=${'$as_ac_Header'}
20285 $as_echo "$as_val"'` = yes; then 20399 $as_echo "$as_val"'`
20400 if test "x$as_val" = x""yes; then
20286 cat >>confdefs.h <<_ACEOF 20401 cat >>confdefs.h <<_ACEOF
20287#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20402#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20288_ACEOF 20403_ACEOF
@@ -20385,8 +20500,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
20385 $as_echo "$as_val"'` 20500 $as_echo "$as_val"'`
20386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20387$as_echo "$ac_res" >&6; } 20502$as_echo "$ac_res" >&6; }
20388if test `eval 'as_val=${'$as_ac_var'} 20503as_val=`eval 'as_val=${'$as_ac_var'}
20389 $as_echo "$as_val"'` = yes; then 20504 $as_echo "$as_val"'`
20505 if test "x$as_val" = x""yes; then
20390 cat >>confdefs.h <<_ACEOF 20506 cat >>confdefs.h <<_ACEOF
20391#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20507#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20392_ACEOF 20508_ACEOF
@@ -20453,7 +20569,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20453fi 20569fi
20454{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 20570{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20455$as_echo "$ac_cv_have_decl_optreset" >&6; } 20571$as_echo "$ac_cv_have_decl_optreset" >&6; }
20456if test $ac_cv_have_decl_optreset = yes; then 20572if test "x$ac_cv_have_decl_optreset" = x""yes; then
20457 GETOPT_H=getopt.h 20573 GETOPT_H=getopt.h
20458fi 20574fi
20459 20575
@@ -20520,7 +20636,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20520fi 20636fi
20521{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 20637{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20522$as_echo "$ac_cv_have_decl_getopt_clip" >&6; } 20638$as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
20523if test $ac_cv_have_decl_getopt_clip = yes; then 20639if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then
20524 gl_cv_func_gnu_getopt=no 20640 gl_cv_func_gnu_getopt=no
20525else 20641else
20526 gl_cv_func_gnu_getopt=yes 20642 gl_cv_func_gnu_getopt=yes
@@ -20765,8 +20881,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
20765 $as_echo "$as_val"'` 20881 $as_echo "$as_val"'`
20766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20767$as_echo "$ac_res" >&6; } 20883$as_echo "$ac_res" >&6; }
20768if test `eval 'as_val=${'$as_ac_var'} 20884as_val=`eval 'as_val=${'$as_ac_var'}
20769 $as_echo "$as_val"'` = yes; then 20885 $as_echo "$as_val"'`
20886 if test "x$as_val" = x""yes; then
20770 cat >>confdefs.h <<_ACEOF 20887 cat >>confdefs.h <<_ACEOF
20771#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20888#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20772_ACEOF 20889_ACEOF
@@ -20838,7 +20955,7 @@ LIBS=$ac_check_lib_save_LIBS
20838fi 20955fi
20839{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 20956{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
20840$as_echo "$ac_cv_lib_intl_strftime" >&6; } 20957$as_echo "$ac_cv_lib_intl_strftime" >&6; }
20841if test $ac_cv_lib_intl_strftime = yes; then 20958if test "x$ac_cv_lib_intl_strftime" = x""yes; then
20842 cat >>confdefs.h <<\_ACEOF 20959 cat >>confdefs.h <<\_ACEOF
20843#define HAVE_STRFTIME 1 20960#define HAVE_STRFTIME 1
20844_ACEOF 20961_ACEOF
@@ -20942,8 +21059,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
20942 $as_echo "$as_val"'` 21059 $as_echo "$as_val"'`
20943 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21060 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20944$as_echo "$ac_res" >&6; } 21061$as_echo "$ac_res" >&6; }
20945if test `eval 'as_val=${'$as_ac_var'} 21062as_val=`eval 'as_val=${'$as_ac_var'}
20946 $as_echo "$as_val"'` = yes; then 21063 $as_echo "$as_val"'`
21064 if test "x$as_val" = x""yes; then
20947 cat >>confdefs.h <<_ACEOF 21065 cat >>confdefs.h <<_ACEOF
20948#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21066#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20949_ACEOF 21067_ACEOF
@@ -21044,8 +21162,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
21044 $as_echo "$as_val"'` 21162 $as_echo "$as_val"'`
21045 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21163 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21046$as_echo "$ac_res" >&6; } 21164$as_echo "$ac_res" >&6; }
21047if test `eval 'as_val=${'$as_ac_var'} 21165as_val=`eval 'as_val=${'$as_ac_var'}
21048 $as_echo "$as_val"'` = yes; then 21166 $as_echo "$as_val"'`
21167 if test "x$as_val" = x""yes; then
21049 cat >>confdefs.h <<_ACEOF 21168 cat >>confdefs.h <<_ACEOF
21050#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21169#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21051_ACEOF 21170_ACEOF
@@ -21159,6 +21278,7 @@ libncurses-dev(el), libterminfo-dev(el) or similar." >&2;}
21159 { (exit 1); exit 1; }; } 21278 { (exit 1); exit 1; }; }
21160fi 21279fi
21161# Must define this when any termcap library is found. 21280# Must define this when any termcap library is found.
21281
21162cat >>confdefs.h <<\_ACEOF 21282cat >>confdefs.h <<\_ACEOF
21163#define HAVE_LIBNCURSES 1 21283#define HAVE_LIBNCURSES 1
21164_ACEOF 21284_ACEOF
@@ -21375,7 +21495,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21375fi 21495fi
21376{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 21496{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
21377$as_echo "$ac_cv_func_res_send" >&6; } 21497$as_echo "$ac_cv_func_res_send" >&6; }
21378if test $ac_cv_func_res_send = yes; then 21498if test "x$ac_cv_func_res_send" = x""yes; then
21379 : 21499 :
21380else 21500else
21381 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 21501 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
@@ -21463,7 +21583,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21463fi 21583fi
21464{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 21584{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
21465$as_echo "$ac_cv_func___res_send" >&6; } 21585$as_echo "$ac_cv_func___res_send" >&6; }
21466if test $ac_cv_func___res_send = yes; then 21586if test "x$ac_cv_func___res_send" = x""yes; then
21467 : 21587 :
21468else 21588else
21469 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 21589 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
@@ -21531,7 +21651,7 @@ LIBS=$ac_check_lib_save_LIBS
21531fi 21651fi
21532{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 21652{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
21533$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 21653$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
21534if test $ac_cv_lib_resolv_res_send = yes; then 21654if test "x$ac_cv_lib_resolv_res_send" = x""yes; then
21535 resolv=yes 21655 resolv=yes
21536else 21656else
21537 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 21657 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
@@ -21599,7 +21719,7 @@ LIBS=$ac_check_lib_save_LIBS
21599fi 21719fi
21600{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 21720{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
21601$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 21721$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
21602if test $ac_cv_lib_resolv___res_send = yes; then 21722if test "x$ac_cv_lib_resolv___res_send" = x""yes; then
21603 resolv=yes 21723 resolv=yes
21604fi 21724fi
21605 21725
@@ -21699,7 +21819,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21699fi 21819fi
21700{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 21820{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21701$as_echo "$ac_cv_func_hes_getmailhost" >&6; } 21821$as_echo "$ac_cv_func_hes_getmailhost" >&6; }
21702if test $ac_cv_func_hes_getmailhost = yes; then 21822if test "x$ac_cv_func_hes_getmailhost" = x""yes; then
21703 : 21823 :
21704else 21824else
21705 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 21825 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
@@ -21767,7 +21887,7 @@ LIBS=$ac_check_lib_save_LIBS
21767fi 21887fi
21768{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 21888{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
21769$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 21889$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
21770if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 21890if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then
21771 hesiod=yes 21891 hesiod=yes
21772else 21892else
21773 : 21893 :
@@ -21873,7 +21993,7 @@ LIBS=$ac_check_lib_save_LIBS
21873fi 21993fi
21874{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 21994{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
21875$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 21995$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
21876if test $ac_cv_lib_com_err_com_err = yes; then 21996if test "x$ac_cv_lib_com_err_com_err" = x""yes; then
21877 have_com_err=yes 21997 have_com_err=yes
21878else 21998else
21879 have_com_err=no 21999 have_com_err=no
@@ -21953,7 +22073,7 @@ LIBS=$ac_check_lib_save_LIBS
21953fi 22073fi
21954{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 22074{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
21955$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 22075$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
21956if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 22076if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then
21957 have_crypto=yes 22077 have_crypto=yes
21958else 22078else
21959 have_crypto=no 22079 have_crypto=no
@@ -22033,7 +22153,7 @@ LIBS=$ac_check_lib_save_LIBS
22033fi 22153fi
22034{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 22154{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
22035$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 22155$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
22036if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 22156if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then
22037 have_k5crypto=yes 22157 have_k5crypto=yes
22038else 22158else
22039 have_k5crypto=no 22159 have_k5crypto=no
@@ -22113,7 +22233,7 @@ LIBS=$ac_check_lib_save_LIBS
22113fi 22233fi
22114{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 22234{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
22115$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 22235$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
22116if test $ac_cv_lib_krb5_krb5_init_context = yes; then 22236if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then
22117 have_krb5=yes 22237 have_krb5=yes
22118else 22238else
22119 have_krb5=no 22239 have_krb5=no
@@ -22194,7 +22314,7 @@ LIBS=$ac_check_lib_save_LIBS
22194fi 22314fi
22195{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 22315{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
22196$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 22316$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
22197if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 22317if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then
22198 have_des425=yes 22318 have_des425=yes
22199else 22319else
22200 have_des425=no 22320 have_des425=no
@@ -22274,7 +22394,7 @@ LIBS=$ac_check_lib_save_LIBS
22274fi 22394fi
22275{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 22395{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
22276$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 22396$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
22277if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 22397if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then
22278 have_des=yes 22398 have_des=yes
22279else 22399else
22280 have_des=no 22400 have_des=no
@@ -22355,7 +22475,7 @@ LIBS=$ac_check_lib_save_LIBS
22355fi 22475fi
22356{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 22476{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
22357$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 22477$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
22358if test $ac_cv_lib_krb4_krb_get_cred = yes; then 22478if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then
22359 have_krb4=yes 22479 have_krb4=yes
22360else 22480else
22361 have_krb4=no 22481 have_krb4=no
@@ -22435,7 +22555,7 @@ LIBS=$ac_check_lib_save_LIBS
22435fi 22555fi
22436{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 22556{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
22437$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 22557$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
22438if test $ac_cv_lib_krb_krb_get_cred = yes; then 22558if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then
22439 have_krb=yes 22559 have_krb=yes
22440else 22560else
22441 have_krb=no 22561 have_krb=no
@@ -22589,8 +22709,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
22589$as_echo "$ac_res" >&6; } 22709$as_echo "$ac_res" >&6; }
22590 22710
22591fi 22711fi
22592if test `eval 'as_val=${'$as_ac_Header'} 22712as_val=`eval 'as_val=${'$as_ac_Header'}
22593 $as_echo "$as_val"'` = yes; then 22713 $as_echo "$as_val"'`
22714 if test "x$as_val" = x""yes; then
22594 cat >>confdefs.h <<_ACEOF 22715 cat >>confdefs.h <<_ACEOF
22595#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22716#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22596_ACEOF 22717_ACEOF
@@ -22691,7 +22812,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691fi 22812fi
22692{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 22813{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22693$as_echo "$ac_cv_member_krb5_error_text" >&6; } 22814$as_echo "$ac_cv_member_krb5_error_text" >&6; }
22694if test $ac_cv_member_krb5_error_text = yes; then 22815if test "x$ac_cv_member_krb5_error_text" = x""yes; then
22695 22816
22696cat >>confdefs.h <<_ACEOF 22817cat >>confdefs.h <<_ACEOF
22697#define HAVE_KRB5_ERROR_TEXT 1 22818#define HAVE_KRB5_ERROR_TEXT 1
@@ -22796,7 +22917,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796fi 22917fi
22797{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 22918{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22798$as_echo "$ac_cv_member_krb5_error_e_text" >&6; } 22919$as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
22799if test $ac_cv_member_krb5_error_e_text = yes; then 22920if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then
22800 22921
22801cat >>confdefs.h <<_ACEOF 22922cat >>confdefs.h <<_ACEOF
22802#define HAVE_KRB5_ERROR_E_TEXT 1 22923#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -22945,8 +23066,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
22945$as_echo "$ac_res" >&6; } 23066$as_echo "$ac_res" >&6; }
22946 23067
22947fi 23068fi
22948if test `eval 'as_val=${'$as_ac_Header'} 23069as_val=`eval 'as_val=${'$as_ac_Header'}
22949 $as_echo "$as_val"'` = yes; then 23070 $as_echo "$as_val"'`
23071 if test "x$as_val" = x""yes; then
22950 cat >>confdefs.h <<_ACEOF 23072 cat >>confdefs.h <<_ACEOF
22951#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23073#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22952_ACEOF 23074_ACEOF
@@ -23087,8 +23209,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23087$as_echo "$ac_res" >&6; } 23209$as_echo "$ac_res" >&6; }
23088 23210
23089fi 23211fi
23090if test `eval 'as_val=${'$as_ac_Header'} 23212as_val=`eval 'as_val=${'$as_ac_Header'}
23091 $as_echo "$as_val"'` = yes; then 23213 $as_echo "$as_val"'`
23214 if test "x$as_val" = x""yes; then
23092 cat >>confdefs.h <<_ACEOF 23215 cat >>confdefs.h <<_ACEOF
23093#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23216#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23094_ACEOF 23217_ACEOF
@@ -23229,8 +23352,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23229$as_echo "$ac_res" >&6; } 23352$as_echo "$ac_res" >&6; }
23230 23353
23231fi 23354fi
23232if test `eval 'as_val=${'$as_ac_Header'} 23355as_val=`eval 'as_val=${'$as_ac_Header'}
23233 $as_echo "$as_val"'` = yes; then 23356 $as_echo "$as_val"'`
23357 if test "x$as_val" = x""yes; then
23234 cat >>confdefs.h <<_ACEOF 23358 cat >>confdefs.h <<_ACEOF
23235#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23359#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23236_ACEOF 23360_ACEOF
@@ -23382,8 +23506,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23382$as_echo "$ac_res" >&6; } 23506$as_echo "$ac_res" >&6; }
23383 23507
23384fi 23508fi
23385if test `eval 'as_val=${'$as_ac_Header'} 23509as_val=`eval 'as_val=${'$as_ac_Header'}
23386 $as_echo "$as_val"'` = yes; then 23510 $as_echo "$as_val"'`
23511 if test "x$as_val" = x""yes; then
23387 cat >>confdefs.h <<_ACEOF 23512 cat >>confdefs.h <<_ACEOF
23388#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23513#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23389_ACEOF 23514_ACEOF
@@ -23524,8 +23649,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23524$as_echo "$ac_res" >&6; } 23649$as_echo "$ac_res" >&6; }
23525 23650
23526fi 23651fi
23527if test `eval 'as_val=${'$as_ac_Header'} 23652as_val=`eval 'as_val=${'$as_ac_Header'}
23528 $as_echo "$as_val"'` = yes; then 23653 $as_echo "$as_val"'`
23654 if test "x$as_val" = x""yes; then
23529 cat >>confdefs.h <<_ACEOF 23655 cat >>confdefs.h <<_ACEOF
23530#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23656#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23531_ACEOF 23657_ACEOF
@@ -23666,8 +23792,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23666$as_echo "$ac_res" >&6; } 23792$as_echo "$ac_res" >&6; }
23667 23793
23668fi 23794fi
23669if test `eval 'as_val=${'$as_ac_Header'} 23795as_val=`eval 'as_val=${'$as_ac_Header'}
23670 $as_echo "$as_val"'` = yes; then 23796 $as_echo "$as_val"'`
23797 if test "x$as_val" = x""yes; then
23671 cat >>confdefs.h <<_ACEOF 23798 cat >>confdefs.h <<_ACEOF
23672#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23799#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23673_ACEOF 23800_ACEOF
@@ -23820,8 +23947,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
23820$as_echo "$ac_res" >&6; } 23947$as_echo "$ac_res" >&6; }
23821 23948
23822fi 23949fi
23823if test `eval 'as_val=${'$as_ac_Header'} 23950as_val=`eval 'as_val=${'$as_ac_Header'}
23824 $as_echo "$as_val"'` = yes; then 23951 $as_echo "$as_val"'`
23952 if test "x$as_val" = x""yes; then
23825 cat >>confdefs.h <<_ACEOF 23953 cat >>confdefs.h <<_ACEOF
23826#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23954#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23827_ACEOF 23955_ACEOF
@@ -23906,7 +24034,7 @@ LIBS=$ac_check_lib_save_LIBS
23906fi 24034fi
23907{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 24035{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
23908$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 24036$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
23909if test $ac_cv_lib_intl_dgettext = yes; then 24037if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
23910 cat >>confdefs.h <<_ACEOF 24038 cat >>confdefs.h <<_ACEOF
23911#define HAVE_LIBINTL 1 24039#define HAVE_LIBINTL 1
23912_ACEOF 24040_ACEOF
@@ -24106,8 +24234,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
24106 $as_echo "$as_val"'` 24234 $as_echo "$as_val"'`
24107 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 24235 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24108$as_echo "$ac_res" >&6; } 24236$as_echo "$ac_res" >&6; }
24109if test `eval 'as_val=${'$as_ac_var'} 24237as_val=`eval 'as_val=${'$as_ac_var'}
24110 $as_echo "$as_val"'` = yes; then 24238 $as_echo "$as_val"'`
24239 if test "x$as_val" = x""yes; then
24111 cat >>confdefs.h <<_ACEOF 24240 cat >>confdefs.h <<_ACEOF
24112#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 24241#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24113_ACEOF 24242_ACEOF
@@ -24273,7 +24402,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24273fi 24402fi
24274{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 24403{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
24275$as_echo "$ac_cv_func_socket" >&6; } 24404$as_echo "$ac_cv_func_socket" >&6; }
24276if test $ac_cv_func_socket = yes; then 24405if test "x$ac_cv_func_socket" = x""yes; then
24277 : 24406 :
24278else 24407else
24279 ok_so_far=no 24408 ok_so_far=no
@@ -24407,7 +24536,7 @@ fi
24407$as_echo "$ac_cv_header_netinet_in_h" >&6; } 24536$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24408 24537
24409fi 24538fi
24410if test $ac_cv_header_netinet_in_h = yes; then 24539if test "x$ac_cv_header_netinet_in_h" = x""yes; then
24411 : 24540 :
24412else 24541else
24413 ok_so_far=no 24542 ok_so_far=no
@@ -24543,7 +24672,7 @@ fi
24543$as_echo "$ac_cv_header_arpa_inet_h" >&6; } 24672$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24544 24673
24545fi 24674fi
24546if test $ac_cv_header_arpa_inet_h = yes; then 24675if test "x$ac_cv_header_arpa_inet_h" = x""yes; then
24547 : 24676 :
24548else 24677else
24549 ok_so_far=no 24678 ok_so_far=no
@@ -24694,8 +24823,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
24694$as_echo "$ac_res" >&6; } 24823$as_echo "$ac_res" >&6; }
24695 24824
24696fi 24825fi
24697if test `eval 'as_val=${'$as_ac_Header'} 24826as_val=`eval 'as_val=${'$as_ac_Header'}
24698 $as_echo "$as_val"'` = yes; then 24827 $as_echo "$as_val"'`
24828 if test "x$as_val" = x""yes; then
24699 cat >>confdefs.h <<_ACEOF 24829 cat >>confdefs.h <<_ACEOF
24700#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24830#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24701_ACEOF 24831_ACEOF
@@ -24822,7 +24952,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24822fi 24952fi
24823{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 24953{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24824$as_echo "$ac_cv_type_pid_t" >&6; } 24954$as_echo "$ac_cv_type_pid_t" >&6; }
24825if test $ac_cv_type_pid_t = yes; then 24955if test "x$ac_cv_type_pid_t" = x""yes; then
24826 : 24956 :
24827else 24957else
24828 24958
@@ -24967,8 +25097,9 @@ ac_res=`eval 'as_val=${'$as_ac_Header'}
24967$as_echo "$ac_res" >&6; } 25097$as_echo "$ac_res" >&6; }
24968 25098
24969fi 25099fi
24970if test `eval 'as_val=${'$as_ac_Header'} 25100as_val=`eval 'as_val=${'$as_ac_Header'}
24971 $as_echo "$as_val"'` = yes; then 25101 $as_echo "$as_val"'`
25102 if test "x$as_val" = x""yes; then
24972 cat >>confdefs.h <<_ACEOF 25103 cat >>confdefs.h <<_ACEOF
24973#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 25104#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24974_ACEOF 25105_ACEOF
@@ -25069,8 +25200,9 @@ ac_res=`eval 'as_val=${'$as_ac_var'}
25069 $as_echo "$as_val"'` 25200 $as_echo "$as_val"'`
25070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 25201 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25071$as_echo "$ac_res" >&6; } 25202$as_echo "$ac_res" >&6; }
25072if test `eval 'as_val=${'$as_ac_var'} 25203as_val=`eval 'as_val=${'$as_ac_var'}
25073 $as_echo "$as_val"'` = yes; then 25204 $as_echo "$as_val"'`
25205 if test "x$as_val" = x""yes; then
25074 cat >>confdefs.h <<_ACEOF 25206 cat >>confdefs.h <<_ACEOF
25075#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 25207#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25076_ACEOF 25208_ACEOF
@@ -25494,7 +25626,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494fi 25626fi
25495{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 25627{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25496$as_echo "$ac_cv_type_size_t" >&6; } 25628$as_echo "$ac_cv_type_size_t" >&6; }
25497if test $ac_cv_type_size_t = yes; then 25629if test "x$ac_cv_type_size_t" = x""yes; then
25498 25630
25499cat >>confdefs.h <<_ACEOF 25631cat >>confdefs.h <<_ACEOF
25500#define HAVE_SIZE_T 1 25632#define HAVE_SIZE_T 1
@@ -25936,6 +26068,7 @@ echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
25936echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF" 26068echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF"
25937echo " Does Emacs use -lpng? ${HAVE_PNG}" 26069echo " Does Emacs use -lpng? ${HAVE_PNG}"
25938echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" 26070echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}"
26071echo " Does Emacs use imagemagick? ${HAVE_IMAGEMAGICK}"
25939echo " Does Emacs use -lgpm? ${HAVE_GPM}" 26072echo " Does Emacs use -lgpm? ${HAVE_GPM}"
25940echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 26073echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
25941echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 26074echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
@@ -26045,8 +26178,8 @@ _ACEOF
26045 case $ac_val in #( 26178 case $ac_val in #(
26046 *${as_nl}*) 26179 *${as_nl}*)
26047 case $ac_var in #( 26180 case $ac_var in #(
26048 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 26181 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
26049$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 26182$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26050 esac 26183 esac
26051 case $ac_var in #( 26184 case $ac_var in #(
26052 _ | IFS | as_nl) ;; #( 26185 _ | IFS | as_nl) ;; #(
@@ -26438,7 +26571,7 @@ exec 6>&1
26438# values after options handling. 26571# values after options handling.
26439ac_log=" 26572ac_log="
26440This file was extended by emacs $as_me 24.0.50, which was 26573This file was extended by emacs $as_me 24.0.50, which was
26441generated by GNU Autoconf 2.62. Invocation command line was 26574generated by GNU Autoconf 2.63. Invocation command line was
26442 26575
26443 CONFIG_FILES = $CONFIG_FILES 26576 CONFIG_FILES = $CONFIG_FILES
26444 CONFIG_HEADERS = $CONFIG_HEADERS 26577 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -26451,6 +26584,15 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
26451 26584
26452_ACEOF 26585_ACEOF
26453 26586
26587case $ac_config_files in *"
26588"*) set x $ac_config_files; shift; ac_config_files=$*;;
26589esac
26590
26591case $ac_config_headers in *"
26592"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26593esac
26594
26595
26454cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26596cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26455# Files that config.status was made for. 26597# Files that config.status was made for.
26456config_files="$ac_config_files" 26598config_files="$ac_config_files"
@@ -26464,16 +26606,17 @@ ac_cs_usage="\
26464\`$as_me' instantiates files from templates according to the 26606\`$as_me' instantiates files from templates according to the
26465current configuration. 26607current configuration.
26466 26608
26467Usage: $0 [OPTIONS] [FILE]... 26609Usage: $0 [OPTION]... [FILE]...
26468 26610
26469 -h, --help print this help, then exit 26611 -h, --help print this help, then exit
26470 -V, --version print version number and configuration settings, then exit 26612 -V, --version print version number and configuration settings, then exit
26471 -q, --quiet do not print progress messages 26613 -q, --quiet, --silent
26614 do not print progress messages
26472 -d, --debug don't remove temporary files 26615 -d, --debug don't remove temporary files
26473 --recheck update $as_me by reconfiguring in the same conditions 26616 --recheck update $as_me by reconfiguring in the same conditions
26474 --file=FILE[:TEMPLATE] 26617 --file=FILE[:TEMPLATE]
26475 instantiate the configuration file FILE 26618 instantiate the configuration file FILE
26476 --header=FILE[:TEMPLATE] 26619 --header=FILE[:TEMPLATE]
26477 instantiate the configuration header FILE 26620 instantiate the configuration header FILE
26478 26621
26479Configuration files: 26622Configuration files:
@@ -26491,7 +26634,7 @@ _ACEOF
26491cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26492ac_cs_version="\\ 26635ac_cs_version="\\
26493emacs config.status 24.0.50 26636emacs config.status 24.0.50
26494configured by $0, generated by GNU Autoconf 2.62, 26637configured by $0, generated by GNU Autoconf 2.63,
26495 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 26638 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26496 26639
26497Copyright (C) 2008 Free Software Foundation, Inc. 26640Copyright (C) 2008 Free Software Foundation, Inc.
@@ -26705,7 +26848,8 @@ for ac_last_try in false false false false false :; do
26705$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 26848$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26706 { (exit 1); exit 1; }; } 26849 { (exit 1); exit 1; }; }
26707 26850
26708 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 26851 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26852 if test $ac_delim_n = $ac_delim_num; then
26709 break 26853 break
26710 elif $ac_last_try; then 26854 elif $ac_last_try; then
26711 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 26855 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -26910,9 +27054,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26910 } 27054 }
26911 split(mac1, mac2, "(") #) 27055 split(mac1, mac2, "(") #)
26912 macro = mac2[1] 27056 macro = mac2[1]
27057 prefix = substr(line, 1, index(line, defundef) - 1)
26913 if (D_is_set[macro]) { 27058 if (D_is_set[macro]) {
26914 # Preserve the white space surrounding the "#". 27059 # Preserve the white space surrounding the "#".
26915 prefix = substr(line, 1, index(line, defundef) - 1)
26916 print prefix "define", macro P[macro] D[macro] 27060 print prefix "define", macro P[macro] D[macro]
26917 next 27061 next
26918 } else { 27062 } else {
@@ -26920,7 +27064,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26920 # in the case of _POSIX_SOURCE, which is predefined and required 27064 # in the case of _POSIX_SOURCE, which is predefined and required
26921 # on some systems where configure will not decide to define it. 27065 # on some systems where configure will not decide to define it.
26922 if (defundef == "undef") { 27066 if (defundef == "undef") {
26923 print "/*", line, "*/" 27067 print "/*", prefix defundef, macro, "*/"
26924 next 27068 next
26925 } 27069 }
26926 } 27070 }
@@ -26944,8 +27088,8 @@ do
26944 esac 27088 esac
26945 case $ac_mode$ac_tag in 27089 case $ac_mode$ac_tag in
26946 :[FHL]*:*);; 27090 :[FHL]*:*);;
26947 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 27091 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
26948$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 27092$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
26949 { (exit 1); exit 1; }; };; 27093 { (exit 1); exit 1; }; };;
26950 :[FH]-) ac_tag=-:-;; 27094 :[FH]-) ac_tag=-:-;;
26951 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 27095 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
@@ -27333,8 +27477,8 @@ if test "$no_create" != yes; then
27333 $ac_cs_success || { (exit 1); exit 1; } 27477 $ac_cs_success || { (exit 1); exit 1; }
27334fi 27478fi
27335if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27479if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27336 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 27480 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27337$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 27481$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27338fi 27482fi
27339 27483
27340 27484
diff --git a/configure.in b/configure.in
index fc7c0a93235..eced710c1a7 100644
--- a/configure.in
+++ b/configure.in
@@ -148,6 +148,7 @@ OPTION_DEFAULT_ON([tiff],[don't compile with TIFF image support])
148OPTION_DEFAULT_ON([gif],[don't compile with GIF image support]) 148OPTION_DEFAULT_ON([gif],[don't compile with GIF image support])
149OPTION_DEFAULT_ON([png],[don't compile with PNG image support]) 149OPTION_DEFAULT_ON([png],[don't compile with PNG image support])
150OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support]) 150OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support])
151OPTION_DEFAULT_OFF([imagemagick],[compile with ImageMagick image support])
151 152
152OPTION_DEFAULT_ON([xft],[don't use XFT for anti aliased fonts]) 153OPTION_DEFAULT_ON([xft],[don't use XFT for anti aliased fonts])
153OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) 154OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support])
@@ -1599,6 +1600,24 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
1599 fi 1600 fi
1600fi 1601fi
1601 1602
1603HAVE_IMAGEMAGICK=no
1604if test "${HAVE_X11}" = "yes" ; then
1605 if test "${with_imagemagick}" != "no"; then
1606 IMAGEMAGICK_REQUIRED=1
1607 IMAGEMAGICK_MODULE="MagickWand >= $IMAGEMAGICK_REQUIRED"
1608
1609 PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE, :, :)
1610 AC_SUBST(IMAGEMAGICK_CFLAGS)
1611 AC_SUBST(IMAGEMAGICK_LIBS)
1612
1613 if test ".${IMAGEMAGICK_CFLAGS}" != "."; then
1614 HAVE_IMAGEMAGICK=yes
1615 AC_DEFINE(HAVE_IMAGEMAGICK, 1, [Define to 1 if using imagemagick.])
1616 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
1617 LIBS="$IMAGEMAGICK_LIBS $LIBS"
1618 fi
1619 fi
1620fi
1602 1621
1603HAVE_GTK=no 1622HAVE_GTK=no
1604if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then 1623if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
@@ -3083,6 +3102,7 @@ echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
3083echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF" 3102echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF"
3084echo " Does Emacs use -lpng? ${HAVE_PNG}" 3103echo " Does Emacs use -lpng? ${HAVE_PNG}"
3085echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" 3104echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}"
3105echo " Does Emacs use imagemagick? ${HAVE_IMAGEMAGICK}"
3086echo " Does Emacs use -lgpm? ${HAVE_GPM}" 3106echo " Does Emacs use -lgpm? ${HAVE_GPM}"
3087echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 3107echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
3088echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 3108echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
diff --git a/lisp/image.el b/lisp/image.el
index 67c1ad946b1..963093c6149 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -690,6 +690,31 @@ shall be displayed."
690 (cons images (+ (aref anim 1) (* (aref anim 2) 256)))))))) 690 (cons images (+ (aref anim 1) (* (aref anim 2) 256))))))))
691 691
692 692
693(defconst imagemagick-types-inhibit
694 '(C HTML HTM TXT)
695 "Types the imagemagic loader should not try to handle.")
696
697;;;###autoload
698(defun imagemagic-register-types ()
699 "Register file types that imagemagick is able to handle."
700 (let ((im-types (imagemagick-types))
701 (im-inhibit imagemagick-types-inhibit))
702 (while im-inhibit
703 (setq im-types (remove (car im-inhibit) im-types))
704 (setq im-inhibit (cdr im-inhibit)))
705 (while im-types
706 (let
707 ((extension (downcase (symbol-name (car im-types)))))
708 (push
709 (cons (concat "\\." extension "\\'") 'image-mode)
710 auto-mode-alist)
711 (push
712 (cons (concat "\\." extension "\\'") 'imagemagick)
713 image-type-file-name-regexps)
714 (setq im-types (cdr im-types))))))
715
716
717
693(provide 'image) 718(provide 'image)
694 719
695;; arch-tag: 8e76a07b-eb48-4f3e-a7a0-1a7ba9f096b3 720;; arch-tag: 8e76a07b-eb48-4f3e-a7a0-1a7ba9f096b3
diff --git a/src/Makefile.in b/src/Makefile.in
index 53904a3992a..a71292e14f7 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,3 +1,4 @@
1
1# Makefile for GNU Emacs. 2# Makefile for GNU Emacs.
2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, 3# Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
3# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@@ -269,7 +270,9 @@ GCONF_LIBS = @GCONF_LIBS@
269 270
270/* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM 271/* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM
271 since it may have -I options that should override those two. */ 272 since it may have -I options that should override those two. */
272ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS} 273
274ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${IMAGEMAGICK_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS}
275
273ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ 276ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@
274 277
275.SUFFIXES: .m 278.SUFFIXES: .m
@@ -388,6 +391,9 @@ CFLAGS_SOUND= @CFLAGS_SOUND@
388RSVG_LIBS= @RSVG_LIBS@ 391RSVG_LIBS= @RSVG_LIBS@
389RSVG_CFLAGS= @RSVG_CFLAGS@ 392RSVG_CFLAGS= @RSVG_CFLAGS@
390 393
394IMAGEMAGICK_LIBS= @IMAGEMAGICK_LIBS@
395IMAGEMAGICK_CFLAGS= @IMAGEMAGICK_CFLAGS@
396
391#ifndef ORDINARY_LINK 397#ifndef ORDINARY_LINK
392/* Fix linking if compiled with GCC. */ 398/* Fix linking if compiled with GCC. */
393#ifdef __GNUC__ 399#ifdef __GNUC__
@@ -850,7 +856,7 @@ SOME_MACHINE_LISP = ../lisp/mouse.elc \
850 duplicated symbols. If the standard libraries were compiled 856 duplicated symbols. If the standard libraries were compiled
851 with GCC, we might need gnulib again after them. */ 857 with GCC, we might need gnulib again after them. */
852 858
853LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) $(DBUS_LIBS) \ 859LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) ${IMAGEMAGICK_LIBS} $(DBUS_LIBS) \
854 @LIBGPM@ @LIBRESOLV@ LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ 860 @LIBGPM@ @LIBRESOLV@ LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
855 $(GETLOADAVG_LIBS) ${GCONF_LIBS} \ 861 $(GETLOADAVG_LIBS) ${GCONF_LIBS} \
856 @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \ 862 @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \
diff --git a/src/image.c b/src/image.c
index 030e06ad77a..8159575e640 100644
--- a/src/image.c
+++ b/src/image.c
@@ -606,7 +606,7 @@ extern Lisp_Object QCdata, QCtype;
606extern Lisp_Object Qcenter; 606extern Lisp_Object Qcenter;
607Lisp_Object QCascent, QCmargin, QCrelief, Qcount, Qextension_data; 607Lisp_Object QCascent, QCmargin, QCrelief, Qcount, Qextension_data;
608Lisp_Object QCconversion, QCcolor_symbols, QCheuristic_mask; 608Lisp_Object QCconversion, QCcolor_symbols, QCheuristic_mask;
609Lisp_Object QCindex, QCmatrix, QCcolor_adjustment, QCmask; 609Lisp_Object QCindex, QCmatrix, QCcolor_adjustment, QCmask, QCgeometry, QCcrop, QCrotation;
610 610
611/* Other symbols. */ 611/* Other symbols. */
612 612
@@ -7538,6 +7538,449 @@ gif_load (struct frame *f, struct image *img)
7538#endif /* HAVE_GIF */ 7538#endif /* HAVE_GIF */
7539 7539
7540 7540
7541/***********************************************************************
7542 imagemagick
7543 ***********************************************************************/
7544#if defined (HAVE_IMAGEMAGICK)
7545Lisp_Object Vimagemagick_render_type;
7546/* Function prototypes. */
7547
7548static int imagemagick_image_p (Lisp_Object object);
7549static int imagemagick_load (struct frame *f, struct image *img);
7550
7551static int imagemagick_load_image (struct frame *, struct image *,
7552 unsigned char *, unsigned int, unsigned char *);
7553
7554/* The symbol `imagemagick' identifying images of this type. */
7555
7556Lisp_Object Qimagemagick;
7557Lisp_Object Vimagemagick_render_type;
7558
7559/* Indices of image specification fields in imagemagick_format, below. */
7560
7561enum imagemagick_keyword_index
7562{
7563 IMAGEMAGICK_TYPE,
7564 IMAGEMAGICK_DATA,
7565 IMAGEMAGICK_FILE,
7566 IMAGEMAGICK_ASCENT,
7567 IMAGEMAGICK_MARGIN,
7568 IMAGEMAGICK_RELIEF,
7569 IMAGEMAGICK_ALGORITHM,
7570 IMAGEMAGICK_HEURISTIC_MASK,
7571 IMAGEMAGICK_MASK,
7572 IMAGEMAGICK_BACKGROUND,
7573 IMAGEMAGICK_LAST
7574};
7575
7576/* Vector of image_keyword structures describing the format
7577 of valid user-defined image specifications. */
7578
7579static struct image_keyword imagemagick_format[IMAGEMAGICK_LAST] =
7580{
7581 {":type", IMAGE_SYMBOL_VALUE, 1},
7582 {":data", IMAGE_STRING_VALUE, 0},
7583 {":file", IMAGE_STRING_VALUE, 0},
7584 {":ascent", IMAGE_ASCENT_VALUE, 0},
7585 {":margin", IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 0},
7586 {":relief", IMAGE_INTEGER_VALUE, 0},
7587 {":conversion", IMAGE_DONT_CHECK_VALUE_TYPE, 0},
7588 {":heuristic-mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0},
7589 {":mask", IMAGE_DONT_CHECK_VALUE_TYPE, 0},
7590 {":background", IMAGE_STRING_OR_NIL_VALUE, 0}
7591};
7592/* Free X resources of imagemagick image IMG which is used on frame F. */
7593
7594static void
7595imagemagick_clear_image (f, img)
7596 struct frame *f;
7597 struct image *img;
7598{
7599 printf("clearing imagemagick image\n");
7600 x_clear_image (f, img);
7601}
7602
7603/* Structure describing the image type `imagemagick'. Its the same type of
7604 structure defined for all image formats, handled by Emacs image
7605 functions. See struct image_type in dispextern.h. */
7606
7607static struct image_type imagemagick_type =
7608{
7609 /* An identifier showing that this is an image structure for the IMAGEMAGICK format. */
7610 &Qimagemagick,
7611 /* Handle to a function that can be used to identify a IMAGEMAGICK file. */
7612 imagemagick_image_p,
7613 /* Handle to function used to load a IMAGEMAGICK file. */
7614 imagemagick_load,
7615 /* Handle to function to free resources for IMAGEMAGICK. */
7616 imagemagick_clear_image,
7617 /* An internal field to link to the next image type in a list of
7618 image types, will be filled in when registering the format. */
7619 NULL
7620};
7621
7622
7623/* Return non-zero if OBJECT is a valid IMAGEMAGICK image specification. Do
7624 this by calling parse_image_spec and supplying the keywords that
7625 identify the IMAGEMAGICK format. */
7626
7627static int
7628imagemagick_image_p (object)
7629 Lisp_Object object;
7630{
7631 struct image_keyword fmt[IMAGEMAGICK_LAST];
7632 bcopy (imagemagick_format, fmt, sizeof fmt);
7633
7634 if (!parse_image_spec (object, fmt, IMAGEMAGICK_LAST, Qimagemagick))
7635 return 0;
7636
7637 /* Must specify either the :data or :file keyword. */
7638 return fmt[IMAGEMAGICK_FILE].count + fmt[IMAGEMAGICK_DATA].count == 1;
7639}
7640
7641/* The GIF library also defines DrawRectangle, but its never used in Emacs.
7642 Therefore rename the function so it doesnt collide with ImageMagick. */
7643#define DrawRectangle DrawRectangleGif
7644#include <wand/MagickWand.h>
7645
7646/* Load IMAGEMAGICK image IMG for use on frame F. Value is non-zero if
7647 successful. this function will go into the imagemagick_type structure, and
7648 the prototype thus needs to be compatible with that structure. */
7649
7650static int
7651imagemagick_load (f, img)
7652 struct frame *f;
7653 struct image *img;
7654{
7655 int success_p = 0;
7656 Lisp_Object file_name;
7657
7658 /* If IMG->spec specifies a file name, create a non-file spec from it. */
7659 file_name = image_spec_value (img->spec, QCfile, NULL);
7660 if (STRINGP (file_name))
7661 {
7662 Lisp_Object file;
7663 unsigned char *contents;
7664 int size;
7665 struct gcpro gcpro1;
7666
7667 file = x_find_image_file (file_name);
7668 GCPRO1 (file);
7669 if (!STRINGP (file))
7670 {
7671 image_error ("Cannot find image file `%s'", file_name, Qnil);
7672 UNGCPRO;
7673 return 0;
7674 }
7675
7676 /* Read the entire file into memory. */
7677 /* contents = slurp_file (SDATA (file), &size); */
7678 /* if (contents == NULL) */
7679 /* { */
7680 /* image_error ("Error loading IMAGEMAGICK image `%s'", img->spec, Qnil); */
7681 /* UNGCPRO; */
7682 /* return 0; */
7683 /* } */
7684 /* If the file was slurped into memory properly, parse it. */
7685 success_p = imagemagick_load_image (f, img, 0, 0, SDATA(file_name));
7686 UNGCPRO;
7687 }
7688 /* Else its not a file, its a lisp object. Load the image from a
7689 lisp object rather than a file. */
7690 else
7691 {
7692 Lisp_Object data;
7693
7694 data = image_spec_value (img->spec, QCdata, NULL);
7695 success_p = imagemagick_load_image (f, img, SDATA (data), SBYTES (data),NULL);
7696 }
7697
7698 return success_p;
7699}
7700
7701/* imagemagick_load_image is a helper function for imagemagick_load, which does the
7702 actual loading given contents and size, apart from frame and image
7703 structures, passed from imagemagick_load.
7704
7705 Uses librimagemagick to do most of the image processing.
7706
7707 Returns non-zero when successful.
7708*/
7709
7710static int
7711imagemagick_load_image (f, img, contents, size, filename)
7712 /* Pointer to emacs frame structure. */
7713 struct frame *f;
7714 /* Pointer to emacs image structure. */
7715 struct image *img;
7716 /* String containing the IMAGEMAGICK data to be parsed. */
7717 unsigned char *contents;
7718 /* Size of data in bytes. */
7719 unsigned int size;
7720 /* Filename, either pass filename or contents/size. */
7721 unsigned char *filename;
7722{
7723 long unsigned int width;
7724 long unsigned int height;
7725
7726 MagickBooleanType
7727 status;
7728
7729 XImagePtr ximg;
7730 Lisp_Object specified_bg;
7731 XColor background;
7732 int x;
7733 int y;
7734
7735 MagickWand *image_wand;
7736 PixelIterator *iterator;
7737 PixelWand **pixels;
7738 MagickPixelPacket pixel;
7739
7740
7741 /* image_wand will contain the image. */
7742 image_wand = NewMagickWand();
7743
7744 /* Parse the contents argument and initialize image_wand. */
7745 if(filename!=NULL)
7746 status=MagickReadImage(image_wand, filename);
7747 else
7748 status=MagickReadImageBlob(image_wand, contents, size);
7749 image_error ("im read failed", Qnil, Qnil);
7750 if (status == MagickFalse) goto imagemagick_error;
7751
7752 /* Handle image index for image types who can contain more than one image.
7753 Interface :index is same as for GIF. */
7754 Lisp_Object image;
7755 long ino;
7756 image = image_spec_value (img->spec, QCindex, NULL);
7757 ino = INTEGERP (image) ? XFASTINT (image) : 0;
7758
7759 /* if (ino >= ) */
7760 /* { */
7761 /* image_error ("Invalid image number `%s' in image `%s'", */
7762 /* image, img->spec); */
7763 /* UNGCPRO; */
7764 /* return 0; */
7765 /* } */
7766
7767 if(ino==0)
7768 MagickSetFirstIterator(image_wand);
7769 else
7770 MagickSetIteratorIndex(image_wand, ino);
7771
7772 /*
7773 If width and/or height is set in the display spec
7774 assume we want to scale to those. */
7775
7776 int desired_width, desired_height;
7777 Lisp_Object value;
7778 value = image_spec_value (img->spec, QCwidth, NULL);
7779 desired_width = (INTEGERP (value) ? XFASTINT (value) : -1);
7780 value = image_spec_value (img->spec, QCheight, NULL);
7781 desired_height = (INTEGERP (value) ? XFASTINT (value) : -1);
7782 if(desired_width != -1 && desired_height != -1){
7783 printf("MagickScaleImage %d %d\n",desired_width, desired_height);
7784 status=MagickScaleImage(image_wand, desired_width, desired_height);
7785 if (status == MagickFalse) {
7786 image_error ("Imagemagick scale failed", Qnil, Qnil);
7787 goto imagemagick_error;
7788 }
7789
7790 }
7791
7792 /* Also support :geometry and :crop which are imagemagick specific descriptors. */
7793
7794 Lisp_Object crop, geometry;
7795 crop = image_spec_value (img->spec, QCcrop, NULL);
7796 geometry = image_spec_value (img->spec, QCgeometry, NULL);
7797 if (STRINGP (crop) && STRINGP (geometry)){
7798 printf("MagickTransformImage %s %s\n",SDATA(crop), SDATA(geometry));
7799 image_wand = MagickTransformImage (image_wand, SDATA (crop), SDATA (geometry));
7800 /* TODO differ between image_wand and transform_wand. */
7801 }
7802
7803 /* Furthermore :rotation. we need background color and angle for rotation. */
7804 /*
7805 TODO background handling for rotation
7806 specified_bg = image_spec_value (img->spec, QCbackground, NULL);
7807 if (!STRINGP (specified_bg)
7808 */
7809 double rotation;
7810 value = image_spec_value (img->spec, QCrotation, NULL);
7811 if (FLOATP (value)){
7812 PixelWand* background = NewPixelWand();
7813 PixelSetColor (background, "#ffffff");/*TODO remove hardcode*/
7814
7815 rotation = extract_float (value);
7816 printf ("MagickRotateImage %f\n",rotation);
7817
7818 status=MagickRotateImage (image_wand, background,rotation);
7819 DestroyPixelWand (background);
7820 if (status == MagickFalse) {
7821 image_error ("Imagemagick image rotate failed", Qnil, Qnil);
7822 goto imagemagick_error;
7823 }
7824 }
7825
7826 /* Finaly we are done manipulating the image,
7827 figure out resulting width, height, and then transfer ownerwship to Emacs.
7828 */
7829 height=MagickGetImageHeight (image_wand);
7830 width=MagickGetImageWidth (image_wand);
7831 if (status == MagickFalse) {
7832 image_error ("Imagemagick image get size failed", Qnil, Qnil);
7833 goto imagemagick_error;
7834 }
7835
7836 if (! check_image_size (f, width, height))
7837 {
7838 image_error ("Invalid image size (see `max-image-size')", Qnil, Qnil);
7839 goto imagemagick_error;
7840 }
7841
7842 /* We can now get a valid pixel buffer from the imagemagick file, if all
7843 went ok. */
7844
7845
7846 init_color_table ();
7847 int imagemagick_rendermethod=(INTEGERP (Vimagemagick_render_type) ? XFASTINT (Vimagemagick_render_type) : 0);
7848 if (imagemagick_rendermethod==0){
7849 /* Try to create a x pixmap to hold the imagemagick pixmap. */
7850 if (!x_create_x_image_and_pixmap (f, width, height, 0, &ximg, &img->pixmap)){
7851 image_error("Imagemagick X bitmap allocation failure",Qnil,Qnil);
7852 goto imagemagick_error;
7853 }
7854
7855 /* Copy imagegmagick image to x with primitive yet robust pixel
7856 pusher loop. This has been tested a lot with many different
7857 images, it doesnt work too well with image archive formats though!
7858
7859 Also seems slow.
7860 */
7861
7862 /* Copy pixels from the imagemagick image structure to the x image map. */
7863 iterator = NewPixelIterator (image_wand);
7864 if ((iterator == (PixelIterator *) NULL)) {
7865 image_error ("Imagemagick pixel iterator creation failed", Qnil, Qnil);
7866 goto imagemagick_error;
7867 }
7868
7869 for (y=0; y < (long) MagickGetImageHeight(image_wand); y++)
7870 {
7871 pixels = PixelGetNextIteratorRow (iterator, &width);
7872 if ((pixels == (PixelWand **) NULL))
7873 break;
7874 for (x=0; x < (long) width; x++)
7875 {
7876 PixelGetMagickColor (pixels[x], &pixel);
7877 XPutPixel (ximg, x, y, lookup_rgb_color (f, pixel.red, pixel.green, pixel.blue));
7878 }
7879 }
7880 DestroyPixelIterator (iterator);
7881 }
7882
7883 if (imagemagick_rendermethod==1){
7884 /* Try if magicexportimage is any faster than pixelpushing. */
7885 /* printf("ximg: bitmap_unit:%d format:%d byte_order:%d depth:%d bits_per_pixel:%d\n", */
7886 /* ximg->bitmap_unit,ximg->format,ximg->byte_order,ximg->depth,ximg->bits_per_pixel); */
7887 int imagedepth=24;/*MagickGetImageDepth(image_wand);*/
7888 char* exportdepth= imagedepth <= 8 ? "I" : "BGRP";/*"RGBP";*/
7889 /* Try to create a x pixmap to hold the imagemagick pixmap. */
7890 printf("imagedepth:%d exportdepth:%s\n", imagedepth, exportdepth);
7891 if (!x_create_x_image_and_pixmap (f, width, height, imagedepth, &ximg, &img->pixmap)){
7892 image_error("Imagemagick X bitmap allocation failure",Qnil,Qnil);
7893 goto imagemagick_error;
7894 }
7895
7896
7897 /* Oddly, the below code doesnt seem to work:*/
7898 int pixelwidth;
7899 /* switch(ximg->bitmap_unit){ */
7900 /* case 8: */
7901 /* pixelwidth=CharPixel; */
7902 /* break; */
7903 /* case 16: */
7904 /* pixelwidth=ShortPixel; */
7905 /* break; */
7906 /* case 32: */
7907 /* pixelwidth=LongPixel; */
7908 /* break; */
7909 /* } */
7910 /*
7911 Here im just guessing the format of the bitmap.
7912 happens to work fine for:
7913 - bw djvu images
7914 on rgb display.
7915 seems about 3 times as fast as pixel pushing(not carefully measured)
7916 with color djvu, the bitplanes are mapped to wrong color(seems fixed).
7917
7918 */
7919 pixelwidth=CharPixel;/*??? TODO figure out*/
7920 MagickExportImagePixels(image_wand,
7921 0,0,
7922 width,height,
7923 exportdepth,
7924 pixelwidth,
7925 /*&(img->pixmap));*/
7926 ximg->data);
7927 }
7928
7929#ifdef COLOR_TABLE_SUPPORT
7930 /* Remember colors allocated for this image. */
7931 img->colors = colors_in_color_table (&img->ncolors);
7932 free_color_table ();
7933#endif /* COLOR_TABLE_SUPPORT */
7934
7935
7936 img->width = width;
7937 img->height = height;
7938
7939 /* Maybe fill in the background field while we have ximg handy.
7940 Casting avoids a GCC warning. */
7941 /* IMAGE_BACKGROUND (img, f, (XImagePtr_or_DC)ximg);*/
7942
7943 /* Put the image into the pixmap, then free the X image and its
7944 buffer. */
7945 x_put_x_image (f, ximg, img->pixmap, width, height);
7946
7947 x_destroy_x_image (ximg);
7948
7949
7950 /* JAVE TODO more cleanup. */
7951 DestroyMagickWand (image_wand);
7952
7953 return 1;
7954
7955 imagemagick_error:
7956 /* TODO more cleanup. */
7957 image_error ("Error parsing IMAGEMAGICK image `%s'", img->spec, Qnil);
7958 printf("Imagemagick error, see *Messages*\n");
7959 return 0;
7960}
7961
7962DEFUN ("imagemagick-types", Fimagemagick_types, Simagemagick_types, 0,0,0,
7963 doc: /* Return image file types supported by ImageMagick.
7964 Since ImageMagic recognizes a lot of file-types that clash with Emacs,
7965 such as .c, we want to be able to alter the list at the lisp level. */)
7966 ()
7967{
7968 Lisp_Object typelist = Qnil;
7969 unsigned long numf;
7970 ExceptionInfo ex;
7971 char** imtypes = GetMagickList ("*", &numf, &ex);
7972 int i;
7973 Lisp_Object Qimagemagicktype;
7974 for (i = 0; i < numf; i++) {
7975 Qimagemagicktype = intern (*( imtypes + i));
7976 typelist = Fcons (Qimagemagicktype, typelist);
7977 }
7978 return typelist;
7979}
7980
7981#endif /* defined (HAVE_IMAGEMAGICK) */
7982
7983
7541 7984
7542/*********************************************************************** 7985/***********************************************************************
7543 SVG 7986 SVG
@@ -8335,6 +8778,14 @@ of `image-library-alist', which see). */)
8335 return CHECK_LIB_AVAILABLE (&svg_type, init_svg_functions, libraries); 8778 return CHECK_LIB_AVAILABLE (&svg_type, init_svg_functions, libraries);
8336#endif 8779#endif
8337 8780
8781#if defined (HAVE_IMAGEMAGICK)
8782 if (EQ (type, Qimagemagick)){
8783 /* MagickWandGenesis() initalizes the imagemagick library. */
8784 MagickWandGenesis();
8785 return CHECK_LIB_AVAILABLE (&imagemagick_type, init_imagemagick_functions, libraries);
8786 }
8787#endif
8788
8338#ifdef HAVE_GHOSTSCRIPT 8789#ifdef HAVE_GHOSTSCRIPT
8339 if (EQ (type, Qpostscript)) 8790 if (EQ (type, Qpostscript))
8340 return CHECK_LIB_AVAILABLE (&gs_type, init_gs_functions, libraries); 8791 return CHECK_LIB_AVAILABLE (&gs_type, init_gs_functions, libraries);
@@ -8345,6 +8796,7 @@ of `image-library-alist', which see). */)
8345 return Qnil; 8796 return Qnil;
8346} 8797}
8347 8798
8799
8348void 8800void
8349syms_of_image () 8801syms_of_image ()
8350{ 8802{
@@ -8422,7 +8874,14 @@ non-numeric, there is no explicit limit on the size of images. */);
8422 staticpro (&QCheuristic_mask); 8874 staticpro (&QCheuristic_mask);
8423 QCindex = intern_c_string (":index"); 8875 QCindex = intern_c_string (":index");
8424 staticpro (&QCindex); 8876 staticpro (&QCindex);
8877 QCgeometry = intern (":geometry");
8878 staticpro (&QCgeometry);
8879 QCcrop = intern (":crop");
8880 staticpro (&QCcrop);
8881 QCrotation = intern (":rotation");
8882 staticpro (&QCrotation);
8425 QCmatrix = intern_c_string (":matrix"); 8883 QCmatrix = intern_c_string (":matrix");
8884
8426 staticpro (&QCmatrix); 8885 staticpro (&QCmatrix);
8427 QCcolor_adjustment = intern_c_string (":color-adjustment"); 8886 QCcolor_adjustment = intern_c_string (":color-adjustment");
8428 staticpro (&QCcolor_adjustment); 8887 staticpro (&QCcolor_adjustment);
@@ -8482,6 +8941,12 @@ non-numeric, there is no explicit limit on the size of images. */);
8482 ADD_IMAGE_TYPE (Qpng); 8941 ADD_IMAGE_TYPE (Qpng);
8483#endif 8942#endif
8484 8943
8944#if defined (HAVE_IMAGEMAGICK)
8945 Qimagemagick = intern ("imagemagick");
8946 staticpro (&Qimagemagick);
8947 ADD_IMAGE_TYPE (Qimagemagick);
8948#endif
8949
8485#if defined (HAVE_RSVG) 8950#if defined (HAVE_RSVG)
8486 Qsvg = intern_c_string ("svg"); 8951 Qsvg = intern_c_string ("svg");
8487 staticpro (&Qsvg); 8952 staticpro (&Qsvg);
@@ -8498,6 +8963,9 @@ non-numeric, there is no explicit limit on the size of images. */);
8498#endif /* HAVE_RSVG */ 8963#endif /* HAVE_RSVG */
8499 8964
8500 defsubr (&Sinit_image_library); 8965 defsubr (&Sinit_image_library);
8966#ifdef HAVE_IMAGEMAGICK
8967 defsubr (&Simagemagick_types);
8968#endif
8501 defsubr (&Sclear_image_cache); 8969 defsubr (&Sclear_image_cache);
8502 defsubr (&Simage_refresh); 8970 defsubr (&Simage_refresh);
8503 defsubr (&Simage_size); 8971 defsubr (&Simage_size);
@@ -8525,12 +8993,20 @@ When an image has not been displayed this many seconds, remove it
8525from the image cache. Value must be an integer or nil with nil 8993from the image cache. Value must be an integer or nil with nil
8526meaning don't clear the cache. */); 8994meaning don't clear the cache. */);
8527 Vimage_cache_eviction_delay = make_number (30 * 60); 8995 Vimage_cache_eviction_delay = make_number (30 * 60);
8996
8997#ifdef HAVE_IMAGEMAGICK
8998 DEFVAR_LISP ("imagemagick-render-type", &Vimagemagick_render_type,
8999 doc: /* */);
9000#endif
8528} 9001}
8529 9002
8530void 9003void
8531init_image () 9004init_image ()
8532{ 9005{
9006
8533} 9007}
8534 9008
9009
9010
8535/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9 9011/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9
8536 (do not change this comment) */ 9012 (do not change this comment) */