| … |  | … |  | 
| 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 | 24 | ac_help="$ac_help | 
|  |  | 25 | --with-imagemagick      enable ImageMagick (default = yes)" | 
|  |  | 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 | 
| 29 | --enable-ascii-docs     Enable generation of ASCII docs (default: off)" | 31 | --enable-ascii-docs     Enable generation of ASCII docs (default: off)" | 
| 30 | ac_help="$ac_help | 32 | ac_help="$ac_help | 
| 31 | --enable-rtf-docs       Enable generation of RTF docs (default: off)" | 33 | --enable-rtf-docs       Enable generation of RTF docs (default: off)" | 
|  |  | 34 | ac_help="$ac_help | 
|  |  | 35 | --enable-compile-warnings=[no/minimum/yes]       Turn on compiler warnings." | 
|  |  | 36 | ac_help="$ac_help | 
|  |  | 37 | --enable-iso-c          Try to warn if code is not ISO C " | 
| 32 |  | 38 |  | 
| 33 | # Initialize some variables set by options. | 39 | # Initialize some variables set by options. | 
| 34 | # The variables have the same names as the options, with | 40 | # The variables have the same names as the options, with | 
| 35 | # dashes changed to underlines. | 41 | # dashes changed to underlines. | 
| 36 | build=NONE | 42 | build=NONE | 
| … |  | … |  | 
| 568 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 574 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 569 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 575 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 570 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 576 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 571 | # ./install, which can be erroneously created by make from ./install.sh. | 577 | # ./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 | 578 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 
| 573 | echo "configure:574: checking for a BSD compatible install" >&5 | 579 | echo "configure:580: checking for a BSD compatible install" >&5 | 
| 574 | if test -z "$INSTALL"; then | 580 | if test -z "$INSTALL"; then | 
| 575 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 581 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 
| 576 | echo $ac_n "(cached) $ac_c" 1>&6 | 582 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 577 | else | 583 | else | 
| 578 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 584 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 
| … |  | … |  | 
| 621 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 627 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 
| 622 |  | 628 |  | 
| 623 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 629 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 624 |  | 630 |  | 
| 625 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 631 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 
| 626 | echo "configure:627: checking whether build environment is sane" >&5 | 632 | echo "configure:633: checking whether build environment is sane" >&5 | 
| 627 | # Just in case | 633 | # Just in case | 
| 628 | sleep 1 | 634 | sleep 1 | 
| 629 | echo timestamp > conftestfile | 635 | echo timestamp > conftestfile | 
| 630 | # Do `set' in a subshell so we don't clobber the current shell's | 636 | # 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 | 637 | # arguments.  Must try -L first in case configure is actually a | 
| … |  | … |  | 
| 678 |  | 684 |  | 
| 679 | # sed with no file args requires a program. | 685 | # sed with no file args requires a program. | 
| 680 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 686 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 
| 681 |  | 687 |  | 
| 682 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 688 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 
| 683 | echo "configure:684: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 689 | echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 
| 684 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 690 | 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 | 691 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 
| 686 | echo $ac_n "(cached) $ac_c" 1>&6 | 692 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 687 | else | 693 | else | 
| 688 | cat > conftestmake <<\EOF | 694 | cat > conftestmake <<\EOF | 
| … |  | … |  | 
| 707 | fi | 713 | fi | 
| 708 |  | 714 |  | 
| 709 |  | 715 |  | 
| 710 | PACKAGE=psiconv | 716 | PACKAGE=psiconv | 
| 711 |  | 717 |  | 
| 712 | VERSION=0.5.0 | 718 | VERSION=0.5.0a | 
| 713 |  | 719 |  | 
| 714 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 720 | 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; } | 721 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 
| 716 | fi | 722 | fi | 
| 717 | cat >> confdefs.h <<EOF | 723 | cat >> confdefs.h <<EOF | 
| … |  | … |  | 
| 724 |  | 730 |  | 
| 725 |  | 731 |  | 
| 726 |  | 732 |  | 
| 727 | missing_dir=`cd $ac_aux_dir && pwd` | 733 | missing_dir=`cd $ac_aux_dir && pwd` | 
| 728 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 734 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 
| 729 | echo "configure:730: checking for working aclocal" >&5 | 735 | echo "configure:736: checking for working aclocal" >&5 | 
| 730 | # Run test in a subshell; some versions of sh will print an error if | 736 | # 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. | 737 | # an executable is not found, even if stderr is redirected. | 
| 732 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 738 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 733 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 739 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 
| 734 | ACLOCAL=aclocal | 740 | ACLOCAL=aclocal | 
| … |  | … |  | 
| 737 | ACLOCAL="$missing_dir/missing aclocal" | 743 | ACLOCAL="$missing_dir/missing aclocal" | 
| 738 | echo "$ac_t""missing" 1>&6 | 744 | echo "$ac_t""missing" 1>&6 | 
| 739 | fi | 745 | fi | 
| 740 |  | 746 |  | 
| 741 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 747 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 
| 742 | echo "configure:743: checking for working autoconf" >&5 | 748 | echo "configure:749: checking for working autoconf" >&5 | 
| 743 | # Run test in a subshell; some versions of sh will print an error if | 749 | # 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. | 750 | # an executable is not found, even if stderr is redirected. | 
| 745 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 751 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 746 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 752 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 
| 747 | AUTOCONF=autoconf | 753 | AUTOCONF=autoconf | 
| … |  | … |  | 
| 750 | AUTOCONF="$missing_dir/missing autoconf" | 756 | AUTOCONF="$missing_dir/missing autoconf" | 
| 751 | echo "$ac_t""missing" 1>&6 | 757 | echo "$ac_t""missing" 1>&6 | 
| 752 | fi | 758 | fi | 
| 753 |  | 759 |  | 
| 754 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 760 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 
| 755 | echo "configure:756: checking for working automake" >&5 | 761 | echo "configure:762: checking for working automake" >&5 | 
| 756 | # Run test in a subshell; some versions of sh will print an error if | 762 | # 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. | 763 | # an executable is not found, even if stderr is redirected. | 
| 758 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 764 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 759 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 765 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 
| 760 | AUTOMAKE=automake | 766 | AUTOMAKE=automake | 
| … |  | … |  | 
| 763 | AUTOMAKE="$missing_dir/missing automake" | 769 | AUTOMAKE="$missing_dir/missing automake" | 
| 764 | echo "$ac_t""missing" 1>&6 | 770 | echo "$ac_t""missing" 1>&6 | 
| 765 | fi | 771 | fi | 
| 766 |  | 772 |  | 
| 767 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 773 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 
| 768 | echo "configure:769: checking for working autoheader" >&5 | 774 | echo "configure:775: checking for working autoheader" >&5 | 
| 769 | # Run test in a subshell; some versions of sh will print an error if | 775 | # 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. | 776 | # an executable is not found, even if stderr is redirected. | 
| 771 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 777 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 772 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 778 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 
| 773 | AUTOHEADER=autoheader | 779 | AUTOHEADER=autoheader | 
| … |  | … |  | 
| 776 | AUTOHEADER="$missing_dir/missing autoheader" | 782 | AUTOHEADER="$missing_dir/missing autoheader" | 
| 777 | echo "$ac_t""missing" 1>&6 | 783 | echo "$ac_t""missing" 1>&6 | 
| 778 | fi | 784 | fi | 
| 779 |  | 785 |  | 
| 780 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 786 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 
| 781 | echo "configure:782: checking for working makeinfo" >&5 | 787 | echo "configure:788: checking for working makeinfo" >&5 | 
| 782 | # Run test in a subshell; some versions of sh will print an error if | 788 | # 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. | 789 | # an executable is not found, even if stderr is redirected. | 
| 784 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 790 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 785 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 791 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 
| 786 | MAKEINFO=makeinfo | 792 | MAKEINFO=makeinfo | 
| … |  | … |  | 
| 870 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 876 | 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; } | 877 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 
| 872 | fi | 878 | fi | 
| 873 |  | 879 |  | 
| 874 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 880 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 
| 875 | echo "configure:876: checking host system type" >&5 | 881 | echo "configure:882: checking host system type" >&5 | 
| 876 |  | 882 |  | 
| 877 | host_alias=$host | 883 | host_alias=$host | 
| 878 | case "$host_alias" in | 884 | case "$host_alias" in | 
| 879 | NONE) | 885 | NONE) | 
| 880 | case $nonopt in | 886 | case $nonopt in | 
| … |  | … |  | 
| 891 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 897 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 892 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 898 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 893 | echo "$ac_t""$host" 1>&6 | 899 | echo "$ac_t""$host" 1>&6 | 
| 894 |  | 900 |  | 
| 895 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 901 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 
| 896 | echo "configure:897: checking build system type" >&5 | 902 | echo "configure:903: checking build system type" >&5 | 
| 897 |  | 903 |  | 
| 898 | build_alias=$build | 904 | build_alias=$build | 
| 899 | case "$build_alias" in | 905 | case "$build_alias" in | 
| 900 | NONE) | 906 | NONE) | 
| 901 | case $nonopt in | 907 | case $nonopt in | 
| … |  | … |  | 
| 911 | echo "$ac_t""$build" 1>&6 | 917 | echo "$ac_t""$build" 1>&6 | 
| 912 |  | 918 |  | 
| 913 | # Extract the first word of "ranlib", so it can be a program name with args. | 919 | # Extract the first word of "ranlib", so it can be a program name with args. | 
| 914 | set dummy ranlib; ac_word=$2 | 920 | set dummy ranlib; ac_word=$2 | 
| 915 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 921 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 916 | echo "configure:917: checking for $ac_word" >&5 | 922 | echo "configure:923: checking for $ac_word" >&5 | 
| 917 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 923 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
| 918 | echo $ac_n "(cached) $ac_c" 1>&6 | 924 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 919 | else | 925 | else | 
| 920 | if test -n "$RANLIB"; then | 926 | if test -n "$RANLIB"; then | 
| 921 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 927 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| … |  | … |  | 
| 941 | fi | 947 | fi | 
| 942 |  | 948 |  | 
| 943 | # Extract the first word of "gcc", so it can be a program name with args. | 949 | # Extract the first word of "gcc", so it can be a program name with args. | 
| 944 | set dummy gcc; ac_word=$2 | 950 | set dummy gcc; ac_word=$2 | 
| 945 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 951 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 946 | echo "configure:947: checking for $ac_word" >&5 | 952 | echo "configure:953: checking for $ac_word" >&5 | 
| 947 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 953 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 948 | echo $ac_n "(cached) $ac_c" 1>&6 | 954 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 949 | else | 955 | else | 
| 950 | if test -n "$CC"; then | 956 | if test -n "$CC"; then | 
| 951 | ac_cv_prog_CC="$CC" # Let the user override the test. | 957 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 971 |  | 977 |  | 
| 972 | if test -z "$CC"; then | 978 | if test -z "$CC"; then | 
| 973 | # Extract the first word of "cc", so it can be a program name with args. | 979 | # Extract the first word of "cc", so it can be a program name with args. | 
| 974 | set dummy cc; ac_word=$2 | 980 | set dummy cc; ac_word=$2 | 
| 975 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 981 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 976 | echo "configure:977: checking for $ac_word" >&5 | 982 | echo "configure:983: checking for $ac_word" >&5 | 
| 977 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 983 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 978 | echo $ac_n "(cached) $ac_c" 1>&6 | 984 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 979 | else | 985 | else | 
| 980 | if test -n "$CC"; then | 986 | if test -n "$CC"; then | 
| 981 | ac_cv_prog_CC="$CC" # Let the user override the test. | 987 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1022 | case "`uname -s`" in | 1028 | case "`uname -s`" in | 
| 1023 | *win32* | *WIN32*) | 1029 | *win32* | *WIN32*) | 
| 1024 | # Extract the first word of "cl", so it can be a program name with args. | 1030 | # Extract the first word of "cl", so it can be a program name with args. | 
| 1025 | set dummy cl; ac_word=$2 | 1031 | set dummy cl; ac_word=$2 | 
| 1026 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1032 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 1027 | echo "configure:1028: checking for $ac_word" >&5 | 1033 | echo "configure:1034: checking for $ac_word" >&5 | 
| 1028 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1034 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 1029 | echo $ac_n "(cached) $ac_c" 1>&6 | 1035 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1030 | else | 1036 | else | 
| 1031 | if test -n "$CC"; then | 1037 | if test -n "$CC"; then | 
| 1032 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1038 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1054 | fi | 1060 | fi | 
| 1055 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1061 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 
| 1056 | fi | 1062 | fi | 
| 1057 |  | 1063 |  | 
| 1058 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1064 | 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 | 1065 | echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 
| 1060 |  | 1066 |  | 
| 1061 | ac_ext=c | 1067 | ac_ext=c | 
| 1062 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1068 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
| 1063 | ac_cpp='$CPP $CPPFLAGS' | 1069 | ac_cpp='$CPP $CPPFLAGS' | 
| 1064 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1070 | 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' | 1071 | 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 | 1072 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1067 |  | 1073 |  | 
| 1068 | cat > conftest.$ac_ext << EOF | 1074 | cat > conftest.$ac_ext << EOF | 
| 1069 |  | 1075 |  | 
| 1070 | #line 1071 "configure" | 1076 | #line 1077 "configure" | 
| 1071 | #include "confdefs.h" | 1077 | #include "confdefs.h" | 
| 1072 |  | 1078 |  | 
| 1073 | main(){return(0);} | 1079 | main(){return(0);} | 
| 1074 | EOF | 1080 | EOF | 
| 1075 | if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1081 | if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1076 | ac_cv_prog_cc_works=yes | 1082 | ac_cv_prog_cc_works=yes | 
| 1077 | # If we can't run a trivial program, we are probably using a cross compiler. | 1083 | # If we can't run a trivial program, we are probably using a cross compiler. | 
| 1078 | if (./conftest; exit) 2>/dev/null; then | 1084 | if (./conftest; exit) 2>/dev/null; then | 
| 1079 | ac_cv_prog_cc_cross=no | 1085 | ac_cv_prog_cc_cross=no | 
| 1080 | else | 1086 | else | 
| … |  | … |  | 
| 1096 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1102 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 
| 1097 | if test $ac_cv_prog_cc_works = no; then | 1103 | 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; } | 1104 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 
| 1099 | fi | 1105 | fi | 
| 1100 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1106 | 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 | 1107 | echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 
| 1102 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1108 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 
| 1103 | cross_compiling=$ac_cv_prog_cc_cross | 1109 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1104 |  | 1110 |  | 
| 1105 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1111 | 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 | 1112 | echo "configure:1113: checking whether we are using GNU C" >&5 | 
| 1107 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1113 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 
| 1108 | echo $ac_n "(cached) $ac_c" 1>&6 | 1114 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1109 | else | 1115 | else | 
| 1110 | cat > conftest.c <<EOF | 1116 | cat > conftest.c <<EOF | 
| 1111 | #ifdef __GNUC__ | 1117 | #ifdef __GNUC__ | 
| 1112 | yes; | 1118 | yes; | 
| 1113 | #endif | 1119 | #endif | 
| 1114 | EOF | 1120 | 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 | 1121 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 
| 1116 | ac_cv_prog_gcc=yes | 1122 | ac_cv_prog_gcc=yes | 
| 1117 | else | 1123 | else | 
| 1118 | ac_cv_prog_gcc=no | 1124 | ac_cv_prog_gcc=no | 
| 1119 | fi | 1125 | fi | 
| 1120 | fi | 1126 | fi | 
| … |  | … |  | 
| 1129 |  | 1135 |  | 
| 1130 | ac_test_CFLAGS="${CFLAGS+set}" | 1136 | ac_test_CFLAGS="${CFLAGS+set}" | 
| 1131 | ac_save_CFLAGS="$CFLAGS" | 1137 | ac_save_CFLAGS="$CFLAGS" | 
| 1132 | CFLAGS= | 1138 | CFLAGS= | 
| 1133 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1139 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 
| 1134 | echo "configure:1135: checking whether ${CC-cc} accepts -g" >&5 | 1140 | echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5 | 
| 1135 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1141 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 
| 1136 | echo $ac_n "(cached) $ac_c" 1>&6 | 1142 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1137 | else | 1143 | else | 
| 1138 | echo 'void f(){}' > conftest.c | 1144 | echo 'void f(){}' > conftest.c | 
| 1139 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1145 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 
| … |  | … |  | 
| 1172 |  | 1178 |  | 
| 1173 | ac_prog=ld | 1179 | ac_prog=ld | 
| 1174 | if test "$ac_cv_prog_gcc" = yes; then | 1180 | if test "$ac_cv_prog_gcc" = yes; then | 
| 1175 | # Check if gcc -print-prog-name=ld gives a path. | 1181 | # Check if gcc -print-prog-name=ld gives a path. | 
| 1176 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 1182 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 
| 1177 | echo "configure:1178: checking for ld used by GCC" >&5 | 1183 | echo "configure:1184: checking for ld used by GCC" >&5 | 
| 1178 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 1184 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 
| 1179 | case "$ac_prog" in | 1185 | case "$ac_prog" in | 
| 1180 | # Accept absolute paths. | 1186 | # Accept absolute paths. | 
| 1181 | [\\/]* | [A-Za-z]:[\\/]*) | 1187 | [\\/]* | [A-Za-z]:[\\/]*) | 
| 1182 | re_direlt='/[^/][^/]*/\.\./' | 1188 | re_direlt='/[^/][^/]*/\.\./' | 
| … |  | … |  | 
| 1196 | with_gnu_ld=unknown | 1202 | with_gnu_ld=unknown | 
| 1197 | ;; | 1203 | ;; | 
| 1198 | esac | 1204 | esac | 
| 1199 | elif test "$with_gnu_ld" = yes; then | 1205 | elif test "$with_gnu_ld" = yes; then | 
| 1200 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 1206 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 
| 1201 | echo "configure:1202: checking for GNU ld" >&5 | 1207 | echo "configure:1208: checking for GNU ld" >&5 | 
| 1202 | else | 1208 | else | 
| 1203 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 1209 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 
| 1204 | echo "configure:1205: checking for non-GNU ld" >&5 | 1210 | echo "configure:1211: checking for non-GNU ld" >&5 | 
| 1205 | fi | 1211 | fi | 
| 1206 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 1212 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 
| 1207 | echo $ac_n "(cached) $ac_c" 1>&6 | 1213 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1208 | else | 1214 | else | 
| 1209 | if test -z "$LD"; then | 1215 | if test -z "$LD"; then | 
| … |  | … |  | 
| 1235 | echo "$ac_t""no" 1>&6 | 1241 | echo "$ac_t""no" 1>&6 | 
| 1236 | fi | 1242 | fi | 
| 1237 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 1243 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 
| 1238 |  | 1244 |  | 
| 1239 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1245 | 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 | 1246 | echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5 | 
| 1241 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 1247 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 
| 1242 | echo $ac_n "(cached) $ac_c" 1>&6 | 1248 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1243 | else | 1249 | else | 
| 1244 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 1250 | # 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 | 1251 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
| … |  | … |  | 
| 1251 |  | 1257 |  | 
| 1252 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 1258 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 
| 1253 |  | 1259 |  | 
| 1254 |  | 1260 |  | 
| 1255 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1261 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 
| 1256 | echo "configure:1257: checking for BSD-compatible nm" >&5 | 1262 | echo "configure:1263: checking for BSD-compatible nm" >&5 | 
| 1257 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 1263 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 
| 1258 | echo $ac_n "(cached) $ac_c" 1>&6 | 1264 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1259 | else | 1265 | else | 
| 1260 | if test -n "$NM"; then | 1266 | if test -n "$NM"; then | 
| 1261 | # Let the user override the test. | 1267 | # Let the user override the test. | 
| … |  | … |  | 
| 1288 | NM="$ac_cv_path_NM" | 1294 | NM="$ac_cv_path_NM" | 
| 1289 | echo "$ac_t""$NM" 1>&6 | 1295 | echo "$ac_t""$NM" 1>&6 | 
| 1290 |  | 1296 |  | 
| 1291 |  | 1297 |  | 
| 1292 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1298 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 
| 1293 | echo "configure:1294: checking whether ln -s works" >&5 | 1299 | echo "configure:1300: checking whether ln -s works" >&5 | 
| 1294 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1300 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 
| 1295 | echo $ac_n "(cached) $ac_c" 1>&6 | 1301 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1296 | else | 1302 | else | 
| 1297 | rm -f conftestdata | 1303 | rm -f conftestdata | 
| 1298 | if ln -s X conftestdata 2>/dev/null | 1304 | if ln -s X conftestdata 2>/dev/null | 
| … |  | … |  | 
| 1332 | # Some flags need to be propagated to the compiler or linker for good | 1338 | # Some flags need to be propagated to the compiler or linker for good | 
| 1333 | # libtool support. | 1339 | # libtool support. | 
| 1334 | case "$host" in | 1340 | case "$host" in | 
| 1335 | *-*-irix6*) | 1341 | *-*-irix6*) | 
| 1336 | # Find out which ABI we are using. | 1342 | # Find out which ABI we are using. | 
| 1337 | echo '#line 1338 "configure"' > conftest.$ac_ext | 1343 | echo '#line 1344 "configure"' > conftest.$ac_ext | 
| 1338 | if { (eval echo configure:1339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1344 | if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1339 | case "`/usr/bin/file conftest.o`" in | 1345 | case "`/usr/bin/file conftest.o`" in | 
| 1340 | *32-bit*) | 1346 | *32-bit*) | 
| 1341 | LD="${LD-ld} -32" | 1347 | LD="${LD-ld} -32" | 
| 1342 | ;; | 1348 | ;; | 
| 1343 | *N32*) | 1349 | *N32*) | 
| … |  | … |  | 
| 1354 | *-*-sco3.2v5*) | 1360 | *-*-sco3.2v5*) | 
| 1355 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 1361 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
| 1356 | SAVE_CFLAGS="$CFLAGS" | 1362 | SAVE_CFLAGS="$CFLAGS" | 
| 1357 | CFLAGS="$CFLAGS -belf" | 1363 | CFLAGS="$CFLAGS -belf" | 
| 1358 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 1364 | 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 | 1365 | echo "configure:1366: checking whether the C compiler needs -belf" >&5 | 
| 1360 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 1366 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 
| 1361 | echo $ac_n "(cached) $ac_c" 1>&6 | 1367 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1362 | else | 1368 | else | 
| 1363 | cat > conftest.$ac_ext <<EOF | 1369 | cat > conftest.$ac_ext <<EOF | 
| 1364 | #line 1365 "configure" | 1370 | #line 1371 "configure" | 
| 1365 | #include "confdefs.h" | 1371 | #include "confdefs.h" | 
| 1366 |  | 1372 |  | 
| 1367 | int main() { | 1373 | int main() { | 
| 1368 |  | 1374 |  | 
| 1369 | ; return 0; } | 1375 | ; return 0; } | 
| 1370 | EOF | 1376 | EOF | 
| 1371 | if { (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1377 | if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1372 | rm -rf conftest* | 1378 | rm -rf conftest* | 
| 1373 | lt_cv_cc_needs_belf=yes | 1379 | lt_cv_cc_needs_belf=yes | 
| 1374 | else | 1380 | else | 
| 1375 | echo "configure: failed program was:" >&5 | 1381 | echo "configure: failed program was:" >&5 | 
| 1376 | cat conftest.$ac_ext >&5 | 1382 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1468 | # Redirect the config.log output again, so that the ltconfig log is not | 1474 | # Redirect the config.log output again, so that the ltconfig log is not | 
| 1469 | # clobbered by the next message. | 1475 | # clobbered by the next message. | 
| 1470 | exec 5>>./config.log | 1476 | exec 5>>./config.log | 
| 1471 |  | 1477 |  | 
| 1472 |  | 1478 |  | 
|  |  | 1479 | # Check whether --with-imagemagick or --without-imagemagick was given. | 
|  |  | 1480 | if test "${with_imagemagick+set}" = set; then | 
|  |  | 1481 | withval="$with_imagemagick" | 
|  |  | 1482 | IMAGEMAGICK=$withval | 
|  |  | 1483 | else | 
|  |  | 1484 | IMAGEMAGICK='yes' | 
|  |  | 1485 | fi | 
|  |  | 1486 |  | 
|  |  | 1487 | if test x"$IMAGEMAGICK" != xno ; then | 
|  |  | 1488 | echo $ac_n "checking for MagickWarning in -lMagick""... $ac_c" 1>&6 | 
|  |  | 1489 | echo "configure:1490: checking for MagickWarning in -lMagick" >&5 | 
|  |  | 1490 | ac_lib_var=`echo Magick'_'MagickWarning | sed 'y%./+-%__p_%'` | 
|  |  | 1491 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 
|  |  | 1492 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|  |  | 1493 | else | 
|  |  | 1494 | ac_save_LIBS="$LIBS" | 
|  |  | 1495 | LIBS="-lMagick  $LIBS" | 
|  |  | 1496 | cat > conftest.$ac_ext <<EOF | 
|  |  | 1497 | #line 1498 "configure" | 
|  |  | 1498 | #include "confdefs.h" | 
|  |  | 1499 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 1500 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 1501 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 1502 | char MagickWarning(); | 
|  |  | 1503 |  | 
|  |  | 1504 | int main() { | 
|  |  | 1505 | MagickWarning() | 
|  |  | 1506 | ; return 0; } | 
|  |  | 1507 | EOF | 
|  |  | 1508 | if { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
|  |  | 1509 | rm -rf conftest* | 
|  |  | 1510 | eval "ac_cv_lib_$ac_lib_var=yes" | 
|  |  | 1511 | else | 
|  |  | 1512 | echo "configure: failed program was:" >&5 | 
|  |  | 1513 | cat conftest.$ac_ext >&5 | 
|  |  | 1514 | rm -rf conftest* | 
|  |  | 1515 | eval "ac_cv_lib_$ac_lib_var=no" | 
|  |  | 1516 | fi | 
|  |  | 1517 | rm -f conftest* | 
|  |  | 1518 | LIBS="$ac_save_LIBS" | 
|  |  | 1519 |  | 
|  |  | 1520 | fi | 
|  |  | 1521 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 
|  |  | 1522 | echo "$ac_t""yes" 1>&6 | 
|  |  | 1523 | IMAGEMAGICK=yes | 
|  |  | 1524 | else | 
|  |  | 1525 | echo "$ac_t""no" 1>&6 | 
|  |  | 1526 | IMAGEMAGICK=no | 
|  |  | 1527 | fi | 
|  |  | 1528 |  | 
|  |  | 1529 | if test x"$IMAGEMAGICK" = xno ; then | 
|  |  | 1530 | echo "configure: warning: ImageMagick support disabled!" 1>&2 | 
|  |  | 1531 | fi | 
|  |  | 1532 | fi | 
|  |  | 1533 | if test x"$IMAGEMAGICK" = xyes ; then | 
|  |  | 1534 | LIB_MAGICK=-lMagick | 
|  |  | 1535 | cat >> confdefs.h <<\EOF | 
|  |  | 1536 | #define IMAGEMAGICK 1 | 
|  |  | 1537 | EOF | 
|  |  | 1538 |  | 
|  |  | 1539 | else | 
|  |  | 1540 | LIB_MAGICK= | 
|  |  | 1541 | fi | 
|  |  | 1542 |  | 
| 1473 |  | 1543 |  | 
| 1474 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1544 | 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 | 1545 | echo "configure:1546: checking how to run the C preprocessor" >&5 | 
| 1476 | # On Suns, sometimes $CPP names a directory. | 1546 | # On Suns, sometimes $CPP names a directory. | 
| 1477 | if test -n "$CPP" && test -d "$CPP"; then | 1547 | if test -n "$CPP" && test -d "$CPP"; then | 
| 1478 | CPP= | 1548 | CPP= | 
| 1479 | fi | 1549 | fi | 
| 1480 | if test -z "$CPP"; then | 1550 | if test -z "$CPP"; then | 
| … |  | … |  | 
| 1485 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 1555 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 
| 1486 | CPP="${CC-cc} -E" | 1556 | CPP="${CC-cc} -E" | 
| 1487 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1557 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 1488 | # not just through cpp. | 1558 | # not just through cpp. | 
| 1489 | cat > conftest.$ac_ext <<EOF | 1559 | cat > conftest.$ac_ext <<EOF | 
| 1490 | #line 1491 "configure" | 1560 | #line 1561 "configure" | 
| 1491 | #include "confdefs.h" | 1561 | #include "confdefs.h" | 
| 1492 | #include <assert.h> | 1562 | #include <assert.h> | 
| 1493 | Syntax Error | 1563 | Syntax Error | 
| 1494 | EOF | 1564 | EOF | 
| 1495 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1565 | 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; } | 1566 | { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1497 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1567 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1498 | if test -z "$ac_err"; then | 1568 | if test -z "$ac_err"; then | 
| 1499 | : | 1569 | : | 
| 1500 | else | 1570 | else | 
| 1501 | echo "$ac_err" >&5 | 1571 | echo "$ac_err" >&5 | 
| 1502 | echo "configure: failed program was:" >&5 | 1572 | echo "configure: failed program was:" >&5 | 
| 1503 | cat conftest.$ac_ext >&5 | 1573 | cat conftest.$ac_ext >&5 | 
| 1504 | rm -rf conftest* | 1574 | rm -rf conftest* | 
| 1505 | CPP="${CC-cc} -E -traditional-cpp" | 1575 | CPP="${CC-cc} -E -traditional-cpp" | 
| 1506 | cat > conftest.$ac_ext <<EOF | 1576 | cat > conftest.$ac_ext <<EOF | 
| 1507 | #line 1508 "configure" | 1577 | #line 1578 "configure" | 
| 1508 | #include "confdefs.h" | 1578 | #include "confdefs.h" | 
| 1509 | #include <assert.h> | 1579 | #include <assert.h> | 
| 1510 | Syntax Error | 1580 | Syntax Error | 
| 1511 | EOF | 1581 | EOF | 
| 1512 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1582 | 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; } | 1583 | { (eval echo configure:1584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1514 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1584 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1515 | if test -z "$ac_err"; then | 1585 | if test -z "$ac_err"; then | 
| 1516 | : | 1586 | : | 
| 1517 | else | 1587 | else | 
| 1518 | echo "$ac_err" >&5 | 1588 | echo "$ac_err" >&5 | 
| 1519 | echo "configure: failed program was:" >&5 | 1589 | echo "configure: failed program was:" >&5 | 
| 1520 | cat conftest.$ac_ext >&5 | 1590 | cat conftest.$ac_ext >&5 | 
| 1521 | rm -rf conftest* | 1591 | rm -rf conftest* | 
| 1522 | CPP="${CC-cc} -nologo -E" | 1592 | CPP="${CC-cc} -nologo -E" | 
| 1523 | cat > conftest.$ac_ext <<EOF | 1593 | cat > conftest.$ac_ext <<EOF | 
| 1524 | #line 1525 "configure" | 1594 | #line 1595 "configure" | 
| 1525 | #include "confdefs.h" | 1595 | #include "confdefs.h" | 
| 1526 | #include <assert.h> | 1596 | #include <assert.h> | 
| 1527 | Syntax Error | 1597 | Syntax Error | 
| 1528 | EOF | 1598 | EOF | 
| 1529 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1599 | 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; } | 1600 | { (eval echo configure:1601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1531 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1601 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1532 | if test -z "$ac_err"; then | 1602 | if test -z "$ac_err"; then | 
| 1533 | : | 1603 | : | 
| 1534 | else | 1604 | else | 
| 1535 | echo "$ac_err" >&5 | 1605 | echo "$ac_err" >&5 | 
| … |  | … |  | 
| 1550 | ac_cv_prog_CPP="$CPP" | 1620 | ac_cv_prog_CPP="$CPP" | 
| 1551 | fi | 1621 | fi | 
| 1552 | echo "$ac_t""$CPP" 1>&6 | 1622 | echo "$ac_t""$CPP" 1>&6 | 
| 1553 |  | 1623 |  | 
| 1554 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1624 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 
| 1555 | echo "configure:1556: checking for ANSI C header files" >&5 | 1625 | echo "configure:1626: checking for ANSI C header files" >&5 | 
| 1556 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1626 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 
| 1557 | echo $ac_n "(cached) $ac_c" 1>&6 | 1627 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1558 | else | 1628 | else | 
| 1559 | cat > conftest.$ac_ext <<EOF | 1629 | cat > conftest.$ac_ext <<EOF | 
| 1560 | #line 1561 "configure" | 1630 | #line 1631 "configure" | 
| 1561 | #include "confdefs.h" | 1631 | #include "confdefs.h" | 
| 1562 | #include <stdlib.h> | 1632 | #include <stdlib.h> | 
| 1563 | #include <stdarg.h> | 1633 | #include <stdarg.h> | 
| 1564 | #include <string.h> | 1634 | #include <string.h> | 
| 1565 | #include <float.h> | 1635 | #include <float.h> | 
| 1566 | EOF | 1636 | EOF | 
| 1567 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1637 | 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; } | 1638 | { (eval echo configure:1639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1569 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1639 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1570 | if test -z "$ac_err"; then | 1640 | if test -z "$ac_err"; then | 
| 1571 | rm -rf conftest* | 1641 | rm -rf conftest* | 
| 1572 | ac_cv_header_stdc=yes | 1642 | ac_cv_header_stdc=yes | 
| 1573 | else | 1643 | else | 
| … |  | … |  | 
| 1580 | rm -f conftest* | 1650 | rm -f conftest* | 
| 1581 |  | 1651 |  | 
| 1582 | if test $ac_cv_header_stdc = yes; then | 1652 | if test $ac_cv_header_stdc = yes; then | 
| 1583 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1653 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 1584 | cat > conftest.$ac_ext <<EOF | 1654 | cat > conftest.$ac_ext <<EOF | 
| 1585 | #line 1586 "configure" | 1655 | #line 1656 "configure" | 
| 1586 | #include "confdefs.h" | 1656 | #include "confdefs.h" | 
| 1587 | #include <string.h> | 1657 | #include <string.h> | 
| 1588 | EOF | 1658 | EOF | 
| 1589 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1659 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1590 | egrep "memchr" >/dev/null 2>&1; then | 1660 | egrep "memchr" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1598 | fi | 1668 | fi | 
| 1599 |  | 1669 |  | 
| 1600 | if test $ac_cv_header_stdc = yes; then | 1670 | if test $ac_cv_header_stdc = yes; then | 
| 1601 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1671 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 1602 | cat > conftest.$ac_ext <<EOF | 1672 | cat > conftest.$ac_ext <<EOF | 
| 1603 | #line 1604 "configure" | 1673 | #line 1674 "configure" | 
| 1604 | #include "confdefs.h" | 1674 | #include "confdefs.h" | 
| 1605 | #include <stdlib.h> | 1675 | #include <stdlib.h> | 
| 1606 | EOF | 1676 | EOF | 
| 1607 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1677 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1608 | egrep "free" >/dev/null 2>&1; then | 1678 | egrep "free" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1619 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1689 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 1620 | if test "$cross_compiling" = yes; then | 1690 | if test "$cross_compiling" = yes; then | 
| 1621 | : | 1691 | : | 
| 1622 | else | 1692 | else | 
| 1623 | cat > conftest.$ac_ext <<EOF | 1693 | cat > conftest.$ac_ext <<EOF | 
| 1624 | #line 1625 "configure" | 1694 | #line 1695 "configure" | 
| 1625 | #include "confdefs.h" | 1695 | #include "confdefs.h" | 
| 1626 | #include <ctype.h> | 1696 | #include <ctype.h> | 
| 1627 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1697 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 1628 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1698 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 1629 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1699 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 1630 | int main () { int i; for (i = 0; i < 256; i++) | 1700 | int main () { int i; for (i = 0; i < 256; i++) | 
| 1631 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1701 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 
| 1632 | exit (0); } | 1702 | exit (0); } | 
| 1633 |  | 1703 |  | 
| 1634 | EOF | 1704 | 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 | 1705 | if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1636 | then | 1706 | then | 
| 1637 | : | 1707 | : | 
| 1638 | else | 1708 | else | 
| 1639 | echo "configure: failed program was:" >&5 | 1709 | echo "configure: failed program was:" >&5 | 
| 1640 | cat conftest.$ac_ext >&5 | 1710 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1657 |  | 1727 |  | 
| 1658 | for ac_hdr in unistd.h | 1728 | for ac_hdr in unistd.h | 
| 1659 | do | 1729 | do | 
| 1660 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1730 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 
| 1661 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1731 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 
| 1662 | echo "configure:1663: checking for $ac_hdr" >&5 | 1732 | echo "configure:1733: checking for $ac_hdr" >&5 | 
| 1663 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1733 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 
| 1664 | echo $ac_n "(cached) $ac_c" 1>&6 | 1734 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1665 | else | 1735 | else | 
| 1666 | cat > conftest.$ac_ext <<EOF | 1736 | cat > conftest.$ac_ext <<EOF | 
| 1667 | #line 1668 "configure" | 1737 | #line 1738 "configure" | 
| 1668 | #include "confdefs.h" | 1738 | #include "confdefs.h" | 
| 1669 | #include <$ac_hdr> | 1739 | #include <$ac_hdr> | 
| 1670 | EOF | 1740 | EOF | 
| 1671 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1741 | 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; } | 1742 | { (eval echo configure:1743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1673 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1743 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1674 | if test -z "$ac_err"; then | 1744 | if test -z "$ac_err"; then | 
| 1675 | rm -rf conftest* | 1745 | rm -rf conftest* | 
| 1676 | eval "ac_cv_header_$ac_safe=yes" | 1746 | eval "ac_cv_header_$ac_safe=yes" | 
| 1677 | else | 1747 | else | 
| … |  | … |  | 
| 1695 | fi | 1765 | fi | 
| 1696 | done | 1766 | done | 
| 1697 |  | 1767 |  | 
| 1698 |  | 1768 |  | 
| 1699 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1769 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 
| 1700 | echo "configure:1701: checking for working const" >&5 | 1770 | echo "configure:1771: checking for working const" >&5 | 
| 1701 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1771 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 
| 1702 | echo $ac_n "(cached) $ac_c" 1>&6 | 1772 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1703 | else | 1773 | else | 
| 1704 | cat > conftest.$ac_ext <<EOF | 1774 | cat > conftest.$ac_ext <<EOF | 
| 1705 | #line 1706 "configure" | 1775 | #line 1776 "configure" | 
| 1706 | #include "confdefs.h" | 1776 | #include "confdefs.h" | 
| 1707 |  | 1777 |  | 
| 1708 | int main() { | 1778 | int main() { | 
| 1709 |  | 1779 |  | 
| 1710 | /* Ultrix mips cc rejects this.  */ | 1780 | /* Ultrix mips cc rejects this.  */ | 
| … |  | … |  | 
| 1749 | const int foo = 10; | 1819 | const int foo = 10; | 
| 1750 | } | 1820 | } | 
| 1751 |  | 1821 |  | 
| 1752 | ; return 0; } | 1822 | ; return 0; } | 
| 1753 | EOF | 1823 | EOF | 
| 1754 | if { (eval echo configure:1755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1824 | if { (eval echo configure:1825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1755 | rm -rf conftest* | 1825 | rm -rf conftest* | 
| 1756 | ac_cv_c_const=yes | 1826 | ac_cv_c_const=yes | 
| 1757 | else | 1827 | else | 
| 1758 | echo "configure: failed program was:" >&5 | 1828 | echo "configure: failed program was:" >&5 | 
| 1759 | cat conftest.$ac_ext >&5 | 1829 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1770 | EOF | 1840 | EOF | 
| 1771 |  | 1841 |  | 
| 1772 | fi | 1842 | fi | 
| 1773 |  | 1843 |  | 
| 1774 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 1844 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 
| 1775 | echo "configure:1776: checking for size_t" >&5 | 1845 | echo "configure:1846: checking for size_t" >&5 | 
| 1776 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 1846 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 
| 1777 | echo $ac_n "(cached) $ac_c" 1>&6 | 1847 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1778 | else | 1848 | else | 
| 1779 | cat > conftest.$ac_ext <<EOF | 1849 | cat > conftest.$ac_ext <<EOF | 
| 1780 | #line 1781 "configure" | 1850 | #line 1851 "configure" | 
| 1781 | #include "confdefs.h" | 1851 | #include "confdefs.h" | 
| 1782 | #include <sys/types.h> | 1852 | #include <sys/types.h> | 
| 1783 | #if STDC_HEADERS | 1853 | #if STDC_HEADERS | 
| 1784 | #include <stdlib.h> | 1854 | #include <stdlib.h> | 
| 1785 | #include <stddef.h> | 1855 | #include <stddef.h> | 
| … |  | … |  | 
| 1805 | fi | 1875 | fi | 
| 1806 |  | 1876 |  | 
| 1807 |  | 1877 |  | 
| 1808 |  | 1878 |  | 
| 1809 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 1879 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 
| 1810 | echo "configure:1811: checking size of char" >&5 | 1880 | echo "configure:1881: checking size of char" >&5 | 
| 1811 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 1881 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 
| 1812 | echo $ac_n "(cached) $ac_c" 1>&6 | 1882 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1813 | else | 1883 | else | 
| 1814 | if test "$cross_compiling" = yes; then | 1884 | if test "$cross_compiling" = yes; then | 
| 1815 | ac_cv_sizeof_char=1 | 1885 | ac_cv_sizeof_char=1 | 
| 1816 | else | 1886 | else | 
| 1817 | cat > conftest.$ac_ext <<EOF | 1887 | cat > conftest.$ac_ext <<EOF | 
| 1818 | #line 1819 "configure" | 1888 | #line 1889 "configure" | 
| 1819 | #include "confdefs.h" | 1889 | #include "confdefs.h" | 
| 1820 | #include <stdio.h> | 1890 | #include <stdio.h> | 
| 1821 | main() | 1891 | main() | 
| 1822 | { | 1892 | { | 
| 1823 | FILE *f=fopen("conftestval", "w"); | 1893 | FILE *f=fopen("conftestval", "w"); | 
| 1824 | if (!f) exit(1); | 1894 | if (!f) exit(1); | 
| 1825 | fprintf(f, "%d\n", sizeof(char)); | 1895 | fprintf(f, "%d\n", sizeof(char)); | 
| 1826 | exit(0); | 1896 | exit(0); | 
| 1827 | } | 1897 | } | 
| 1828 | EOF | 1898 | 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 | 1899 | if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1830 | then | 1900 | then | 
| 1831 | ac_cv_sizeof_char=`cat conftestval` | 1901 | ac_cv_sizeof_char=`cat conftestval` | 
| 1832 | else | 1902 | else | 
| 1833 | echo "configure: failed program was:" >&5 | 1903 | echo "configure: failed program was:" >&5 | 
| 1834 | cat conftest.$ac_ext >&5 | 1904 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1844 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 1914 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 
| 1845 | EOF | 1915 | EOF | 
| 1846 |  | 1916 |  | 
| 1847 |  | 1917 |  | 
| 1848 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 1918 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 
| 1849 | echo "configure:1850: checking size of short" >&5 | 1919 | echo "configure:1920: checking size of short" >&5 | 
| 1850 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 1920 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 
| 1851 | echo $ac_n "(cached) $ac_c" 1>&6 | 1921 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1852 | else | 1922 | else | 
| 1853 | if test "$cross_compiling" = yes; then | 1923 | if test "$cross_compiling" = yes; then | 
| 1854 | ac_cv_sizeof_short=1 | 1924 | ac_cv_sizeof_short=1 | 
| 1855 | else | 1925 | else | 
| 1856 | cat > conftest.$ac_ext <<EOF | 1926 | cat > conftest.$ac_ext <<EOF | 
| 1857 | #line 1858 "configure" | 1927 | #line 1928 "configure" | 
| 1858 | #include "confdefs.h" | 1928 | #include "confdefs.h" | 
| 1859 | #include <stdio.h> | 1929 | #include <stdio.h> | 
| 1860 | main() | 1930 | main() | 
| 1861 | { | 1931 | { | 
| 1862 | FILE *f=fopen("conftestval", "w"); | 1932 | FILE *f=fopen("conftestval", "w"); | 
| 1863 | if (!f) exit(1); | 1933 | if (!f) exit(1); | 
| 1864 | fprintf(f, "%d\n", sizeof(short)); | 1934 | fprintf(f, "%d\n", sizeof(short)); | 
| 1865 | exit(0); | 1935 | exit(0); | 
| 1866 | } | 1936 | } | 
| 1867 | EOF | 1937 | 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 | 1938 | if { (eval echo configure:1939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1869 | then | 1939 | then | 
| 1870 | ac_cv_sizeof_short=`cat conftestval` | 1940 | ac_cv_sizeof_short=`cat conftestval` | 
| 1871 | else | 1941 | else | 
| 1872 | echo "configure: failed program was:" >&5 | 1942 | echo "configure: failed program was:" >&5 | 
| 1873 | cat conftest.$ac_ext >&5 | 1943 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1883 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 1953 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| 1884 | EOF | 1954 | EOF | 
| 1885 |  | 1955 |  | 
| 1886 |  | 1956 |  | 
| 1887 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 1957 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 
| 1888 | echo "configure:1889: checking size of int" >&5 | 1958 | echo "configure:1959: checking size of int" >&5 | 
| 1889 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 1959 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 
| 1890 | echo $ac_n "(cached) $ac_c" 1>&6 | 1960 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1891 | else | 1961 | else | 
| 1892 | if test "$cross_compiling" = yes; then | 1962 | if test "$cross_compiling" = yes; then | 
| 1893 | ac_cv_sizeof_int=2 | 1963 | ac_cv_sizeof_int=2 | 
| 1894 | else | 1964 | else | 
| 1895 | cat > conftest.$ac_ext <<EOF | 1965 | cat > conftest.$ac_ext <<EOF | 
| 1896 | #line 1897 "configure" | 1966 | #line 1967 "configure" | 
| 1897 | #include "confdefs.h" | 1967 | #include "confdefs.h" | 
| 1898 | #include <stdio.h> | 1968 | #include <stdio.h> | 
| 1899 | main() | 1969 | main() | 
| 1900 | { | 1970 | { | 
| 1901 | FILE *f=fopen("conftestval", "w"); | 1971 | FILE *f=fopen("conftestval", "w"); | 
| 1902 | if (!f) exit(1); | 1972 | if (!f) exit(1); | 
| 1903 | fprintf(f, "%d\n", sizeof(int)); | 1973 | fprintf(f, "%d\n", sizeof(int)); | 
| 1904 | exit(0); | 1974 | exit(0); | 
| 1905 | } | 1975 | } | 
| 1906 | EOF | 1976 | 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 | 1977 | if { (eval echo configure:1978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1908 | then | 1978 | then | 
| 1909 | ac_cv_sizeof_int=`cat conftestval` | 1979 | ac_cv_sizeof_int=`cat conftestval` | 
| 1910 | else | 1980 | else | 
| 1911 | echo "configure: failed program was:" >&5 | 1981 | echo "configure: failed program was:" >&5 | 
| 1912 | cat conftest.$ac_ext >&5 | 1982 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1922 | #define SIZEOF_INT $ac_cv_sizeof_int | 1992 | #define SIZEOF_INT $ac_cv_sizeof_int | 
| 1923 | EOF | 1993 | EOF | 
| 1924 |  | 1994 |  | 
| 1925 |  | 1995 |  | 
| 1926 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 1996 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 
| 1927 | echo "configure:1928: checking size of long" >&5 | 1997 | echo "configure:1998: checking size of long" >&5 | 
| 1928 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 1998 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 
| 1929 | echo $ac_n "(cached) $ac_c" 1>&6 | 1999 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1930 | else | 2000 | else | 
| 1931 | if test "$cross_compiling" = yes; then | 2001 | if test "$cross_compiling" = yes; then | 
| 1932 | ac_cv_sizeof_long=4 | 2002 | ac_cv_sizeof_long=4 | 
| 1933 | else | 2003 | else | 
| 1934 | cat > conftest.$ac_ext <<EOF | 2004 | cat > conftest.$ac_ext <<EOF | 
| 1935 | #line 1936 "configure" | 2005 | #line 2006 "configure" | 
| 1936 | #include "confdefs.h" | 2006 | #include "confdefs.h" | 
| 1937 | #include <stdio.h> | 2007 | #include <stdio.h> | 
| 1938 | main() | 2008 | main() | 
| 1939 | { | 2009 | { | 
| 1940 | FILE *f=fopen("conftestval", "w"); | 2010 | FILE *f=fopen("conftestval", "w"); | 
| 1941 | if (!f) exit(1); | 2011 | if (!f) exit(1); | 
| 1942 | fprintf(f, "%d\n", sizeof(long)); | 2012 | fprintf(f, "%d\n", sizeof(long)); | 
| 1943 | exit(0); | 2013 | exit(0); | 
| 1944 | } | 2014 | } | 
| 1945 | EOF | 2015 | 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 | 2016 | if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1947 | then | 2017 | then | 
| 1948 | ac_cv_sizeof_long=`cat conftestval` | 2018 | ac_cv_sizeof_long=`cat conftestval` | 
| 1949 | else | 2019 | else | 
| 1950 | echo "configure: failed program was:" >&5 | 2020 | echo "configure: failed program was:" >&5 | 
| 1951 | cat conftest.$ac_ext >&5 | 2021 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1962 | EOF | 2032 | EOF | 
| 1963 |  | 2033 |  | 
| 1964 |  | 2034 |  | 
| 1965 |  | 2035 |  | 
| 1966 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 2036 | 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 | 2037 | echo "configure:2038: checking for an 8 bit integer type" >&5 | 
| 1968 | if test $ac_cv_sizeof_char -ge 1 ; then | 2038 | if test $ac_cv_sizeof_char -ge 1 ; then | 
| 1969 | INT_8_BIT=char | 2039 | INT_8_BIT=char | 
| 1970 | echo "$ac_t""char" 1>&6 | 2040 | echo "$ac_t""char" 1>&6 | 
| 1971 | elif test $ac_cv_sizeof_short -ge 1 ; then | 2041 | elif test $ac_cv_sizeof_short -ge 1 ; then | 
| 1972 | INT_8_BIT=short | 2042 | INT_8_BIT=short | 
| … |  | … |  | 
| 1980 | else | 2050 | else | 
| 1981 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 2051 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 
| 1982 | fi | 2052 | fi | 
| 1983 |  | 2053 |  | 
| 1984 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 2054 | 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 | 2055 | echo "configure:2056: checking for a 16 bit integer type" >&5 | 
| 1986 | if test $ac_cv_sizeof_char -ge 2 ; then | 2056 | if test $ac_cv_sizeof_char -ge 2 ; then | 
| 1987 | INT_16_BIT=char | 2057 | INT_16_BIT=char | 
| 1988 | echo "$ac_t""char" 1>&6 | 2058 | echo "$ac_t""char" 1>&6 | 
| 1989 | elif test $ac_cv_sizeof_short -ge 2 ; then | 2059 | elif test $ac_cv_sizeof_short -ge 2 ; then | 
| 1990 | INT_16_BIT=short | 2060 | INT_16_BIT=short | 
| … |  | … |  | 
| 1998 | else | 2068 | else | 
| 1999 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 2069 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 
| 2000 | fi | 2070 | fi | 
| 2001 |  | 2071 |  | 
| 2002 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 2072 | 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 | 2073 | echo "configure:2074: checking for a 32 bit integer type" >&5 | 
| 2004 | if test $ac_cv_sizeof_char -ge 4 ; then | 2074 | if test $ac_cv_sizeof_char -ge 4 ; then | 
| 2005 | INT_32_BIT=char | 2075 | INT_32_BIT=char | 
| 2006 | echo "$ac_t""char" 1>&6 | 2076 | echo "$ac_t""char" 1>&6 | 
| 2007 | elif test $ac_cv_sizeof_short -ge 4 ; then | 2077 | elif test $ac_cv_sizeof_short -ge 4 ; then | 
| 2008 | INT_32_BIT=short | 2078 | INT_32_BIT=short | 
| … |  | … |  | 
| 2020 |  | 2090 |  | 
| 2021 |  | 2091 |  | 
| 2022 |  | 2092 |  | 
| 2023 |  | 2093 |  | 
| 2024 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 2094 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 
| 2025 | echo "configure:2026: checking for vprintf" >&5 | 2095 | echo "configure:2096: checking for vprintf" >&5 | 
| 2026 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 2096 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 
| 2027 | echo $ac_n "(cached) $ac_c" 1>&6 | 2097 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2028 | else | 2098 | else | 
| 2029 | cat > conftest.$ac_ext <<EOF | 2099 | cat > conftest.$ac_ext <<EOF | 
| 2030 | #line 2031 "configure" | 2100 | #line 2101 "configure" | 
| 2031 | #include "confdefs.h" | 2101 | #include "confdefs.h" | 
| 2032 | /* System header to define __stub macros and hopefully few prototypes, | 2102 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2033 | which can conflict with char vprintf(); below.  */ | 2103 | which can conflict with char vprintf(); below.  */ | 
| 2034 | #include <assert.h> | 2104 | #include <assert.h> | 
| 2035 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2105 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2048 | vprintf(); | 2118 | vprintf(); | 
| 2049 | #endif | 2119 | #endif | 
| 2050 |  | 2120 |  | 
| 2051 | ; return 0; } | 2121 | ; return 0; } | 
| 2052 | EOF | 2122 | EOF | 
| 2053 | if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2123 | if { (eval echo configure:2124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2054 | rm -rf conftest* | 2124 | rm -rf conftest* | 
| 2055 | eval "ac_cv_func_vprintf=yes" | 2125 | eval "ac_cv_func_vprintf=yes" | 
| 2056 | else | 2126 | else | 
| 2057 | echo "configure: failed program was:" >&5 | 2127 | echo "configure: failed program was:" >&5 | 
| 2058 | cat conftest.$ac_ext >&5 | 2128 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2072 | echo "$ac_t""no" 1>&6 | 2142 | echo "$ac_t""no" 1>&6 | 
| 2073 | fi | 2143 | fi | 
| 2074 |  | 2144 |  | 
| 2075 | if test "$ac_cv_func_vprintf" != yes; then | 2145 | if test "$ac_cv_func_vprintf" != yes; then | 
| 2076 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 2146 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 
| 2077 | echo "configure:2078: checking for _doprnt" >&5 | 2147 | echo "configure:2148: checking for _doprnt" >&5 | 
| 2078 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 2148 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 
| 2079 | echo $ac_n "(cached) $ac_c" 1>&6 | 2149 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2080 | else | 2150 | else | 
| 2081 | cat > conftest.$ac_ext <<EOF | 2151 | cat > conftest.$ac_ext <<EOF | 
| 2082 | #line 2083 "configure" | 2152 | #line 2153 "configure" | 
| 2083 | #include "confdefs.h" | 2153 | #include "confdefs.h" | 
| 2084 | /* System header to define __stub macros and hopefully few prototypes, | 2154 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2085 | which can conflict with char _doprnt(); below.  */ | 2155 | which can conflict with char _doprnt(); below.  */ | 
| 2086 | #include <assert.h> | 2156 | #include <assert.h> | 
| 2087 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2157 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2100 | _doprnt(); | 2170 | _doprnt(); | 
| 2101 | #endif | 2171 | #endif | 
| 2102 |  | 2172 |  | 
| 2103 | ; return 0; } | 2173 | ; return 0; } | 
| 2104 | EOF | 2174 | EOF | 
| 2105 | if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2175 | if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2106 | rm -rf conftest* | 2176 | rm -rf conftest* | 
| 2107 | eval "ac_cv_func__doprnt=yes" | 2177 | eval "ac_cv_func__doprnt=yes" | 
| 2108 | else | 2178 | else | 
| 2109 | echo "configure: failed program was:" >&5 | 2179 | echo "configure: failed program was:" >&5 | 
| 2110 | cat conftest.$ac_ext >&5 | 2180 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2127 | fi | 2197 | fi | 
| 2128 |  | 2198 |  | 
| 2129 | for ac_func in strdup | 2199 | for ac_func in strdup | 
| 2130 | do | 2200 | do | 
| 2131 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2201 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2132 | echo "configure:2133: checking for $ac_func" >&5 | 2202 | echo "configure:2203: checking for $ac_func" >&5 | 
| 2133 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2203 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2134 | echo $ac_n "(cached) $ac_c" 1>&6 | 2204 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2135 | else | 2205 | else | 
| 2136 | cat > conftest.$ac_ext <<EOF | 2206 | cat > conftest.$ac_ext <<EOF | 
| 2137 | #line 2138 "configure" | 2207 | #line 2208 "configure" | 
| 2138 | #include "confdefs.h" | 2208 | #include "confdefs.h" | 
| 2139 | /* System header to define __stub macros and hopefully few prototypes, | 2209 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2140 | which can conflict with char $ac_func(); below.  */ | 2210 | which can conflict with char $ac_func(); below.  */ | 
| 2141 | #include <assert.h> | 2211 | #include <assert.h> | 
| 2142 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2212 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2155 | $ac_func(); | 2225 | $ac_func(); | 
| 2156 | #endif | 2226 | #endif | 
| 2157 |  | 2227 |  | 
| 2158 | ; return 0; } | 2228 | ; return 0; } | 
| 2159 | EOF | 2229 | EOF | 
| 2160 | if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2230 | if { (eval echo configure:2231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2161 | rm -rf conftest* | 2231 | rm -rf conftest* | 
| 2162 | eval "ac_cv_func_$ac_func=yes" | 2232 | eval "ac_cv_func_$ac_func=yes" | 
| 2163 | else | 2233 | else | 
| 2164 | echo "configure: failed program was:" >&5 | 2234 | echo "configure: failed program was:" >&5 | 
| 2165 | cat conftest.$ac_ext >&5 | 2235 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2182 | done | 2252 | done | 
| 2183 |  | 2253 |  | 
| 2184 | for ac_func in strdup | 2254 | for ac_func in strdup | 
| 2185 | do | 2255 | do | 
| 2186 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2256 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2187 | echo "configure:2188: checking for $ac_func" >&5 | 2257 | echo "configure:2258: checking for $ac_func" >&5 | 
| 2188 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2258 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2189 | echo $ac_n "(cached) $ac_c" 1>&6 | 2259 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2190 | else | 2260 | else | 
| 2191 | cat > conftest.$ac_ext <<EOF | 2261 | cat > conftest.$ac_ext <<EOF | 
| 2192 | #line 2193 "configure" | 2262 | #line 2263 "configure" | 
| 2193 | #include "confdefs.h" | 2263 | #include "confdefs.h" | 
| 2194 | /* System header to define __stub macros and hopefully few prototypes, | 2264 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2195 | which can conflict with char $ac_func(); below.  */ | 2265 | which can conflict with char $ac_func(); below.  */ | 
| 2196 | #include <assert.h> | 2266 | #include <assert.h> | 
| 2197 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2267 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2210 | $ac_func(); | 2280 | $ac_func(); | 
| 2211 | #endif | 2281 | #endif | 
| 2212 |  | 2282 |  | 
| 2213 | ; return 0; } | 2283 | ; return 0; } | 
| 2214 | EOF | 2284 | EOF | 
| 2215 | if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2285 | if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2216 | rm -rf conftest* | 2286 | rm -rf conftest* | 
| 2217 | eval "ac_cv_func_$ac_func=yes" | 2287 | eval "ac_cv_func_$ac_func=yes" | 
| 2218 | else | 2288 | else | 
| 2219 | echo "configure: failed program was:" >&5 | 2289 | echo "configure: failed program was:" >&5 | 
| 2220 | cat conftest.$ac_ext >&5 | 2290 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2323 | RTFDOCS_TRUE= | 2393 | RTFDOCS_TRUE= | 
| 2324 | RTFDOCS_FALSE='#' | 2394 | RTFDOCS_FALSE='#' | 
| 2325 | else | 2395 | else | 
| 2326 | RTFDOCS_TRUE='#' | 2396 | RTFDOCS_TRUE='#' | 
| 2327 | RTFDOCS_FALSE= | 2397 | RTFDOCS_FALSE= | 
|  |  | 2398 | fi | 
|  |  | 2399 |  | 
|  |  | 2400 | # Check whether --enable-compile-warnings or --disable-compile-warnings was given. | 
|  |  | 2401 | if test "${enable_compile_warnings+set}" = set; then | 
|  |  | 2402 | enableval="$enable_compile_warnings" | 
|  |  | 2403 | : | 
|  |  | 2404 | else | 
|  |  | 2405 | enable_compile_warnings=minimum | 
|  |  | 2406 | fi | 
|  |  | 2407 |  | 
|  |  | 2408 |  | 
|  |  | 2409 | echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 | 
|  |  | 2410 | echo "configure:2411: checking what warning flags to pass to the C compiler" >&5 | 
|  |  | 2411 | warnCFLAGS= | 
|  |  | 2412 | if test "x$GCC" != xyes; then | 
|  |  | 2413 | enable_compile_warnings=no | 
|  |  | 2414 | fi | 
|  |  | 2415 | if test "x$enable_compile_warnings" != "xno"; then | 
|  |  | 2416 | if test "x$GCC" = "xyes"; then | 
|  |  | 2417 | case " $CFLAGS " in | 
|  |  | 2418 | *\ \	-Wall\ \	*) ;; | 
|  |  | 2419 | *) warnCFLAGS="-Wall -Wunused" ;; | 
|  |  | 2420 | esac | 
|  |  | 2421 |  | 
|  |  | 2422 | ## -W is not all that useful.  And it cannot be controlled | 
|  |  | 2423 | ## with individual -Wno-xxx flags, unlike -Wall | 
|  |  | 2424 | if test "x$enable_compile_warnings" = "xyes"; then | 
|  |  | 2425 | warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith" | 
|  |  | 2426 | fi | 
|  |  | 2427 | fi | 
|  |  | 2428 | fi | 
|  |  | 2429 | echo "$ac_t""$warnCFLAGS" 1>&6 | 
|  |  | 2430 |  | 
|  |  | 2431 | # Check whether --enable-iso-c or --disable-iso-c was given. | 
|  |  | 2432 | if test "${enable_iso_c+set}" = set; then | 
|  |  | 2433 | enableval="$enable_iso_c" | 
|  |  | 2434 | : | 
|  |  | 2435 | else | 
|  |  | 2436 | enable_iso_c=no | 
|  |  | 2437 | fi | 
|  |  | 2438 |  | 
|  |  | 2439 |  | 
|  |  | 2440 | echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 | 
|  |  | 2441 | echo "configure:2442: checking what language compliance flags to pass to the C compiler" >&5 | 
|  |  | 2442 | complCFLAGS= | 
|  |  | 2443 | if test "x$enable_iso_c" != "xno"; then | 
|  |  | 2444 | if test "x$GCC" = "xyes"; then | 
|  |  | 2445 | case " $CFLAGS " in | 
|  |  | 2446 | *\ \	-ansi\ \	*) ;; | 
|  |  | 2447 | *) complCFLAGS="$complCFLAGS -ansi" ;; | 
|  |  | 2448 | esac | 
|  |  | 2449 |  | 
|  |  | 2450 | case " $CFLAGS " in | 
|  |  | 2451 | *\ \	-pedantic\ \	*) ;; | 
|  |  | 2452 | *) complCFLAGS="$complCFLAGS -pedantic" ;; | 
|  |  | 2453 | esac | 
|  |  | 2454 | fi | 
|  |  | 2455 | fi | 
|  |  | 2456 | echo "$ac_t""$complCFLAGS" 1>&6 | 
|  |  | 2457 | if test "x$cflags_set" != "xyes"; then | 
|  |  | 2458 | CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS" | 
|  |  | 2459 | cflags_set=yes | 
|  |  | 2460 |  | 
| 2328 | fi | 2461 | fi | 
| 2329 |  | 2462 |  | 
| 2330 | trap '' 1 2 15 | 2463 | trap '' 1 2 15 | 
| 2331 | cat > confcache <<\EOF | 2464 | cat > confcache <<\EOF | 
| 2332 | # This file is a shell script that caches the results of configure | 2465 | # This file is a shell script that caches the results of configure | 
| … |  | … |  | 
| 2485 | s%@CC@%$CC%g | 2618 | s%@CC@%$CC%g | 
| 2486 | s%@LD@%$LD%g | 2619 | s%@LD@%$LD%g | 
| 2487 | s%@NM@%$NM%g | 2620 | s%@NM@%$NM%g | 
| 2488 | s%@LN_S@%$LN_S%g | 2621 | s%@LN_S@%$LN_S%g | 
| 2489 | s%@LIBTOOL@%$LIBTOOL%g | 2622 | s%@LIBTOOL@%$LIBTOOL%g | 
|  |  | 2623 | s%@LIB_MAGICK@%$LIB_MAGICK%g | 
| 2490 | s%@CPP@%$CPP%g | 2624 | s%@CPP@%$CPP%g | 
| 2491 | s%@INT_8_BIT@%$INT_8_BIT%g | 2625 | s%@INT_8_BIT@%$INT_8_BIT%g | 
| 2492 | s%@INT_16_BIT@%$INT_16_BIT%g | 2626 | s%@INT_16_BIT@%$INT_16_BIT%g | 
| 2493 | s%@INT_32_BIT@%$INT_32_BIT%g | 2627 | s%@INT_32_BIT@%$INT_32_BIT%g | 
| 2494 | s%@LIBOBJS@%$LIBOBJS%g | 2628 | s%@LIBOBJS@%$LIBOBJS%g | 
| … |  | … |  | 
| 2498 | s%@HTML4DOCS_FALSE@%$HTML4DOCS_FALSE%g | 2632 | s%@HTML4DOCS_FALSE@%$HTML4DOCS_FALSE%g | 
| 2499 | s%@ASCIIDOCS_TRUE@%$ASCIIDOCS_TRUE%g | 2633 | s%@ASCIIDOCS_TRUE@%$ASCIIDOCS_TRUE%g | 
| 2500 | s%@ASCIIDOCS_FALSE@%$ASCIIDOCS_FALSE%g | 2634 | s%@ASCIIDOCS_FALSE@%$ASCIIDOCS_FALSE%g | 
| 2501 | s%@RTFDOCS_TRUE@%$RTFDOCS_TRUE%g | 2635 | s%@RTFDOCS_TRUE@%$RTFDOCS_TRUE%g | 
| 2502 | s%@RTFDOCS_FALSE@%$RTFDOCS_FALSE%g | 2636 | s%@RTFDOCS_FALSE@%$RTFDOCS_FALSE%g | 
|  |  | 2637 | s%@cflags_set@%$cflags_set%g | 
| 2503 |  | 2638 |  | 
| 2504 | CEOF | 2639 | CEOF | 
| 2505 | EOF | 2640 | EOF | 
| 2506 |  | 2641 |  | 
| 2507 | cat >> $CONFIG_STATUS <<\EOF | 2642 | cat >> $CONFIG_STATUS <<\EOF |