| … |  | … |  | 
| 19 | --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]" | 19 | --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]" | 
| 20 | ac_help="$ac_help | 20 | ac_help="$ac_help | 
| 21 | --with-gnu-ld           assume the C compiler uses GNU ld [default=no]" | 21 | --with-gnu-ld           assume the C compiler uses GNU ld [default=no]" | 
| 22 | ac_help="$ac_help | 22 | ac_help="$ac_help | 
| 23 | --disable-libtool-lock  avoid locking (might break parallel builds)" | 23 | --disable-libtool-lock  avoid locking (might break parallel builds)" | 
|  |  | 24 | ac_help="$ac_help | 
|  |  | 25 | --with-imagemagick      enable ImageMagick (default = yes)" | 
| 24 | ac_help="$ac_help | 26 | ac_help="$ac_help | 
| 25 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on)" | 27 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on)" | 
| 26 | ac_help="$ac_help | 28 | ac_help="$ac_help | 
| 27 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off)" | 29 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off)" | 
| 28 | ac_help="$ac_help | 30 | ac_help="$ac_help | 
| … |  | … |  | 
| 568 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 570 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 569 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 571 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 570 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 572 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 571 | # ./install, which can be erroneously created by make from ./install.sh. | 573 | # ./install, which can be erroneously created by make from ./install.sh. | 
| 572 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 574 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 
| 573 | echo "configure:574: checking for a BSD compatible install" >&5 | 575 | echo "configure:576: checking for a BSD compatible install" >&5 | 
| 574 | if test -z "$INSTALL"; then | 576 | if test -z "$INSTALL"; then | 
| 575 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 577 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 
| 576 | echo $ac_n "(cached) $ac_c" 1>&6 | 578 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 577 | else | 579 | else | 
| 578 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 580 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 
| … |  | … |  | 
| 621 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 623 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 
| 622 |  | 624 |  | 
| 623 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 625 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 624 |  | 626 |  | 
| 625 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 627 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 
| 626 | echo "configure:627: checking whether build environment is sane" >&5 | 628 | echo "configure:629: checking whether build environment is sane" >&5 | 
| 627 | # Just in case | 629 | # Just in case | 
| 628 | sleep 1 | 630 | sleep 1 | 
| 629 | echo timestamp > conftestfile | 631 | echo timestamp > conftestfile | 
| 630 | # Do `set' in a subshell so we don't clobber the current shell's | 632 | # Do `set' in a subshell so we don't clobber the current shell's | 
| 631 | # arguments.  Must try -L first in case configure is actually a | 633 | # arguments.  Must try -L first in case configure is actually a | 
| … |  | … |  | 
| 678 |  | 680 |  | 
| 679 | # sed with no file args requires a program. | 681 | # sed with no file args requires a program. | 
| 680 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 682 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 
| 681 |  | 683 |  | 
| 682 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 684 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 
| 683 | echo "configure:684: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 685 | echo "configure:686: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 
| 684 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 686 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 
| 685 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 687 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 
| 686 | echo $ac_n "(cached) $ac_c" 1>&6 | 688 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 687 | else | 689 | else | 
| 688 | cat > conftestmake <<\EOF | 690 | cat > conftestmake <<\EOF | 
| … |  | … |  | 
| 707 | fi | 709 | fi | 
| 708 |  | 710 |  | 
| 709 |  | 711 |  | 
| 710 | PACKAGE=psiconv | 712 | PACKAGE=psiconv | 
| 711 |  | 713 |  | 
| 712 | VERSION=0.5.0 | 714 | VERSION=0.5.0a | 
| 713 |  | 715 |  | 
| 714 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 716 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 
| 715 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 717 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 
| 716 | fi | 718 | fi | 
| 717 | cat >> confdefs.h <<EOF | 719 | cat >> confdefs.h <<EOF | 
| … |  | … |  | 
| 724 |  | 726 |  | 
| 725 |  | 727 |  | 
| 726 |  | 728 |  | 
| 727 | missing_dir=`cd $ac_aux_dir && pwd` | 729 | missing_dir=`cd $ac_aux_dir && pwd` | 
| 728 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 730 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 
| 729 | echo "configure:730: checking for working aclocal" >&5 | 731 | echo "configure:732: checking for working aclocal" >&5 | 
| 730 | # Run test in a subshell; some versions of sh will print an error if | 732 | # Run test in a subshell; some versions of sh will print an error if | 
| 731 | # an executable is not found, even if stderr is redirected. | 733 | # an executable is not found, even if stderr is redirected. | 
| 732 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 734 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 733 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 735 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 
| 734 | ACLOCAL=aclocal | 736 | ACLOCAL=aclocal | 
| … |  | … |  | 
| 737 | ACLOCAL="$missing_dir/missing aclocal" | 739 | ACLOCAL="$missing_dir/missing aclocal" | 
| 738 | echo "$ac_t""missing" 1>&6 | 740 | echo "$ac_t""missing" 1>&6 | 
| 739 | fi | 741 | fi | 
| 740 |  | 742 |  | 
| 741 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 743 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 
| 742 | echo "configure:743: checking for working autoconf" >&5 | 744 | echo "configure:745: checking for working autoconf" >&5 | 
| 743 | # Run test in a subshell; some versions of sh will print an error if | 745 | # Run test in a subshell; some versions of sh will print an error if | 
| 744 | # an executable is not found, even if stderr is redirected. | 746 | # an executable is not found, even if stderr is redirected. | 
| 745 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 747 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 746 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 748 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 
| 747 | AUTOCONF=autoconf | 749 | AUTOCONF=autoconf | 
| … |  | … |  | 
| 750 | AUTOCONF="$missing_dir/missing autoconf" | 752 | AUTOCONF="$missing_dir/missing autoconf" | 
| 751 | echo "$ac_t""missing" 1>&6 | 753 | echo "$ac_t""missing" 1>&6 | 
| 752 | fi | 754 | fi | 
| 753 |  | 755 |  | 
| 754 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 756 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 
| 755 | echo "configure:756: checking for working automake" >&5 | 757 | echo "configure:758: checking for working automake" >&5 | 
| 756 | # Run test in a subshell; some versions of sh will print an error if | 758 | # Run test in a subshell; some versions of sh will print an error if | 
| 757 | # an executable is not found, even if stderr is redirected. | 759 | # an executable is not found, even if stderr is redirected. | 
| 758 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 760 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 759 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 761 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 
| 760 | AUTOMAKE=automake | 762 | AUTOMAKE=automake | 
| … |  | … |  | 
| 763 | AUTOMAKE="$missing_dir/missing automake" | 765 | AUTOMAKE="$missing_dir/missing automake" | 
| 764 | echo "$ac_t""missing" 1>&6 | 766 | echo "$ac_t""missing" 1>&6 | 
| 765 | fi | 767 | fi | 
| 766 |  | 768 |  | 
| 767 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 769 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 
| 768 | echo "configure:769: checking for working autoheader" >&5 | 770 | echo "configure:771: checking for working autoheader" >&5 | 
| 769 | # Run test in a subshell; some versions of sh will print an error if | 771 | # Run test in a subshell; some versions of sh will print an error if | 
| 770 | # an executable is not found, even if stderr is redirected. | 772 | # an executable is not found, even if stderr is redirected. | 
| 771 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 773 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 772 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 774 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 
| 773 | AUTOHEADER=autoheader | 775 | AUTOHEADER=autoheader | 
| … |  | … |  | 
| 776 | AUTOHEADER="$missing_dir/missing autoheader" | 778 | AUTOHEADER="$missing_dir/missing autoheader" | 
| 777 | echo "$ac_t""missing" 1>&6 | 779 | echo "$ac_t""missing" 1>&6 | 
| 778 | fi | 780 | fi | 
| 779 |  | 781 |  | 
| 780 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 782 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 
| 781 | echo "configure:782: checking for working makeinfo" >&5 | 783 | echo "configure:784: checking for working makeinfo" >&5 | 
| 782 | # Run test in a subshell; some versions of sh will print an error if | 784 | # Run test in a subshell; some versions of sh will print an error if | 
| 783 | # an executable is not found, even if stderr is redirected. | 785 | # an executable is not found, even if stderr is redirected. | 
| 784 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 786 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 785 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 787 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 
| 786 | MAKEINFO=makeinfo | 788 | MAKEINFO=makeinfo | 
| … |  | … |  | 
| 870 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 872 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 
| 871 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 873 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 
| 872 | fi | 874 | fi | 
| 873 |  | 875 |  | 
| 874 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 876 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 
| 875 | echo "configure:876: checking host system type" >&5 | 877 | echo "configure:878: checking host system type" >&5 | 
| 876 |  | 878 |  | 
| 877 | host_alias=$host | 879 | host_alias=$host | 
| 878 | case "$host_alias" in | 880 | case "$host_alias" in | 
| 879 | NONE) | 881 | NONE) | 
| 880 | case $nonopt in | 882 | case $nonopt in | 
| … |  | … |  | 
| 891 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 893 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 892 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 894 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 893 | echo "$ac_t""$host" 1>&6 | 895 | echo "$ac_t""$host" 1>&6 | 
| 894 |  | 896 |  | 
| 895 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 897 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 
| 896 | echo "configure:897: checking build system type" >&5 | 898 | echo "configure:899: checking build system type" >&5 | 
| 897 |  | 899 |  | 
| 898 | build_alias=$build | 900 | build_alias=$build | 
| 899 | case "$build_alias" in | 901 | case "$build_alias" in | 
| 900 | NONE) | 902 | NONE) | 
| 901 | case $nonopt in | 903 | case $nonopt in | 
| … |  | … |  | 
| 911 | echo "$ac_t""$build" 1>&6 | 913 | echo "$ac_t""$build" 1>&6 | 
| 912 |  | 914 |  | 
| 913 | # Extract the first word of "ranlib", so it can be a program name with args. | 915 | # Extract the first word of "ranlib", so it can be a program name with args. | 
| 914 | set dummy ranlib; ac_word=$2 | 916 | set dummy ranlib; ac_word=$2 | 
| 915 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 917 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 916 | echo "configure:917: checking for $ac_word" >&5 | 918 | echo "configure:919: checking for $ac_word" >&5 | 
| 917 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 919 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
| 918 | echo $ac_n "(cached) $ac_c" 1>&6 | 920 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 919 | else | 921 | else | 
| 920 | if test -n "$RANLIB"; then | 922 | if test -n "$RANLIB"; then | 
| 921 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 923 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| … |  | … |  | 
| 941 | fi | 943 | fi | 
| 942 |  | 944 |  | 
| 943 | # Extract the first word of "gcc", so it can be a program name with args. | 945 | # Extract the first word of "gcc", so it can be a program name with args. | 
| 944 | set dummy gcc; ac_word=$2 | 946 | set dummy gcc; ac_word=$2 | 
| 945 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 947 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 946 | echo "configure:947: checking for $ac_word" >&5 | 948 | echo "configure:949: checking for $ac_word" >&5 | 
| 947 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 949 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 948 | echo $ac_n "(cached) $ac_c" 1>&6 | 950 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 949 | else | 951 | else | 
| 950 | if test -n "$CC"; then | 952 | if test -n "$CC"; then | 
| 951 | ac_cv_prog_CC="$CC" # Let the user override the test. | 953 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 971 |  | 973 |  | 
| 972 | if test -z "$CC"; then | 974 | if test -z "$CC"; then | 
| 973 | # Extract the first word of "cc", so it can be a program name with args. | 975 | # Extract the first word of "cc", so it can be a program name with args. | 
| 974 | set dummy cc; ac_word=$2 | 976 | set dummy cc; ac_word=$2 | 
| 975 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 977 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 976 | echo "configure:977: checking for $ac_word" >&5 | 978 | echo "configure:979: checking for $ac_word" >&5 | 
| 977 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 979 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 978 | echo $ac_n "(cached) $ac_c" 1>&6 | 980 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 979 | else | 981 | else | 
| 980 | if test -n "$CC"; then | 982 | if test -n "$CC"; then | 
| 981 | ac_cv_prog_CC="$CC" # Let the user override the test. | 983 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1022 | case "`uname -s`" in | 1024 | case "`uname -s`" in | 
| 1023 | *win32* | *WIN32*) | 1025 | *win32* | *WIN32*) | 
| 1024 | # Extract the first word of "cl", so it can be a program name with args. | 1026 | # Extract the first word of "cl", so it can be a program name with args. | 
| 1025 | set dummy cl; ac_word=$2 | 1027 | set dummy cl; ac_word=$2 | 
| 1026 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1028 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 1027 | echo "configure:1028: checking for $ac_word" >&5 | 1029 | echo "configure:1030: checking for $ac_word" >&5 | 
| 1028 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1030 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 1029 | echo $ac_n "(cached) $ac_c" 1>&6 | 1031 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1030 | else | 1032 | else | 
| 1031 | if test -n "$CC"; then | 1033 | if test -n "$CC"; then | 
| 1032 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1034 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1054 | fi | 1056 | fi | 
| 1055 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1057 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 
| 1056 | fi | 1058 | fi | 
| 1057 |  | 1059 |  | 
| 1058 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1060 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 
| 1059 | echo "configure:1060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1061 | echo "configure:1062: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 
| 1060 |  | 1062 |  | 
| 1061 | ac_ext=c | 1063 | ac_ext=c | 
| 1062 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1064 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
| 1063 | ac_cpp='$CPP $CPPFLAGS' | 1065 | ac_cpp='$CPP $CPPFLAGS' | 
| 1064 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1066 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
| 1065 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1067 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
| 1066 | cross_compiling=$ac_cv_prog_cc_cross | 1068 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1067 |  | 1069 |  | 
| 1068 | cat > conftest.$ac_ext << EOF | 1070 | cat > conftest.$ac_ext << EOF | 
| 1069 |  | 1071 |  | 
| 1070 | #line 1071 "configure" | 1072 | #line 1073 "configure" | 
| 1071 | #include "confdefs.h" | 1073 | #include "confdefs.h" | 
| 1072 |  | 1074 |  | 
| 1073 | main(){return(0);} | 1075 | main(){return(0);} | 
| 1074 | EOF | 1076 | EOF | 
| 1075 | if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1077 | if { (eval echo configure:1078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1076 | ac_cv_prog_cc_works=yes | 1078 | ac_cv_prog_cc_works=yes | 
| 1077 | # If we can't run a trivial program, we are probably using a cross compiler. | 1079 | # If we can't run a trivial program, we are probably using a cross compiler. | 
| 1078 | if (./conftest; exit) 2>/dev/null; then | 1080 | if (./conftest; exit) 2>/dev/null; then | 
| 1079 | ac_cv_prog_cc_cross=no | 1081 | ac_cv_prog_cc_cross=no | 
| 1080 | else | 1082 | else | 
| … |  | … |  | 
| 1096 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1098 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 
| 1097 | if test $ac_cv_prog_cc_works = no; then | 1099 | if test $ac_cv_prog_cc_works = no; then | 
| 1098 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1100 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 
| 1099 | fi | 1101 | fi | 
| 1100 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1102 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 
| 1101 | echo "configure:1102: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1103 | echo "configure:1104: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 
| 1102 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1104 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 
| 1103 | cross_compiling=$ac_cv_prog_cc_cross | 1105 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1104 |  | 1106 |  | 
| 1105 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1107 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 
| 1106 | echo "configure:1107: checking whether we are using GNU C" >&5 | 1108 | echo "configure:1109: checking whether we are using GNU C" >&5 | 
| 1107 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1109 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 
| 1108 | echo $ac_n "(cached) $ac_c" 1>&6 | 1110 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1109 | else | 1111 | else | 
| 1110 | cat > conftest.c <<EOF | 1112 | cat > conftest.c <<EOF | 
| 1111 | #ifdef __GNUC__ | 1113 | #ifdef __GNUC__ | 
| 1112 | yes; | 1114 | yes; | 
| 1113 | #endif | 1115 | #endif | 
| 1114 | EOF | 1116 | EOF | 
| 1115 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1117 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 
| 1116 | ac_cv_prog_gcc=yes | 1118 | ac_cv_prog_gcc=yes | 
| 1117 | else | 1119 | else | 
| 1118 | ac_cv_prog_gcc=no | 1120 | ac_cv_prog_gcc=no | 
| 1119 | fi | 1121 | fi | 
| 1120 | fi | 1122 | fi | 
| … |  | … |  | 
| 1129 |  | 1131 |  | 
| 1130 | ac_test_CFLAGS="${CFLAGS+set}" | 1132 | ac_test_CFLAGS="${CFLAGS+set}" | 
| 1131 | ac_save_CFLAGS="$CFLAGS" | 1133 | ac_save_CFLAGS="$CFLAGS" | 
| 1132 | CFLAGS= | 1134 | CFLAGS= | 
| 1133 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1135 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 
| 1134 | echo "configure:1135: checking whether ${CC-cc} accepts -g" >&5 | 1136 | echo "configure:1137: checking whether ${CC-cc} accepts -g" >&5 | 
| 1135 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1137 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 
| 1136 | echo $ac_n "(cached) $ac_c" 1>&6 | 1138 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1137 | else | 1139 | else | 
| 1138 | echo 'void f(){}' > conftest.c | 1140 | echo 'void f(){}' > conftest.c | 
| 1139 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1141 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 
| … |  | … |  | 
| 1172 |  | 1174 |  | 
| 1173 | ac_prog=ld | 1175 | ac_prog=ld | 
| 1174 | if test "$ac_cv_prog_gcc" = yes; then | 1176 | if test "$ac_cv_prog_gcc" = yes; then | 
| 1175 | # Check if gcc -print-prog-name=ld gives a path. | 1177 | # Check if gcc -print-prog-name=ld gives a path. | 
| 1176 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 1178 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 
| 1177 | echo "configure:1178: checking for ld used by GCC" >&5 | 1179 | echo "configure:1180: checking for ld used by GCC" >&5 | 
| 1178 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 1180 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 
| 1179 | case "$ac_prog" in | 1181 | case "$ac_prog" in | 
| 1180 | # Accept absolute paths. | 1182 | # Accept absolute paths. | 
| 1181 | [\\/]* | [A-Za-z]:[\\/]*) | 1183 | [\\/]* | [A-Za-z]:[\\/]*) | 
| 1182 | re_direlt='/[^/][^/]*/\.\./' | 1184 | re_direlt='/[^/][^/]*/\.\./' | 
| … |  | … |  | 
| 1196 | with_gnu_ld=unknown | 1198 | with_gnu_ld=unknown | 
| 1197 | ;; | 1199 | ;; | 
| 1198 | esac | 1200 | esac | 
| 1199 | elif test "$with_gnu_ld" = yes; then | 1201 | elif test "$with_gnu_ld" = yes; then | 
| 1200 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 1202 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 
| 1201 | echo "configure:1202: checking for GNU ld" >&5 | 1203 | echo "configure:1204: checking for GNU ld" >&5 | 
| 1202 | else | 1204 | else | 
| 1203 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 1205 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 
| 1204 | echo "configure:1205: checking for non-GNU ld" >&5 | 1206 | echo "configure:1207: checking for non-GNU ld" >&5 | 
| 1205 | fi | 1207 | fi | 
| 1206 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 1208 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 
| 1207 | echo $ac_n "(cached) $ac_c" 1>&6 | 1209 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1208 | else | 1210 | else | 
| 1209 | if test -z "$LD"; then | 1211 | if test -z "$LD"; then | 
| … |  | … |  | 
| 1235 | echo "$ac_t""no" 1>&6 | 1237 | echo "$ac_t""no" 1>&6 | 
| 1236 | fi | 1238 | fi | 
| 1237 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 1239 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 
| 1238 |  | 1240 |  | 
| 1239 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1241 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 
| 1240 | echo "configure:1241: checking if the linker ($LD) is GNU ld" >&5 | 1242 | echo "configure:1243: checking if the linker ($LD) is GNU ld" >&5 | 
| 1241 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 1243 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 
| 1242 | echo $ac_n "(cached) $ac_c" 1>&6 | 1244 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1243 | else | 1245 | else | 
| 1244 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 1246 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
| 1245 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 1247 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
| … |  | … |  | 
| 1251 |  | 1253 |  | 
| 1252 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 1254 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 
| 1253 |  | 1255 |  | 
| 1254 |  | 1256 |  | 
| 1255 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1257 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 
| 1256 | echo "configure:1257: checking for BSD-compatible nm" >&5 | 1258 | echo "configure:1259: checking for BSD-compatible nm" >&5 | 
| 1257 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 1259 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 
| 1258 | echo $ac_n "(cached) $ac_c" 1>&6 | 1260 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1259 | else | 1261 | else | 
| 1260 | if test -n "$NM"; then | 1262 | if test -n "$NM"; then | 
| 1261 | # Let the user override the test. | 1263 | # Let the user override the test. | 
| … |  | … |  | 
| 1288 | NM="$ac_cv_path_NM" | 1290 | NM="$ac_cv_path_NM" | 
| 1289 | echo "$ac_t""$NM" 1>&6 | 1291 | echo "$ac_t""$NM" 1>&6 | 
| 1290 |  | 1292 |  | 
| 1291 |  | 1293 |  | 
| 1292 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1294 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 
| 1293 | echo "configure:1294: checking whether ln -s works" >&5 | 1295 | echo "configure:1296: checking whether ln -s works" >&5 | 
| 1294 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1296 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 
| 1295 | echo $ac_n "(cached) $ac_c" 1>&6 | 1297 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1296 | else | 1298 | else | 
| 1297 | rm -f conftestdata | 1299 | rm -f conftestdata | 
| 1298 | if ln -s X conftestdata 2>/dev/null | 1300 | if ln -s X conftestdata 2>/dev/null | 
| … |  | … |  | 
| 1332 | # Some flags need to be propagated to the compiler or linker for good | 1334 | # Some flags need to be propagated to the compiler or linker for good | 
| 1333 | # libtool support. | 1335 | # libtool support. | 
| 1334 | case "$host" in | 1336 | case "$host" in | 
| 1335 | *-*-irix6*) | 1337 | *-*-irix6*) | 
| 1336 | # Find out which ABI we are using. | 1338 | # Find out which ABI we are using. | 
| 1337 | echo '#line 1338 "configure"' > conftest.$ac_ext | 1339 | echo '#line 1340 "configure"' > conftest.$ac_ext | 
| 1338 | if { (eval echo configure:1339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1340 | if { (eval echo configure:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1339 | case "`/usr/bin/file conftest.o`" in | 1341 | case "`/usr/bin/file conftest.o`" in | 
| 1340 | *32-bit*) | 1342 | *32-bit*) | 
| 1341 | LD="${LD-ld} -32" | 1343 | LD="${LD-ld} -32" | 
| 1342 | ;; | 1344 | ;; | 
| 1343 | *N32*) | 1345 | *N32*) | 
| … |  | … |  | 
| 1354 | *-*-sco3.2v5*) | 1356 | *-*-sco3.2v5*) | 
| 1355 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 1357 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
| 1356 | SAVE_CFLAGS="$CFLAGS" | 1358 | SAVE_CFLAGS="$CFLAGS" | 
| 1357 | CFLAGS="$CFLAGS -belf" | 1359 | CFLAGS="$CFLAGS -belf" | 
| 1358 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 1360 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 
| 1359 | echo "configure:1360: checking whether the C compiler needs -belf" >&5 | 1361 | echo "configure:1362: checking whether the C compiler needs -belf" >&5 | 
| 1360 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 1362 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 
| 1361 | echo $ac_n "(cached) $ac_c" 1>&6 | 1363 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1362 | else | 1364 | else | 
| 1363 | cat > conftest.$ac_ext <<EOF | 1365 | cat > conftest.$ac_ext <<EOF | 
| 1364 | #line 1365 "configure" | 1366 | #line 1367 "configure" | 
| 1365 | #include "confdefs.h" | 1367 | #include "confdefs.h" | 
| 1366 |  | 1368 |  | 
| 1367 | int main() { | 1369 | int main() { | 
| 1368 |  | 1370 |  | 
| 1369 | ; return 0; } | 1371 | ; return 0; } | 
| 1370 | EOF | 1372 | EOF | 
| 1371 | if { (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1373 | if { (eval echo configure:1374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1372 | rm -rf conftest* | 1374 | rm -rf conftest* | 
| 1373 | lt_cv_cc_needs_belf=yes | 1375 | lt_cv_cc_needs_belf=yes | 
| 1374 | else | 1376 | else | 
| 1375 | echo "configure: failed program was:" >&5 | 1377 | echo "configure: failed program was:" >&5 | 
| 1376 | cat conftest.$ac_ext >&5 | 1378 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1468 | # Redirect the config.log output again, so that the ltconfig log is not | 1470 | # Redirect the config.log output again, so that the ltconfig log is not | 
| 1469 | # clobbered by the next message. | 1471 | # clobbered by the next message. | 
| 1470 | exec 5>>./config.log | 1472 | exec 5>>./config.log | 
| 1471 |  | 1473 |  | 
| 1472 |  | 1474 |  | 
|  |  | 1475 | # Check whether --with-imagemagick or --without-imagemagick was given. | 
|  |  | 1476 | if test "${with_imagemagick+set}" = set; then | 
|  |  | 1477 | withval="$with_imagemagick" | 
|  |  | 1478 | IMAGEMAGICK=$withval | 
|  |  | 1479 | else | 
|  |  | 1480 | IMAGEMAGICK='yes' | 
|  |  | 1481 | fi | 
|  |  | 1482 |  | 
|  |  | 1483 | if test x"$IMAGEMAGICK" != xno ; then | 
|  |  | 1484 | echo $ac_n "checking for MagickWarning in -lMagick""... $ac_c" 1>&6 | 
|  |  | 1485 | echo "configure:1486: checking for MagickWarning in -lMagick" >&5 | 
|  |  | 1486 | ac_lib_var=`echo Magick'_'MagickWarning | sed 'y%./+-%__p_%'` | 
|  |  | 1487 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 
|  |  | 1488 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|  |  | 1489 | else | 
|  |  | 1490 | ac_save_LIBS="$LIBS" | 
|  |  | 1491 | LIBS="-lMagick  $LIBS" | 
|  |  | 1492 | cat > conftest.$ac_ext <<EOF | 
|  |  | 1493 | #line 1494 "configure" | 
|  |  | 1494 | #include "confdefs.h" | 
|  |  | 1495 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 1496 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 1497 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 1498 | char MagickWarning(); | 
|  |  | 1499 |  | 
|  |  | 1500 | int main() { | 
|  |  | 1501 | MagickWarning() | 
|  |  | 1502 | ; return 0; } | 
|  |  | 1503 | EOF | 
|  |  | 1504 | if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
|  |  | 1505 | rm -rf conftest* | 
|  |  | 1506 | eval "ac_cv_lib_$ac_lib_var=yes" | 
|  |  | 1507 | else | 
|  |  | 1508 | echo "configure: failed program was:" >&5 | 
|  |  | 1509 | cat conftest.$ac_ext >&5 | 
|  |  | 1510 | rm -rf conftest* | 
|  |  | 1511 | eval "ac_cv_lib_$ac_lib_var=no" | 
|  |  | 1512 | fi | 
|  |  | 1513 | rm -f conftest* | 
|  |  | 1514 | LIBS="$ac_save_LIBS" | 
|  |  | 1515 |  | 
|  |  | 1516 | fi | 
|  |  | 1517 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 
|  |  | 1518 | echo "$ac_t""yes" 1>&6 | 
|  |  | 1519 | IMAGEMAGICK=yes | 
|  |  | 1520 | else | 
|  |  | 1521 | echo "$ac_t""no" 1>&6 | 
|  |  | 1522 | IMAGEMAGICK=no | 
|  |  | 1523 | fi | 
|  |  | 1524 |  | 
|  |  | 1525 | if test x"$IMAGEMAGICK" = xno ; then | 
|  |  | 1526 | echo "configure: warning: ImageMagick support disabled!" 1>&2 | 
|  |  | 1527 | fi | 
|  |  | 1528 | fi | 
|  |  | 1529 | if test x"$IMAGEMAGICK" = xyes ; then | 
|  |  | 1530 | LIB_MAGICK=-lMagick | 
|  |  | 1531 | cat >> confdefs.h <<\EOF | 
|  |  | 1532 | #define IMAGEMAGICK 1 | 
|  |  | 1533 | EOF | 
|  |  | 1534 |  | 
|  |  | 1535 | else | 
|  |  | 1536 | LIB_MAGICK= | 
|  |  | 1537 | fi | 
|  |  | 1538 |  | 
| 1473 |  | 1539 |  | 
| 1474 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1540 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 
| 1475 | echo "configure:1476: checking how to run the C preprocessor" >&5 | 1541 | echo "configure:1542: checking how to run the C preprocessor" >&5 | 
| 1476 | # On Suns, sometimes $CPP names a directory. | 1542 | # On Suns, sometimes $CPP names a directory. | 
| 1477 | if test -n "$CPP" && test -d "$CPP"; then | 1543 | if test -n "$CPP" && test -d "$CPP"; then | 
| 1478 | CPP= | 1544 | CPP= | 
| 1479 | fi | 1545 | fi | 
| 1480 | if test -z "$CPP"; then | 1546 | if test -z "$CPP"; then | 
| … |  | … |  | 
| 1485 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 1551 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 
| 1486 | CPP="${CC-cc} -E" | 1552 | CPP="${CC-cc} -E" | 
| 1487 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1553 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 1488 | # not just through cpp. | 1554 | # not just through cpp. | 
| 1489 | cat > conftest.$ac_ext <<EOF | 1555 | cat > conftest.$ac_ext <<EOF | 
| 1490 | #line 1491 "configure" | 1556 | #line 1557 "configure" | 
| 1491 | #include "confdefs.h" | 1557 | #include "confdefs.h" | 
| 1492 | #include <assert.h> | 1558 | #include <assert.h> | 
| 1493 | Syntax Error | 1559 | Syntax Error | 
| 1494 | EOF | 1560 | EOF | 
| 1495 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1561 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1496 | { (eval echo configure:1497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1562 | { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1497 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1563 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1498 | if test -z "$ac_err"; then | 1564 | if test -z "$ac_err"; then | 
| 1499 | : | 1565 | : | 
| 1500 | else | 1566 | else | 
| 1501 | echo "$ac_err" >&5 | 1567 | echo "$ac_err" >&5 | 
| 1502 | echo "configure: failed program was:" >&5 | 1568 | echo "configure: failed program was:" >&5 | 
| 1503 | cat conftest.$ac_ext >&5 | 1569 | cat conftest.$ac_ext >&5 | 
| 1504 | rm -rf conftest* | 1570 | rm -rf conftest* | 
| 1505 | CPP="${CC-cc} -E -traditional-cpp" | 1571 | CPP="${CC-cc} -E -traditional-cpp" | 
| 1506 | cat > conftest.$ac_ext <<EOF | 1572 | cat > conftest.$ac_ext <<EOF | 
| 1507 | #line 1508 "configure" | 1573 | #line 1574 "configure" | 
| 1508 | #include "confdefs.h" | 1574 | #include "confdefs.h" | 
| 1509 | #include <assert.h> | 1575 | #include <assert.h> | 
| 1510 | Syntax Error | 1576 | Syntax Error | 
| 1511 | EOF | 1577 | EOF | 
| 1512 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1578 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1513 | { (eval echo configure:1514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1579 | { (eval echo configure:1580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1514 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1580 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1515 | if test -z "$ac_err"; then | 1581 | if test -z "$ac_err"; then | 
| 1516 | : | 1582 | : | 
| 1517 | else | 1583 | else | 
| 1518 | echo "$ac_err" >&5 | 1584 | echo "$ac_err" >&5 | 
| 1519 | echo "configure: failed program was:" >&5 | 1585 | echo "configure: failed program was:" >&5 | 
| 1520 | cat conftest.$ac_ext >&5 | 1586 | cat conftest.$ac_ext >&5 | 
| 1521 | rm -rf conftest* | 1587 | rm -rf conftest* | 
| 1522 | CPP="${CC-cc} -nologo -E" | 1588 | CPP="${CC-cc} -nologo -E" | 
| 1523 | cat > conftest.$ac_ext <<EOF | 1589 | cat > conftest.$ac_ext <<EOF | 
| 1524 | #line 1525 "configure" | 1590 | #line 1591 "configure" | 
| 1525 | #include "confdefs.h" | 1591 | #include "confdefs.h" | 
| 1526 | #include <assert.h> | 1592 | #include <assert.h> | 
| 1527 | Syntax Error | 1593 | Syntax Error | 
| 1528 | EOF | 1594 | EOF | 
| 1529 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1595 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1530 | { (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1596 | { (eval echo configure:1597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1531 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1597 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1532 | if test -z "$ac_err"; then | 1598 | if test -z "$ac_err"; then | 
| 1533 | : | 1599 | : | 
| 1534 | else | 1600 | else | 
| 1535 | echo "$ac_err" >&5 | 1601 | echo "$ac_err" >&5 | 
| … |  | … |  | 
| 1550 | ac_cv_prog_CPP="$CPP" | 1616 | ac_cv_prog_CPP="$CPP" | 
| 1551 | fi | 1617 | fi | 
| 1552 | echo "$ac_t""$CPP" 1>&6 | 1618 | echo "$ac_t""$CPP" 1>&6 | 
| 1553 |  | 1619 |  | 
| 1554 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1620 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 
| 1555 | echo "configure:1556: checking for ANSI C header files" >&5 | 1621 | echo "configure:1622: checking for ANSI C header files" >&5 | 
| 1556 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1622 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 
| 1557 | echo $ac_n "(cached) $ac_c" 1>&6 | 1623 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1558 | else | 1624 | else | 
| 1559 | cat > conftest.$ac_ext <<EOF | 1625 | cat > conftest.$ac_ext <<EOF | 
| 1560 | #line 1561 "configure" | 1626 | #line 1627 "configure" | 
| 1561 | #include "confdefs.h" | 1627 | #include "confdefs.h" | 
| 1562 | #include <stdlib.h> | 1628 | #include <stdlib.h> | 
| 1563 | #include <stdarg.h> | 1629 | #include <stdarg.h> | 
| 1564 | #include <string.h> | 1630 | #include <string.h> | 
| 1565 | #include <float.h> | 1631 | #include <float.h> | 
| 1566 | EOF | 1632 | EOF | 
| 1567 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1633 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1568 | { (eval echo configure:1569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1634 | { (eval echo configure:1635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1569 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1635 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1570 | if test -z "$ac_err"; then | 1636 | if test -z "$ac_err"; then | 
| 1571 | rm -rf conftest* | 1637 | rm -rf conftest* | 
| 1572 | ac_cv_header_stdc=yes | 1638 | ac_cv_header_stdc=yes | 
| 1573 | else | 1639 | else | 
| … |  | … |  | 
| 1580 | rm -f conftest* | 1646 | rm -f conftest* | 
| 1581 |  | 1647 |  | 
| 1582 | if test $ac_cv_header_stdc = yes; then | 1648 | if test $ac_cv_header_stdc = yes; then | 
| 1583 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1649 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 1584 | cat > conftest.$ac_ext <<EOF | 1650 | cat > conftest.$ac_ext <<EOF | 
| 1585 | #line 1586 "configure" | 1651 | #line 1652 "configure" | 
| 1586 | #include "confdefs.h" | 1652 | #include "confdefs.h" | 
| 1587 | #include <string.h> | 1653 | #include <string.h> | 
| 1588 | EOF | 1654 | EOF | 
| 1589 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1655 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1590 | egrep "memchr" >/dev/null 2>&1; then | 1656 | egrep "memchr" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1598 | fi | 1664 | fi | 
| 1599 |  | 1665 |  | 
| 1600 | if test $ac_cv_header_stdc = yes; then | 1666 | if test $ac_cv_header_stdc = yes; then | 
| 1601 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1667 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 1602 | cat > conftest.$ac_ext <<EOF | 1668 | cat > conftest.$ac_ext <<EOF | 
| 1603 | #line 1604 "configure" | 1669 | #line 1670 "configure" | 
| 1604 | #include "confdefs.h" | 1670 | #include "confdefs.h" | 
| 1605 | #include <stdlib.h> | 1671 | #include <stdlib.h> | 
| 1606 | EOF | 1672 | EOF | 
| 1607 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1673 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1608 | egrep "free" >/dev/null 2>&1; then | 1674 | egrep "free" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1619 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1685 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 1620 | if test "$cross_compiling" = yes; then | 1686 | if test "$cross_compiling" = yes; then | 
| 1621 | : | 1687 | : | 
| 1622 | else | 1688 | else | 
| 1623 | cat > conftest.$ac_ext <<EOF | 1689 | cat > conftest.$ac_ext <<EOF | 
| 1624 | #line 1625 "configure" | 1690 | #line 1691 "configure" | 
| 1625 | #include "confdefs.h" | 1691 | #include "confdefs.h" | 
| 1626 | #include <ctype.h> | 1692 | #include <ctype.h> | 
| 1627 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1693 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 1628 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1694 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 1629 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1695 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 1630 | int main () { int i; for (i = 0; i < 256; i++) | 1696 | int main () { int i; for (i = 0; i < 256; i++) | 
| 1631 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1697 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 
| 1632 | exit (0); } | 1698 | exit (0); } | 
| 1633 |  | 1699 |  | 
| 1634 | EOF | 1700 | EOF | 
| 1635 | if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1701 | if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1636 | then | 1702 | then | 
| 1637 | : | 1703 | : | 
| 1638 | else | 1704 | else | 
| 1639 | echo "configure: failed program was:" >&5 | 1705 | echo "configure: failed program was:" >&5 | 
| 1640 | cat conftest.$ac_ext >&5 | 1706 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1657 |  | 1723 |  | 
| 1658 | for ac_hdr in unistd.h | 1724 | for ac_hdr in unistd.h | 
| 1659 | do | 1725 | do | 
| 1660 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1726 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 
| 1661 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1727 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 
| 1662 | echo "configure:1663: checking for $ac_hdr" >&5 | 1728 | echo "configure:1729: checking for $ac_hdr" >&5 | 
| 1663 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1729 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 
| 1664 | echo $ac_n "(cached) $ac_c" 1>&6 | 1730 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1665 | else | 1731 | else | 
| 1666 | cat > conftest.$ac_ext <<EOF | 1732 | cat > conftest.$ac_ext <<EOF | 
| 1667 | #line 1668 "configure" | 1733 | #line 1734 "configure" | 
| 1668 | #include "confdefs.h" | 1734 | #include "confdefs.h" | 
| 1669 | #include <$ac_hdr> | 1735 | #include <$ac_hdr> | 
| 1670 | EOF | 1736 | EOF | 
| 1671 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1737 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1672 | { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1738 | { (eval echo configure:1739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1673 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1739 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1674 | if test -z "$ac_err"; then | 1740 | if test -z "$ac_err"; then | 
| 1675 | rm -rf conftest* | 1741 | rm -rf conftest* | 
| 1676 | eval "ac_cv_header_$ac_safe=yes" | 1742 | eval "ac_cv_header_$ac_safe=yes" | 
| 1677 | else | 1743 | else | 
| … |  | … |  | 
| 1695 | fi | 1761 | fi | 
| 1696 | done | 1762 | done | 
| 1697 |  | 1763 |  | 
| 1698 |  | 1764 |  | 
| 1699 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1765 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 
| 1700 | echo "configure:1701: checking for working const" >&5 | 1766 | echo "configure:1767: checking for working const" >&5 | 
| 1701 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1767 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 
| 1702 | echo $ac_n "(cached) $ac_c" 1>&6 | 1768 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1703 | else | 1769 | else | 
| 1704 | cat > conftest.$ac_ext <<EOF | 1770 | cat > conftest.$ac_ext <<EOF | 
| 1705 | #line 1706 "configure" | 1771 | #line 1772 "configure" | 
| 1706 | #include "confdefs.h" | 1772 | #include "confdefs.h" | 
| 1707 |  | 1773 |  | 
| 1708 | int main() { | 1774 | int main() { | 
| 1709 |  | 1775 |  | 
| 1710 | /* Ultrix mips cc rejects this.  */ | 1776 | /* Ultrix mips cc rejects this.  */ | 
| … |  | … |  | 
| 1749 | const int foo = 10; | 1815 | const int foo = 10; | 
| 1750 | } | 1816 | } | 
| 1751 |  | 1817 |  | 
| 1752 | ; return 0; } | 1818 | ; return 0; } | 
| 1753 | EOF | 1819 | EOF | 
| 1754 | if { (eval echo configure:1755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1820 | if { (eval echo configure:1821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1755 | rm -rf conftest* | 1821 | rm -rf conftest* | 
| 1756 | ac_cv_c_const=yes | 1822 | ac_cv_c_const=yes | 
| 1757 | else | 1823 | else | 
| 1758 | echo "configure: failed program was:" >&5 | 1824 | echo "configure: failed program was:" >&5 | 
| 1759 | cat conftest.$ac_ext >&5 | 1825 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1770 | EOF | 1836 | EOF | 
| 1771 |  | 1837 |  | 
| 1772 | fi | 1838 | fi | 
| 1773 |  | 1839 |  | 
| 1774 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 1840 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 
| 1775 | echo "configure:1776: checking for size_t" >&5 | 1841 | echo "configure:1842: checking for size_t" >&5 | 
| 1776 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 1842 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 
| 1777 | echo $ac_n "(cached) $ac_c" 1>&6 | 1843 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1778 | else | 1844 | else | 
| 1779 | cat > conftest.$ac_ext <<EOF | 1845 | cat > conftest.$ac_ext <<EOF | 
| 1780 | #line 1781 "configure" | 1846 | #line 1847 "configure" | 
| 1781 | #include "confdefs.h" | 1847 | #include "confdefs.h" | 
| 1782 | #include <sys/types.h> | 1848 | #include <sys/types.h> | 
| 1783 | #if STDC_HEADERS | 1849 | #if STDC_HEADERS | 
| 1784 | #include <stdlib.h> | 1850 | #include <stdlib.h> | 
| 1785 | #include <stddef.h> | 1851 | #include <stddef.h> | 
| … |  | … |  | 
| 1805 | fi | 1871 | fi | 
| 1806 |  | 1872 |  | 
| 1807 |  | 1873 |  | 
| 1808 |  | 1874 |  | 
| 1809 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 1875 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 
| 1810 | echo "configure:1811: checking size of char" >&5 | 1876 | echo "configure:1877: checking size of char" >&5 | 
| 1811 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 1877 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 
| 1812 | echo $ac_n "(cached) $ac_c" 1>&6 | 1878 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1813 | else | 1879 | else | 
| 1814 | if test "$cross_compiling" = yes; then | 1880 | if test "$cross_compiling" = yes; then | 
| 1815 | ac_cv_sizeof_char=1 | 1881 | ac_cv_sizeof_char=1 | 
| 1816 | else | 1882 | else | 
| 1817 | cat > conftest.$ac_ext <<EOF | 1883 | cat > conftest.$ac_ext <<EOF | 
| 1818 | #line 1819 "configure" | 1884 | #line 1885 "configure" | 
| 1819 | #include "confdefs.h" | 1885 | #include "confdefs.h" | 
| 1820 | #include <stdio.h> | 1886 | #include <stdio.h> | 
| 1821 | main() | 1887 | main() | 
| 1822 | { | 1888 | { | 
| 1823 | FILE *f=fopen("conftestval", "w"); | 1889 | FILE *f=fopen("conftestval", "w"); | 
| 1824 | if (!f) exit(1); | 1890 | if (!f) exit(1); | 
| 1825 | fprintf(f, "%d\n", sizeof(char)); | 1891 | fprintf(f, "%d\n", sizeof(char)); | 
| 1826 | exit(0); | 1892 | exit(0); | 
| 1827 | } | 1893 | } | 
| 1828 | EOF | 1894 | EOF | 
| 1829 | if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1895 | if { (eval echo configure:1896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1830 | then | 1896 | then | 
| 1831 | ac_cv_sizeof_char=`cat conftestval` | 1897 | ac_cv_sizeof_char=`cat conftestval` | 
| 1832 | else | 1898 | else | 
| 1833 | echo "configure: failed program was:" >&5 | 1899 | echo "configure: failed program was:" >&5 | 
| 1834 | cat conftest.$ac_ext >&5 | 1900 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1844 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 1910 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 
| 1845 | EOF | 1911 | EOF | 
| 1846 |  | 1912 |  | 
| 1847 |  | 1913 |  | 
| 1848 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 1914 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 
| 1849 | echo "configure:1850: checking size of short" >&5 | 1915 | echo "configure:1916: checking size of short" >&5 | 
| 1850 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 1916 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 
| 1851 | echo $ac_n "(cached) $ac_c" 1>&6 | 1917 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1852 | else | 1918 | else | 
| 1853 | if test "$cross_compiling" = yes; then | 1919 | if test "$cross_compiling" = yes; then | 
| 1854 | ac_cv_sizeof_short=1 | 1920 | ac_cv_sizeof_short=1 | 
| 1855 | else | 1921 | else | 
| 1856 | cat > conftest.$ac_ext <<EOF | 1922 | cat > conftest.$ac_ext <<EOF | 
| 1857 | #line 1858 "configure" | 1923 | #line 1924 "configure" | 
| 1858 | #include "confdefs.h" | 1924 | #include "confdefs.h" | 
| 1859 | #include <stdio.h> | 1925 | #include <stdio.h> | 
| 1860 | main() | 1926 | main() | 
| 1861 | { | 1927 | { | 
| 1862 | FILE *f=fopen("conftestval", "w"); | 1928 | FILE *f=fopen("conftestval", "w"); | 
| 1863 | if (!f) exit(1); | 1929 | if (!f) exit(1); | 
| 1864 | fprintf(f, "%d\n", sizeof(short)); | 1930 | fprintf(f, "%d\n", sizeof(short)); | 
| 1865 | exit(0); | 1931 | exit(0); | 
| 1866 | } | 1932 | } | 
| 1867 | EOF | 1933 | EOF | 
| 1868 | if { (eval echo configure:1869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1934 | if { (eval echo configure:1935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1869 | then | 1935 | then | 
| 1870 | ac_cv_sizeof_short=`cat conftestval` | 1936 | ac_cv_sizeof_short=`cat conftestval` | 
| 1871 | else | 1937 | else | 
| 1872 | echo "configure: failed program was:" >&5 | 1938 | echo "configure: failed program was:" >&5 | 
| 1873 | cat conftest.$ac_ext >&5 | 1939 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1883 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 1949 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| 1884 | EOF | 1950 | EOF | 
| 1885 |  | 1951 |  | 
| 1886 |  | 1952 |  | 
| 1887 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 1953 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 
| 1888 | echo "configure:1889: checking size of int" >&5 | 1954 | echo "configure:1955: checking size of int" >&5 | 
| 1889 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 1955 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 
| 1890 | echo $ac_n "(cached) $ac_c" 1>&6 | 1956 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1891 | else | 1957 | else | 
| 1892 | if test "$cross_compiling" = yes; then | 1958 | if test "$cross_compiling" = yes; then | 
| 1893 | ac_cv_sizeof_int=2 | 1959 | ac_cv_sizeof_int=2 | 
| 1894 | else | 1960 | else | 
| 1895 | cat > conftest.$ac_ext <<EOF | 1961 | cat > conftest.$ac_ext <<EOF | 
| 1896 | #line 1897 "configure" | 1962 | #line 1963 "configure" | 
| 1897 | #include "confdefs.h" | 1963 | #include "confdefs.h" | 
| 1898 | #include <stdio.h> | 1964 | #include <stdio.h> | 
| 1899 | main() | 1965 | main() | 
| 1900 | { | 1966 | { | 
| 1901 | FILE *f=fopen("conftestval", "w"); | 1967 | FILE *f=fopen("conftestval", "w"); | 
| 1902 | if (!f) exit(1); | 1968 | if (!f) exit(1); | 
| 1903 | fprintf(f, "%d\n", sizeof(int)); | 1969 | fprintf(f, "%d\n", sizeof(int)); | 
| 1904 | exit(0); | 1970 | exit(0); | 
| 1905 | } | 1971 | } | 
| 1906 | EOF | 1972 | EOF | 
| 1907 | if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1973 | if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1908 | then | 1974 | then | 
| 1909 | ac_cv_sizeof_int=`cat conftestval` | 1975 | ac_cv_sizeof_int=`cat conftestval` | 
| 1910 | else | 1976 | else | 
| 1911 | echo "configure: failed program was:" >&5 | 1977 | echo "configure: failed program was:" >&5 | 
| 1912 | cat conftest.$ac_ext >&5 | 1978 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1922 | #define SIZEOF_INT $ac_cv_sizeof_int | 1988 | #define SIZEOF_INT $ac_cv_sizeof_int | 
| 1923 | EOF | 1989 | EOF | 
| 1924 |  | 1990 |  | 
| 1925 |  | 1991 |  | 
| 1926 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 1992 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 
| 1927 | echo "configure:1928: checking size of long" >&5 | 1993 | echo "configure:1994: checking size of long" >&5 | 
| 1928 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 1994 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 
| 1929 | echo $ac_n "(cached) $ac_c" 1>&6 | 1995 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1930 | else | 1996 | else | 
| 1931 | if test "$cross_compiling" = yes; then | 1997 | if test "$cross_compiling" = yes; then | 
| 1932 | ac_cv_sizeof_long=4 | 1998 | ac_cv_sizeof_long=4 | 
| 1933 | else | 1999 | else | 
| 1934 | cat > conftest.$ac_ext <<EOF | 2000 | cat > conftest.$ac_ext <<EOF | 
| 1935 | #line 1936 "configure" | 2001 | #line 2002 "configure" | 
| 1936 | #include "confdefs.h" | 2002 | #include "confdefs.h" | 
| 1937 | #include <stdio.h> | 2003 | #include <stdio.h> | 
| 1938 | main() | 2004 | main() | 
| 1939 | { | 2005 | { | 
| 1940 | FILE *f=fopen("conftestval", "w"); | 2006 | FILE *f=fopen("conftestval", "w"); | 
| 1941 | if (!f) exit(1); | 2007 | if (!f) exit(1); | 
| 1942 | fprintf(f, "%d\n", sizeof(long)); | 2008 | fprintf(f, "%d\n", sizeof(long)); | 
| 1943 | exit(0); | 2009 | exit(0); | 
| 1944 | } | 2010 | } | 
| 1945 | EOF | 2011 | EOF | 
| 1946 | if { (eval echo configure:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2012 | if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1947 | then | 2013 | then | 
| 1948 | ac_cv_sizeof_long=`cat conftestval` | 2014 | ac_cv_sizeof_long=`cat conftestval` | 
| 1949 | else | 2015 | else | 
| 1950 | echo "configure: failed program was:" >&5 | 2016 | echo "configure: failed program was:" >&5 | 
| 1951 | cat conftest.$ac_ext >&5 | 2017 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1962 | EOF | 2028 | EOF | 
| 1963 |  | 2029 |  | 
| 1964 |  | 2030 |  | 
| 1965 |  | 2031 |  | 
| 1966 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 2032 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 
| 1967 | echo "configure:1968: checking for an 8 bit integer type" >&5 | 2033 | echo "configure:2034: checking for an 8 bit integer type" >&5 | 
| 1968 | if test $ac_cv_sizeof_char -ge 1 ; then | 2034 | if test $ac_cv_sizeof_char -ge 1 ; then | 
| 1969 | INT_8_BIT=char | 2035 | INT_8_BIT=char | 
| 1970 | echo "$ac_t""char" 1>&6 | 2036 | echo "$ac_t""char" 1>&6 | 
| 1971 | elif test $ac_cv_sizeof_short -ge 1 ; then | 2037 | elif test $ac_cv_sizeof_short -ge 1 ; then | 
| 1972 | INT_8_BIT=short | 2038 | INT_8_BIT=short | 
| … |  | … |  | 
| 1980 | else | 2046 | else | 
| 1981 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 2047 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 
| 1982 | fi | 2048 | fi | 
| 1983 |  | 2049 |  | 
| 1984 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 2050 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 
| 1985 | echo "configure:1986: checking for a 16 bit integer type" >&5 | 2051 | echo "configure:2052: checking for a 16 bit integer type" >&5 | 
| 1986 | if test $ac_cv_sizeof_char -ge 2 ; then | 2052 | if test $ac_cv_sizeof_char -ge 2 ; then | 
| 1987 | INT_16_BIT=char | 2053 | INT_16_BIT=char | 
| 1988 | echo "$ac_t""char" 1>&6 | 2054 | echo "$ac_t""char" 1>&6 | 
| 1989 | elif test $ac_cv_sizeof_short -ge 2 ; then | 2055 | elif test $ac_cv_sizeof_short -ge 2 ; then | 
| 1990 | INT_16_BIT=short | 2056 | INT_16_BIT=short | 
| … |  | … |  | 
| 1998 | else | 2064 | else | 
| 1999 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 2065 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 
| 2000 | fi | 2066 | fi | 
| 2001 |  | 2067 |  | 
| 2002 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 2068 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 
| 2003 | echo "configure:2004: checking for a 32 bit integer type" >&5 | 2069 | echo "configure:2070: checking for a 32 bit integer type" >&5 | 
| 2004 | if test $ac_cv_sizeof_char -ge 4 ; then | 2070 | if test $ac_cv_sizeof_char -ge 4 ; then | 
| 2005 | INT_32_BIT=char | 2071 | INT_32_BIT=char | 
| 2006 | echo "$ac_t""char" 1>&6 | 2072 | echo "$ac_t""char" 1>&6 | 
| 2007 | elif test $ac_cv_sizeof_short -ge 4 ; then | 2073 | elif test $ac_cv_sizeof_short -ge 4 ; then | 
| 2008 | INT_32_BIT=short | 2074 | INT_32_BIT=short | 
| … |  | … |  | 
| 2020 |  | 2086 |  | 
| 2021 |  | 2087 |  | 
| 2022 |  | 2088 |  | 
| 2023 |  | 2089 |  | 
| 2024 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 2090 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 
| 2025 | echo "configure:2026: checking for vprintf" >&5 | 2091 | echo "configure:2092: checking for vprintf" >&5 | 
| 2026 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 2092 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 
| 2027 | echo $ac_n "(cached) $ac_c" 1>&6 | 2093 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2028 | else | 2094 | else | 
| 2029 | cat > conftest.$ac_ext <<EOF | 2095 | cat > conftest.$ac_ext <<EOF | 
| 2030 | #line 2031 "configure" | 2096 | #line 2097 "configure" | 
| 2031 | #include "confdefs.h" | 2097 | #include "confdefs.h" | 
| 2032 | /* System header to define __stub macros and hopefully few prototypes, | 2098 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2033 | which can conflict with char vprintf(); below.  */ | 2099 | which can conflict with char vprintf(); below.  */ | 
| 2034 | #include <assert.h> | 2100 | #include <assert.h> | 
| 2035 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2101 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2048 | vprintf(); | 2114 | vprintf(); | 
| 2049 | #endif | 2115 | #endif | 
| 2050 |  | 2116 |  | 
| 2051 | ; return 0; } | 2117 | ; return 0; } | 
| 2052 | EOF | 2118 | EOF | 
| 2053 | if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2119 | if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2054 | rm -rf conftest* | 2120 | rm -rf conftest* | 
| 2055 | eval "ac_cv_func_vprintf=yes" | 2121 | eval "ac_cv_func_vprintf=yes" | 
| 2056 | else | 2122 | else | 
| 2057 | echo "configure: failed program was:" >&5 | 2123 | echo "configure: failed program was:" >&5 | 
| 2058 | cat conftest.$ac_ext >&5 | 2124 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2072 | echo "$ac_t""no" 1>&6 | 2138 | echo "$ac_t""no" 1>&6 | 
| 2073 | fi | 2139 | fi | 
| 2074 |  | 2140 |  | 
| 2075 | if test "$ac_cv_func_vprintf" != yes; then | 2141 | if test "$ac_cv_func_vprintf" != yes; then | 
| 2076 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 2142 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 
| 2077 | echo "configure:2078: checking for _doprnt" >&5 | 2143 | echo "configure:2144: checking for _doprnt" >&5 | 
| 2078 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 2144 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 
| 2079 | echo $ac_n "(cached) $ac_c" 1>&6 | 2145 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2080 | else | 2146 | else | 
| 2081 | cat > conftest.$ac_ext <<EOF | 2147 | cat > conftest.$ac_ext <<EOF | 
| 2082 | #line 2083 "configure" | 2148 | #line 2149 "configure" | 
| 2083 | #include "confdefs.h" | 2149 | #include "confdefs.h" | 
| 2084 | /* System header to define __stub macros and hopefully few prototypes, | 2150 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2085 | which can conflict with char _doprnt(); below.  */ | 2151 | which can conflict with char _doprnt(); below.  */ | 
| 2086 | #include <assert.h> | 2152 | #include <assert.h> | 
| 2087 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2153 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2100 | _doprnt(); | 2166 | _doprnt(); | 
| 2101 | #endif | 2167 | #endif | 
| 2102 |  | 2168 |  | 
| 2103 | ; return 0; } | 2169 | ; return 0; } | 
| 2104 | EOF | 2170 | EOF | 
| 2105 | if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2171 | if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2106 | rm -rf conftest* | 2172 | rm -rf conftest* | 
| 2107 | eval "ac_cv_func__doprnt=yes" | 2173 | eval "ac_cv_func__doprnt=yes" | 
| 2108 | else | 2174 | else | 
| 2109 | echo "configure: failed program was:" >&5 | 2175 | echo "configure: failed program was:" >&5 | 
| 2110 | cat conftest.$ac_ext >&5 | 2176 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2127 | fi | 2193 | fi | 
| 2128 |  | 2194 |  | 
| 2129 | for ac_func in strdup | 2195 | for ac_func in strdup | 
| 2130 | do | 2196 | do | 
| 2131 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2197 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2132 | echo "configure:2133: checking for $ac_func" >&5 | 2198 | echo "configure:2199: checking for $ac_func" >&5 | 
| 2133 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2199 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2134 | echo $ac_n "(cached) $ac_c" 1>&6 | 2200 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2135 | else | 2201 | else | 
| 2136 | cat > conftest.$ac_ext <<EOF | 2202 | cat > conftest.$ac_ext <<EOF | 
| 2137 | #line 2138 "configure" | 2203 | #line 2204 "configure" | 
| 2138 | #include "confdefs.h" | 2204 | #include "confdefs.h" | 
| 2139 | /* System header to define __stub macros and hopefully few prototypes, | 2205 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2140 | which can conflict with char $ac_func(); below.  */ | 2206 | which can conflict with char $ac_func(); below.  */ | 
| 2141 | #include <assert.h> | 2207 | #include <assert.h> | 
| 2142 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2208 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2155 | $ac_func(); | 2221 | $ac_func(); | 
| 2156 | #endif | 2222 | #endif | 
| 2157 |  | 2223 |  | 
| 2158 | ; return 0; } | 2224 | ; return 0; } | 
| 2159 | EOF | 2225 | EOF | 
| 2160 | if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2226 | if { (eval echo configure:2227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2161 | rm -rf conftest* | 2227 | rm -rf conftest* | 
| 2162 | eval "ac_cv_func_$ac_func=yes" | 2228 | eval "ac_cv_func_$ac_func=yes" | 
| 2163 | else | 2229 | else | 
| 2164 | echo "configure: failed program was:" >&5 | 2230 | echo "configure: failed program was:" >&5 | 
| 2165 | cat conftest.$ac_ext >&5 | 2231 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2182 | done | 2248 | done | 
| 2183 |  | 2249 |  | 
| 2184 | for ac_func in strdup | 2250 | for ac_func in strdup | 
| 2185 | do | 2251 | do | 
| 2186 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2252 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2187 | echo "configure:2188: checking for $ac_func" >&5 | 2253 | echo "configure:2254: checking for $ac_func" >&5 | 
| 2188 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2254 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2189 | echo $ac_n "(cached) $ac_c" 1>&6 | 2255 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2190 | else | 2256 | else | 
| 2191 | cat > conftest.$ac_ext <<EOF | 2257 | cat > conftest.$ac_ext <<EOF | 
| 2192 | #line 2193 "configure" | 2258 | #line 2259 "configure" | 
| 2193 | #include "confdefs.h" | 2259 | #include "confdefs.h" | 
| 2194 | /* System header to define __stub macros and hopefully few prototypes, | 2260 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2195 | which can conflict with char $ac_func(); below.  */ | 2261 | which can conflict with char $ac_func(); below.  */ | 
| 2196 | #include <assert.h> | 2262 | #include <assert.h> | 
| 2197 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2263 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2210 | $ac_func(); | 2276 | $ac_func(); | 
| 2211 | #endif | 2277 | #endif | 
| 2212 |  | 2278 |  | 
| 2213 | ; return 0; } | 2279 | ; return 0; } | 
| 2214 | EOF | 2280 | EOF | 
| 2215 | if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2281 | if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2216 | rm -rf conftest* | 2282 | rm -rf conftest* | 
| 2217 | eval "ac_cv_func_$ac_func=yes" | 2283 | eval "ac_cv_func_$ac_func=yes" | 
| 2218 | else | 2284 | else | 
| 2219 | echo "configure: failed program was:" >&5 | 2285 | echo "configure: failed program was:" >&5 | 
| 2220 | cat conftest.$ac_ext >&5 | 2286 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2485 | s%@CC@%$CC%g | 2551 | s%@CC@%$CC%g | 
| 2486 | s%@LD@%$LD%g | 2552 | s%@LD@%$LD%g | 
| 2487 | s%@NM@%$NM%g | 2553 | s%@NM@%$NM%g | 
| 2488 | s%@LN_S@%$LN_S%g | 2554 | s%@LN_S@%$LN_S%g | 
| 2489 | s%@LIBTOOL@%$LIBTOOL%g | 2555 | s%@LIBTOOL@%$LIBTOOL%g | 
|  |  | 2556 | s%@LIB_MAGICK@%$LIB_MAGICK%g | 
| 2490 | s%@CPP@%$CPP%g | 2557 | s%@CPP@%$CPP%g | 
| 2491 | s%@INT_8_BIT@%$INT_8_BIT%g | 2558 | s%@INT_8_BIT@%$INT_8_BIT%g | 
| 2492 | s%@INT_16_BIT@%$INT_16_BIT%g | 2559 | s%@INT_16_BIT@%$INT_16_BIT%g | 
| 2493 | s%@INT_32_BIT@%$INT_32_BIT%g | 2560 | s%@INT_32_BIT@%$INT_32_BIT%g | 
| 2494 | s%@LIBOBJS@%$LIBOBJS%g | 2561 | s%@LIBOBJS@%$LIBOBJS%g |