| … |  | … |  | 
| 25 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on)" | 25 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on)" | 
| 26 | ac_help="$ac_help | 26 | ac_help="$ac_help | 
| 27 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off)" | 27 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off)" | 
| 28 | ac_help="$ac_help | 28 | ac_help="$ac_help | 
| 29 | --enable-ascii-docs     Enable generation of ASCII docs (default: off)" | 29 | --enable-ascii-docs     Enable generation of ASCII docs (default: off)" | 
|  |  | 30 | ac_help="$ac_help | 
|  |  | 31 | --enable-rtf-docs       Enable generation of RTF docs (default: off)" | 
| 30 |  | 32 |  | 
| 31 | # Initialize some variables set by options. | 33 | # Initialize some variables set by options. | 
| 32 | # The variables have the same names as the options, with | 34 | # The variables have the same names as the options, with | 
| 33 | # dashes changed to underlines. | 35 | # dashes changed to underlines. | 
| 34 | build=NONE | 36 | build=NONE | 
| … |  | … |  | 
| 566 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 568 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 567 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 569 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 568 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 570 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 569 | # ./install, which can be erroneously created by make from ./install.sh. | 571 | # ./install, which can be erroneously created by make from ./install.sh. | 
| 570 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 572 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 
| 571 | echo "configure:572: checking for a BSD compatible install" >&5 | 573 | echo "configure:574: checking for a BSD compatible install" >&5 | 
| 572 | if test -z "$INSTALL"; then | 574 | if test -z "$INSTALL"; then | 
| 573 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 575 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 
| 574 | echo $ac_n "(cached) $ac_c" 1>&6 | 576 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 575 | else | 577 | else | 
| 576 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 578 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 
| … |  | … |  | 
| 619 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 621 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 
| 620 |  | 622 |  | 
| 621 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 623 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 622 |  | 624 |  | 
| 623 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 625 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 
| 624 | echo "configure:625: checking whether build environment is sane" >&5 | 626 | echo "configure:627: checking whether build environment is sane" >&5 | 
| 625 | # Just in case | 627 | # Just in case | 
| 626 | sleep 1 | 628 | sleep 1 | 
| 627 | echo timestamp > conftestfile | 629 | echo timestamp > conftestfile | 
| 628 | # Do `set' in a subshell so we don't clobber the current shell's | 630 | # Do `set' in a subshell so we don't clobber the current shell's | 
| 629 | # arguments.  Must try -L first in case configure is actually a | 631 | # arguments.  Must try -L first in case configure is actually a | 
| … |  | … |  | 
| 676 |  | 678 |  | 
| 677 | # sed with no file args requires a program. | 679 | # sed with no file args requires a program. | 
| 678 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 680 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 
| 679 |  | 681 |  | 
| 680 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 682 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 
| 681 | echo "configure:682: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 683 | echo "configure:684: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 
| 682 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 684 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 
| 683 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 685 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 
| 684 | echo $ac_n "(cached) $ac_c" 1>&6 | 686 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 685 | else | 687 | else | 
| 686 | cat > conftestmake <<\EOF | 688 | cat > conftestmake <<\EOF | 
| … |  | … |  | 
| 705 | fi | 707 | fi | 
| 706 |  | 708 |  | 
| 707 |  | 709 |  | 
| 708 | PACKAGE=psiconv | 710 | PACKAGE=psiconv | 
| 709 |  | 711 |  | 
| 710 | VERSION=0.5.0 | 712 | VERSION=0.5.0a | 
| 711 |  | 713 |  | 
| 712 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 714 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 
| 713 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 715 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 
| 714 | fi | 716 | fi | 
| 715 | cat >> confdefs.h <<EOF | 717 | cat >> confdefs.h <<EOF | 
| … |  | … |  | 
| 722 |  | 724 |  | 
| 723 |  | 725 |  | 
| 724 |  | 726 |  | 
| 725 | missing_dir=`cd $ac_aux_dir && pwd` | 727 | missing_dir=`cd $ac_aux_dir && pwd` | 
| 726 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 728 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 
| 727 | echo "configure:728: checking for working aclocal" >&5 | 729 | echo "configure:730: checking for working aclocal" >&5 | 
| 728 | # Run test in a subshell; some versions of sh will print an error if | 730 | # Run test in a subshell; some versions of sh will print an error if | 
| 729 | # an executable is not found, even if stderr is redirected. | 731 | # an executable is not found, even if stderr is redirected. | 
| 730 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 732 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 731 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 733 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 
| 732 | ACLOCAL=aclocal | 734 | ACLOCAL=aclocal | 
| … |  | … |  | 
| 735 | ACLOCAL="$missing_dir/missing aclocal" | 737 | ACLOCAL="$missing_dir/missing aclocal" | 
| 736 | echo "$ac_t""missing" 1>&6 | 738 | echo "$ac_t""missing" 1>&6 | 
| 737 | fi | 739 | fi | 
| 738 |  | 740 |  | 
| 739 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 741 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 
| 740 | echo "configure:741: checking for working autoconf" >&5 | 742 | echo "configure:743: checking for working autoconf" >&5 | 
| 741 | # Run test in a subshell; some versions of sh will print an error if | 743 | # Run test in a subshell; some versions of sh will print an error if | 
| 742 | # an executable is not found, even if stderr is redirected. | 744 | # an executable is not found, even if stderr is redirected. | 
| 743 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 745 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 744 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 746 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 
| 745 | AUTOCONF=autoconf | 747 | AUTOCONF=autoconf | 
| … |  | … |  | 
| 748 | AUTOCONF="$missing_dir/missing autoconf" | 750 | AUTOCONF="$missing_dir/missing autoconf" | 
| 749 | echo "$ac_t""missing" 1>&6 | 751 | echo "$ac_t""missing" 1>&6 | 
| 750 | fi | 752 | fi | 
| 751 |  | 753 |  | 
| 752 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 754 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 
| 753 | echo "configure:754: checking for working automake" >&5 | 755 | echo "configure:756: checking for working automake" >&5 | 
| 754 | # Run test in a subshell; some versions of sh will print an error if | 756 | # Run test in a subshell; some versions of sh will print an error if | 
| 755 | # an executable is not found, even if stderr is redirected. | 757 | # an executable is not found, even if stderr is redirected. | 
| 756 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 758 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 757 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 759 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 
| 758 | AUTOMAKE=automake | 760 | AUTOMAKE=automake | 
| … |  | … |  | 
| 761 | AUTOMAKE="$missing_dir/missing automake" | 763 | AUTOMAKE="$missing_dir/missing automake" | 
| 762 | echo "$ac_t""missing" 1>&6 | 764 | echo "$ac_t""missing" 1>&6 | 
| 763 | fi | 765 | fi | 
| 764 |  | 766 |  | 
| 765 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 767 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 
| 766 | echo "configure:767: checking for working autoheader" >&5 | 768 | echo "configure:769: checking for working autoheader" >&5 | 
| 767 | # Run test in a subshell; some versions of sh will print an error if | 769 | # Run test in a subshell; some versions of sh will print an error if | 
| 768 | # an executable is not found, even if stderr is redirected. | 770 | # an executable is not found, even if stderr is redirected. | 
| 769 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 771 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 770 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 772 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 
| 771 | AUTOHEADER=autoheader | 773 | AUTOHEADER=autoheader | 
| … |  | … |  | 
| 774 | AUTOHEADER="$missing_dir/missing autoheader" | 776 | AUTOHEADER="$missing_dir/missing autoheader" | 
| 775 | echo "$ac_t""missing" 1>&6 | 777 | echo "$ac_t""missing" 1>&6 | 
| 776 | fi | 778 | fi | 
| 777 |  | 779 |  | 
| 778 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 780 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 
| 779 | echo "configure:780: checking for working makeinfo" >&5 | 781 | echo "configure:782: checking for working makeinfo" >&5 | 
| 780 | # Run test in a subshell; some versions of sh will print an error if | 782 | # Run test in a subshell; some versions of sh will print an error if | 
| 781 | # an executable is not found, even if stderr is redirected. | 783 | # an executable is not found, even if stderr is redirected. | 
| 782 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 784 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 783 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 785 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 
| 784 | MAKEINFO=makeinfo | 786 | MAKEINFO=makeinfo | 
| … |  | … |  | 
| 868 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 870 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 
| 869 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 871 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 
| 870 | fi | 872 | fi | 
| 871 |  | 873 |  | 
| 872 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 874 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 
| 873 | echo "configure:874: checking host system type" >&5 | 875 | echo "configure:876: checking host system type" >&5 | 
| 874 |  | 876 |  | 
| 875 | host_alias=$host | 877 | host_alias=$host | 
| 876 | case "$host_alias" in | 878 | case "$host_alias" in | 
| 877 | NONE) | 879 | NONE) | 
| 878 | case $nonopt in | 880 | case $nonopt in | 
| … |  | … |  | 
| 889 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 891 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 890 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 892 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 891 | echo "$ac_t""$host" 1>&6 | 893 | echo "$ac_t""$host" 1>&6 | 
| 892 |  | 894 |  | 
| 893 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 895 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 
| 894 | echo "configure:895: checking build system type" >&5 | 896 | echo "configure:897: checking build system type" >&5 | 
| 895 |  | 897 |  | 
| 896 | build_alias=$build | 898 | build_alias=$build | 
| 897 | case "$build_alias" in | 899 | case "$build_alias" in | 
| 898 | NONE) | 900 | NONE) | 
| 899 | case $nonopt in | 901 | case $nonopt in | 
| … |  | … |  | 
| 909 | echo "$ac_t""$build" 1>&6 | 911 | echo "$ac_t""$build" 1>&6 | 
| 910 |  | 912 |  | 
| 911 | # Extract the first word of "ranlib", so it can be a program name with args. | 913 | # Extract the first word of "ranlib", so it can be a program name with args. | 
| 912 | set dummy ranlib; ac_word=$2 | 914 | set dummy ranlib; ac_word=$2 | 
| 913 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 915 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 914 | echo "configure:915: checking for $ac_word" >&5 | 916 | echo "configure:917: checking for $ac_word" >&5 | 
| 915 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 917 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
| 916 | echo $ac_n "(cached) $ac_c" 1>&6 | 918 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 917 | else | 919 | else | 
| 918 | if test -n "$RANLIB"; then | 920 | if test -n "$RANLIB"; then | 
| 919 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 921 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| … |  | … |  | 
| 939 | fi | 941 | fi | 
| 940 |  | 942 |  | 
| 941 | # Extract the first word of "gcc", so it can be a program name with args. | 943 | # Extract the first word of "gcc", so it can be a program name with args. | 
| 942 | set dummy gcc; ac_word=$2 | 944 | set dummy gcc; ac_word=$2 | 
| 943 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 945 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 944 | echo "configure:945: checking for $ac_word" >&5 | 946 | echo "configure:947: checking for $ac_word" >&5 | 
| 945 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 947 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 946 | echo $ac_n "(cached) $ac_c" 1>&6 | 948 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 947 | else | 949 | else | 
| 948 | if test -n "$CC"; then | 950 | if test -n "$CC"; then | 
| 949 | ac_cv_prog_CC="$CC" # Let the user override the test. | 951 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 969 |  | 971 |  | 
| 970 | if test -z "$CC"; then | 972 | if test -z "$CC"; then | 
| 971 | # Extract the first word of "cc", so it can be a program name with args. | 973 | # Extract the first word of "cc", so it can be a program name with args. | 
| 972 | set dummy cc; ac_word=$2 | 974 | set dummy cc; ac_word=$2 | 
| 973 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 975 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 974 | echo "configure:975: checking for $ac_word" >&5 | 976 | echo "configure:977: checking for $ac_word" >&5 | 
| 975 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 977 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 976 | echo $ac_n "(cached) $ac_c" 1>&6 | 978 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 977 | else | 979 | else | 
| 978 | if test -n "$CC"; then | 980 | if test -n "$CC"; then | 
| 979 | ac_cv_prog_CC="$CC" # Let the user override the test. | 981 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1020 | case "`uname -s`" in | 1022 | case "`uname -s`" in | 
| 1021 | *win32* | *WIN32*) | 1023 | *win32* | *WIN32*) | 
| 1022 | # Extract the first word of "cl", so it can be a program name with args. | 1024 | # Extract the first word of "cl", so it can be a program name with args. | 
| 1023 | set dummy cl; ac_word=$2 | 1025 | set dummy cl; ac_word=$2 | 
| 1024 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1026 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
| 1025 | echo "configure:1026: checking for $ac_word" >&5 | 1027 | echo "configure:1028: checking for $ac_word" >&5 | 
| 1026 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1028 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
| 1027 | echo $ac_n "(cached) $ac_c" 1>&6 | 1029 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1028 | else | 1030 | else | 
| 1029 | if test -n "$CC"; then | 1031 | if test -n "$CC"; then | 
| 1030 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1032 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| … |  | … |  | 
| 1052 | fi | 1054 | fi | 
| 1053 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1055 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 
| 1054 | fi | 1056 | fi | 
| 1055 |  | 1057 |  | 
| 1056 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1058 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 
| 1057 | echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1059 | echo "configure:1060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 
| 1058 |  | 1060 |  | 
| 1059 | ac_ext=c | 1061 | ac_ext=c | 
| 1060 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1062 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
| 1061 | ac_cpp='$CPP $CPPFLAGS' | 1063 | ac_cpp='$CPP $CPPFLAGS' | 
| 1062 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1064 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
| 1063 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1065 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
| 1064 | cross_compiling=$ac_cv_prog_cc_cross | 1066 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1065 |  | 1067 |  | 
| 1066 | cat > conftest.$ac_ext << EOF | 1068 | cat > conftest.$ac_ext << EOF | 
| 1067 |  | 1069 |  | 
| 1068 | #line 1069 "configure" | 1070 | #line 1071 "configure" | 
| 1069 | #include "confdefs.h" | 1071 | #include "confdefs.h" | 
| 1070 |  | 1072 |  | 
| 1071 | main(){return(0);} | 1073 | main(){return(0);} | 
| 1072 | EOF | 1074 | EOF | 
| 1073 | if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1075 | if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1074 | ac_cv_prog_cc_works=yes | 1076 | ac_cv_prog_cc_works=yes | 
| 1075 | # If we can't run a trivial program, we are probably using a cross compiler. | 1077 | # If we can't run a trivial program, we are probably using a cross compiler. | 
| 1076 | if (./conftest; exit) 2>/dev/null; then | 1078 | if (./conftest; exit) 2>/dev/null; then | 
| 1077 | ac_cv_prog_cc_cross=no | 1079 | ac_cv_prog_cc_cross=no | 
| 1078 | else | 1080 | else | 
| … |  | … |  | 
| 1094 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1096 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 
| 1095 | if test $ac_cv_prog_cc_works = no; then | 1097 | if test $ac_cv_prog_cc_works = no; then | 
| 1096 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1098 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 
| 1097 | fi | 1099 | fi | 
| 1098 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1100 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 
| 1099 | echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1101 | echo "configure:1102: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 
| 1100 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1102 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 
| 1101 | cross_compiling=$ac_cv_prog_cc_cross | 1103 | cross_compiling=$ac_cv_prog_cc_cross | 
| 1102 |  | 1104 |  | 
| 1103 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1105 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 
| 1104 | echo "configure:1105: checking whether we are using GNU C" >&5 | 1106 | echo "configure:1107: checking whether we are using GNU C" >&5 | 
| 1105 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1107 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 
| 1106 | echo $ac_n "(cached) $ac_c" 1>&6 | 1108 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1107 | else | 1109 | else | 
| 1108 | cat > conftest.c <<EOF | 1110 | cat > conftest.c <<EOF | 
| 1109 | #ifdef __GNUC__ | 1111 | #ifdef __GNUC__ | 
| 1110 | yes; | 1112 | yes; | 
| 1111 | #endif | 1113 | #endif | 
| 1112 | EOF | 1114 | EOF | 
| 1113 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 | 
| 1114 | ac_cv_prog_gcc=yes | 1116 | ac_cv_prog_gcc=yes | 
| 1115 | else | 1117 | else | 
| 1116 | ac_cv_prog_gcc=no | 1118 | ac_cv_prog_gcc=no | 
| 1117 | fi | 1119 | fi | 
| 1118 | fi | 1120 | fi | 
| … |  | … |  | 
| 1127 |  | 1129 |  | 
| 1128 | ac_test_CFLAGS="${CFLAGS+set}" | 1130 | ac_test_CFLAGS="${CFLAGS+set}" | 
| 1129 | ac_save_CFLAGS="$CFLAGS" | 1131 | ac_save_CFLAGS="$CFLAGS" | 
| 1130 | CFLAGS= | 1132 | CFLAGS= | 
| 1131 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1133 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 
| 1132 | echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5 | 1134 | echo "configure:1135: checking whether ${CC-cc} accepts -g" >&5 | 
| 1133 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1135 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 
| 1134 | echo $ac_n "(cached) $ac_c" 1>&6 | 1136 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1135 | else | 1137 | else | 
| 1136 | echo 'void f(){}' > conftest.c | 1138 | echo 'void f(){}' > conftest.c | 
| 1137 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1139 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 
| … |  | … |  | 
| 1170 |  | 1172 |  | 
| 1171 | ac_prog=ld | 1173 | ac_prog=ld | 
| 1172 | if test "$ac_cv_prog_gcc" = yes; then | 1174 | if test "$ac_cv_prog_gcc" = yes; then | 
| 1173 | # Check if gcc -print-prog-name=ld gives a path. | 1175 | # Check if gcc -print-prog-name=ld gives a path. | 
| 1174 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 1176 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 
| 1175 | echo "configure:1176: checking for ld used by GCC" >&5 | 1177 | echo "configure:1178: checking for ld used by GCC" >&5 | 
| 1176 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 1178 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 
| 1177 | case "$ac_prog" in | 1179 | case "$ac_prog" in | 
| 1178 | # Accept absolute paths. | 1180 | # Accept absolute paths. | 
| 1179 | [\\/]* | [A-Za-z]:[\\/]*) | 1181 | [\\/]* | [A-Za-z]:[\\/]*) | 
| 1180 | re_direlt='/[^/][^/]*/\.\./' | 1182 | re_direlt='/[^/][^/]*/\.\./' | 
| … |  | … |  | 
| 1194 | with_gnu_ld=unknown | 1196 | with_gnu_ld=unknown | 
| 1195 | ;; | 1197 | ;; | 
| 1196 | esac | 1198 | esac | 
| 1197 | elif test "$with_gnu_ld" = yes; then | 1199 | elif test "$with_gnu_ld" = yes; then | 
| 1198 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 1200 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 
| 1199 | echo "configure:1200: checking for GNU ld" >&5 | 1201 | echo "configure:1202: checking for GNU ld" >&5 | 
| 1200 | else | 1202 | else | 
| 1201 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 1203 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 
| 1202 | echo "configure:1203: checking for non-GNU ld" >&5 | 1204 | echo "configure:1205: checking for non-GNU ld" >&5 | 
| 1203 | fi | 1205 | fi | 
| 1204 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 1206 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 
| 1205 | echo $ac_n "(cached) $ac_c" 1>&6 | 1207 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1206 | else | 1208 | else | 
| 1207 | if test -z "$LD"; then | 1209 | if test -z "$LD"; then | 
| … |  | … |  | 
| 1233 | echo "$ac_t""no" 1>&6 | 1235 | echo "$ac_t""no" 1>&6 | 
| 1234 | fi | 1236 | fi | 
| 1235 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 1237 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 
| 1236 |  | 1238 |  | 
| 1237 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1239 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 
| 1238 | echo "configure:1239: checking if the linker ($LD) is GNU ld" >&5 | 1240 | echo "configure:1241: checking if the linker ($LD) is GNU ld" >&5 | 
| 1239 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 1241 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 
| 1240 | echo $ac_n "(cached) $ac_c" 1>&6 | 1242 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1241 | else | 1243 | else | 
| 1242 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 1244 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
| 1243 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 1245 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
| … |  | … |  | 
| 1249 |  | 1251 |  | 
| 1250 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 1252 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 
| 1251 |  | 1253 |  | 
| 1252 |  | 1254 |  | 
| 1253 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1255 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 
| 1254 | echo "configure:1255: checking for BSD-compatible nm" >&5 | 1256 | echo "configure:1257: checking for BSD-compatible nm" >&5 | 
| 1255 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 1257 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 
| 1256 | echo $ac_n "(cached) $ac_c" 1>&6 | 1258 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1257 | else | 1259 | else | 
| 1258 | if test -n "$NM"; then | 1260 | if test -n "$NM"; then | 
| 1259 | # Let the user override the test. | 1261 | # Let the user override the test. | 
| … |  | … |  | 
| 1286 | NM="$ac_cv_path_NM" | 1288 | NM="$ac_cv_path_NM" | 
| 1287 | echo "$ac_t""$NM" 1>&6 | 1289 | echo "$ac_t""$NM" 1>&6 | 
| 1288 |  | 1290 |  | 
| 1289 |  | 1291 |  | 
| 1290 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1292 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 
| 1291 | echo "configure:1292: checking whether ln -s works" >&5 | 1293 | echo "configure:1294: checking whether ln -s works" >&5 | 
| 1292 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1294 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 
| 1293 | echo $ac_n "(cached) $ac_c" 1>&6 | 1295 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1294 | else | 1296 | else | 
| 1295 | rm -f conftestdata | 1297 | rm -f conftestdata | 
| 1296 | if ln -s X conftestdata 2>/dev/null | 1298 | if ln -s X conftestdata 2>/dev/null | 
| … |  | … |  | 
| 1330 | # Some flags need to be propagated to the compiler or linker for good | 1332 | # Some flags need to be propagated to the compiler or linker for good | 
| 1331 | # libtool support. | 1333 | # libtool support. | 
| 1332 | case "$host" in | 1334 | case "$host" in | 
| 1333 | *-*-irix6*) | 1335 | *-*-irix6*) | 
| 1334 | # Find out which ABI we are using. | 1336 | # Find out which ABI we are using. | 
| 1335 | echo '#line 1336 "configure"' > conftest.$ac_ext | 1337 | echo '#line 1338 "configure"' > conftest.$ac_ext | 
| 1336 | if { (eval echo configure:1337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1338 | if { (eval echo configure:1339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1337 | case "`/usr/bin/file conftest.o`" in | 1339 | case "`/usr/bin/file conftest.o`" in | 
| 1338 | *32-bit*) | 1340 | *32-bit*) | 
| 1339 | LD="${LD-ld} -32" | 1341 | LD="${LD-ld} -32" | 
| 1340 | ;; | 1342 | ;; | 
| 1341 | *N32*) | 1343 | *N32*) | 
| … |  | … |  | 
| 1352 | *-*-sco3.2v5*) | 1354 | *-*-sco3.2v5*) | 
| 1353 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 1355 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
| 1354 | SAVE_CFLAGS="$CFLAGS" | 1356 | SAVE_CFLAGS="$CFLAGS" | 
| 1355 | CFLAGS="$CFLAGS -belf" | 1357 | CFLAGS="$CFLAGS -belf" | 
| 1356 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 1358 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 
| 1357 | echo "configure:1358: checking whether the C compiler needs -belf" >&5 | 1359 | echo "configure:1360: checking whether the C compiler needs -belf" >&5 | 
| 1358 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 1360 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 
| 1359 | echo $ac_n "(cached) $ac_c" 1>&6 | 1361 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1360 | else | 1362 | else | 
| 1361 | cat > conftest.$ac_ext <<EOF | 1363 | cat > conftest.$ac_ext <<EOF | 
| 1362 | #line 1363 "configure" | 1364 | #line 1365 "configure" | 
| 1363 | #include "confdefs.h" | 1365 | #include "confdefs.h" | 
| 1364 |  | 1366 |  | 
| 1365 | int main() { | 1367 | int main() { | 
| 1366 |  | 1368 |  | 
| 1367 | ; return 0; } | 1369 | ; return 0; } | 
| 1368 | EOF | 1370 | EOF | 
| 1369 | if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1371 | if { (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 1370 | rm -rf conftest* | 1372 | rm -rf conftest* | 
| 1371 | lt_cv_cc_needs_belf=yes | 1373 | lt_cv_cc_needs_belf=yes | 
| 1372 | else | 1374 | else | 
| 1373 | echo "configure: failed program was:" >&5 | 1375 | echo "configure: failed program was:" >&5 | 
| 1374 | cat conftest.$ac_ext >&5 | 1376 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1468 | exec 5>>./config.log | 1470 | exec 5>>./config.log | 
| 1469 |  | 1471 |  | 
| 1470 |  | 1472 |  | 
| 1471 |  | 1473 |  | 
| 1472 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1474 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 
| 1473 | echo "configure:1474: checking how to run the C preprocessor" >&5 | 1475 | echo "configure:1476: checking how to run the C preprocessor" >&5 | 
| 1474 | # On Suns, sometimes $CPP names a directory. | 1476 | # On Suns, sometimes $CPP names a directory. | 
| 1475 | if test -n "$CPP" && test -d "$CPP"; then | 1477 | if test -n "$CPP" && test -d "$CPP"; then | 
| 1476 | CPP= | 1478 | CPP= | 
| 1477 | fi | 1479 | fi | 
| 1478 | if test -z "$CPP"; then | 1480 | if test -z "$CPP"; then | 
| … |  | … |  | 
| 1483 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 1485 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 
| 1484 | CPP="${CC-cc} -E" | 1486 | CPP="${CC-cc} -E" | 
| 1485 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1487 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 1486 | # not just through cpp. | 1488 | # not just through cpp. | 
| 1487 | cat > conftest.$ac_ext <<EOF | 1489 | cat > conftest.$ac_ext <<EOF | 
| 1488 | #line 1489 "configure" | 1490 | #line 1491 "configure" | 
| 1489 | #include "confdefs.h" | 1491 | #include "confdefs.h" | 
| 1490 | #include <assert.h> | 1492 | #include <assert.h> | 
| 1491 | Syntax Error | 1493 | Syntax Error | 
| 1492 | EOF | 1494 | EOF | 
| 1493 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1495 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1494 | { (eval echo configure:1495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1496 | { (eval echo configure:1497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1495 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1497 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1496 | if test -z "$ac_err"; then | 1498 | if test -z "$ac_err"; then | 
| 1497 | : | 1499 | : | 
| 1498 | else | 1500 | else | 
| 1499 | echo "$ac_err" >&5 | 1501 | echo "$ac_err" >&5 | 
| 1500 | echo "configure: failed program was:" >&5 | 1502 | echo "configure: failed program was:" >&5 | 
| 1501 | cat conftest.$ac_ext >&5 | 1503 | cat conftest.$ac_ext >&5 | 
| 1502 | rm -rf conftest* | 1504 | rm -rf conftest* | 
| 1503 | CPP="${CC-cc} -E -traditional-cpp" | 1505 | CPP="${CC-cc} -E -traditional-cpp" | 
| 1504 | cat > conftest.$ac_ext <<EOF | 1506 | cat > conftest.$ac_ext <<EOF | 
| 1505 | #line 1506 "configure" | 1507 | #line 1508 "configure" | 
| 1506 | #include "confdefs.h" | 1508 | #include "confdefs.h" | 
| 1507 | #include <assert.h> | 1509 | #include <assert.h> | 
| 1508 | Syntax Error | 1510 | Syntax Error | 
| 1509 | EOF | 1511 | EOF | 
| 1510 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1512 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1511 | { (eval echo configure:1512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1513 | { (eval echo configure:1514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1512 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1514 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1513 | if test -z "$ac_err"; then | 1515 | if test -z "$ac_err"; then | 
| 1514 | : | 1516 | : | 
| 1515 | else | 1517 | else | 
| 1516 | echo "$ac_err" >&5 | 1518 | echo "$ac_err" >&5 | 
| 1517 | echo "configure: failed program was:" >&5 | 1519 | echo "configure: failed program was:" >&5 | 
| 1518 | cat conftest.$ac_ext >&5 | 1520 | cat conftest.$ac_ext >&5 | 
| 1519 | rm -rf conftest* | 1521 | rm -rf conftest* | 
| 1520 | CPP="${CC-cc} -nologo -E" | 1522 | CPP="${CC-cc} -nologo -E" | 
| 1521 | cat > conftest.$ac_ext <<EOF | 1523 | cat > conftest.$ac_ext <<EOF | 
| 1522 | #line 1523 "configure" | 1524 | #line 1525 "configure" | 
| 1523 | #include "confdefs.h" | 1525 | #include "confdefs.h" | 
| 1524 | #include <assert.h> | 1526 | #include <assert.h> | 
| 1525 | Syntax Error | 1527 | Syntax Error | 
| 1526 | EOF | 1528 | EOF | 
| 1527 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1529 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1528 | { (eval echo configure:1529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1530 | { (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1529 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1531 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1530 | if test -z "$ac_err"; then | 1532 | if test -z "$ac_err"; then | 
| 1531 | : | 1533 | : | 
| 1532 | else | 1534 | else | 
| 1533 | echo "$ac_err" >&5 | 1535 | echo "$ac_err" >&5 | 
| … |  | … |  | 
| 1548 | ac_cv_prog_CPP="$CPP" | 1550 | ac_cv_prog_CPP="$CPP" | 
| 1549 | fi | 1551 | fi | 
| 1550 | echo "$ac_t""$CPP" 1>&6 | 1552 | echo "$ac_t""$CPP" 1>&6 | 
| 1551 |  | 1553 |  | 
| 1552 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1554 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 
| 1553 | echo "configure:1554: checking for ANSI C header files" >&5 | 1555 | echo "configure:1556: checking for ANSI C header files" >&5 | 
| 1554 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1556 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 
| 1555 | echo $ac_n "(cached) $ac_c" 1>&6 | 1557 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1556 | else | 1558 | else | 
| 1557 | cat > conftest.$ac_ext <<EOF | 1559 | cat > conftest.$ac_ext <<EOF | 
| 1558 | #line 1559 "configure" | 1560 | #line 1561 "configure" | 
| 1559 | #include "confdefs.h" | 1561 | #include "confdefs.h" | 
| 1560 | #include <stdlib.h> | 1562 | #include <stdlib.h> | 
| 1561 | #include <stdarg.h> | 1563 | #include <stdarg.h> | 
| 1562 | #include <string.h> | 1564 | #include <string.h> | 
| 1563 | #include <float.h> | 1565 | #include <float.h> | 
| 1564 | EOF | 1566 | EOF | 
| 1565 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1567 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1566 | { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1568 | { (eval echo configure:1569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1567 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1569 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1568 | if test -z "$ac_err"; then | 1570 | if test -z "$ac_err"; then | 
| 1569 | rm -rf conftest* | 1571 | rm -rf conftest* | 
| 1570 | ac_cv_header_stdc=yes | 1572 | ac_cv_header_stdc=yes | 
| 1571 | else | 1573 | else | 
| … |  | … |  | 
| 1578 | rm -f conftest* | 1580 | rm -f conftest* | 
| 1579 |  | 1581 |  | 
| 1580 | if test $ac_cv_header_stdc = yes; then | 1582 | if test $ac_cv_header_stdc = yes; then | 
| 1581 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1583 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 1582 | cat > conftest.$ac_ext <<EOF | 1584 | cat > conftest.$ac_ext <<EOF | 
| 1583 | #line 1584 "configure" | 1585 | #line 1586 "configure" | 
| 1584 | #include "confdefs.h" | 1586 | #include "confdefs.h" | 
| 1585 | #include <string.h> | 1587 | #include <string.h> | 
| 1586 | EOF | 1588 | EOF | 
| 1587 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1589 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1588 | egrep "memchr" >/dev/null 2>&1; then | 1590 | egrep "memchr" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1596 | fi | 1598 | fi | 
| 1597 |  | 1599 |  | 
| 1598 | if test $ac_cv_header_stdc = yes; then | 1600 | if test $ac_cv_header_stdc = yes; then | 
| 1599 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1601 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 1600 | cat > conftest.$ac_ext <<EOF | 1602 | cat > conftest.$ac_ext <<EOF | 
| 1601 | #line 1602 "configure" | 1603 | #line 1604 "configure" | 
| 1602 | #include "confdefs.h" | 1604 | #include "confdefs.h" | 
| 1603 | #include <stdlib.h> | 1605 | #include <stdlib.h> | 
| 1604 | EOF | 1606 | EOF | 
| 1605 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1607 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1606 | egrep "free" >/dev/null 2>&1; then | 1608 | egrep "free" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1617 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1619 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 1618 | if test "$cross_compiling" = yes; then | 1620 | if test "$cross_compiling" = yes; then | 
| 1619 | : | 1621 | : | 
| 1620 | else | 1622 | else | 
| 1621 | cat > conftest.$ac_ext <<EOF | 1623 | cat > conftest.$ac_ext <<EOF | 
| 1622 | #line 1623 "configure" | 1624 | #line 1625 "configure" | 
| 1623 | #include "confdefs.h" | 1625 | #include "confdefs.h" | 
| 1624 | #include <ctype.h> | 1626 | #include <ctype.h> | 
| 1625 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1627 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 1626 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1628 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 1627 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1629 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 1628 | int main () { int i; for (i = 0; i < 256; i++) | 1630 | int main () { int i; for (i = 0; i < 256; i++) | 
| 1629 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1631 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 
| 1630 | exit (0); } | 1632 | exit (0); } | 
| 1631 |  | 1633 |  | 
| 1632 | EOF | 1634 | EOF | 
| 1633 | if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 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 | 
| 1634 | then | 1636 | then | 
| 1635 | : | 1637 | : | 
| 1636 | else | 1638 | else | 
| 1637 | echo "configure: failed program was:" >&5 | 1639 | echo "configure: failed program was:" >&5 | 
| 1638 | cat conftest.$ac_ext >&5 | 1640 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1655 |  | 1657 |  | 
| 1656 | for ac_hdr in unistd.h | 1658 | for ac_hdr in unistd.h | 
| 1657 | do | 1659 | do | 
| 1658 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1660 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 
| 1659 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1661 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 
| 1660 | echo "configure:1661: checking for $ac_hdr" >&5 | 1662 | echo "configure:1663: checking for $ac_hdr" >&5 | 
| 1661 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1663 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 
| 1662 | echo $ac_n "(cached) $ac_c" 1>&6 | 1664 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1663 | else | 1665 | else | 
| 1664 | cat > conftest.$ac_ext <<EOF | 1666 | cat > conftest.$ac_ext <<EOF | 
| 1665 | #line 1666 "configure" | 1667 | #line 1668 "configure" | 
| 1666 | #include "confdefs.h" | 1668 | #include "confdefs.h" | 
| 1667 | #include <$ac_hdr> | 1669 | #include <$ac_hdr> | 
| 1668 | EOF | 1670 | EOF | 
| 1669 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1671 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
| 1670 | { (eval echo configure:1671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1672 | { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1671 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1673 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1672 | if test -z "$ac_err"; then | 1674 | if test -z "$ac_err"; then | 
| 1673 | rm -rf conftest* | 1675 | rm -rf conftest* | 
| 1674 | eval "ac_cv_header_$ac_safe=yes" | 1676 | eval "ac_cv_header_$ac_safe=yes" | 
| 1675 | else | 1677 | else | 
| … |  | … |  | 
| 1693 | fi | 1695 | fi | 
| 1694 | done | 1696 | done | 
| 1695 |  | 1697 |  | 
| 1696 |  | 1698 |  | 
| 1697 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1699 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 
| 1698 | echo "configure:1699: checking for working const" >&5 | 1700 | echo "configure:1701: checking for working const" >&5 | 
| 1699 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1701 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 
| 1700 | echo $ac_n "(cached) $ac_c" 1>&6 | 1702 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1701 | else | 1703 | else | 
| 1702 | cat > conftest.$ac_ext <<EOF | 1704 | cat > conftest.$ac_ext <<EOF | 
| 1703 | #line 1704 "configure" | 1705 | #line 1706 "configure" | 
| 1704 | #include "confdefs.h" | 1706 | #include "confdefs.h" | 
| 1705 |  | 1707 |  | 
| 1706 | int main() { | 1708 | int main() { | 
| 1707 |  | 1709 |  | 
| 1708 | /* Ultrix mips cc rejects this.  */ | 1710 | /* Ultrix mips cc rejects this.  */ | 
| … |  | … |  | 
| 1747 | const int foo = 10; | 1749 | const int foo = 10; | 
| 1748 | } | 1750 | } | 
| 1749 |  | 1751 |  | 
| 1750 | ; return 0; } | 1752 | ; return 0; } | 
| 1751 | EOF | 1753 | EOF | 
| 1752 | if { (eval echo configure:1753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1754 | if { (eval echo configure:1755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1753 | rm -rf conftest* | 1755 | rm -rf conftest* | 
| 1754 | ac_cv_c_const=yes | 1756 | ac_cv_c_const=yes | 
| 1755 | else | 1757 | else | 
| 1756 | echo "configure: failed program was:" >&5 | 1758 | echo "configure: failed program was:" >&5 | 
| 1757 | cat conftest.$ac_ext >&5 | 1759 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1768 | EOF | 1770 | EOF | 
| 1769 |  | 1771 |  | 
| 1770 | fi | 1772 | fi | 
| 1771 |  | 1773 |  | 
| 1772 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 1774 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 
| 1773 | echo "configure:1774: checking for size_t" >&5 | 1775 | echo "configure:1776: checking for size_t" >&5 | 
| 1774 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 1776 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 
| 1775 | echo $ac_n "(cached) $ac_c" 1>&6 | 1777 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1776 | else | 1778 | else | 
| 1777 | cat > conftest.$ac_ext <<EOF | 1779 | cat > conftest.$ac_ext <<EOF | 
| 1778 | #line 1779 "configure" | 1780 | #line 1781 "configure" | 
| 1779 | #include "confdefs.h" | 1781 | #include "confdefs.h" | 
| 1780 | #include <sys/types.h> | 1782 | #include <sys/types.h> | 
| 1781 | #if STDC_HEADERS | 1783 | #if STDC_HEADERS | 
| 1782 | #include <stdlib.h> | 1784 | #include <stdlib.h> | 
| 1783 | #include <stddef.h> | 1785 | #include <stddef.h> | 
| … |  | … |  | 
| 1803 | fi | 1805 | fi | 
| 1804 |  | 1806 |  | 
| 1805 |  | 1807 |  | 
| 1806 |  | 1808 |  | 
| 1807 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 1809 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 
| 1808 | echo "configure:1809: checking size of char" >&5 | 1810 | echo "configure:1811: checking size of char" >&5 | 
| 1809 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 1811 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 
| 1810 | echo $ac_n "(cached) $ac_c" 1>&6 | 1812 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1811 | else | 1813 | else | 
| 1812 | if test "$cross_compiling" = yes; then | 1814 | if test "$cross_compiling" = yes; then | 
| 1813 | ac_cv_sizeof_char=1 | 1815 | ac_cv_sizeof_char=1 | 
| 1814 | else | 1816 | else | 
| 1815 | cat > conftest.$ac_ext <<EOF | 1817 | cat > conftest.$ac_ext <<EOF | 
| 1816 | #line 1817 "configure" | 1818 | #line 1819 "configure" | 
| 1817 | #include "confdefs.h" | 1819 | #include "confdefs.h" | 
| 1818 | #include <stdio.h> | 1820 | #include <stdio.h> | 
| 1819 | main() | 1821 | main() | 
| 1820 | { | 1822 | { | 
| 1821 | FILE *f=fopen("conftestval", "w"); | 1823 | FILE *f=fopen("conftestval", "w"); | 
| 1822 | if (!f) exit(1); | 1824 | if (!f) exit(1); | 
| 1823 | fprintf(f, "%d\n", sizeof(char)); | 1825 | fprintf(f, "%d\n", sizeof(char)); | 
| 1824 | exit(0); | 1826 | exit(0); | 
| 1825 | } | 1827 | } | 
| 1826 | EOF | 1828 | EOF | 
| 1827 | if { (eval echo configure:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 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 | 
| 1828 | then | 1830 | then | 
| 1829 | ac_cv_sizeof_char=`cat conftestval` | 1831 | ac_cv_sizeof_char=`cat conftestval` | 
| 1830 | else | 1832 | else | 
| 1831 | echo "configure: failed program was:" >&5 | 1833 | echo "configure: failed program was:" >&5 | 
| 1832 | cat conftest.$ac_ext >&5 | 1834 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1842 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 1844 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 
| 1843 | EOF | 1845 | EOF | 
| 1844 |  | 1846 |  | 
| 1845 |  | 1847 |  | 
| 1846 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 1848 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 
| 1847 | echo "configure:1848: checking size of short" >&5 | 1849 | echo "configure:1850: checking size of short" >&5 | 
| 1848 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 1850 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 
| 1849 | echo $ac_n "(cached) $ac_c" 1>&6 | 1851 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1850 | else | 1852 | else | 
| 1851 | if test "$cross_compiling" = yes; then | 1853 | if test "$cross_compiling" = yes; then | 
| 1852 | ac_cv_sizeof_short=1 | 1854 | ac_cv_sizeof_short=1 | 
| 1853 | else | 1855 | else | 
| 1854 | cat > conftest.$ac_ext <<EOF | 1856 | cat > conftest.$ac_ext <<EOF | 
| 1855 | #line 1856 "configure" | 1857 | #line 1858 "configure" | 
| 1856 | #include "confdefs.h" | 1858 | #include "confdefs.h" | 
| 1857 | #include <stdio.h> | 1859 | #include <stdio.h> | 
| 1858 | main() | 1860 | main() | 
| 1859 | { | 1861 | { | 
| 1860 | FILE *f=fopen("conftestval", "w"); | 1862 | FILE *f=fopen("conftestval", "w"); | 
| 1861 | if (!f) exit(1); | 1863 | if (!f) exit(1); | 
| 1862 | fprintf(f, "%d\n", sizeof(short)); | 1864 | fprintf(f, "%d\n", sizeof(short)); | 
| 1863 | exit(0); | 1865 | exit(0); | 
| 1864 | } | 1866 | } | 
| 1865 | EOF | 1867 | EOF | 
| 1866 | if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 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 | 
| 1867 | then | 1869 | then | 
| 1868 | ac_cv_sizeof_short=`cat conftestval` | 1870 | ac_cv_sizeof_short=`cat conftestval` | 
| 1869 | else | 1871 | else | 
| 1870 | echo "configure: failed program was:" >&5 | 1872 | echo "configure: failed program was:" >&5 | 
| 1871 | cat conftest.$ac_ext >&5 | 1873 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1881 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 1883 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| 1882 | EOF | 1884 | EOF | 
| 1883 |  | 1885 |  | 
| 1884 |  | 1886 |  | 
| 1885 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 1887 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 
| 1886 | echo "configure:1887: checking size of int" >&5 | 1888 | echo "configure:1889: checking size of int" >&5 | 
| 1887 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 1889 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 
| 1888 | echo $ac_n "(cached) $ac_c" 1>&6 | 1890 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1889 | else | 1891 | else | 
| 1890 | if test "$cross_compiling" = yes; then | 1892 | if test "$cross_compiling" = yes; then | 
| 1891 | ac_cv_sizeof_int=2 | 1893 | ac_cv_sizeof_int=2 | 
| 1892 | else | 1894 | else | 
| 1893 | cat > conftest.$ac_ext <<EOF | 1895 | cat > conftest.$ac_ext <<EOF | 
| 1894 | #line 1895 "configure" | 1896 | #line 1897 "configure" | 
| 1895 | #include "confdefs.h" | 1897 | #include "confdefs.h" | 
| 1896 | #include <stdio.h> | 1898 | #include <stdio.h> | 
| 1897 | main() | 1899 | main() | 
| 1898 | { | 1900 | { | 
| 1899 | FILE *f=fopen("conftestval", "w"); | 1901 | FILE *f=fopen("conftestval", "w"); | 
| 1900 | if (!f) exit(1); | 1902 | if (!f) exit(1); | 
| 1901 | fprintf(f, "%d\n", sizeof(int)); | 1903 | fprintf(f, "%d\n", sizeof(int)); | 
| 1902 | exit(0); | 1904 | exit(0); | 
| 1903 | } | 1905 | } | 
| 1904 | EOF | 1906 | EOF | 
| 1905 | if { (eval echo configure:1906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 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 | 
| 1906 | then | 1908 | then | 
| 1907 | ac_cv_sizeof_int=`cat conftestval` | 1909 | ac_cv_sizeof_int=`cat conftestval` | 
| 1908 | else | 1910 | else | 
| 1909 | echo "configure: failed program was:" >&5 | 1911 | echo "configure: failed program was:" >&5 | 
| 1910 | cat conftest.$ac_ext >&5 | 1912 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1920 | #define SIZEOF_INT $ac_cv_sizeof_int | 1922 | #define SIZEOF_INT $ac_cv_sizeof_int | 
| 1921 | EOF | 1923 | EOF | 
| 1922 |  | 1924 |  | 
| 1923 |  | 1925 |  | 
| 1924 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 1926 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 
| 1925 | echo "configure:1926: checking size of long" >&5 | 1927 | echo "configure:1928: checking size of long" >&5 | 
| 1926 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 1928 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 
| 1927 | echo $ac_n "(cached) $ac_c" 1>&6 | 1929 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1928 | else | 1930 | else | 
| 1929 | if test "$cross_compiling" = yes; then | 1931 | if test "$cross_compiling" = yes; then | 
| 1930 | ac_cv_sizeof_long=4 | 1932 | ac_cv_sizeof_long=4 | 
| 1931 | else | 1933 | else | 
| 1932 | cat > conftest.$ac_ext <<EOF | 1934 | cat > conftest.$ac_ext <<EOF | 
| 1933 | #line 1934 "configure" | 1935 | #line 1936 "configure" | 
| 1934 | #include "confdefs.h" | 1936 | #include "confdefs.h" | 
| 1935 | #include <stdio.h> | 1937 | #include <stdio.h> | 
| 1936 | main() | 1938 | main() | 
| 1937 | { | 1939 | { | 
| 1938 | FILE *f=fopen("conftestval", "w"); | 1940 | FILE *f=fopen("conftestval", "w"); | 
| 1939 | if (!f) exit(1); | 1941 | if (!f) exit(1); | 
| 1940 | fprintf(f, "%d\n", sizeof(long)); | 1942 | fprintf(f, "%d\n", sizeof(long)); | 
| 1941 | exit(0); | 1943 | exit(0); | 
| 1942 | } | 1944 | } | 
| 1943 | EOF | 1945 | EOF | 
| 1944 | if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 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 | 
| 1945 | then | 1947 | then | 
| 1946 | ac_cv_sizeof_long=`cat conftestval` | 1948 | ac_cv_sizeof_long=`cat conftestval` | 
| 1947 | else | 1949 | else | 
| 1948 | echo "configure: failed program was:" >&5 | 1950 | echo "configure: failed program was:" >&5 | 
| 1949 | cat conftest.$ac_ext >&5 | 1951 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1960 | EOF | 1962 | EOF | 
| 1961 |  | 1963 |  | 
| 1962 |  | 1964 |  | 
| 1963 |  | 1965 |  | 
| 1964 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 1966 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 
| 1965 | echo "configure:1966: checking for an 8 bit integer type" >&5 | 1967 | echo "configure:1968: checking for an 8 bit integer type" >&5 | 
| 1966 | if test $ac_cv_sizeof_char -ge 1 ; then | 1968 | if test $ac_cv_sizeof_char -ge 1 ; then | 
| 1967 | INT_8_BIT=char | 1969 | INT_8_BIT=char | 
| 1968 | echo "$ac_t""char" 1>&6 | 1970 | echo "$ac_t""char" 1>&6 | 
| 1969 | elif test $ac_cv_sizeof_short -ge 1 ; then | 1971 | elif test $ac_cv_sizeof_short -ge 1 ; then | 
| 1970 | INT_8_BIT=short | 1972 | INT_8_BIT=short | 
| … |  | … |  | 
| 1978 | else | 1980 | else | 
| 1979 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 1981 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 
| 1980 | fi | 1982 | fi | 
| 1981 |  | 1983 |  | 
| 1982 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 1984 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 
| 1983 | echo "configure:1984: checking for a 16 bit integer type" >&5 | 1985 | echo "configure:1986: checking for a 16 bit integer type" >&5 | 
| 1984 | if test $ac_cv_sizeof_char -ge 2 ; then | 1986 | if test $ac_cv_sizeof_char -ge 2 ; then | 
| 1985 | INT_16_BIT=char | 1987 | INT_16_BIT=char | 
| 1986 | echo "$ac_t""char" 1>&6 | 1988 | echo "$ac_t""char" 1>&6 | 
| 1987 | elif test $ac_cv_sizeof_short -ge 2 ; then | 1989 | elif test $ac_cv_sizeof_short -ge 2 ; then | 
| 1988 | INT_16_BIT=short | 1990 | INT_16_BIT=short | 
| … |  | … |  | 
| 1996 | else | 1998 | else | 
| 1997 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 1999 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 
| 1998 | fi | 2000 | fi | 
| 1999 |  | 2001 |  | 
| 2000 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 2002 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 
| 2001 | echo "configure:2002: checking for a 32 bit integer type" >&5 | 2003 | echo "configure:2004: checking for a 32 bit integer type" >&5 | 
| 2002 | if test $ac_cv_sizeof_char -ge 4 ; then | 2004 | if test $ac_cv_sizeof_char -ge 4 ; then | 
| 2003 | INT_32_BIT=char | 2005 | INT_32_BIT=char | 
| 2004 | echo "$ac_t""char" 1>&6 | 2006 | echo "$ac_t""char" 1>&6 | 
| 2005 | elif test $ac_cv_sizeof_short -ge 4 ; then | 2007 | elif test $ac_cv_sizeof_short -ge 4 ; then | 
| 2006 | INT_32_BIT=short | 2008 | INT_32_BIT=short | 
| … |  | … |  | 
| 2018 |  | 2020 |  | 
| 2019 |  | 2021 |  | 
| 2020 |  | 2022 |  | 
| 2021 |  | 2023 |  | 
| 2022 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 2024 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 
| 2023 | echo "configure:2024: checking for vprintf" >&5 | 2025 | echo "configure:2026: checking for vprintf" >&5 | 
| 2024 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 2026 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 
| 2025 | echo $ac_n "(cached) $ac_c" 1>&6 | 2027 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2026 | else | 2028 | else | 
| 2027 | cat > conftest.$ac_ext <<EOF | 2029 | cat > conftest.$ac_ext <<EOF | 
| 2028 | #line 2029 "configure" | 2030 | #line 2031 "configure" | 
| 2029 | #include "confdefs.h" | 2031 | #include "confdefs.h" | 
| 2030 | /* System header to define __stub macros and hopefully few prototypes, | 2032 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2031 | which can conflict with char vprintf(); below.  */ | 2033 | which can conflict with char vprintf(); below.  */ | 
| 2032 | #include <assert.h> | 2034 | #include <assert.h> | 
| 2033 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2035 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2046 | vprintf(); | 2048 | vprintf(); | 
| 2047 | #endif | 2049 | #endif | 
| 2048 |  | 2050 |  | 
| 2049 | ; return 0; } | 2051 | ; return 0; } | 
| 2050 | EOF | 2052 | EOF | 
| 2051 | if { (eval echo configure:2052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2053 | if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2052 | rm -rf conftest* | 2054 | rm -rf conftest* | 
| 2053 | eval "ac_cv_func_vprintf=yes" | 2055 | eval "ac_cv_func_vprintf=yes" | 
| 2054 | else | 2056 | else | 
| 2055 | echo "configure: failed program was:" >&5 | 2057 | echo "configure: failed program was:" >&5 | 
| 2056 | cat conftest.$ac_ext >&5 | 2058 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2070 | echo "$ac_t""no" 1>&6 | 2072 | echo "$ac_t""no" 1>&6 | 
| 2071 | fi | 2073 | fi | 
| 2072 |  | 2074 |  | 
| 2073 | if test "$ac_cv_func_vprintf" != yes; then | 2075 | if test "$ac_cv_func_vprintf" != yes; then | 
| 2074 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 2076 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 
| 2075 | echo "configure:2076: checking for _doprnt" >&5 | 2077 | echo "configure:2078: checking for _doprnt" >&5 | 
| 2076 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 2078 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 
| 2077 | echo $ac_n "(cached) $ac_c" 1>&6 | 2079 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2078 | else | 2080 | else | 
| 2079 | cat > conftest.$ac_ext <<EOF | 2081 | cat > conftest.$ac_ext <<EOF | 
| 2080 | #line 2081 "configure" | 2082 | #line 2083 "configure" | 
| 2081 | #include "confdefs.h" | 2083 | #include "confdefs.h" | 
| 2082 | /* System header to define __stub macros and hopefully few prototypes, | 2084 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2083 | which can conflict with char _doprnt(); below.  */ | 2085 | which can conflict with char _doprnt(); below.  */ | 
| 2084 | #include <assert.h> | 2086 | #include <assert.h> | 
| 2085 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2087 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2098 | _doprnt(); | 2100 | _doprnt(); | 
| 2099 | #endif | 2101 | #endif | 
| 2100 |  | 2102 |  | 
| 2101 | ; return 0; } | 2103 | ; return 0; } | 
| 2102 | EOF | 2104 | EOF | 
| 2103 | if { (eval echo configure:2104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2105 | if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2104 | rm -rf conftest* | 2106 | rm -rf conftest* | 
| 2105 | eval "ac_cv_func__doprnt=yes" | 2107 | eval "ac_cv_func__doprnt=yes" | 
| 2106 | else | 2108 | else | 
| 2107 | echo "configure: failed program was:" >&5 | 2109 | echo "configure: failed program was:" >&5 | 
| 2108 | cat conftest.$ac_ext >&5 | 2110 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2125 | fi | 2127 | fi | 
| 2126 |  | 2128 |  | 
| 2127 | for ac_func in strdup | 2129 | for ac_func in strdup | 
| 2128 | do | 2130 | do | 
| 2129 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2131 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2130 | echo "configure:2131: checking for $ac_func" >&5 | 2132 | echo "configure:2133: checking for $ac_func" >&5 | 
| 2131 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2133 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2132 | echo $ac_n "(cached) $ac_c" 1>&6 | 2134 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2133 | else | 2135 | else | 
| 2134 | cat > conftest.$ac_ext <<EOF | 2136 | cat > conftest.$ac_ext <<EOF | 
| 2135 | #line 2136 "configure" | 2137 | #line 2138 "configure" | 
| 2136 | #include "confdefs.h" | 2138 | #include "confdefs.h" | 
| 2137 | /* System header to define __stub macros and hopefully few prototypes, | 2139 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2138 | which can conflict with char $ac_func(); below.  */ | 2140 | which can conflict with char $ac_func(); below.  */ | 
| 2139 | #include <assert.h> | 2141 | #include <assert.h> | 
| 2140 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2142 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2153 | $ac_func(); | 2155 | $ac_func(); | 
| 2154 | #endif | 2156 | #endif | 
| 2155 |  | 2157 |  | 
| 2156 | ; return 0; } | 2158 | ; return 0; } | 
| 2157 | EOF | 2159 | EOF | 
| 2158 | if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2160 | if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2159 | rm -rf conftest* | 2161 | rm -rf conftest* | 
| 2160 | eval "ac_cv_func_$ac_func=yes" | 2162 | eval "ac_cv_func_$ac_func=yes" | 
| 2161 | else | 2163 | else | 
| 2162 | echo "configure: failed program was:" >&5 | 2164 | echo "configure: failed program was:" >&5 | 
| 2163 | cat conftest.$ac_ext >&5 | 2165 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2180 | done | 2182 | done | 
| 2181 |  | 2183 |  | 
| 2182 | for ac_func in strdup | 2184 | for ac_func in strdup | 
| 2183 | do | 2185 | do | 
| 2184 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2186 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2185 | echo "configure:2186: checking for $ac_func" >&5 | 2187 | echo "configure:2188: checking for $ac_func" >&5 | 
| 2186 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2188 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2187 | echo $ac_n "(cached) $ac_c" 1>&6 | 2189 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2188 | else | 2190 | else | 
| 2189 | cat > conftest.$ac_ext <<EOF | 2191 | cat > conftest.$ac_ext <<EOF | 
| 2190 | #line 2191 "configure" | 2192 | #line 2193 "configure" | 
| 2191 | #include "confdefs.h" | 2193 | #include "confdefs.h" | 
| 2192 | /* System header to define __stub macros and hopefully few prototypes, | 2194 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2193 | which can conflict with char $ac_func(); below.  */ | 2195 | which can conflict with char $ac_func(); below.  */ | 
| 2194 | #include <assert.h> | 2196 | #include <assert.h> | 
| 2195 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2197 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2208 | $ac_func(); | 2210 | $ac_func(); | 
| 2209 | #endif | 2211 | #endif | 
| 2210 |  | 2212 |  | 
| 2211 | ; return 0; } | 2213 | ; return 0; } | 
| 2212 | EOF | 2214 | EOF | 
| 2213 | if { (eval echo configure:2214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2215 | if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2214 | rm -rf conftest* | 2216 | rm -rf conftest* | 
| 2215 | eval "ac_cv_func_$ac_func=yes" | 2217 | eval "ac_cv_func_$ac_func=yes" | 
| 2216 | else | 2218 | else | 
| 2217 | echo "configure: failed program was:" >&5 | 2219 | echo "configure: failed program was:" >&5 | 
| 2218 | cat conftest.$ac_ext >&5 | 2220 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2299 | ASCIIDOCS_TRUE= | 2301 | ASCIIDOCS_TRUE= | 
| 2300 | ASCIIDOCS_FALSE='#' | 2302 | ASCIIDOCS_FALSE='#' | 
| 2301 | else | 2303 | else | 
| 2302 | ASCIIDOCS_TRUE='#' | 2304 | ASCIIDOCS_TRUE='#' | 
| 2303 | ASCIIDOCS_FALSE= | 2305 | ASCIIDOCS_FALSE= | 
|  |  | 2306 | fi | 
|  |  | 2307 |  | 
|  |  | 2308 | # Check whether --enable-rtf-docs or --disable-rtf-docs was given. | 
|  |  | 2309 | if test "${enable_rtf_docs+set}" = set; then | 
|  |  | 2310 | enableval="$enable_rtf_docs" | 
|  |  | 2311 | case "${enableval}" in | 
|  |  | 2312 | yes) rtfdocs=true ;; | 
|  |  | 2313 | no)  rtfdocs=false ;; | 
|  |  | 2314 | *)  { echo "configure: error: bad value ${enableval} for --enable-rtf-docs" 1>&2; exit 1; } ;; | 
|  |  | 2315 | esac | 
|  |  | 2316 | else | 
|  |  | 2317 | rtfdocs=false | 
|  |  | 2318 | fi | 
|  |  | 2319 |  | 
|  |  | 2320 |  | 
|  |  | 2321 |  | 
|  |  | 2322 | if test x$rtfdocs = xtrue; then | 
|  |  | 2323 | RTFDOCS_TRUE= | 
|  |  | 2324 | RTFDOCS_FALSE='#' | 
|  |  | 2325 | else | 
|  |  | 2326 | RTFDOCS_TRUE='#' | 
|  |  | 2327 | RTFDOCS_FALSE= | 
| 2304 | fi | 2328 | fi | 
| 2305 |  | 2329 |  | 
| 2306 | trap '' 1 2 15 | 2330 | trap '' 1 2 15 | 
| 2307 | cat > confcache <<\EOF | 2331 | cat > confcache <<\EOF | 
| 2308 | # This file is a shell script that caches the results of configure | 2332 | # This file is a shell script that caches the results of configure | 
| … |  | … |  | 
| 2472 | s%@HTMLDOCS_FALSE@%$HTMLDOCS_FALSE%g | 2496 | s%@HTMLDOCS_FALSE@%$HTMLDOCS_FALSE%g | 
| 2473 | s%@HTML4DOCS_TRUE@%$HTML4DOCS_TRUE%g | 2497 | s%@HTML4DOCS_TRUE@%$HTML4DOCS_TRUE%g | 
| 2474 | s%@HTML4DOCS_FALSE@%$HTML4DOCS_FALSE%g | 2498 | s%@HTML4DOCS_FALSE@%$HTML4DOCS_FALSE%g | 
| 2475 | s%@ASCIIDOCS_TRUE@%$ASCIIDOCS_TRUE%g | 2499 | s%@ASCIIDOCS_TRUE@%$ASCIIDOCS_TRUE%g | 
| 2476 | s%@ASCIIDOCS_FALSE@%$ASCIIDOCS_FALSE%g | 2500 | s%@ASCIIDOCS_FALSE@%$ASCIIDOCS_FALSE%g | 
|  |  | 2501 | s%@RTFDOCS_TRUE@%$RTFDOCS_TRUE%g | 
|  |  | 2502 | s%@RTFDOCS_FALSE@%$RTFDOCS_FALSE%g | 
| 2477 |  | 2503 |  | 
| 2478 | CEOF | 2504 | CEOF | 
| 2479 | EOF | 2505 | EOF | 
| 2480 |  | 2506 |  | 
| 2481 | cat >> $CONFIG_STATUS <<\EOF | 2507 | cat >> $CONFIG_STATUS <<\EOF |