comparison configure @ 438:84b14dcb0985 r21-2-27

Import from CVS: tag r21-2-27
author cvs
date Mon, 13 Aug 2007 11:32:25 +0200
parents 9d177e8d4150
children 8de8e3f6228a
comparison
equal deleted inserted replaced
437:e2a4e8b94b82 438:84b14dcb0985
513 513
514 "mail_locking" ) 514 "mail_locking" )
515 case "$val" in 515 case "$val" in
516 lockf ) val=lockf ;; 516 lockf ) val=lockf ;;
517 flock ) val=flock ;; 517 flock ) val=flock ;;
518 file ) val=file ;; 518 file | dot ) val=file ;;
519 locking ) val=locking ;;
519 * ) (echo "$progname: Usage error:" 520 * ) (echo "$progname: Usage error:"
520 echo " " "The \`--$optname' option must have one of these values: 521 echo " " "The \`--$optname' option must have one of these values:
521 \`lockf', \`flock', or \`file'." 522 \`lockf', \`flock', \`file', \`locking', or \`mmdf'."
522 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; 523 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;;
523 esac 524 esac
524 eval "$opt=\"$val\"" 525 eval "$opt=\"$val\""
525 ;; 526 ;;
526 527
828 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 829 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
829 fi 830 fi
830 fi 831 fi
831 832
832 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 833 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
833 echo "configure:834: checking whether ln -s works" >&5 834 echo "configure:835: checking whether ln -s works" >&5
834 835
835 rm -f conftestdata 836 rm -f conftestdata
836 if ln -s X conftestdata 2>/dev/null 837 if ln -s X conftestdata 2>/dev/null
837 then 838 then
838 rm -f conftestdata 839 rm -f conftestdata
846 else 847 else
847 echo "$ac_t""no" 1>&6 848 echo "$ac_t""no" 1>&6
848 fi 849 fi
849 850
850 851
851 for dir in lisp etc man info; do 852 for dir in lisp etc man info tests; do
852 if test ! -d "$dir" ; then 853 if test ! -d "$dir" ; then
853 echo Making symbolic link to "$srcdir/$dir" 854 echo Making symbolic link to "$srcdir/$dir"
854 ${LN_S} "$srcdir/$dir" "$dir" 855 ${LN_S} "$srcdir/$dir" "$dir"
855 fi 856 fi
856 done 857 done
1073 } 1074 }
1074 1075
1075 1076
1076 1077
1077 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 1078 echo $ac_n "checking "host system type"""... $ac_c" 1>&6
1078 echo "configure:1079: checking "host system type"" >&5 1079 echo "configure:1080: checking "host system type"" >&5
1079 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 1080 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
1080 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` 1081 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"`
1081 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1082 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1082 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1083 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1083 echo "$ac_t""$configuration" 1>&6 1084 echo "$ac_t""$configuration" 1>&6
1567 xe_save_CFLAGS="$CFLAGS" 1568 xe_save_CFLAGS="$CFLAGS"
1568 1569
1569 # Extract the first word of "gcc", so it can be a program name with args. 1570 # Extract the first word of "gcc", so it can be a program name with args.
1570 set dummy gcc; ac_word=$2 1571 set dummy gcc; ac_word=$2
1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1572 echo "configure:1573: checking for $ac_word" >&5 1573 echo "configure:1574: checking for $ac_word" >&5
1573 1574
1574 if test -n "$CC"; then 1575 if test -n "$CC"; then
1575 ac_cv_prog_CC="$CC" # Let the user override the test. 1576 ac_cv_prog_CC="$CC" # Let the user override the test.
1576 else 1577 else
1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1578 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1594 1595
1595 if test -z "$CC"; then 1596 if test -z "$CC"; then
1596 # Extract the first word of "cc", so it can be a program name with args. 1597 # Extract the first word of "cc", so it can be a program name with args.
1597 set dummy cc; ac_word=$2 1598 set dummy cc; ac_word=$2
1598 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1599 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1599 echo "configure:1600: checking for $ac_word" >&5 1600 echo "configure:1601: checking for $ac_word" >&5
1600 1601
1601 if test -n "$CC"; then 1602 if test -n "$CC"; then
1602 ac_cv_prog_CC="$CC" # Let the user override the test. 1603 ac_cv_prog_CC="$CC" # Let the user override the test.
1603 else 1604 else
1604 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1642 case "`uname -s`" in 1643 case "`uname -s`" in
1643 *win32* | *WIN32*) 1644 *win32* | *WIN32*)
1644 # Extract the first word of "cl", so it can be a program name with args. 1645 # Extract the first word of "cl", so it can be a program name with args.
1645 set dummy cl; ac_word=$2 1646 set dummy cl; ac_word=$2
1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1647 echo "configure:1648: checking for $ac_word" >&5 1648 echo "configure:1649: checking for $ac_word" >&5
1648 1649
1649 if test -n "$CC"; then 1650 if test -n "$CC"; then
1650 ac_cv_prog_CC="$CC" # Let the user override the test. 1651 ac_cv_prog_CC="$CC" # Let the user override the test.
1651 else 1652 else
1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1671 fi 1672 fi
1672 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1673 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1673 fi 1674 fi
1674 1675
1675 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1676 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1676 echo "configure:1677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1677 echo "configure:1678: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1677 1678
1678 ac_ext=c 1679 ac_ext=c
1679 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1680 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1680 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1681 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1681 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1682 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1684 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1685 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1685 cross_compiling=no 1686 cross_compiling=no
1686 1687
1687 cat > conftest.$ac_ext << EOF 1688 cat > conftest.$ac_ext << EOF
1688 1689
1689 #line 1690 "configure" 1690 #line 1691 "configure"
1690 #include "confdefs.h" 1691 #include "confdefs.h"
1691 1692
1692 main(){return(0);} 1693 main(){return(0);}
1693 EOF 1694 EOF
1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1695 if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1695 ac_cv_prog_cc_works=yes 1696 ac_cv_prog_cc_works=yes
1696 # If we can't run a trivial program, we are probably using a cross compiler. 1697 # If we can't run a trivial program, we are probably using a cross compiler.
1697 if (./conftest; exit) 2>/dev/null; then 1698 if (./conftest; exit) 2>/dev/null; then
1698 ac_cv_prog_cc_cross=no 1699 ac_cv_prog_cc_cross=no
1699 else 1700 else
1717 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1718 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1718 if test $ac_cv_prog_cc_works = no; then 1719 if test $ac_cv_prog_cc_works = no; then
1719 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1720 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1720 fi 1721 fi
1721 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1722 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1722 echo "configure:1723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1723 echo "configure:1724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1723 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1724 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1724 cross_compiling=$ac_cv_prog_cc_cross 1725 cross_compiling=$ac_cv_prog_cc_cross
1725 1726
1726 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1727 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1727 echo "configure:1728: checking whether we are using GNU C" >&5 1728 echo "configure:1729: checking whether we are using GNU C" >&5
1728 1729
1729 cat > conftest.c <<EOF 1730 cat > conftest.c <<EOF
1730 #ifdef __GNUC__ 1731 #ifdef __GNUC__
1731 yes; 1732 yes;
1732 #endif 1733 #endif
1733 EOF 1734 EOF
1734 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1735 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1735 ac_cv_prog_gcc=yes 1736 ac_cv_prog_gcc=yes
1736 else 1737 else
1737 ac_cv_prog_gcc=no 1738 ac_cv_prog_gcc=no
1738 fi 1739 fi
1739 1740
1747 1748
1748 ac_test_CFLAGS="${CFLAGS+set}" 1749 ac_test_CFLAGS="${CFLAGS+set}"
1749 ac_save_CFLAGS="$CFLAGS" 1750 ac_save_CFLAGS="$CFLAGS"
1750 CFLAGS= 1751 CFLAGS=
1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1752 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 1753 echo "configure:1754: checking whether ${CC-cc} accepts -g" >&5
1753 1754
1754 echo 'void f(){}' > conftest.c 1755 echo 'void f(){}' > conftest.c
1755 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1756 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1756 ac_cv_prog_cc_g=yes 1757 ac_cv_prog_cc_g=yes
1757 else 1758 else
1780 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1781 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1781 CC=${NON_GNU_CC-cc} 1782 CC=${NON_GNU_CC-cc}
1782 # Extract the first word of "gcc", so it can be a program name with args. 1783 # Extract the first word of "gcc", so it can be a program name with args.
1783 set dummy gcc; ac_word=$2 1784 set dummy gcc; ac_word=$2
1784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1785 echo "configure:1786: checking for $ac_word" >&5 1786 echo "configure:1787: checking for $ac_word" >&5
1786 1787
1787 if test -n "$CC"; then 1788 if test -n "$CC"; then
1788 ac_cv_prog_CC="$CC" # Let the user override the test. 1789 ac_cv_prog_CC="$CC" # Let the user override the test.
1789 else 1790 else
1790 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1807 1808
1808 if test -z "$CC"; then 1809 if test -z "$CC"; then
1809 # Extract the first word of "cc", so it can be a program name with args. 1810 # Extract the first word of "cc", so it can be a program name with args.
1810 set dummy cc; ac_word=$2 1811 set dummy cc; ac_word=$2
1811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1812 echo "configure:1813: checking for $ac_word" >&5 1813 echo "configure:1814: checking for $ac_word" >&5
1813 1814
1814 if test -n "$CC"; then 1815 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test. 1816 ac_cv_prog_CC="$CC" # Let the user override the test.
1816 else 1817 else
1817 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1818 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1855 case "`uname -s`" in 1856 case "`uname -s`" in
1856 *win32* | *WIN32*) 1857 *win32* | *WIN32*)
1857 # Extract the first word of "cl", so it can be a program name with args. 1858 # Extract the first word of "cl", so it can be a program name with args.
1858 set dummy cl; ac_word=$2 1859 set dummy cl; ac_word=$2
1859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1860 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1860 echo "configure:1861: checking for $ac_word" >&5 1861 echo "configure:1862: checking for $ac_word" >&5
1861 1862
1862 if test -n "$CC"; then 1863 if test -n "$CC"; then
1863 ac_cv_prog_CC="$CC" # Let the user override the test. 1864 ac_cv_prog_CC="$CC" # Let the user override the test.
1864 else 1865 else
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1884 fi 1885 fi
1885 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1886 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1886 fi 1887 fi
1887 1888
1888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1889 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1889 echo "configure:1890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1890 echo "configure:1891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1890 1891
1891 ac_ext=c 1892 ac_ext=c
1892 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1893 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1893 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1894 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1894 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1895 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1897 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1898 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1898 cross_compiling=no 1899 cross_compiling=no
1899 1900
1900 cat > conftest.$ac_ext << EOF 1901 cat > conftest.$ac_ext << EOF
1901 1902
1902 #line 1903 "configure" 1903 #line 1904 "configure"
1903 #include "confdefs.h" 1904 #include "confdefs.h"
1904 1905
1905 main(){return(0);} 1906 main(){return(0);}
1906 EOF 1907 EOF
1907 if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1908 if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1908 ac_cv_prog_cc_works=yes 1909 ac_cv_prog_cc_works=yes
1909 # If we can't run a trivial program, we are probably using a cross compiler. 1910 # If we can't run a trivial program, we are probably using a cross compiler.
1910 if (./conftest; exit) 2>/dev/null; then 1911 if (./conftest; exit) 2>/dev/null; then
1911 ac_cv_prog_cc_cross=no 1912 ac_cv_prog_cc_cross=no
1912 else 1913 else
1930 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1931 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1931 if test $ac_cv_prog_cc_works = no; then 1932 if test $ac_cv_prog_cc_works = no; then
1932 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1933 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1933 fi 1934 fi
1934 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1935 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1935 echo "configure:1936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1936 echo "configure:1937: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1936 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1937 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1937 cross_compiling=$ac_cv_prog_cc_cross 1938 cross_compiling=$ac_cv_prog_cc_cross
1938 1939
1939 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1940 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1940 echo "configure:1941: checking whether we are using GNU C" >&5 1941 echo "configure:1942: checking whether we are using GNU C" >&5
1941 1942
1942 cat > conftest.c <<EOF 1943 cat > conftest.c <<EOF
1943 #ifdef __GNUC__ 1944 #ifdef __GNUC__
1944 yes; 1945 yes;
1945 #endif 1946 #endif
1946 EOF 1947 EOF
1947 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1948 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1948 ac_cv_prog_gcc=yes 1949 ac_cv_prog_gcc=yes
1949 else 1950 else
1950 ac_cv_prog_gcc=no 1951 ac_cv_prog_gcc=no
1951 fi 1952 fi
1952 1953
1960 1961
1961 ac_test_CFLAGS="${CFLAGS+set}" 1962 ac_test_CFLAGS="${CFLAGS+set}"
1962 ac_save_CFLAGS="$CFLAGS" 1963 ac_save_CFLAGS="$CFLAGS"
1963 CFLAGS= 1964 CFLAGS=
1964 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1965 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1965 echo "configure:1966: checking whether ${CC-cc} accepts -g" >&5 1966 echo "configure:1967: checking whether ${CC-cc} accepts -g" >&5
1966 1967
1967 echo 'void f(){}' > conftest.c 1968 echo 'void f(){}' > conftest.c
1968 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1969 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1969 ac_cv_prog_cc_g=yes 1970 ac_cv_prog_cc_g=yes
1970 else 1971 else
1993 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 1994 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
1994 CC=gcc 1995 CC=gcc
1995 # Extract the first word of "gcc", so it can be a program name with args. 1996 # Extract the first word of "gcc", so it can be a program name with args.
1996 set dummy gcc; ac_word=$2 1997 set dummy gcc; ac_word=$2
1997 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1998 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1998 echo "configure:1999: checking for $ac_word" >&5 1999 echo "configure:2000: checking for $ac_word" >&5
1999 2000
2000 if test -n "$CC"; then 2001 if test -n "$CC"; then
2001 ac_cv_prog_CC="$CC" # Let the user override the test. 2002 ac_cv_prog_CC="$CC" # Let the user override the test.
2002 else 2003 else
2003 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2004 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2020 2021
2021 if test -z "$CC"; then 2022 if test -z "$CC"; then
2022 # Extract the first word of "cc", so it can be a program name with args. 2023 # Extract the first word of "cc", so it can be a program name with args.
2023 set dummy cc; ac_word=$2 2024 set dummy cc; ac_word=$2
2024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2025 echo "configure:2026: checking for $ac_word" >&5 2026 echo "configure:2027: checking for $ac_word" >&5
2026 2027
2027 if test -n "$CC"; then 2028 if test -n "$CC"; then
2028 ac_cv_prog_CC="$CC" # Let the user override the test. 2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2029 else 2030 else
2030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2031 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2068 case "`uname -s`" in 2069 case "`uname -s`" in
2069 *win32* | *WIN32*) 2070 *win32* | *WIN32*)
2070 # Extract the first word of "cl", so it can be a program name with args. 2071 # Extract the first word of "cl", so it can be a program name with args.
2071 set dummy cl; ac_word=$2 2072 set dummy cl; ac_word=$2
2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2073 echo "configure:2074: checking for $ac_word" >&5 2074 echo "configure:2075: checking for $ac_word" >&5
2074 2075
2075 if test -n "$CC"; then 2076 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test. 2077 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 else 2078 else
2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2097 fi 2098 fi
2098 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 2099 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2099 fi 2100 fi
2100 2101
2101 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2102 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2102 echo "configure:2103: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2103 echo "configure:2104: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2103 2104
2104 ac_ext=c 2105 ac_ext=c
2105 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 2106 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
2106 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 2107 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
2107 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 2108 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
2110 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 2111 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
2111 cross_compiling=no 2112 cross_compiling=no
2112 2113
2113 cat > conftest.$ac_ext << EOF 2114 cat > conftest.$ac_ext << EOF
2114 2115
2115 #line 2116 "configure" 2116 #line 2117 "configure"
2116 #include "confdefs.h" 2117 #include "confdefs.h"
2117 2118
2118 main(){return(0);} 2119 main(){return(0);}
2119 EOF 2120 EOF
2120 if { (eval echo configure:2121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2121 if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2121 ac_cv_prog_cc_works=yes 2122 ac_cv_prog_cc_works=yes
2122 # If we can't run a trivial program, we are probably using a cross compiler. 2123 # If we can't run a trivial program, we are probably using a cross compiler.
2123 if (./conftest; exit) 2>/dev/null; then 2124 if (./conftest; exit) 2>/dev/null; then
2124 ac_cv_prog_cc_cross=no 2125 ac_cv_prog_cc_cross=no
2125 else 2126 else
2143 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2144 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2144 if test $ac_cv_prog_cc_works = no; then 2145 if test $ac_cv_prog_cc_works = no; then
2145 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2146 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2146 fi 2147 fi
2147 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2148 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2148 echo "configure:2149: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2149 echo "configure:2150: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2149 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2150 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2150 cross_compiling=$ac_cv_prog_cc_cross 2151 cross_compiling=$ac_cv_prog_cc_cross
2151 2152
2152 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2153 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2153 echo "configure:2154: checking whether we are using GNU C" >&5 2154 echo "configure:2155: checking whether we are using GNU C" >&5
2154 2155
2155 cat > conftest.c <<EOF 2156 cat > conftest.c <<EOF
2156 #ifdef __GNUC__ 2157 #ifdef __GNUC__
2157 yes; 2158 yes;
2158 #endif 2159 #endif
2159 EOF 2160 EOF
2160 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2161 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2161 ac_cv_prog_gcc=yes 2162 ac_cv_prog_gcc=yes
2162 else 2163 else
2163 ac_cv_prog_gcc=no 2164 ac_cv_prog_gcc=no
2164 fi 2165 fi
2165 2166
2173 2174
2174 ac_test_CFLAGS="${CFLAGS+set}" 2175 ac_test_CFLAGS="${CFLAGS+set}"
2175 ac_save_CFLAGS="$CFLAGS" 2176 ac_save_CFLAGS="$CFLAGS"
2176 CFLAGS= 2177 CFLAGS=
2177 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2178 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2178 echo "configure:2179: checking whether ${CC-cc} accepts -g" >&5 2179 echo "configure:2180: checking whether ${CC-cc} accepts -g" >&5
2179 2180
2180 echo 'void f(){}' > conftest.c 2181 echo 'void f(){}' > conftest.c
2181 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2182 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2182 ac_cv_prog_cc_g=yes 2183 ac_cv_prog_cc_g=yes
2183 else 2184 else
2210 test -n "$CPP" -a -d "$CPP" && CPP= 2211 test -n "$CPP" -a -d "$CPP" && CPP=
2211 2212
2212 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 2213 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
2213 2214
2214 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2215 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2215 echo "configure:2216: checking how to run the C preprocessor" >&5 2216 echo "configure:2217: checking how to run the C preprocessor" >&5
2216 # On Suns, sometimes $CPP names a directory. 2217 # On Suns, sometimes $CPP names a directory.
2217 if test -n "$CPP" && test -d "$CPP"; then 2218 if test -n "$CPP" && test -d "$CPP"; then
2218 CPP= 2219 CPP=
2219 fi 2220 fi
2220 if test -z "$CPP"; then 2221 if test -z "$CPP"; then
2223 # substituted into the Makefile and "${CC-cc}" will confuse make. 2224 # substituted into the Makefile and "${CC-cc}" will confuse make.
2224 CPP="${CC-cc} -E" 2225 CPP="${CC-cc} -E"
2225 # On the NeXT, cc -E runs the code through the compiler's parser, 2226 # On the NeXT, cc -E runs the code through the compiler's parser,
2226 # not just through cpp. 2227 # not just through cpp.
2227 cat > conftest.$ac_ext <<EOF 2228 cat > conftest.$ac_ext <<EOF
2228 #line 2229 "configure" 2229 #line 2230 "configure"
2229 #include "confdefs.h" 2230 #include "confdefs.h"
2230 #include <assert.h> 2231 #include <assert.h>
2231 Syntax Error 2232 Syntax Error
2232 EOF 2233 EOF
2233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2234 { (eval echo configure:2235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2235 { (eval echo configure:2236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2236 if test -z "$ac_err"; then 2237 if test -z "$ac_err"; then
2237 : 2238 :
2238 else 2239 else
2239 echo "$ac_err" >&5 2240 echo "$ac_err" >&5
2240 echo "configure: failed program was:" >&5 2241 echo "configure: failed program was:" >&5
2241 cat conftest.$ac_ext >&5 2242 cat conftest.$ac_ext >&5
2242 rm -rf conftest* 2243 rm -rf conftest*
2243 CPP="${CC-cc} -E -traditional-cpp" 2244 CPP="${CC-cc} -E -traditional-cpp"
2244 cat > conftest.$ac_ext <<EOF 2245 cat > conftest.$ac_ext <<EOF
2245 #line 2246 "configure" 2246 #line 2247 "configure"
2246 #include "confdefs.h" 2247 #include "confdefs.h"
2247 #include <assert.h> 2248 #include <assert.h>
2248 Syntax Error 2249 Syntax Error
2249 EOF 2250 EOF
2250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2251 { (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2252 { (eval echo configure:2253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2253 if test -z "$ac_err"; then 2254 if test -z "$ac_err"; then
2254 : 2255 :
2255 else 2256 else
2256 echo "$ac_err" >&5 2257 echo "$ac_err" >&5
2257 echo "configure: failed program was:" >&5 2258 echo "configure: failed program was:" >&5
2258 cat conftest.$ac_ext >&5 2259 cat conftest.$ac_ext >&5
2259 rm -rf conftest* 2260 rm -rf conftest*
2260 CPP="${CC-cc} -nologo -E" 2261 CPP="${CC-cc} -nologo -E"
2261 cat > conftest.$ac_ext <<EOF 2262 cat > conftest.$ac_ext <<EOF
2262 #line 2263 "configure" 2263 #line 2264 "configure"
2263 #include "confdefs.h" 2264 #include "confdefs.h"
2264 #include <assert.h> 2265 #include <assert.h>
2265 Syntax Error 2266 Syntax Error
2266 EOF 2267 EOF
2267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2268 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2269 { (eval echo configure:2270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2270 if test -z "$ac_err"; then 2271 if test -z "$ac_err"; then
2271 : 2272 :
2272 else 2273 else
2273 echo "$ac_err" >&5 2274 echo "$ac_err" >&5
2288 fi 2289 fi
2289 echo "$ac_t""$CPP" 1>&6 2290 echo "$ac_t""$CPP" 1>&6
2290 2291
2291 2292
2292 echo $ac_n "checking for AIX""... $ac_c" 1>&6 2293 echo $ac_n "checking for AIX""... $ac_c" 1>&6
2293 echo "configure:2294: checking for AIX" >&5 2294 echo "configure:2295: checking for AIX" >&5
2294 cat > conftest.$ac_ext <<EOF 2295 cat > conftest.$ac_ext <<EOF
2295 #line 2296 "configure" 2296 #line 2297 "configure"
2296 #include "confdefs.h" 2297 #include "confdefs.h"
2297 #ifdef _AIX 2298 #ifdef _AIX
2298 yes 2299 yes
2299 #endif 2300 #endif
2300 2301
2317 rm -f conftest* 2318 rm -f conftest*
2318 2319
2319 2320
2320 2321
2321 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 2322 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
2322 echo "configure:2323: checking for GNU libc" >&5 2323 echo "configure:2324: checking for GNU libc" >&5
2323 cat > conftest.$ac_ext <<EOF 2324 cat > conftest.$ac_ext <<EOF
2324 #line 2325 "configure" 2325 #line 2326 "configure"
2325 #include "confdefs.h" 2326 #include "confdefs.h"
2326 #include <features.h> 2327 #include <features.h>
2327 int main() { 2328 int main() {
2328 2329
2329 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 2330 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
2331 ******* ======= ******** &&&&&&&& 2332 ******* ======= ******** &&&&&&&&
2332 #endif 2333 #endif
2333 2334
2334 ; return 0; } 2335 ; return 0; }
2335 EOF 2336 EOF
2336 if { (eval echo configure:2337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2337 if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2337 rm -rf conftest* 2338 rm -rf conftest*
2338 have_glibc=yes 2339 have_glibc=yes
2339 else 2340 else
2340 echo "configure: failed program was:" >&5 2341 echo "configure: failed program was:" >&5
2341 cat conftest.$ac_ext >&5 2342 cat conftest.$ac_ext >&5
2353 } 2354 }
2354 2355
2355 2356
2356 2357
2357 cat > conftest.$ac_ext <<EOF 2358 cat > conftest.$ac_ext <<EOF
2358 #line 2359 "configure" 2359 #line 2360 "configure"
2359 #include "confdefs.h" 2360 #include "confdefs.h"
2360 int main () { 2361 int main () {
2361 #if defined __SUNPRO_C 2362 #if defined __SUNPRO_C
2362 return 11; 2363 return 11;
2363 #elif defined __DECC 2364 #elif defined __DECC
2365 #else 2366 #else
2366 return 0; 2367 return 0;
2367 #endif 2368 #endif
2368 } 2369 }
2369 EOF 2370 EOF
2370 if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 2371 if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
2371 then 2372 then
2372 : 2373 :
2373 else 2374 else
2374 conftest_rc="$?" 2375 conftest_rc="$?"
2375 echo "configure: failed program was:" >&5 2376 echo "configure: failed program was:" >&5
2538 configure___ mail_use_lockf=yes 2539 configure___ mail_use_lockf=yes
2539 #else 2540 #else
2540 configure___ mail_use_lockf=no 2541 configure___ mail_use_lockf=no
2541 #endif 2542 #endif
2542 2543
2544 #ifdef MAIL_USE_LOCKING
2545 configure___ mail_use_locking=yes
2546 #else
2547 configure___ mail_use_locking=no
2548 #endif
2549
2543 #ifdef HAVE_WIN32_PROCESSES 2550 #ifdef HAVE_WIN32_PROCESSES
2544 configure___ win32_processes=yes 2551 configure___ win32_processes=yes
2545 #else 2552 #else
2546 configure___ win32_processes=no 2553 configure___ win32_processes=no
2547 #endif 2554 #endif
2554 2561
2555 rm $tempcname 2562 rm $tempcname
2556 2563
2557 test "$extra_verbose" = "yes" && \ 2564 test "$extra_verbose" = "yes" && \
2558 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" 2565 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo ""
2566
2567 case "$opsys" in mingw*) mingw_include=`eval "gcc -print-file-name=libc.a"` ;
2568 mingw_include=`eval "dirname $mingw_include"` ;
2569 mingw_include="-I$mingw_include/../include/mingw32" ;
2570 c_switch_system="$c_switch_system $mingw_include" && if test "$extra_verbose" = "yes"; then echo " Appending \"$mingw_include\" to \$c_switch_system"; fi ;;
2571 esac
2559 2572
2560 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" 2573 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc"
2561 2574
2562 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std\" to \$c_switch_site"; fi 2575 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std\" to \$c_switch_site"; fi
2563 2576
2639 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2652 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2640 echo " xemacs will be linked with \"$unexec\"" 2653 echo " xemacs will be linked with \"$unexec\""
2641 fi 2654 fi
2642 2655
2643 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2656 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2644 echo "configure:2645: checking for dynodump" >&5 2657 echo "configure:2658: checking for dynodump" >&5
2645 if test "$unexec" != "unexsol2.o"; then 2658 if test "$unexec" != "unexsol2.o"; then
2646 echo "$ac_t""no" 1>&6 2659 echo "$ac_t""no" 1>&6
2647 else 2660 else
2648 echo "$ac_t""yes" 1>&6 2661 echo "$ac_t""yes" 1>&6
2649 { test "$extra_verbose" = "yes" && cat << \EOF 2662 { test "$extra_verbose" = "yes" && cat << \EOF
2677 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 2690 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
2678 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 2691 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
2679 done 2692 done
2680 2693
2681 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 2694 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
2682 echo "configure:2683: checking for terminateAndUnload in -lC" >&5 2695 echo "configure:2696: checking for terminateAndUnload in -lC" >&5
2683 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 2696 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
2684 2697
2685 xe_check_libs=" -lC " 2698 xe_check_libs=" -lC "
2686 cat > conftest.$ac_ext <<EOF 2699 cat > conftest.$ac_ext <<EOF
2687 #line 2688 "configure" 2700 #line 2701 "configure"
2688 #include "confdefs.h" 2701 #include "confdefs.h"
2689 /* Override any gcc2 internal prototype to avoid an error. */ 2702 /* Override any gcc2 internal prototype to avoid an error. */
2690 /* We use char because int might match the return type of a gcc2 2703 /* We use char because int might match the return type of a gcc2
2691 builtin and then its argument prototype would still apply. */ 2704 builtin and then its argument prototype would still apply. */
2692 char terminateAndUnload(); 2705 char terminateAndUnload();
2693 2706
2694 int main() { 2707 int main() {
2695 terminateAndUnload() 2708 terminateAndUnload()
2696 ; return 0; } 2709 ; return 0; }
2697 EOF 2710 EOF
2698 if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2711 if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2699 rm -rf conftest* 2712 rm -rf conftest*
2700 eval "ac_cv_lib_$ac_lib_var=yes" 2713 eval "ac_cv_lib_$ac_lib_var=yes"
2701 else 2714 else
2702 echo "configure: failed program was:" >&5 2715 echo "configure: failed program was:" >&5
2703 cat conftest.$ac_ext >&5 2716 cat conftest.$ac_ext >&5
2797 esac 2810 esac
2798 fi 2811 fi
2799 2812
2800 if test "$add_runtime_path" = "yes"; then 2813 if test "$add_runtime_path" = "yes"; then
2801 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2814 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2802 echo "configure:2803: checking "for runtime libraries flag"" >&5 2815 echo "configure:2816: checking "for runtime libraries flag"" >&5
2803 case "$opsys" in 2816 case "$opsys" in
2804 sol2 ) dash_r="-R" ;; 2817 sol2 ) dash_r="-R" ;;
2805 decosf* | linux* | irix*) dash_r="-rpath " ;; 2818 decosf* | linux* | irix*) dash_r="-rpath " ;;
2806 *) 2819 *)
2807 dash_r="" 2820 dash_r=""
2819 esac 2832 esac
2820 shift 2833 shift
2821 done 2834 done
2822 fi 2835 fi
2823 cat > conftest.$ac_ext <<EOF 2836 cat > conftest.$ac_ext <<EOF
2824 #line 2825 "configure" 2837 #line 2838 "configure"
2825 #include "confdefs.h" 2838 #include "confdefs.h"
2826 2839
2827 int main() { 2840 int main() {
2828 2841
2829 ; return 0; } 2842 ; return 0; }
2830 EOF 2843 EOF
2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2844 if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2832 rm -rf conftest* 2845 rm -rf conftest*
2833 dash_r="$try_dash_r" 2846 dash_r="$try_dash_r"
2834 else 2847 else
2835 echo "configure: failed program was:" >&5 2848 echo "configure: failed program was:" >&5
2836 cat conftest.$ac_ext >&5 2849 cat conftest.$ac_ext >&5
2928 else 2941 else
2929 doug_lea_malloc=no 2942 doug_lea_malloc=no
2930 fi 2943 fi
2931 after_morecore_hook_exists=yes 2944 after_morecore_hook_exists=yes
2932 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 2945 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
2933 echo "configure:2934: checking for malloc_get_state" >&5 2946 echo "configure:2947: checking for malloc_get_state" >&5
2934 2947
2935 cat > conftest.$ac_ext <<EOF 2948 cat > conftest.$ac_ext <<EOF
2936 #line 2937 "configure" 2949 #line 2950 "configure"
2937 #include "confdefs.h" 2950 #include "confdefs.h"
2938 /* System header to define __stub macros and hopefully few prototypes, 2951 /* System header to define __stub macros and hopefully few prototypes,
2939 which can conflict with char malloc_get_state(); below. */ 2952 which can conflict with char malloc_get_state(); below. */
2940 #include <assert.h> 2953 #include <assert.h>
2941 /* Override any gcc2 internal prototype to avoid an error. */ 2954 /* Override any gcc2 internal prototype to avoid an error. */
2954 malloc_get_state(); 2967 malloc_get_state();
2955 #endif 2968 #endif
2956 2969
2957 ; return 0; } 2970 ; return 0; }
2958 EOF 2971 EOF
2959 if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2972 if { (eval echo configure:2973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2960 rm -rf conftest* 2973 rm -rf conftest*
2961 eval "ac_cv_func_malloc_get_state=yes" 2974 eval "ac_cv_func_malloc_get_state=yes"
2962 else 2975 else
2963 echo "configure: failed program was:" >&5 2976 echo "configure: failed program was:" >&5
2964 cat conftest.$ac_ext >&5 2977 cat conftest.$ac_ext >&5
2974 echo "$ac_t""no" 1>&6 2987 echo "$ac_t""no" 1>&6
2975 doug_lea_malloc=no 2988 doug_lea_malloc=no
2976 fi 2989 fi
2977 2990
2978 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 2991 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
2979 echo "configure:2980: checking for malloc_set_state" >&5 2992 echo "configure:2993: checking for malloc_set_state" >&5
2980 2993
2981 cat > conftest.$ac_ext <<EOF 2994 cat > conftest.$ac_ext <<EOF
2982 #line 2983 "configure" 2995 #line 2996 "configure"
2983 #include "confdefs.h" 2996 #include "confdefs.h"
2984 /* System header to define __stub macros and hopefully few prototypes, 2997 /* System header to define __stub macros and hopefully few prototypes,
2985 which can conflict with char malloc_set_state(); below. */ 2998 which can conflict with char malloc_set_state(); below. */
2986 #include <assert.h> 2999 #include <assert.h>
2987 /* Override any gcc2 internal prototype to avoid an error. */ 3000 /* Override any gcc2 internal prototype to avoid an error. */
3000 malloc_set_state(); 3013 malloc_set_state();
3001 #endif 3014 #endif
3002 3015
3003 ; return 0; } 3016 ; return 0; }
3004 EOF 3017 EOF
3005 if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3018 if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3006 rm -rf conftest* 3019 rm -rf conftest*
3007 eval "ac_cv_func_malloc_set_state=yes" 3020 eval "ac_cv_func_malloc_set_state=yes"
3008 else 3021 else
3009 echo "configure: failed program was:" >&5 3022 echo "configure: failed program was:" >&5
3010 cat conftest.$ac_ext >&5 3023 cat conftest.$ac_ext >&5
3020 echo "$ac_t""no" 1>&6 3033 echo "$ac_t""no" 1>&6
3021 doug_lea_malloc=no 3034 doug_lea_malloc=no
3022 fi 3035 fi
3023 3036
3024 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3037 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3025 echo "configure:3026: checking whether __after_morecore_hook exists" >&5 3038 echo "configure:3039: checking whether __after_morecore_hook exists" >&5
3026 cat > conftest.$ac_ext <<EOF 3039 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure" 3040 #line 3041 "configure"
3028 #include "confdefs.h" 3041 #include "confdefs.h"
3029 extern void (* __after_morecore_hook)(); 3042 extern void (* __after_morecore_hook)();
3030 int main() { 3043 int main() {
3031 __after_morecore_hook = 0 3044 __after_morecore_hook = 0
3032 ; return 0; } 3045 ; return 0; }
3033 EOF 3046 EOF
3034 if { (eval echo configure:3035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3047 if { (eval echo configure:3048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3035 rm -rf conftest* 3048 rm -rf conftest*
3036 echo "$ac_t""yes" 1>&6 3049 echo "$ac_t""yes" 1>&6
3037 else 3050 else
3038 echo "configure: failed program was:" >&5 3051 echo "configure: failed program was:" >&5
3039 cat conftest.$ac_ext >&5 3052 cat conftest.$ac_ext >&5
3088 3101
3089 3102
3090 # Extract the first word of "ranlib", so it can be a program name with args. 3103 # Extract the first word of "ranlib", so it can be a program name with args.
3091 set dummy ranlib; ac_word=$2 3104 set dummy ranlib; ac_word=$2
3092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3093 echo "configure:3094: checking for $ac_word" >&5 3106 echo "configure:3107: checking for $ac_word" >&5
3094 3107
3095 if test -n "$RANLIB"; then 3108 if test -n "$RANLIB"; then
3096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3097 else 3110 else
3098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3156 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3157 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3158 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3146 # ./install, which can be erroneously created by make from ./install.sh. 3159 # ./install, which can be erroneously created by make from ./install.sh.
3147 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 3160 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3148 echo "configure:3149: checking for a BSD compatible install" >&5 3161 echo "configure:3162: checking for a BSD compatible install" >&5
3149 if test -z "$INSTALL"; then 3162 if test -z "$INSTALL"; then
3150 3163
3151 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3164 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3152 for ac_dir in $PATH; do 3165 for ac_dir in $PATH; do
3153 # Account for people who put trailing slashes in PATH elements. 3166 # Account for people who put trailing slashes in PATH elements.
3197 for ac_prog in 'bison -y' byacc 3210 for ac_prog in 'bison -y' byacc
3198 do 3211 do
3199 # Extract the first word of "$ac_prog", so it can be a program name with args. 3212 # Extract the first word of "$ac_prog", so it can be a program name with args.
3200 set dummy $ac_prog; ac_word=$2 3213 set dummy $ac_prog; ac_word=$2
3201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3202 echo "configure:3203: checking for $ac_word" >&5 3215 echo "configure:3216: checking for $ac_word" >&5
3203 3216
3204 if test -n "$YACC"; then 3217 if test -n "$YACC"; then
3205 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3218 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3206 else 3219 else
3207 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3229 3242
3230 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 3243 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
3231 do 3244 do
3232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3245 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3246 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3234 echo "configure:3235: checking for $ac_hdr" >&5 3247 echo "configure:3248: checking for $ac_hdr" >&5
3235 3248
3236 cat > conftest.$ac_ext <<EOF 3249 cat > conftest.$ac_ext <<EOF
3237 #line 3238 "configure" 3250 #line 3251 "configure"
3238 #include "confdefs.h" 3251 #include "confdefs.h"
3239 #include <$ac_hdr> 3252 #include <$ac_hdr>
3240 EOF 3253 EOF
3241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3242 { (eval echo configure:3243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3255 { (eval echo configure:3256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3244 if test -z "$ac_err"; then 3257 if test -z "$ac_err"; then
3245 rm -rf conftest* 3258 rm -rf conftest*
3246 eval "ac_cv_header_$ac_safe=yes" 3259 eval "ac_cv_header_$ac_safe=yes"
3247 else 3260 else
3270 3283
3271 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h 3284 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h
3272 do 3285 do
3273 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3286 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3274 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3287 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3275 echo "configure:3276: checking for $ac_hdr" >&5 3288 echo "configure:3289: checking for $ac_hdr" >&5
3276 3289
3277 cat > conftest.$ac_ext <<EOF 3290 cat > conftest.$ac_ext <<EOF
3278 #line 3279 "configure" 3291 #line 3292 "configure"
3279 #include "confdefs.h" 3292 #include "confdefs.h"
3280 #include <$ac_hdr> 3293 #include <$ac_hdr>
3281 EOF 3294 EOF
3282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3283 { (eval echo configure:3284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3296 { (eval echo configure:3297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3285 if test -z "$ac_err"; then 3298 if test -z "$ac_err"; then
3286 rm -rf conftest* 3299 rm -rf conftest*
3287 eval "ac_cv_header_$ac_safe=yes" 3300 eval "ac_cv_header_$ac_safe=yes"
3288 else 3301 else
3311 3324
3312 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h 3325 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h
3313 do 3326 do
3314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3327 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3328 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3316 echo "configure:3317: checking for $ac_hdr" >&5 3329 echo "configure:3330: checking for $ac_hdr" >&5
3317 3330
3318 cat > conftest.$ac_ext <<EOF 3331 cat > conftest.$ac_ext <<EOF
3319 #line 3320 "configure" 3332 #line 3333 "configure"
3320 #include "confdefs.h" 3333 #include "confdefs.h"
3321 #include <$ac_hdr> 3334 #include <$ac_hdr>
3322 EOF 3335 EOF
3323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3324 { (eval echo configure:3325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3337 { (eval echo configure:3338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3326 if test -z "$ac_err"; then 3339 if test -z "$ac_err"; then
3327 rm -rf conftest* 3340 rm -rf conftest*
3328 eval "ac_cv_header_$ac_safe=yes" 3341 eval "ac_cv_header_$ac_safe=yes"
3329 else 3342 else
3349 echo "$ac_t""no" 1>&6 3362 echo "$ac_t""no" 1>&6
3350 fi 3363 fi
3351 done 3364 done
3352 3365
3353 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3366 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3354 echo "configure:3355: checking for sys/wait.h that is POSIX.1 compatible" >&5 3367 echo "configure:3368: checking for sys/wait.h that is POSIX.1 compatible" >&5
3355 3368
3356 cat > conftest.$ac_ext <<EOF 3369 cat > conftest.$ac_ext <<EOF
3357 #line 3358 "configure" 3370 #line 3371 "configure"
3358 #include "confdefs.h" 3371 #include "confdefs.h"
3359 #include <sys/types.h> 3372 #include <sys/types.h>
3360 #include <sys/wait.h> 3373 #include <sys/wait.h>
3361 #ifndef WEXITSTATUS 3374 #ifndef WEXITSTATUS
3362 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3375 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3368 int s; 3381 int s;
3369 wait (&s); 3382 wait (&s);
3370 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3383 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3371 ; return 0; } 3384 ; return 0; }
3372 EOF 3385 EOF
3373 if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3374 rm -rf conftest* 3387 rm -rf conftest*
3375 ac_cv_header_sys_wait_h=yes 3388 ac_cv_header_sys_wait_h=yes
3376 else 3389 else
3377 echo "configure: failed program was:" >&5 3390 echo "configure: failed program was:" >&5
3378 cat conftest.$ac_ext >&5 3391 cat conftest.$ac_ext >&5
3392 } 3405 }
3393 3406
3394 fi 3407 fi
3395 3408
3396 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3409 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3397 echo "configure:3398: checking for ANSI C header files" >&5 3410 echo "configure:3411: checking for ANSI C header files" >&5
3398 3411
3399 cat > conftest.$ac_ext <<EOF 3412 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure" 3413 #line 3414 "configure"
3401 #include "confdefs.h" 3414 #include "confdefs.h"
3402 #include <stdlib.h> 3415 #include <stdlib.h>
3403 #include <stdarg.h> 3416 #include <stdarg.h>
3404 #include <string.h> 3417 #include <string.h>
3405 #include <float.h> 3418 #include <float.h>
3406 EOF 3419 EOF
3407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3408 { (eval echo configure:3409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3421 { (eval echo configure:3422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3410 if test -z "$ac_err"; then 3423 if test -z "$ac_err"; then
3411 rm -rf conftest* 3424 rm -rf conftest*
3412 ac_cv_header_stdc=yes 3425 ac_cv_header_stdc=yes
3413 else 3426 else
3420 rm -f conftest* 3433 rm -f conftest*
3421 3434
3422 if test $ac_cv_header_stdc = yes; then 3435 if test $ac_cv_header_stdc = yes; then
3423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3424 cat > conftest.$ac_ext <<EOF 3437 cat > conftest.$ac_ext <<EOF
3425 #line 3426 "configure" 3438 #line 3439 "configure"
3426 #include "confdefs.h" 3439 #include "confdefs.h"
3427 #include <string.h> 3440 #include <string.h>
3428 EOF 3441 EOF
3429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3430 egrep "memchr" >/dev/null 2>&1; then 3443 egrep "memchr" >/dev/null 2>&1; then
3438 fi 3451 fi
3439 3452
3440 if test $ac_cv_header_stdc = yes; then 3453 if test $ac_cv_header_stdc = yes; then
3441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3442 cat > conftest.$ac_ext <<EOF 3455 cat > conftest.$ac_ext <<EOF
3443 #line 3444 "configure" 3456 #line 3457 "configure"
3444 #include "confdefs.h" 3457 #include "confdefs.h"
3445 #include <stdlib.h> 3458 #include <stdlib.h>
3446 EOF 3459 EOF
3447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3448 egrep "free" >/dev/null 2>&1; then 3461 egrep "free" >/dev/null 2>&1; then
3456 fi 3469 fi
3457 3470
3458 if test $ac_cv_header_stdc = yes; then 3471 if test $ac_cv_header_stdc = yes; then
3459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3460 cat > conftest.$ac_ext <<EOF 3473 cat > conftest.$ac_ext <<EOF
3461 #line 3462 "configure" 3474 #line 3475 "configure"
3462 #include "confdefs.h" 3475 #include "confdefs.h"
3463 #include <ctype.h> 3476 #include <ctype.h>
3464 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3477 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3465 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3478 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3467 int main () { int i; for (i = 0; i < 256; i++) 3480 int main () { int i; for (i = 0; i < 256; i++)
3468 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3481 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3469 exit (0); } 3482 exit (0); }
3470 3483
3471 EOF 3484 EOF
3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3485 if { (eval echo configure:3486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3473 then 3486 then
3474 : 3487 :
3475 else 3488 else
3476 conftest_rc="$?" 3489 conftest_rc="$?"
3477 echo "configure: failed program was:" >&5 3490 echo "configure: failed program was:" >&5
3493 } 3506 }
3494 3507
3495 fi 3508 fi
3496 3509
3497 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3510 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3498 echo "configure:3499: checking whether time.h and sys/time.h may both be included" >&5 3511 echo "configure:3512: checking whether time.h and sys/time.h may both be included" >&5
3499 3512
3500 cat > conftest.$ac_ext <<EOF 3513 cat > conftest.$ac_ext <<EOF
3501 #line 3502 "configure" 3514 #line 3515 "configure"
3502 #include "confdefs.h" 3515 #include "confdefs.h"
3503 #include <sys/types.h> 3516 #include <sys/types.h>
3504 #include <sys/time.h> 3517 #include <sys/time.h>
3505 #include <time.h> 3518 #include <time.h>
3506 int main() { 3519 int main() {
3507 struct tm *tp; 3520 struct tm *tp;
3508 ; return 0; } 3521 ; return 0; }
3509 EOF 3522 EOF
3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3523 if { (eval echo configure:3524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3511 rm -rf conftest* 3524 rm -rf conftest*
3512 ac_cv_header_time=yes 3525 ac_cv_header_time=yes
3513 else 3526 else
3514 echo "configure: failed program was:" >&5 3527 echo "configure: failed program was:" >&5
3515 cat conftest.$ac_ext >&5 3528 cat conftest.$ac_ext >&5
3529 } 3542 }
3530 3543
3531 fi 3544 fi
3532 3545
3533 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3546 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3534 echo "configure:3535: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3547 echo "configure:3548: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3535 3548
3536 cat > conftest.$ac_ext <<EOF 3549 cat > conftest.$ac_ext <<EOF
3537 #line 3538 "configure" 3550 #line 3551 "configure"
3538 #include "confdefs.h" 3551 #include "confdefs.h"
3539 #include <sys/types.h> 3552 #include <sys/types.h>
3540 #include <signal.h> 3553 #include <signal.h>
3541 /* NetBSD declares sys_siglist in unistd.h. */ 3554 /* NetBSD declares sys_siglist in unistd.h. */
3542 #ifdef HAVE_UNISTD_H 3555 #ifdef HAVE_UNISTD_H
3544 #endif 3557 #endif
3545 int main() { 3558 int main() {
3546 char *msg = *(sys_siglist + 1); 3559 char *msg = *(sys_siglist + 1);
3547 ; return 0; } 3560 ; return 0; }
3548 EOF 3561 EOF
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3550 rm -rf conftest* 3563 rm -rf conftest*
3551 ac_cv_decl_sys_siglist=yes 3564 ac_cv_decl_sys_siglist=yes
3552 else 3565 else
3553 echo "configure: failed program was:" >&5 3566 echo "configure: failed program was:" >&5
3554 cat conftest.$ac_ext >&5 3567 cat conftest.$ac_ext >&5
3569 3582
3570 fi 3583 fi
3571 3584
3572 3585
3573 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 3586 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3574 echo "configure:3575: checking for struct utimbuf" >&5 3587 echo "configure:3588: checking for struct utimbuf" >&5
3575 cat > conftest.$ac_ext <<EOF 3588 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure" 3589 #line 3590 "configure"
3577 #include "confdefs.h" 3590 #include "confdefs.h"
3578 #ifdef TIME_WITH_SYS_TIME 3591 #ifdef TIME_WITH_SYS_TIME
3579 #include <sys/time.h> 3592 #include <sys/time.h>
3580 #include <time.h> 3593 #include <time.h>
3581 #else 3594 #else
3590 #endif 3603 #endif
3591 int main() { 3604 int main() {
3592 static struct utimbuf x; x.actime = x.modtime; 3605 static struct utimbuf x; x.actime = x.modtime;
3593 ; return 0; } 3606 ; return 0; }
3594 EOF 3607 EOF
3595 if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3608 if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3596 rm -rf conftest* 3609 rm -rf conftest*
3597 echo "$ac_t""yes" 1>&6 3610 echo "$ac_t""yes" 1>&6
3598 { test "$extra_verbose" = "yes" && cat << \EOF 3611 { test "$extra_verbose" = "yes" && cat << \EOF
3599 Defining HAVE_STRUCT_UTIMBUF 3612 Defining HAVE_STRUCT_UTIMBUF
3600 EOF 3613 EOF
3610 echo "$ac_t""no" 1>&6 3623 echo "$ac_t""no" 1>&6
3611 fi 3624 fi
3612 rm -f conftest* 3625 rm -f conftest*
3613 3626
3614 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3627 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3615 echo "configure:3616: checking return type of signal handlers" >&5 3628 echo "configure:3629: checking return type of signal handlers" >&5
3616 3629
3617 cat > conftest.$ac_ext <<EOF 3630 cat > conftest.$ac_ext <<EOF
3618 #line 3619 "configure" 3631 #line 3632 "configure"
3619 #include "confdefs.h" 3632 #include "confdefs.h"
3620 #include <sys/types.h> 3633 #include <sys/types.h>
3621 #include <signal.h> 3634 #include <signal.h>
3622 #ifdef signal 3635 #ifdef signal
3623 #undef signal 3636 #undef signal
3630 3643
3631 int main() { 3644 int main() {
3632 int i; 3645 int i;
3633 ; return 0; } 3646 ; return 0; }
3634 EOF 3647 EOF
3635 if { (eval echo configure:3636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3648 if { (eval echo configure:3649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3636 rm -rf conftest* 3649 rm -rf conftest*
3637 ac_cv_type_signal=void 3650 ac_cv_type_signal=void
3638 else 3651 else
3639 echo "configure: failed program was:" >&5 3652 echo "configure: failed program was:" >&5
3640 cat conftest.$ac_ext >&5 3653 cat conftest.$ac_ext >&5
3652 EOF 3665 EOF
3653 } 3666 }
3654 3667
3655 3668
3656 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3669 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3657 echo "configure:3658: checking for size_t" >&5 3670 echo "configure:3671: checking for size_t" >&5
3658 3671
3659 cat > conftest.$ac_ext <<EOF 3672 cat > conftest.$ac_ext <<EOF
3660 #line 3661 "configure" 3673 #line 3674 "configure"
3661 #include "confdefs.h" 3674 #include "confdefs.h"
3662 #include <sys/types.h> 3675 #include <sys/types.h>
3663 #if STDC_HEADERS 3676 #if STDC_HEADERS
3664 #include <stdlib.h> 3677 #include <stdlib.h>
3665 #include <stddef.h> 3678 #include <stddef.h>
3686 } 3699 }
3687 3700
3688 fi 3701 fi
3689 3702
3690 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3703 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3691 echo "configure:3692: checking for pid_t" >&5 3704 echo "configure:3705: checking for pid_t" >&5
3692 3705
3693 cat > conftest.$ac_ext <<EOF 3706 cat > conftest.$ac_ext <<EOF
3694 #line 3695 "configure" 3707 #line 3708 "configure"
3695 #include "confdefs.h" 3708 #include "confdefs.h"
3696 #include <sys/types.h> 3709 #include <sys/types.h>
3697 #if STDC_HEADERS 3710 #if STDC_HEADERS
3698 #include <stdlib.h> 3711 #include <stdlib.h>
3699 #include <stddef.h> 3712 #include <stddef.h>
3720 } 3733 }
3721 3734
3722 fi 3735 fi
3723 3736
3724 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3737 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3725 echo "configure:3726: checking for uid_t in sys/types.h" >&5 3738 echo "configure:3739: checking for uid_t in sys/types.h" >&5
3726 3739
3727 cat > conftest.$ac_ext <<EOF 3740 cat > conftest.$ac_ext <<EOF
3728 #line 3729 "configure" 3741 #line 3742 "configure"
3729 #include "confdefs.h" 3742 #include "confdefs.h"
3730 #include <sys/types.h> 3743 #include <sys/types.h>
3731 EOF 3744 EOF
3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733 egrep "uid_t" >/dev/null 2>&1; then 3746 egrep "uid_t" >/dev/null 2>&1; then
3759 } 3772 }
3760 3773
3761 fi 3774 fi
3762 3775
3763 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3776 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3764 echo "configure:3765: checking for mode_t" >&5 3777 echo "configure:3778: checking for mode_t" >&5
3765 3778
3766 cat > conftest.$ac_ext <<EOF 3779 cat > conftest.$ac_ext <<EOF
3767 #line 3768 "configure" 3780 #line 3781 "configure"
3768 #include "confdefs.h" 3781 #include "confdefs.h"
3769 #include <sys/types.h> 3782 #include <sys/types.h>
3770 #if STDC_HEADERS 3783 #if STDC_HEADERS
3771 #include <stdlib.h> 3784 #include <stdlib.h>
3772 #include <stddef.h> 3785 #include <stddef.h>
3793 } 3806 }
3794 3807
3795 fi 3808 fi
3796 3809
3797 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3810 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3798 echo "configure:3799: checking for off_t" >&5 3811 echo "configure:3812: checking for off_t" >&5
3799 3812
3800 cat > conftest.$ac_ext <<EOF 3813 cat > conftest.$ac_ext <<EOF
3801 #line 3802 "configure" 3814 #line 3815 "configure"
3802 #include "confdefs.h" 3815 #include "confdefs.h"
3803 #include <sys/types.h> 3816 #include <sys/types.h>
3804 #if STDC_HEADERS 3817 #if STDC_HEADERS
3805 #include <stdlib.h> 3818 #include <stdlib.h>
3806 #include <stddef.h> 3819 #include <stddef.h>
3827 } 3840 }
3828 3841
3829 fi 3842 fi
3830 3843
3831 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 3844 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
3832 echo "configure:3833: checking for ssize_t" >&5 3845 echo "configure:3846: checking for ssize_t" >&5
3833 3846
3834 cat > conftest.$ac_ext <<EOF 3847 cat > conftest.$ac_ext <<EOF
3835 #line 3836 "configure" 3848 #line 3849 "configure"
3836 #include "confdefs.h" 3849 #include "confdefs.h"
3837 #include <sys/types.h> 3850 #include <sys/types.h>
3838 #if STDC_HEADERS 3851 #if STDC_HEADERS
3839 #include <stdlib.h> 3852 #include <stdlib.h>
3840 #include <stddef.h> 3853 #include <stddef.h>
3862 3875
3863 fi 3876 fi
3864 3877
3865 3878
3866 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3879 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3867 echo "configure:3868: checking for struct timeval" >&5 3880 echo "configure:3881: checking for struct timeval" >&5
3868 cat > conftest.$ac_ext <<EOF 3881 cat > conftest.$ac_ext <<EOF
3869 #line 3870 "configure" 3882 #line 3883 "configure"
3870 #include "confdefs.h" 3883 #include "confdefs.h"
3871 #ifdef TIME_WITH_SYS_TIME 3884 #ifdef TIME_WITH_SYS_TIME
3872 #include <sys/time.h> 3885 #include <sys/time.h>
3873 #include <time.h> 3886 #include <time.h>
3874 #else 3887 #else
3880 #endif 3893 #endif
3881 int main() { 3894 int main() {
3882 static struct timeval x; x.tv_sec = x.tv_usec; 3895 static struct timeval x; x.tv_sec = x.tv_usec;
3883 ; return 0; } 3896 ; return 0; }
3884 EOF 3897 EOF
3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3898 if { (eval echo configure:3899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3886 rm -rf conftest* 3899 rm -rf conftest*
3887 echo "$ac_t""yes" 1>&6 3900 echo "$ac_t""yes" 1>&6
3888 HAVE_TIMEVAL=yes 3901 HAVE_TIMEVAL=yes
3889 { test "$extra_verbose" = "yes" && cat << \EOF 3902 { test "$extra_verbose" = "yes" && cat << \EOF
3890 Defining HAVE_TIMEVAL 3903 Defining HAVE_TIMEVAL
3902 HAVE_TIMEVAL=no 3915 HAVE_TIMEVAL=no
3903 fi 3916 fi
3904 rm -f conftest* 3917 rm -f conftest*
3905 3918
3906 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3919 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3907 echo "configure:3908: checking whether struct tm is in sys/time.h or time.h" >&5 3920 echo "configure:3921: checking whether struct tm is in sys/time.h or time.h" >&5
3908 3921
3909 cat > conftest.$ac_ext <<EOF 3922 cat > conftest.$ac_ext <<EOF
3910 #line 3911 "configure" 3923 #line 3924 "configure"
3911 #include "confdefs.h" 3924 #include "confdefs.h"
3912 #include <sys/types.h> 3925 #include <sys/types.h>
3913 #include <time.h> 3926 #include <time.h>
3914 int main() { 3927 int main() {
3915 struct tm *tp; tp->tm_sec; 3928 struct tm *tp; tp->tm_sec;
3916 ; return 0; } 3929 ; return 0; }
3917 EOF 3930 EOF
3918 if { (eval echo configure:3919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3931 if { (eval echo configure:3932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3919 rm -rf conftest* 3932 rm -rf conftest*
3920 ac_cv_struct_tm=time.h 3933 ac_cv_struct_tm=time.h
3921 else 3934 else
3922 echo "configure: failed program was:" >&5 3935 echo "configure: failed program was:" >&5
3923 cat conftest.$ac_ext >&5 3936 cat conftest.$ac_ext >&5
3937 } 3950 }
3938 3951
3939 fi 3952 fi
3940 3953
3941 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3954 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3942 echo "configure:3943: checking for tm_zone in struct tm" >&5 3955 echo "configure:3956: checking for tm_zone in struct tm" >&5
3943 3956
3944 cat > conftest.$ac_ext <<EOF 3957 cat > conftest.$ac_ext <<EOF
3945 #line 3946 "configure" 3958 #line 3959 "configure"
3946 #include "confdefs.h" 3959 #include "confdefs.h"
3947 #include <sys/types.h> 3960 #include <sys/types.h>
3948 #include <$ac_cv_struct_tm> 3961 #include <$ac_cv_struct_tm>
3949 int main() { 3962 int main() {
3950 struct tm tm; tm.tm_zone; 3963 struct tm tm; tm.tm_zone;
3951 ; return 0; } 3964 ; return 0; }
3952 EOF 3965 EOF
3953 if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3966 if { (eval echo configure:3967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3954 rm -rf conftest* 3967 rm -rf conftest*
3955 ac_cv_struct_tm_zone=yes 3968 ac_cv_struct_tm_zone=yes
3956 else 3969 else
3957 echo "configure: failed program was:" >&5 3970 echo "configure: failed program was:" >&5
3958 cat conftest.$ac_ext >&5 3971 cat conftest.$ac_ext >&5
3971 EOF 3984 EOF
3972 } 3985 }
3973 3986
3974 else 3987 else
3975 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3988 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3976 echo "configure:3977: checking for tzname" >&5 3989 echo "configure:3990: checking for tzname" >&5
3977 3990
3978 cat > conftest.$ac_ext <<EOF 3991 cat > conftest.$ac_ext <<EOF
3979 #line 3980 "configure" 3992 #line 3993 "configure"
3980 #include "confdefs.h" 3993 #include "confdefs.h"
3981 #include <time.h> 3994 #include <time.h>
3982 #ifndef tzname /* For SGI. */ 3995 #ifndef tzname /* For SGI. */
3983 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3996 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3984 #endif 3997 #endif
3985 int main() { 3998 int main() {
3986 atoi(*tzname); 3999 atoi(*tzname);
3987 ; return 0; } 4000 ; return 0; }
3988 EOF 4001 EOF
3989 if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3990 rm -rf conftest* 4003 rm -rf conftest*
3991 ac_cv_var_tzname=yes 4004 ac_cv_var_tzname=yes
3992 else 4005 else
3993 echo "configure: failed program was:" >&5 4006 echo "configure: failed program was:" >&5
3994 cat conftest.$ac_ext >&5 4007 cat conftest.$ac_ext >&5
4010 fi 4023 fi
4011 fi 4024 fi
4012 4025
4013 4026
4014 echo $ac_n "checking for working const""... $ac_c" 1>&6 4027 echo $ac_n "checking for working const""... $ac_c" 1>&6
4015 echo "configure:4016: checking for working const" >&5 4028 echo "configure:4029: checking for working const" >&5
4016 4029
4017 cat > conftest.$ac_ext <<EOF 4030 cat > conftest.$ac_ext <<EOF
4018 #line 4019 "configure" 4031 #line 4032 "configure"
4019 #include "confdefs.h" 4032 #include "confdefs.h"
4020 4033
4021 int main() { 4034 int main() {
4022 4035
4023 /* Ultrix mips cc rejects this. */ 4036 /* Ultrix mips cc rejects this. */
4062 const int foo = 10; 4075 const int foo = 10;
4063 } 4076 }
4064 4077
4065 ; return 0; } 4078 ; return 0; }
4066 EOF 4079 EOF
4067 if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4080 if { (eval echo configure:4081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4068 rm -rf conftest* 4081 rm -rf conftest*
4069 ac_cv_c_const=yes 4082 ac_cv_c_const=yes
4070 else 4083 else
4071 echo "configure: failed program was:" >&5 4084 echo "configure: failed program was:" >&5
4072 cat conftest.$ac_ext >&5 4085 cat conftest.$ac_ext >&5
4087 4100
4088 fi 4101 fi
4089 4102
4090 4103
4091 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 4104 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
4092 echo "configure:4093: checking whether ${MAKE-make} sets \${MAKE}" >&5 4105 echo "configure:4106: checking whether ${MAKE-make} sets \${MAKE}" >&5
4093 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4106 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4094 4107
4095 cat > conftestmake <<\EOF 4108 cat > conftestmake <<\EOF
4096 all: 4109 all:
4097 @echo 'ac_maketemp="${MAKE}"' 4110 @echo 'ac_maketemp="${MAKE}"'
4112 SET_MAKE="MAKE=${MAKE-make}" 4125 SET_MAKE="MAKE=${MAKE-make}"
4113 fi 4126 fi
4114 4127
4115 4128
4116 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4129 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4117 echo "configure:4118: checking whether byte ordering is bigendian" >&5 4130 echo "configure:4131: checking whether byte ordering is bigendian" >&5
4118 4131
4119 ac_cv_c_bigendian=unknown 4132 ac_cv_c_bigendian=unknown
4120 # See if sys/param.h defines the BYTE_ORDER macro. 4133 # See if sys/param.h defines the BYTE_ORDER macro.
4121 cat > conftest.$ac_ext <<EOF 4134 cat > conftest.$ac_ext <<EOF
4122 #line 4123 "configure" 4135 #line 4136 "configure"
4123 #include "confdefs.h" 4136 #include "confdefs.h"
4124 #include <sys/types.h> 4137 #include <sys/types.h>
4125 #include <sys/param.h> 4138 #include <sys/param.h>
4126 int main() { 4139 int main() {
4127 4140
4128 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4141 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4129 bogus endian macros 4142 bogus endian macros
4130 #endif 4143 #endif
4131 ; return 0; } 4144 ; return 0; }
4132 EOF 4145 EOF
4133 if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4146 if { (eval echo configure:4147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4134 rm -rf conftest* 4147 rm -rf conftest*
4135 # It does; now see whether it defined to BIG_ENDIAN or not. 4148 # It does; now see whether it defined to BIG_ENDIAN or not.
4136 cat > conftest.$ac_ext <<EOF 4149 cat > conftest.$ac_ext <<EOF
4137 #line 4138 "configure" 4150 #line 4151 "configure"
4138 #include "confdefs.h" 4151 #include "confdefs.h"
4139 #include <sys/types.h> 4152 #include <sys/types.h>
4140 #include <sys/param.h> 4153 #include <sys/param.h>
4141 int main() { 4154 int main() {
4142 4155
4143 #if BYTE_ORDER != BIG_ENDIAN 4156 #if BYTE_ORDER != BIG_ENDIAN
4144 not big endian 4157 not big endian
4145 #endif 4158 #endif
4146 ; return 0; } 4159 ; return 0; }
4147 EOF 4160 EOF
4148 if { (eval echo configure:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4161 if { (eval echo configure:4162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4149 rm -rf conftest* 4162 rm -rf conftest*
4150 ac_cv_c_bigendian=yes 4163 ac_cv_c_bigendian=yes
4151 else 4164 else
4152 echo "configure: failed program was:" >&5 4165 echo "configure: failed program was:" >&5
4153 cat conftest.$ac_ext >&5 4166 cat conftest.$ac_ext >&5
4160 cat conftest.$ac_ext >&5 4173 cat conftest.$ac_ext >&5
4161 fi 4174 fi
4162 rm -f conftest* 4175 rm -f conftest*
4163 if test $ac_cv_c_bigendian = unknown; then 4176 if test $ac_cv_c_bigendian = unknown; then
4164 cat > conftest.$ac_ext <<EOF 4177 cat > conftest.$ac_ext <<EOF
4165 #line 4166 "configure" 4178 #line 4179 "configure"
4166 #include "confdefs.h" 4179 #include "confdefs.h"
4167 main () { 4180 main () {
4168 /* Are we little or big endian? From Harbison&Steele. */ 4181 /* Are we little or big endian? From Harbison&Steele. */
4169 union 4182 union
4170 { 4183 {
4173 } u; 4186 } u;
4174 u.l = 1; 4187 u.l = 1;
4175 exit (u.c[sizeof (long) - 1] == 1); 4188 exit (u.c[sizeof (long) - 1] == 1);
4176 } 4189 }
4177 EOF 4190 EOF
4178 if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4191 if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4179 then 4192 then
4180 ac_cv_c_bigendian=no 4193 ac_cv_c_bigendian=no
4181 else 4194 else
4182 conftest_rc="$?" 4195 conftest_rc="$?"
4183 echo "configure: failed program was:" >&5 4196 echo "configure: failed program was:" >&5
4200 4213
4201 fi 4214 fi
4202 4215
4203 4216
4204 echo $ac_n "checking size of short""... $ac_c" 1>&6 4217 echo $ac_n "checking size of short""... $ac_c" 1>&6
4205 echo "configure:4206: checking size of short" >&5 4218 echo "configure:4219: checking size of short" >&5
4206 4219
4207 cat > conftest.$ac_ext <<EOF 4220 cat > conftest.$ac_ext <<EOF
4208 #line 4209 "configure" 4221 #line 4222 "configure"
4209 #include "confdefs.h" 4222 #include "confdefs.h"
4210 #include <stdio.h> 4223 #include <stdio.h>
4211 main() 4224 main()
4212 { 4225 {
4213 FILE *f=fopen("conftestval", "w"); 4226 FILE *f=fopen("conftestval", "w");
4214 if (!f) exit(1); 4227 if (!f) exit(1);
4215 fprintf(f, "%d\n", sizeof(short)); 4228 fprintf(f, "%d\n", sizeof(short));
4216 exit(0); 4229 exit(0);
4217 } 4230 }
4218 EOF 4231 EOF
4219 if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4220 then 4233 then
4221 ac_cv_sizeof_short=`cat conftestval` 4234 ac_cv_sizeof_short=`cat conftestval`
4222 else 4235 else
4223 conftest_rc="$?" 4236 conftest_rc="$?"
4224 echo "configure: failed program was:" >&5 4237 echo "configure: failed program was:" >&5
4242 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4255 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4243 echo "*** PANIC *** Please examine config.log for compilation errors." 4256 echo "*** PANIC *** Please examine config.log for compilation errors."
4244 exit 1 4257 exit 1
4245 fi 4258 fi
4246 echo $ac_n "checking size of int""... $ac_c" 1>&6 4259 echo $ac_n "checking size of int""... $ac_c" 1>&6
4247 echo "configure:4248: checking size of int" >&5 4260 echo "configure:4261: checking size of int" >&5
4248 4261
4249 cat > conftest.$ac_ext <<EOF 4262 cat > conftest.$ac_ext <<EOF
4250 #line 4251 "configure" 4263 #line 4264 "configure"
4251 #include "confdefs.h" 4264 #include "confdefs.h"
4252 #include <stdio.h> 4265 #include <stdio.h>
4253 main() 4266 main()
4254 { 4267 {
4255 FILE *f=fopen("conftestval", "w"); 4268 FILE *f=fopen("conftestval", "w");
4256 if (!f) exit(1); 4269 if (!f) exit(1);
4257 fprintf(f, "%d\n", sizeof(int)); 4270 fprintf(f, "%d\n", sizeof(int));
4258 exit(0); 4271 exit(0);
4259 } 4272 }
4260 EOF 4273 EOF
4261 if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4274 if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4262 then 4275 then
4263 ac_cv_sizeof_int=`cat conftestval` 4276 ac_cv_sizeof_int=`cat conftestval`
4264 else 4277 else
4265 conftest_rc="$?" 4278 conftest_rc="$?"
4266 echo "configure: failed program was:" >&5 4279 echo "configure: failed program was:" >&5
4278 EOF 4291 EOF
4279 } 4292 }
4280 4293
4281 4294
4282 echo $ac_n "checking size of long""... $ac_c" 1>&6 4295 echo $ac_n "checking size of long""... $ac_c" 1>&6
4283 echo "configure:4284: checking size of long" >&5 4296 echo "configure:4297: checking size of long" >&5
4284 4297
4285 cat > conftest.$ac_ext <<EOF 4298 cat > conftest.$ac_ext <<EOF
4286 #line 4287 "configure" 4299 #line 4300 "configure"
4287 #include "confdefs.h" 4300 #include "confdefs.h"
4288 #include <stdio.h> 4301 #include <stdio.h>
4289 main() 4302 main()
4290 { 4303 {
4291 FILE *f=fopen("conftestval", "w"); 4304 FILE *f=fopen("conftestval", "w");
4292 if (!f) exit(1); 4305 if (!f) exit(1);
4293 fprintf(f, "%d\n", sizeof(long)); 4306 fprintf(f, "%d\n", sizeof(long));
4294 exit(0); 4307 exit(0);
4295 } 4308 }
4296 EOF 4309 EOF
4297 if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4298 then 4311 then
4299 ac_cv_sizeof_long=`cat conftestval` 4312 ac_cv_sizeof_long=`cat conftestval`
4300 else 4313 else
4301 conftest_rc="$?" 4314 conftest_rc="$?"
4302 echo "configure: failed program was:" >&5 4315 echo "configure: failed program was:" >&5
4314 EOF 4327 EOF
4315 } 4328 }
4316 4329
4317 4330
4318 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4331 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4319 echo "configure:4320: checking size of long long" >&5 4332 echo "configure:4333: checking size of long long" >&5
4320 4333
4321 cat > conftest.$ac_ext <<EOF 4334 cat > conftest.$ac_ext <<EOF
4322 #line 4323 "configure" 4335 #line 4336 "configure"
4323 #include "confdefs.h" 4336 #include "confdefs.h"
4324 #include <stdio.h> 4337 #include <stdio.h>
4325 main() 4338 main()
4326 { 4339 {
4327 FILE *f=fopen("conftestval", "w"); 4340 FILE *f=fopen("conftestval", "w");
4328 if (!f) exit(1); 4341 if (!f) exit(1);
4329 fprintf(f, "%d\n", sizeof(long long)); 4342 fprintf(f, "%d\n", sizeof(long long));
4330 exit(0); 4343 exit(0);
4331 } 4344 }
4332 EOF 4345 EOF
4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4346 if { (eval echo configure:4347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4334 then 4347 then
4335 ac_cv_sizeof_long_long=`cat conftestval` 4348 ac_cv_sizeof_long_long=`cat conftestval`
4336 else 4349 else
4337 conftest_rc="$?" 4350 conftest_rc="$?"
4338 echo "configure: failed program was:" >&5 4351 echo "configure: failed program was:" >&5
4350 EOF 4363 EOF
4351 } 4364 }
4352 4365
4353 4366
4354 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4367 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4355 echo "configure:4356: checking size of void *" >&5 4368 echo "configure:4369: checking size of void *" >&5
4356 4369
4357 cat > conftest.$ac_ext <<EOF 4370 cat > conftest.$ac_ext <<EOF
4358 #line 4359 "configure" 4371 #line 4372 "configure"
4359 #include "confdefs.h" 4372 #include "confdefs.h"
4360 #include <stdio.h> 4373 #include <stdio.h>
4361 main() 4374 main()
4362 { 4375 {
4363 FILE *f=fopen("conftestval", "w"); 4376 FILE *f=fopen("conftestval", "w");
4364 if (!f) exit(1); 4377 if (!f) exit(1);
4365 fprintf(f, "%d\n", sizeof(void *)); 4378 fprintf(f, "%d\n", sizeof(void *));
4366 exit(0); 4379 exit(0);
4367 } 4380 }
4368 EOF 4381 EOF
4369 if { (eval echo configure:4370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4382 if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4370 then 4383 then
4371 ac_cv_sizeof_void_p=`cat conftestval` 4384 ac_cv_sizeof_void_p=`cat conftestval`
4372 else 4385 else
4373 conftest_rc="$?" 4386 conftest_rc="$?"
4374 echo "configure: failed program was:" >&5 4387 echo "configure: failed program was:" >&5
4387 } 4400 }
4388 4401
4389 4402
4390 4403
4391 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4404 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4392 echo "configure:4393: checking for long file names" >&5 4405 echo "configure:4406: checking for long file names" >&5
4393 4406
4394 ac_cv_sys_long_file_names=yes 4407 ac_cv_sys_long_file_names=yes
4395 # Test for long file names in all the places we know might matter: 4408 # Test for long file names in all the places we know might matter:
4396 # . the current directory, where building will happen 4409 # . the current directory, where building will happen
4397 # $prefix/lib where we will be installing things 4410 # $prefix/lib where we will be installing things
4433 4446
4434 fi 4447 fi
4435 4448
4436 4449
4437 echo $ac_n "checking for sin""... $ac_c" 1>&6 4450 echo $ac_n "checking for sin""... $ac_c" 1>&6
4438 echo "configure:4439: checking for sin" >&5 4451 echo "configure:4452: checking for sin" >&5
4439 4452
4440 cat > conftest.$ac_ext <<EOF 4453 cat > conftest.$ac_ext <<EOF
4441 #line 4442 "configure" 4454 #line 4455 "configure"
4442 #include "confdefs.h" 4455 #include "confdefs.h"
4443 /* System header to define __stub macros and hopefully few prototypes, 4456 /* System header to define __stub macros and hopefully few prototypes,
4444 which can conflict with char sin(); below. */ 4457 which can conflict with char sin(); below. */
4445 #include <assert.h> 4458 #include <assert.h>
4446 /* Override any gcc2 internal prototype to avoid an error. */ 4459 /* Override any gcc2 internal prototype to avoid an error. */
4459 sin(); 4472 sin();
4460 #endif 4473 #endif
4461 4474
4462 ; return 0; } 4475 ; return 0; }
4463 EOF 4476 EOF
4464 if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4477 if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4465 rm -rf conftest* 4478 rm -rf conftest*
4466 eval "ac_cv_func_sin=yes" 4479 eval "ac_cv_func_sin=yes"
4467 else 4480 else
4468 echo "configure: failed program was:" >&5 4481 echo "configure: failed program was:" >&5
4469 cat conftest.$ac_ext >&5 4482 cat conftest.$ac_ext >&5
4477 : 4490 :
4478 else 4491 else
4479 echo "$ac_t""no" 1>&6 4492 echo "$ac_t""no" 1>&6
4480 4493
4481 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4494 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4482 echo "configure:4483: checking for sin in -lm" >&5 4495 echo "configure:4496: checking for sin in -lm" >&5
4483 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4496 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4484 4497
4485 xe_check_libs=" -lm " 4498 xe_check_libs=" -lm "
4486 cat > conftest.$ac_ext <<EOF 4499 cat > conftest.$ac_ext <<EOF
4487 #line 4488 "configure" 4500 #line 4501 "configure"
4488 #include "confdefs.h" 4501 #include "confdefs.h"
4489 /* Override any gcc2 internal prototype to avoid an error. */ 4502 /* Override any gcc2 internal prototype to avoid an error. */
4490 /* We use char because int might match the return type of a gcc2 4503 /* We use char because int might match the return type of a gcc2
4491 builtin and then its argument prototype would still apply. */ 4504 builtin and then its argument prototype would still apply. */
4492 char sin(); 4505 char sin();
4493 4506
4494 int main() { 4507 int main() {
4495 sin() 4508 sin()
4496 ; return 0; } 4509 ; return 0; }
4497 EOF 4510 EOF
4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4499 rm -rf conftest* 4512 rm -rf conftest*
4500 eval "ac_cv_lib_$ac_lib_var=yes" 4513 eval "ac_cv_lib_$ac_lib_var=yes"
4501 else 4514 else
4502 echo "configure: failed program was:" >&5 4515 echo "configure: failed program was:" >&5
4503 cat conftest.$ac_ext >&5 4516 cat conftest.$ac_ext >&5
4537 EOF 4550 EOF
4538 } 4551 }
4539 4552
4540 4553
4541 cat > conftest.$ac_ext <<EOF 4554 cat > conftest.$ac_ext <<EOF
4542 #line 4543 "configure" 4555 #line 4556 "configure"
4543 #include "confdefs.h" 4556 #include "confdefs.h"
4544 #include <math.h> 4557 #include <math.h>
4545 int main() { 4558 int main() {
4546 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4559 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4547 ; return 0; } 4560 ; return 0; }
4548 EOF 4561 EOF
4549 if { (eval echo configure:4550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4550 rm -rf conftest* 4563 rm -rf conftest*
4551 { test "$extra_verbose" = "yes" && cat << \EOF 4564 { test "$extra_verbose" = "yes" && cat << \EOF
4552 Defining HAVE_INVERSE_HYPERBOLIC 4565 Defining HAVE_INVERSE_HYPERBOLIC
4553 EOF 4566 EOF
4554 cat >> confdefs.h <<\EOF 4567 cat >> confdefs.h <<\EOF
4561 cat conftest.$ac_ext >&5 4574 cat conftest.$ac_ext >&5
4562 fi 4575 fi
4563 rm -f conftest* 4576 rm -f conftest*
4564 4577
4565 echo "checking type of mail spool file locking" 1>&6 4578 echo "checking type of mail spool file locking" 1>&6
4566 echo "configure:4567: checking type of mail spool file locking" >&5 4579 echo "configure:4580: checking type of mail spool file locking" >&5
4580 for ac_func in lockf flock
4581 do
4582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4583 echo "configure:4584: checking for $ac_func" >&5
4584
4585 cat > conftest.$ac_ext <<EOF
4586 #line 4587 "configure"
4587 #include "confdefs.h"
4588 /* System header to define __stub macros and hopefully few prototypes,
4589 which can conflict with char $ac_func(); below. */
4590 #include <assert.h>
4591 /* Override any gcc2 internal prototype to avoid an error. */
4592 /* We use char because int might match the return type of a gcc2
4593 builtin and then its argument prototype would still apply. */
4594 char $ac_func();
4595
4596 int main() {
4597
4598 /* The GNU C library defines this for functions which it implements
4599 to always fail with ENOSYS. Some functions are actually named
4600 something starting with __ and the normal name is an alias. */
4601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4602 choke me
4603 #else
4604 $ac_func();
4605 #endif
4606
4607 ; return 0; }
4608 EOF
4609 if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4610 rm -rf conftest*
4611 eval "ac_cv_func_$ac_func=yes"
4612 else
4613 echo "configure: failed program was:" >&5
4614 cat conftest.$ac_ext >&5
4615 rm -rf conftest*
4616 eval "ac_cv_func_$ac_func=no"
4617 fi
4618 rm -f conftest*
4619
4620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4621 echo "$ac_t""yes" 1>&6
4622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4623 { test "$extra_verbose" = "yes" && cat << EOF
4624 Defining $ac_tr_func
4625 EOF
4626 cat >> confdefs.h <<EOF
4627 #define $ac_tr_func 1
4628 EOF
4629 }
4630
4631 else
4632 echo "$ac_t""no" 1>&6
4633 fi
4634 done
4635
4567 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 4636 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
4568 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 4637 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
4638 test -z "$mail_locking" -a "$mail_use_locking" = "yes" && mail_locking=locking
4569 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 4639 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
4570 Defining REAL_MAIL_USE_LOCKF 4640 Defining MAIL_LOCK_LOCKF
4571 EOF 4641 EOF
4572 cat >> confdefs.h <<\EOF 4642 cat >> confdefs.h <<\EOF
4573 #define REAL_MAIL_USE_LOCKF 1 4643 #define MAIL_LOCK_LOCKF 1
4574 EOF 4644 EOF
4575 } 4645 }
4576 4646
4577 elif test "$mail_locking" = "flock"; then { test "$extra_verbose" = "yes" && cat << \EOF 4647 elif test "$mail_locking" = "flock"; then { test "$extra_verbose" = "yes" && cat << \EOF
4578 Defining REAL_MAIL_USE_FLOCK 4648 Defining MAIL_LOCK_FLOCK
4579 EOF 4649 EOF
4580 cat >> confdefs.h <<\EOF 4650 cat >> confdefs.h <<\EOF
4581 #define REAL_MAIL_USE_FLOCK 1 4651 #define MAIL_LOCK_FLOCK 1
4582 EOF 4652 EOF
4583 } 4653 }
4584 4654
4585 else mail_locking="dot-locking" 4655 elif test "$mail_locking" = "locking"; then { test "$extra_verbose" = "yes" && cat << \EOF
4586 fi 4656 Defining MAIL_LOCK_LOCKING
4657 EOF
4658 cat >> confdefs.h <<\EOF
4659 #define MAIL_LOCK_LOCKING 1
4660 EOF
4661 }
4662
4663 else mail_locking="dot-locking"; { test "$extra_verbose" = "yes" && cat << \EOF
4664 Defining MAIL_LOCK_DOT
4665 EOF
4666 cat >> confdefs.h <<\EOF
4667 #define MAIL_LOCK_DOT 1
4668 EOF
4669 }
4670
4671 fi
4672 test "$mail_locking" = "lockf" -a "$ac_cv_func_lockf" != "yes" && \
4673 { echo "Error:" "lockf mail locking requested but not available." >&2; exit 1; }
4674 test "$mail_locking" = "flock" -a "$ac_cv_func_flock" != "yes" && \
4675 { echo "Error:" "flock mail locking requested but not available." >&2; exit 1; }
4676 test "$mail_locking" = "locking" -a "$ac_cv_func_locking" != "yes" && \
4677 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
4587 4678
4588 case "$opsys" in decosf*) 4679 case "$opsys" in decosf*)
4589 4680
4590 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4681 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4591 echo "configure:4592: checking for cma_open in -lpthreads" >&5 4682 echo "configure:4683: checking for cma_open in -lpthreads" >&5
4592 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4683 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4593 4684
4594 xe_check_libs=" -lpthreads " 4685 xe_check_libs=" -lpthreads "
4595 cat > conftest.$ac_ext <<EOF 4686 cat > conftest.$ac_ext <<EOF
4596 #line 4597 "configure" 4687 #line 4688 "configure"
4597 #include "confdefs.h" 4688 #include "confdefs.h"
4598 /* Override any gcc2 internal prototype to avoid an error. */ 4689 /* Override any gcc2 internal prototype to avoid an error. */
4599 /* We use char because int might match the return type of a gcc2 4690 /* We use char because int might match the return type of a gcc2
4600 builtin and then its argument prototype would still apply. */ 4691 builtin and then its argument prototype would still apply. */
4601 char cma_open(); 4692 char cma_open();
4602 4693
4603 int main() { 4694 int main() {
4604 cma_open() 4695 cma_open()
4605 ; return 0; } 4696 ; return 0; }
4606 EOF 4697 EOF
4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4698 if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4608 rm -rf conftest* 4699 rm -rf conftest*
4609 eval "ac_cv_lib_$ac_lib_var=yes" 4700 eval "ac_cv_lib_$ac_lib_var=yes"
4610 else 4701 else
4611 echo "configure: failed program was:" >&5 4702 echo "configure: failed program was:" >&5
4612 cat conftest.$ac_ext >&5 4703 cat conftest.$ac_ext >&5
4638 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ 4729 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \
4639 c_switch_site="$c_switch_site -threads" ;; 4730 c_switch_site="$c_switch_site -threads" ;;
4640 esac 4731 esac
4641 4732
4642 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 4733 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
4643 echo "configure:4644: checking whether the -xildoff compiler flag is required" >&5 4734 echo "configure:4735: checking whether the -xildoff compiler flag is required" >&5
4644 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 4735 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
4645 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 4736 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
4646 then echo "$ac_t""no" 1>&6; 4737 then echo "$ac_t""no" 1>&6;
4647 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi 4738 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi
4648 fi 4739 fi
4649 else echo "$ac_t""no" 1>&6 4740 else echo "$ac_t""no" 1>&6
4650 fi 4741 fi
4651 4742
4652 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then 4743 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
4653 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 4744 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
4654 echo "configure:4655: checking for \"-z ignore\" linker flag" >&5 4745 echo "configure:4746: checking for \"-z ignore\" linker flag" >&5
4655 case "`ld -h 2>&1`" in 4746 case "`ld -h 2>&1`" in
4656 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 4747 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
4657 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 4748 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
4658 *) echo "$ac_t""no" 1>&6 ;; 4749 *) echo "$ac_t""no" 1>&6 ;;
4659 esac 4750 esac
4660 fi 4751 fi
4661 4752
4662 4753
4663 echo "checking "for specified window system"" 1>&6 4754 echo "checking "for specified window system"" 1>&6
4664 echo "configure:4665: checking "for specified window system"" >&5 4755 echo "configure:4756: checking "for specified window system"" >&5
4665 4756
4666 if test "$with_x11" != "no"; then 4757 if test "$with_x11" != "no"; then
4667 test "$x_includes $x_libraries" != "NONE NONE" && \ 4758 test "$x_includes $x_libraries" != "NONE NONE" && \
4668 window_system=x11 with_x11=yes 4759 window_system=x11 with_x11=yes
4669 4760
4692 # If we find X, set shell vars x_includes and x_libraries to the 4783 # If we find X, set shell vars x_includes and x_libraries to the
4693 # paths, otherwise set no_x=yes. 4784 # paths, otherwise set no_x=yes.
4694 # Uses ac_ vars as temps to allow command line to override cache and checks. 4785 # Uses ac_ vars as temps to allow command line to override cache and checks.
4695 # --without-x overrides everything else, but does not touch the cache. 4786 # --without-x overrides everything else, but does not touch the cache.
4696 echo $ac_n "checking for X""... $ac_c" 1>&6 4787 echo $ac_n "checking for X""... $ac_c" 1>&6
4697 echo "configure:4698: checking for X" >&5 4788 echo "configure:4789: checking for X" >&5
4698 4789
4699 # Check whether --with-x or --without-x was given. 4790 # Check whether --with-x or --without-x was given.
4700 if test "${with_x+set}" = set; then 4791 if test "${with_x+set}" = set; then
4701 withval="$with_x" 4792 withval="$with_x"
4702 : 4793 :
4752 # Guess where to find include files, by looking for this one X11 .h file. 4843 # Guess where to find include files, by looking for this one X11 .h file.
4753 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 4844 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4754 4845
4755 # First, try using that file with no special directory specified. 4846 # First, try using that file with no special directory specified.
4756 cat > conftest.$ac_ext <<EOF 4847 cat > conftest.$ac_ext <<EOF
4757 #line 4758 "configure" 4848 #line 4849 "configure"
4758 #include "confdefs.h" 4849 #include "confdefs.h"
4759 #include <$x_direct_test_include> 4850 #include <$x_direct_test_include>
4760 EOF 4851 EOF
4761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4853 { (eval echo configure:4854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4764 if test -z "$ac_err"; then 4855 if test -z "$ac_err"; then
4765 rm -rf conftest* 4856 rm -rf conftest*
4766 # We can compile using X headers with no special include directory. 4857 # We can compile using X headers with no special include directory.
4767 ac_x_includes= 4858 ac_x_includes=
4826 # See if we find them without any special options. 4917 # See if we find them without any special options.
4827 # Don't add to $LIBS permanently. 4918 # Don't add to $LIBS permanently.
4828 ac_save_LIBS="$LIBS" 4919 ac_save_LIBS="$LIBS"
4829 LIBS="-l$x_direct_test_library $LIBS" 4920 LIBS="-l$x_direct_test_library $LIBS"
4830 cat > conftest.$ac_ext <<EOF 4921 cat > conftest.$ac_ext <<EOF
4831 #line 4832 "configure" 4922 #line 4923 "configure"
4832 #include "confdefs.h" 4923 #include "confdefs.h"
4833 4924
4834 int main() { 4925 int main() {
4835 ${x_direct_test_function}() 4926 ${x_direct_test_function}()
4836 ; return 0; } 4927 ; return 0; }
4837 EOF 4928 EOF
4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4929 if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4839 rm -rf conftest* 4930 rm -rf conftest*
4840 LIBS="$ac_save_LIBS" 4931 LIBS="$ac_save_LIBS"
4841 # We can link X programs with no special library path. 4932 # We can link X programs with no special library path.
4842 ac_x_libraries= 4933 ac_x_libraries=
4843 else 4934 else
4942 # For Solaris; some versions of Sun CC require a space after -R and 5033 # For Solaris; some versions of Sun CC require a space after -R and
4943 # others require no space. Words are not sufficient . . . . 5034 # others require no space. Words are not sufficient . . . .
4944 case "`(uname -sr) 2>/dev/null`" in 5035 case "`(uname -sr) 2>/dev/null`" in
4945 "SunOS 5"*) 5036 "SunOS 5"*)
4946 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 5037 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4947 echo "configure:4948: checking whether -R must be followed by a space" >&5 5038 echo "configure:5039: checking whether -R must be followed by a space" >&5
4948 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 5039 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4949 cat > conftest.$ac_ext <<EOF 5040 cat > conftest.$ac_ext <<EOF
4950 #line 4951 "configure" 5041 #line 5042 "configure"
4951 #include "confdefs.h" 5042 #include "confdefs.h"
4952 5043
4953 int main() { 5044 int main() {
4954 5045
4955 ; return 0; } 5046 ; return 0; }
4956 EOF 5047 EOF
4957 if { (eval echo configure:4958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5048 if { (eval echo configure:5049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4958 rm -rf conftest* 5049 rm -rf conftest*
4959 ac_R_nospace=yes 5050 ac_R_nospace=yes
4960 else 5051 else
4961 echo "configure: failed program was:" >&5 5052 echo "configure: failed program was:" >&5
4962 cat conftest.$ac_ext >&5 5053 cat conftest.$ac_ext >&5
4968 echo "$ac_t""no" 1>&6 5059 echo "$ac_t""no" 1>&6
4969 X_LIBS="$X_LIBS -R$x_libraries" 5060 X_LIBS="$X_LIBS -R$x_libraries"
4970 else 5061 else
4971 LIBS="$ac_xsave_LIBS -R $x_libraries" 5062 LIBS="$ac_xsave_LIBS -R $x_libraries"
4972 cat > conftest.$ac_ext <<EOF 5063 cat > conftest.$ac_ext <<EOF
4973 #line 4974 "configure" 5064 #line 5065 "configure"
4974 #include "confdefs.h" 5065 #include "confdefs.h"
4975 5066
4976 int main() { 5067 int main() {
4977 5068
4978 ; return 0; } 5069 ; return 0; }
4979 EOF 5070 EOF
4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4981 rm -rf conftest* 5072 rm -rf conftest*
4982 ac_R_space=yes 5073 ac_R_space=yes
4983 else 5074 else
4984 echo "configure: failed program was:" >&5 5075 echo "configure: failed program was:" >&5
4985 cat conftest.$ac_ext >&5 5076 cat conftest.$ac_ext >&5
5011 if test "$with_dnet" = "no" ; then 5102 if test "$with_dnet" = "no" ; then
5012 ac_cv_lib_dnet_dnet_ntoa=no 5103 ac_cv_lib_dnet_dnet_ntoa=no
5013 else 5104 else
5014 5105
5015 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 5106 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5016 echo "configure:5017: checking for dnet_ntoa in -ldnet" >&5 5107 echo "configure:5108: checking for dnet_ntoa in -ldnet" >&5
5017 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5108 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5018 5109
5019 xe_check_libs=" -ldnet " 5110 xe_check_libs=" -ldnet "
5020 cat > conftest.$ac_ext <<EOF 5111 cat > conftest.$ac_ext <<EOF
5021 #line 5022 "configure" 5112 #line 5113 "configure"
5022 #include "confdefs.h" 5113 #include "confdefs.h"
5023 /* Override any gcc2 internal prototype to avoid an error. */ 5114 /* Override any gcc2 internal prototype to avoid an error. */
5024 /* We use char because int might match the return type of a gcc2 5115 /* We use char because int might match the return type of a gcc2
5025 builtin and then its argument prototype would still apply. */ 5116 builtin and then its argument prototype would still apply. */
5026 char dnet_ntoa(); 5117 char dnet_ntoa();
5027 5118
5028 int main() { 5119 int main() {
5029 dnet_ntoa() 5120 dnet_ntoa()
5030 ; return 0; } 5121 ; return 0; }
5031 EOF 5122 EOF
5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5123 if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5033 rm -rf conftest* 5124 rm -rf conftest*
5034 eval "ac_cv_lib_$ac_lib_var=yes" 5125 eval "ac_cv_lib_$ac_lib_var=yes"
5035 else 5126 else
5036 echo "configure: failed program was:" >&5 5127 echo "configure: failed program was:" >&5
5037 cat conftest.$ac_ext >&5 5128 cat conftest.$ac_ext >&5
5051 fi 5142 fi
5052 5143
5053 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5144 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5054 5145
5055 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 5146 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
5056 echo "configure:5057: checking for dnet_ntoa in -ldnet_stub" >&5 5147 echo "configure:5148: checking for dnet_ntoa in -ldnet_stub" >&5
5057 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5148 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5058 5149
5059 xe_check_libs=" -ldnet_stub " 5150 xe_check_libs=" -ldnet_stub "
5060 cat > conftest.$ac_ext <<EOF 5151 cat > conftest.$ac_ext <<EOF
5061 #line 5062 "configure" 5152 #line 5153 "configure"
5062 #include "confdefs.h" 5153 #include "confdefs.h"
5063 /* Override any gcc2 internal prototype to avoid an error. */ 5154 /* Override any gcc2 internal prototype to avoid an error. */
5064 /* We use char because int might match the return type of a gcc2 5155 /* We use char because int might match the return type of a gcc2
5065 builtin and then its argument prototype would still apply. */ 5156 builtin and then its argument prototype would still apply. */
5066 char dnet_ntoa(); 5157 char dnet_ntoa();
5067 5158
5068 int main() { 5159 int main() {
5069 dnet_ntoa() 5160 dnet_ntoa()
5070 ; return 0; } 5161 ; return 0; }
5071 EOF 5162 EOF
5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5163 if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5073 rm -rf conftest* 5164 rm -rf conftest*
5074 eval "ac_cv_lib_$ac_lib_var=yes" 5165 eval "ac_cv_lib_$ac_lib_var=yes"
5075 else 5166 else
5076 echo "configure: failed program was:" >&5 5167 echo "configure: failed program was:" >&5
5077 cat conftest.$ac_ext >&5 5168 cat conftest.$ac_ext >&5
5096 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 5187 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
5097 # needs -lnsl. 5188 # needs -lnsl.
5098 # The nsl library prevents programs from opening the X display 5189 # The nsl library prevents programs from opening the X display
5099 # on Irix 5.2, according to dickey@clark.net. 5190 # on Irix 5.2, according to dickey@clark.net.
5100 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5191 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5101 echo "configure:5102: checking for gethostbyname" >&5 5192 echo "configure:5193: checking for gethostbyname" >&5
5102 5193
5103 cat > conftest.$ac_ext <<EOF 5194 cat > conftest.$ac_ext <<EOF
5104 #line 5105 "configure" 5195 #line 5196 "configure"
5105 #include "confdefs.h" 5196 #include "confdefs.h"
5106 /* System header to define __stub macros and hopefully few prototypes, 5197 /* System header to define __stub macros and hopefully few prototypes,
5107 which can conflict with char gethostbyname(); below. */ 5198 which can conflict with char gethostbyname(); below. */
5108 #include <assert.h> 5199 #include <assert.h>
5109 /* Override any gcc2 internal prototype to avoid an error. */ 5200 /* Override any gcc2 internal prototype to avoid an error. */
5122 gethostbyname(); 5213 gethostbyname();
5123 #endif 5214 #endif
5124 5215
5125 ; return 0; } 5216 ; return 0; }
5126 EOF 5217 EOF
5127 if { (eval echo configure:5128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5128 rm -rf conftest* 5219 rm -rf conftest*
5129 eval "ac_cv_func_gethostbyname=yes" 5220 eval "ac_cv_func_gethostbyname=yes"
5130 else 5221 else
5131 echo "configure: failed program was:" >&5 5222 echo "configure: failed program was:" >&5
5132 cat conftest.$ac_ext >&5 5223 cat conftest.$ac_ext >&5
5143 fi 5234 fi
5144 5235
5145 if test $ac_cv_func_gethostbyname = no; then 5236 if test $ac_cv_func_gethostbyname = no; then
5146 5237
5147 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 5238 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5148 echo "configure:5149: checking for gethostbyname in -lnsl" >&5 5239 echo "configure:5240: checking for gethostbyname in -lnsl" >&5
5149 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 5240 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5150 5241
5151 xe_check_libs=" -lnsl " 5242 xe_check_libs=" -lnsl "
5152 cat > conftest.$ac_ext <<EOF 5243 cat > conftest.$ac_ext <<EOF
5153 #line 5154 "configure" 5244 #line 5245 "configure"
5154 #include "confdefs.h" 5245 #include "confdefs.h"
5155 /* Override any gcc2 internal prototype to avoid an error. */ 5246 /* Override any gcc2 internal prototype to avoid an error. */
5156 /* We use char because int might match the return type of a gcc2 5247 /* We use char because int might match the return type of a gcc2
5157 builtin and then its argument prototype would still apply. */ 5248 builtin and then its argument prototype would still apply. */
5158 char gethostbyname(); 5249 char gethostbyname();
5159 5250
5160 int main() { 5251 int main() {
5161 gethostbyname() 5252 gethostbyname()
5162 ; return 0; } 5253 ; return 0; }
5163 EOF 5254 EOF
5164 if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5255 if { (eval echo configure:5256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5165 rm -rf conftest* 5256 rm -rf conftest*
5166 eval "ac_cv_lib_$ac_lib_var=yes" 5257 eval "ac_cv_lib_$ac_lib_var=yes"
5167 else 5258 else
5168 echo "configure: failed program was:" >&5 5259 echo "configure: failed program was:" >&5
5169 cat conftest.$ac_ext >&5 5260 cat conftest.$ac_ext >&5
5189 # on later versions), says simon@lia.di.epfl.ch: it contains 5280 # on later versions), says simon@lia.di.epfl.ch: it contains
5190 # gethostby* variants that don't use the nameserver (or something). 5281 # gethostby* variants that don't use the nameserver (or something).
5191 # -lsocket must be given before -lnsl if both are needed. 5282 # -lsocket must be given before -lnsl if both are needed.
5192 # We assume that if connect needs -lnsl, so does gethostbyname. 5283 # We assume that if connect needs -lnsl, so does gethostbyname.
5193 echo $ac_n "checking for connect""... $ac_c" 1>&6 5284 echo $ac_n "checking for connect""... $ac_c" 1>&6
5194 echo "configure:5195: checking for connect" >&5 5285 echo "configure:5286: checking for connect" >&5
5195 5286
5196 cat > conftest.$ac_ext <<EOF 5287 cat > conftest.$ac_ext <<EOF
5197 #line 5198 "configure" 5288 #line 5289 "configure"
5198 #include "confdefs.h" 5289 #include "confdefs.h"
5199 /* System header to define __stub macros and hopefully few prototypes, 5290 /* System header to define __stub macros and hopefully few prototypes,
5200 which can conflict with char connect(); below. */ 5291 which can conflict with char connect(); below. */
5201 #include <assert.h> 5292 #include <assert.h>
5202 /* Override any gcc2 internal prototype to avoid an error. */ 5293 /* Override any gcc2 internal prototype to avoid an error. */
5215 connect(); 5306 connect();
5216 #endif 5307 #endif
5217 5308
5218 ; return 0; } 5309 ; return 0; }
5219 EOF 5310 EOF
5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5311 if { (eval echo configure:5312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5221 rm -rf conftest* 5312 rm -rf conftest*
5222 eval "ac_cv_func_connect=yes" 5313 eval "ac_cv_func_connect=yes"
5223 else 5314 else
5224 echo "configure: failed program was:" >&5 5315 echo "configure: failed program was:" >&5
5225 cat conftest.$ac_ext >&5 5316 cat conftest.$ac_ext >&5
5238 if test $ac_cv_func_connect = no; then 5329 if test $ac_cv_func_connect = no; then
5239 5330
5240 xe_msg_checking="for connect in -lsocket" 5331 xe_msg_checking="for connect in -lsocket"
5241 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 5332 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
5242 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5333 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5243 echo "configure:5244: checking "$xe_msg_checking"" >&5 5334 echo "configure:5335: checking "$xe_msg_checking"" >&5
5244 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 5335 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
5245 5336
5246 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 5337 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
5247 cat > conftest.$ac_ext <<EOF 5338 cat > conftest.$ac_ext <<EOF
5248 #line 5249 "configure" 5339 #line 5340 "configure"
5249 #include "confdefs.h" 5340 #include "confdefs.h"
5250 /* Override any gcc2 internal prototype to avoid an error. */ 5341 /* Override any gcc2 internal prototype to avoid an error. */
5251 /* We use char because int might match the return type of a gcc2 5342 /* We use char because int might match the return type of a gcc2
5252 builtin and then its argument prototype would still apply. */ 5343 builtin and then its argument prototype would still apply. */
5253 char connect(); 5344 char connect();
5254 5345
5255 int main() { 5346 int main() {
5256 connect() 5347 connect()
5257 ; return 0; } 5348 ; return 0; }
5258 EOF 5349 EOF
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5350 if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5260 rm -rf conftest* 5351 rm -rf conftest*
5261 eval "ac_cv_lib_$ac_lib_var=yes" 5352 eval "ac_cv_lib_$ac_lib_var=yes"
5262 else 5353 else
5263 echo "configure: failed program was:" >&5 5354 echo "configure: failed program was:" >&5
5264 cat conftest.$ac_ext >&5 5355 cat conftest.$ac_ext >&5
5278 5369
5279 fi 5370 fi
5280 5371
5281 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 5372 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
5282 echo $ac_n "checking for remove""... $ac_c" 1>&6 5373 echo $ac_n "checking for remove""... $ac_c" 1>&6
5283 echo "configure:5284: checking for remove" >&5 5374 echo "configure:5375: checking for remove" >&5
5284 5375
5285 cat > conftest.$ac_ext <<EOF 5376 cat > conftest.$ac_ext <<EOF
5286 #line 5287 "configure" 5377 #line 5378 "configure"
5287 #include "confdefs.h" 5378 #include "confdefs.h"
5288 /* System header to define __stub macros and hopefully few prototypes, 5379 /* System header to define __stub macros and hopefully few prototypes,
5289 which can conflict with char remove(); below. */ 5380 which can conflict with char remove(); below. */
5290 #include <assert.h> 5381 #include <assert.h>
5291 /* Override any gcc2 internal prototype to avoid an error. */ 5382 /* Override any gcc2 internal prototype to avoid an error. */
5304 remove(); 5395 remove();
5305 #endif 5396 #endif
5306 5397
5307 ; return 0; } 5398 ; return 0; }
5308 EOF 5399 EOF
5309 if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5400 if { (eval echo configure:5401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5310 rm -rf conftest* 5401 rm -rf conftest*
5311 eval "ac_cv_func_remove=yes" 5402 eval "ac_cv_func_remove=yes"
5312 else 5403 else
5313 echo "configure: failed program was:" >&5 5404 echo "configure: failed program was:" >&5
5314 cat conftest.$ac_ext >&5 5405 cat conftest.$ac_ext >&5
5325 fi 5416 fi
5326 5417
5327 if test $ac_cv_func_remove = no; then 5418 if test $ac_cv_func_remove = no; then
5328 5419
5329 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 5420 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
5330 echo "configure:5331: checking for remove in -lposix" >&5 5421 echo "configure:5422: checking for remove in -lposix" >&5
5331 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 5422 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
5332 5423
5333 xe_check_libs=" -lposix " 5424 xe_check_libs=" -lposix "
5334 cat > conftest.$ac_ext <<EOF 5425 cat > conftest.$ac_ext <<EOF
5335 #line 5336 "configure" 5426 #line 5427 "configure"
5336 #include "confdefs.h" 5427 #include "confdefs.h"
5337 /* Override any gcc2 internal prototype to avoid an error. */ 5428 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2 5429 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */ 5430 builtin and then its argument prototype would still apply. */
5340 char remove(); 5431 char remove();
5341 5432
5342 int main() { 5433 int main() {
5343 remove() 5434 remove()
5344 ; return 0; } 5435 ; return 0; }
5345 EOF 5436 EOF
5346 if { (eval echo configure:5347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5347 rm -rf conftest* 5438 rm -rf conftest*
5348 eval "ac_cv_lib_$ac_lib_var=yes" 5439 eval "ac_cv_lib_$ac_lib_var=yes"
5349 else 5440 else
5350 echo "configure: failed program was:" >&5 5441 echo "configure: failed program was:" >&5
5351 cat conftest.$ac_ext >&5 5442 cat conftest.$ac_ext >&5
5365 5456
5366 fi 5457 fi
5367 5458
5368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 5459 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5369 echo $ac_n "checking for shmat""... $ac_c" 1>&6 5460 echo $ac_n "checking for shmat""... $ac_c" 1>&6
5370 echo "configure:5371: checking for shmat" >&5 5461 echo "configure:5462: checking for shmat" >&5
5371 5462
5372 cat > conftest.$ac_ext <<EOF 5463 cat > conftest.$ac_ext <<EOF
5373 #line 5374 "configure" 5464 #line 5465 "configure"
5374 #include "confdefs.h" 5465 #include "confdefs.h"
5375 /* System header to define __stub macros and hopefully few prototypes, 5466 /* System header to define __stub macros and hopefully few prototypes,
5376 which can conflict with char shmat(); below. */ 5467 which can conflict with char shmat(); below. */
5377 #include <assert.h> 5468 #include <assert.h>
5378 /* Override any gcc2 internal prototype to avoid an error. */ 5469 /* Override any gcc2 internal prototype to avoid an error. */
5391 shmat(); 5482 shmat();
5392 #endif 5483 #endif
5393 5484
5394 ; return 0; } 5485 ; return 0; }
5395 EOF 5486 EOF
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5487 if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 rm -rf conftest* 5488 rm -rf conftest*
5398 eval "ac_cv_func_shmat=yes" 5489 eval "ac_cv_func_shmat=yes"
5399 else 5490 else
5400 echo "configure: failed program was:" >&5 5491 echo "configure: failed program was:" >&5
5401 cat conftest.$ac_ext >&5 5492 cat conftest.$ac_ext >&5
5412 fi 5503 fi
5413 5504
5414 if test $ac_cv_func_shmat = no; then 5505 if test $ac_cv_func_shmat = no; then
5415 5506
5416 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 5507 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
5417 echo "configure:5418: checking for shmat in -lipc" >&5 5508 echo "configure:5509: checking for shmat in -lipc" >&5
5418 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 5509 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
5419 5510
5420 xe_check_libs=" -lipc " 5511 xe_check_libs=" -lipc "
5421 cat > conftest.$ac_ext <<EOF 5512 cat > conftest.$ac_ext <<EOF
5422 #line 5423 "configure" 5513 #line 5514 "configure"
5423 #include "confdefs.h" 5514 #include "confdefs.h"
5424 /* Override any gcc2 internal prototype to avoid an error. */ 5515 /* Override any gcc2 internal prototype to avoid an error. */
5425 /* We use char because int might match the return type of a gcc2 5516 /* We use char because int might match the return type of a gcc2
5426 builtin and then its argument prototype would still apply. */ 5517 builtin and then its argument prototype would still apply. */
5427 char shmat(); 5518 char shmat();
5428 5519
5429 int main() { 5520 int main() {
5430 shmat() 5521 shmat()
5431 ; return 0; } 5522 ; return 0; }
5432 EOF 5523 EOF
5433 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5434 rm -rf conftest* 5525 rm -rf conftest*
5435 eval "ac_cv_lib_$ac_lib_var=yes" 5526 eval "ac_cv_lib_$ac_lib_var=yes"
5436 else 5527 else
5437 echo "configure: failed program was:" >&5 5528 echo "configure: failed program was:" >&5
5438 cat conftest.$ac_ext >&5 5529 cat conftest.$ac_ext >&5
5464 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 5555 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
5465 5556
5466 xe_msg_checking="for IceConnectionNumber in -lICE" 5557 xe_msg_checking="for IceConnectionNumber in -lICE"
5467 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 5558 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
5468 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5559 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5469 echo "configure:5470: checking "$xe_msg_checking"" >&5 5560 echo "configure:5561: checking "$xe_msg_checking"" >&5
5470 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 5561 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
5471 5562
5472 xe_check_libs=" -lICE $X_EXTRA_LIBS" 5563 xe_check_libs=" -lICE $X_EXTRA_LIBS"
5473 cat > conftest.$ac_ext <<EOF 5564 cat > conftest.$ac_ext <<EOF
5474 #line 5475 "configure" 5565 #line 5566 "configure"
5475 #include "confdefs.h" 5566 #include "confdefs.h"
5476 /* Override any gcc2 internal prototype to avoid an error. */ 5567 /* Override any gcc2 internal prototype to avoid an error. */
5477 /* We use char because int might match the return type of a gcc2 5568 /* We use char because int might match the return type of a gcc2
5478 builtin and then its argument prototype would still apply. */ 5569 builtin and then its argument prototype would still apply. */
5479 char IceConnectionNumber(); 5570 char IceConnectionNumber();
5480 5571
5481 int main() { 5572 int main() {
5482 IceConnectionNumber() 5573 IceConnectionNumber()
5483 ; return 0; } 5574 ; return 0; }
5484 EOF 5575 EOF
5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5576 if { (eval echo configure:5577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5486 rm -rf conftest* 5577 rm -rf conftest*
5487 eval "ac_cv_lib_$ac_lib_var=yes" 5578 eval "ac_cv_lib_$ac_lib_var=yes"
5488 else 5579 else
5489 echo "configure: failed program was:" >&5 5580 echo "configure: failed program was:" >&5
5490 cat conftest.$ac_ext >&5 5581 cat conftest.$ac_ext >&5
5649 EOF 5740 EOF
5650 } 5741 }
5651 5742
5652 5743
5653 echo "checking for X defines extracted by xmkmf" 1>&6 5744 echo "checking for X defines extracted by xmkmf" 1>&6
5654 echo "configure:5655: checking for X defines extracted by xmkmf" >&5 5745 echo "configure:5746: checking for X defines extracted by xmkmf" >&5
5655 rm -fr conftestdir 5746 rm -fr conftestdir
5656 if mkdir conftestdir; then 5747 if mkdir conftestdir; then
5657 cd conftestdir 5748 cd conftestdir
5658 cat > Imakefile <<'EOF' 5749 cat > Imakefile <<'EOF'
5659 xetest: 5750 xetest:
5681 done 5772 done
5682 fi 5773 fi
5683 5774
5684 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 5775 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
5685 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 5776 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
5686 echo "configure:5687: checking for X11/Intrinsic.h" >&5 5777 echo "configure:5778: checking for X11/Intrinsic.h" >&5
5687 5778
5688 cat > conftest.$ac_ext <<EOF 5779 cat > conftest.$ac_ext <<EOF
5689 #line 5690 "configure" 5780 #line 5781 "configure"
5690 #include "confdefs.h" 5781 #include "confdefs.h"
5691 #include <X11/Intrinsic.h> 5782 #include <X11/Intrinsic.h>
5692 EOF 5783 EOF
5693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5694 { (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5785 { (eval echo configure:5786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5696 if test -z "$ac_err"; then 5787 if test -z "$ac_err"; then
5697 rm -rf conftest* 5788 rm -rf conftest*
5698 eval "ac_cv_header_$ac_safe=yes" 5789 eval "ac_cv_header_$ac_safe=yes"
5699 else 5790 else
5713 fi 5804 fi
5714 5805
5715 5806
5716 5807
5717 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 5808 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
5718 echo "configure:5719: checking for XOpenDisplay in -lX11" >&5 5809 echo "configure:5810: checking for XOpenDisplay in -lX11" >&5
5719 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 5810 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
5720 5811
5721 xe_check_libs=" -lX11 " 5812 xe_check_libs=" -lX11 "
5722 cat > conftest.$ac_ext <<EOF 5813 cat > conftest.$ac_ext <<EOF
5723 #line 5724 "configure" 5814 #line 5815 "configure"
5724 #include "confdefs.h" 5815 #include "confdefs.h"
5725 /* Override any gcc2 internal prototype to avoid an error. */ 5816 /* Override any gcc2 internal prototype to avoid an error. */
5726 /* We use char because int might match the return type of a gcc2 5817 /* We use char because int might match the return type of a gcc2
5727 builtin and then its argument prototype would still apply. */ 5818 builtin and then its argument prototype would still apply. */
5728 char XOpenDisplay(); 5819 char XOpenDisplay();
5729 5820
5730 int main() { 5821 int main() {
5731 XOpenDisplay() 5822 XOpenDisplay()
5732 ; return 0; } 5823 ; return 0; }
5733 EOF 5824 EOF
5734 if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5735 rm -rf conftest* 5826 rm -rf conftest*
5736 eval "ac_cv_lib_$ac_lib_var=yes" 5827 eval "ac_cv_lib_$ac_lib_var=yes"
5737 else 5828 else
5738 echo "configure: failed program was:" >&5 5829 echo "configure: failed program was:" >&5
5739 cat conftest.$ac_ext >&5 5830 cat conftest.$ac_ext >&5
5754 if test "$have_lib_x11" != "yes"; then 5845 if test "$have_lib_x11" != "yes"; then
5755 5846
5756 xe_msg_checking="for XGetFontProperty in -lX11" 5847 xe_msg_checking="for XGetFontProperty in -lX11"
5757 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 5848 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
5758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5849 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5759 echo "configure:5760: checking "$xe_msg_checking"" >&5 5850 echo "configure:5851: checking "$xe_msg_checking"" >&5
5760 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 5851 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
5761 5852
5762 xe_check_libs=" -lX11 -b i486-linuxaout" 5853 xe_check_libs=" -lX11 -b i486-linuxaout"
5763 cat > conftest.$ac_ext <<EOF 5854 cat > conftest.$ac_ext <<EOF
5764 #line 5765 "configure" 5855 #line 5856 "configure"
5765 #include "confdefs.h" 5856 #include "confdefs.h"
5766 /* Override any gcc2 internal prototype to avoid an error. */ 5857 /* Override any gcc2 internal prototype to avoid an error. */
5767 /* We use char because int might match the return type of a gcc2 5858 /* We use char because int might match the return type of a gcc2
5768 builtin and then its argument prototype would still apply. */ 5859 builtin and then its argument prototype would still apply. */
5769 char XGetFontProperty(); 5860 char XGetFontProperty();
5770 5861
5771 int main() { 5862 int main() {
5772 XGetFontProperty() 5863 XGetFontProperty()
5773 ; return 0; } 5864 ; return 0; }
5774 EOF 5865 EOF
5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5866 if { (eval echo configure:5867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5776 rm -rf conftest* 5867 rm -rf conftest*
5777 eval "ac_cv_lib_$ac_lib_var=yes" 5868 eval "ac_cv_lib_$ac_lib_var=yes"
5778 else 5869 else
5779 echo "configure: failed program was:" >&5 5870 echo "configure: failed program was:" >&5
5780 cat conftest.$ac_ext >&5 5871 cat conftest.$ac_ext >&5
5797 libs_x="-lX11" 5888 libs_x="-lX11"
5798 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5889 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5799 5890
5800 5891
5801 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5892 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5802 echo "configure:5803: checking for XShapeSelectInput in -lXext" >&5 5893 echo "configure:5894: checking for XShapeSelectInput in -lXext" >&5
5803 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5894 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5804 5895
5805 xe_check_libs=" -lXext " 5896 xe_check_libs=" -lXext "
5806 cat > conftest.$ac_ext <<EOF 5897 cat > conftest.$ac_ext <<EOF
5807 #line 5808 "configure" 5898 #line 5899 "configure"
5808 #include "confdefs.h" 5899 #include "confdefs.h"
5809 /* Override any gcc2 internal prototype to avoid an error. */ 5900 /* Override any gcc2 internal prototype to avoid an error. */
5810 /* We use char because int might match the return type of a gcc2 5901 /* We use char because int might match the return type of a gcc2
5811 builtin and then its argument prototype would still apply. */ 5902 builtin and then its argument prototype would still apply. */
5812 char XShapeSelectInput(); 5903 char XShapeSelectInput();
5813 5904
5814 int main() { 5905 int main() {
5815 XShapeSelectInput() 5906 XShapeSelectInput()
5816 ; return 0; } 5907 ; return 0; }
5817 EOF 5908 EOF
5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5819 rm -rf conftest* 5910 rm -rf conftest*
5820 eval "ac_cv_lib_$ac_lib_var=yes" 5911 eval "ac_cv_lib_$ac_lib_var=yes"
5821 else 5912 else
5822 echo "configure: failed program was:" >&5 5913 echo "configure: failed program was:" >&5
5823 cat conftest.$ac_ext >&5 5914 cat conftest.$ac_ext >&5
5836 5927
5837 5928
5838 5929
5839 5930
5840 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5931 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5841 echo "configure:5842: checking for XtOpenDisplay in -lXt" >&5 5932 echo "configure:5933: checking for XtOpenDisplay in -lXt" >&5
5842 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5933 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5843 5934
5844 xe_check_libs=" -lXt " 5935 xe_check_libs=" -lXt "
5845 cat > conftest.$ac_ext <<EOF 5936 cat > conftest.$ac_ext <<EOF
5846 #line 5847 "configure" 5937 #line 5938 "configure"
5847 #include "confdefs.h" 5938 #include "confdefs.h"
5848 /* Override any gcc2 internal prototype to avoid an error. */ 5939 /* Override any gcc2 internal prototype to avoid an error. */
5849 /* We use char because int might match the return type of a gcc2 5940 /* We use char because int might match the return type of a gcc2
5850 builtin and then its argument prototype would still apply. */ 5941 builtin and then its argument prototype would still apply. */
5851 char XtOpenDisplay(); 5942 char XtOpenDisplay();
5852 5943
5853 int main() { 5944 int main() {
5854 XtOpenDisplay() 5945 XtOpenDisplay()
5855 ; return 0; } 5946 ; return 0; }
5856 EOF 5947 EOF
5857 if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5948 if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5858 rm -rf conftest* 5949 rm -rf conftest*
5859 eval "ac_cv_lib_$ac_lib_var=yes" 5950 eval "ac_cv_lib_$ac_lib_var=yes"
5860 else 5951 else
5861 echo "configure: failed program was:" >&5 5952 echo "configure: failed program was:" >&5
5862 cat conftest.$ac_ext >&5 5953 cat conftest.$ac_ext >&5
5875 fi 5966 fi
5876 5967
5877 5968
5878 5969
5879 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5970 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5880 echo "configure:5881: checking the version of X11 being used" >&5 5971 echo "configure:5972: checking the version of X11 being used" >&5
5881 cat > conftest.$ac_ext <<EOF 5972 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure" 5973 #line 5974 "configure"
5883 #include "confdefs.h" 5974 #include "confdefs.h"
5884 #include <X11/Intrinsic.h> 5975 #include <X11/Intrinsic.h>
5885 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5976 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5886 EOF 5977 EOF
5887 if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5978 if { (eval echo configure:5979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5888 then 5979 then
5889 ./conftest foobar; x11_release=$? 5980 ./conftest foobar; x11_release=$?
5890 else 5981 else
5891 conftest_rc="$?" 5982 conftest_rc="$?"
5892 echo "configure: failed program was:" >&5 5983 echo "configure: failed program was:" >&5
5907 5998
5908 for ac_hdr in X11/Xlocale.h 5999 for ac_hdr in X11/Xlocale.h
5909 do 6000 do
5910 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6001 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5911 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6002 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5912 echo "configure:5913: checking for $ac_hdr" >&5 6003 echo "configure:6004: checking for $ac_hdr" >&5
5913 6004
5914 cat > conftest.$ac_ext <<EOF 6005 cat > conftest.$ac_ext <<EOF
5915 #line 5916 "configure" 6006 #line 6007 "configure"
5916 #include "confdefs.h" 6007 #include "confdefs.h"
5917 #include <$ac_hdr> 6008 #include <$ac_hdr>
5918 EOF 6009 EOF
5919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5920 { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6011 { (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5922 if test -z "$ac_err"; then 6013 if test -z "$ac_err"; then
5923 rm -rf conftest* 6014 rm -rf conftest*
5924 eval "ac_cv_header_$ac_safe=yes" 6015 eval "ac_cv_header_$ac_safe=yes"
5925 else 6016 else
5946 fi 6037 fi
5947 done 6038 done
5948 6039
5949 6040
5950 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 6041 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5951 echo "configure:5952: checking for XFree86" >&5 6042 echo "configure:6043: checking for XFree86" >&5
5952 if test -d "/usr/X386/include" -o \ 6043 if test -d "/usr/X386/include" -o \
5953 -f "/etc/XF86Config" -o \ 6044 -f "/etc/XF86Config" -o \
5954 -f "/etc/X11/XF86Config" -o \ 6045 -f "/etc/X11/XF86Config" -o \
5955 -f "/usr/X11R6/lib/X11/XF86Config"; then 6046 -f "/usr/X11R6/lib/X11/XF86Config"; then
5956 echo "$ac_t""yes" 1>&6 6047 echo "$ac_t""yes" 1>&6
5966 echo "$ac_t""no" 1>&6 6057 echo "$ac_t""no" 1>&6
5967 fi 6058 fi
5968 6059
5969 test -z "$with_xmu" && { 6060 test -z "$with_xmu" && {
5970 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 6061 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
5971 echo "configure:5972: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 6062 echo "configure:6063: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
5972 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 6063 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
5973 6064
5974 xe_check_libs=" -lXmu " 6065 xe_check_libs=" -lXmu "
5975 cat > conftest.$ac_ext <<EOF 6066 cat > conftest.$ac_ext <<EOF
5976 #line 5977 "configure" 6067 #line 6068 "configure"
5977 #include "confdefs.h" 6068 #include "confdefs.h"
5978 /* Override any gcc2 internal prototype to avoid an error. */ 6069 /* Override any gcc2 internal prototype to avoid an error. */
5979 /* We use char because int might match the return type of a gcc2 6070 /* We use char because int might match the return type of a gcc2
5980 builtin and then its argument prototype would still apply. */ 6071 builtin and then its argument prototype would still apply. */
5981 char XmuReadBitmapDataFromFile(); 6072 char XmuReadBitmapDataFromFile();
5982 6073
5983 int main() { 6074 int main() {
5984 XmuReadBitmapDataFromFile() 6075 XmuReadBitmapDataFromFile()
5985 ; return 0; } 6076 ; return 0; }
5986 EOF 6077 EOF
5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6078 if { (eval echo configure:6079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5988 rm -rf conftest* 6079 rm -rf conftest*
5989 eval "ac_cv_lib_$ac_lib_var=yes" 6080 eval "ac_cv_lib_$ac_lib_var=yes"
5990 else 6081 else
5991 echo "configure: failed program was:" >&5 6082 echo "configure: failed program was:" >&5
5992 cat conftest.$ac_ext >&5 6083 cat conftest.$ac_ext >&5
6021 6112
6022 fi 6113 fi
6023 6114
6024 6115
6025 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 6116 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
6026 echo "configure:6027: checking for main in -lXbsd" >&5 6117 echo "configure:6118: checking for main in -lXbsd" >&5
6027 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 6118 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
6028 6119
6029 xe_check_libs=" -lXbsd " 6120 xe_check_libs=" -lXbsd "
6030 cat > conftest.$ac_ext <<EOF 6121 cat > conftest.$ac_ext <<EOF
6031 #line 6032 "configure" 6122 #line 6123 "configure"
6032 #include "confdefs.h" 6123 #include "confdefs.h"
6033 6124
6034 int main() { 6125 int main() {
6035 main() 6126 main()
6036 ; return 0; } 6127 ; return 0; }
6037 EOF 6128 EOF
6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6129 if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6039 rm -rf conftest* 6130 rm -rf conftest*
6040 eval "ac_cv_lib_$ac_lib_var=yes" 6131 eval "ac_cv_lib_$ac_lib_var=yes"
6041 else 6132 else
6042 echo "configure: failed program was:" >&5 6133 echo "configure: failed program was:" >&5
6043 cat conftest.$ac_ext >&5 6134 cat conftest.$ac_ext >&5
6070 fi 6161 fi
6071 6162
6072 fi 6163 fi
6073 if test "$with_msw" != "no"; then 6164 if test "$with_msw" != "no"; then
6074 echo "checking for MS-Windows" 1>&6 6165 echo "checking for MS-Windows" 1>&6
6075 echo "configure:6076: checking for MS-Windows" >&5 6166 echo "configure:6167: checking for MS-Windows" >&5
6076 6167
6077 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 6168 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
6078 echo "configure:6079: checking for main in -lgdi32" >&5 6169 echo "configure:6170: checking for main in -lgdi32" >&5
6079 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 6170 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
6080 6171
6081 xe_check_libs=" -lgdi32 " 6172 xe_check_libs=" -lgdi32 "
6082 cat > conftest.$ac_ext <<EOF 6173 cat > conftest.$ac_ext <<EOF
6083 #line 6084 "configure" 6174 #line 6175 "configure"
6084 #include "confdefs.h" 6175 #include "confdefs.h"
6085 6176
6086 int main() { 6177 int main() {
6087 main() 6178 main()
6088 ; return 0; } 6179 ; return 0; }
6089 EOF 6180 EOF
6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6181 if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6091 rm -rf conftest* 6182 rm -rf conftest*
6092 eval "ac_cv_lib_$ac_lib_var=yes" 6183 eval "ac_cv_lib_$ac_lib_var=yes"
6093 else 6184 else
6094 echo "configure: failed program was:" >&5 6185 echo "configure: failed program was:" >&5
6095 cat conftest.$ac_ext >&5 6186 cat conftest.$ac_ext >&5
6151 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then 6242 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
6152 echo " xemacs will be linked with \"dialog-msw.o\"" 6243 echo " xemacs will be linked with \"dialog-msw.o\""
6153 fi 6244 fi
6154 fi 6245 fi
6155 cat > conftest.$ac_ext <<EOF 6246 cat > conftest.$ac_ext <<EOF
6156 #line 6157 "configure" 6247 #line 6248 "configure"
6157 #include "confdefs.h" 6248 #include "confdefs.h"
6158 #include <fcntl.h> 6249 #include <fcntl.h>
6159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 6250 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
6160 EOF 6251 EOF
6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6252 if { (eval echo configure:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6162 then 6253 then
6163 { test "$extra_verbose" = "yes" && cat << \EOF 6254 { test "$extra_verbose" = "yes" && cat << \EOF
6164 Defining HAVE_MSG_SELECT 6255 Defining HAVE_MSG_SELECT
6165 EOF 6256 EOF
6166 cat >> confdefs.h <<\EOF 6257 cat >> confdefs.h <<\EOF
6232 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 6323 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
6233 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 6324 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
6234 esac 6325 esac
6235 6326
6236 echo "checking for WM_COMMAND option" 1>&6 6327 echo "checking for WM_COMMAND option" 1>&6
6237 echo "configure:6238: checking for WM_COMMAND option" >&5; 6328 echo "configure:6329: checking for WM_COMMAND option" >&5;
6238 if test "$with_wmcommand" != "no"; then 6329 if test "$with_wmcommand" != "no"; then
6239 { test "$extra_verbose" = "yes" && cat << \EOF 6330 { test "$extra_verbose" = "yes" && cat << \EOF
6240 Defining HAVE_WMCOMMAND 6331 Defining HAVE_WMCOMMAND
6241 EOF 6332 EOF
6242 cat >> confdefs.h <<\EOF 6333 cat >> confdefs.h <<\EOF
6247 fi 6338 fi
6248 6339
6249 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 6340 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
6250 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 6341 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
6251 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 6342 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
6252 echo "configure:6253: checking for X11/Xauth.h" >&5 6343 echo "configure:6344: checking for X11/Xauth.h" >&5
6253 6344
6254 cat > conftest.$ac_ext <<EOF 6345 cat > conftest.$ac_ext <<EOF
6255 #line 6256 "configure" 6346 #line 6347 "configure"
6256 #include "confdefs.h" 6347 #include "confdefs.h"
6257 #include <X11/Xauth.h> 6348 #include <X11/Xauth.h>
6258 EOF 6349 EOF
6259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6260 { (eval echo configure:6261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6351 { (eval echo configure:6352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6262 if test -z "$ac_err"; then 6353 if test -z "$ac_err"; then
6263 rm -rf conftest* 6354 rm -rf conftest*
6264 eval "ac_cv_header_$ac_safe=yes" 6355 eval "ac_cv_header_$ac_safe=yes"
6265 else 6356 else
6278 with_xauth=no 6369 with_xauth=no
6279 fi 6370 fi
6280 } 6371 }
6281 test -z "$with_xauth" && { 6372 test -z "$with_xauth" && {
6282 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 6373 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
6283 echo "configure:6284: checking for XauGetAuthByAddr in -lXau" >&5 6374 echo "configure:6375: checking for XauGetAuthByAddr in -lXau" >&5
6284 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 6375 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
6285 6376
6286 xe_check_libs=" -lXau " 6377 xe_check_libs=" -lXau "
6287 cat > conftest.$ac_ext <<EOF 6378 cat > conftest.$ac_ext <<EOF
6288 #line 6289 "configure" 6379 #line 6380 "configure"
6289 #include "confdefs.h" 6380 #include "confdefs.h"
6290 /* Override any gcc2 internal prototype to avoid an error. */ 6381 /* Override any gcc2 internal prototype to avoid an error. */
6291 /* We use char because int might match the return type of a gcc2 6382 /* We use char because int might match the return type of a gcc2
6292 builtin and then its argument prototype would still apply. */ 6383 builtin and then its argument prototype would still apply. */
6293 char XauGetAuthByAddr(); 6384 char XauGetAuthByAddr();
6294 6385
6295 int main() { 6386 int main() {
6296 XauGetAuthByAddr() 6387 XauGetAuthByAddr()
6297 ; return 0; } 6388 ; return 0; }
6298 EOF 6389 EOF
6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6300 rm -rf conftest* 6391 rm -rf conftest*
6301 eval "ac_cv_lib_$ac_lib_var=yes" 6392 eval "ac_cv_lib_$ac_lib_var=yes"
6302 else 6393 else
6303 echo "configure: failed program was:" >&5 6394 echo "configure: failed program was:" >&5
6304 cat conftest.$ac_ext >&5 6395 cat conftest.$ac_ext >&5
6339 6430
6340 if test "$with_tooltalk" != "no" ; then 6431 if test "$with_tooltalk" != "no" ; then
6341 for dir in "" "Tt/" "desktop/" ; do 6432 for dir in "" "Tt/" "desktop/" ; do
6342 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 6433 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
6343 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 6434 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
6344 echo "configure:6345: checking for ${dir}tt_c.h" >&5 6435 echo "configure:6436: checking for ${dir}tt_c.h" >&5
6345 6436
6346 cat > conftest.$ac_ext <<EOF 6437 cat > conftest.$ac_ext <<EOF
6347 #line 6348 "configure" 6438 #line 6439 "configure"
6348 #include "confdefs.h" 6439 #include "confdefs.h"
6349 #include <${dir}tt_c.h> 6440 #include <${dir}tt_c.h>
6350 EOF 6441 EOF
6351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6352 { (eval echo configure:6353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6443 { (eval echo configure:6444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6354 if test -z "$ac_err"; then 6445 if test -z "$ac_err"; then
6355 rm -rf conftest* 6446 rm -rf conftest*
6356 eval "ac_cv_header_$ac_safe=yes" 6447 eval "ac_cv_header_$ac_safe=yes"
6357 else 6448 else
6383 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 6474 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
6384 6475
6385 xe_msg_checking="for tt_message_create in -ltt" 6476 xe_msg_checking="for tt_message_create in -ltt"
6386 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6477 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6387 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6478 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6388 echo "configure:6389: checking "$xe_msg_checking"" >&5 6479 echo "configure:6480: checking "$xe_msg_checking"" >&5
6389 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 6480 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
6390 6481
6391 xe_check_libs=" -ltt $extra_libs" 6482 xe_check_libs=" -ltt $extra_libs"
6392 cat > conftest.$ac_ext <<EOF 6483 cat > conftest.$ac_ext <<EOF
6393 #line 6394 "configure" 6484 #line 6485 "configure"
6394 #include "confdefs.h" 6485 #include "confdefs.h"
6395 /* Override any gcc2 internal prototype to avoid an error. */ 6486 /* Override any gcc2 internal prototype to avoid an error. */
6396 /* We use char because int might match the return type of a gcc2 6487 /* We use char because int might match the return type of a gcc2
6397 builtin and then its argument prototype would still apply. */ 6488 builtin and then its argument prototype would still apply. */
6398 char tt_message_create(); 6489 char tt_message_create();
6399 6490
6400 int main() { 6491 int main() {
6401 tt_message_create() 6492 tt_message_create()
6402 ; return 0; } 6493 ; return 0; }
6403 EOF 6494 EOF
6404 if { (eval echo configure:6405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6495 if { (eval echo configure:6496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6405 rm -rf conftest* 6496 rm -rf conftest*
6406 eval "ac_cv_lib_$ac_lib_var=yes" 6497 eval "ac_cv_lib_$ac_lib_var=yes"
6407 else 6498 else
6408 echo "configure: failed program was:" >&5 6499 echo "configure: failed program was:" >&5
6409 cat conftest.$ac_ext >&5 6500 cat conftest.$ac_ext >&5
6456 fi 6547 fi
6457 fi 6548 fi
6458 6549
6459 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 6550 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
6460 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 6551 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
6461 echo "configure:6462: checking for Dt/Dt.h" >&5 6552 echo "configure:6553: checking for Dt/Dt.h" >&5
6462 6553
6463 cat > conftest.$ac_ext <<EOF 6554 cat > conftest.$ac_ext <<EOF
6464 #line 6465 "configure" 6555 #line 6556 "configure"
6465 #include "confdefs.h" 6556 #include "confdefs.h"
6466 #include <Dt/Dt.h> 6557 #include <Dt/Dt.h>
6467 EOF 6558 EOF
6468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6469 { (eval echo configure:6470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6560 { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6471 if test -z "$ac_err"; then 6562 if test -z "$ac_err"; then
6472 rm -rf conftest* 6563 rm -rf conftest*
6473 eval "ac_cv_header_$ac_safe=yes" 6564 eval "ac_cv_header_$ac_safe=yes"
6474 else 6565 else
6487 with_cde=no 6578 with_cde=no
6488 fi 6579 fi
6489 } 6580 }
6490 test -z "$with_cde" && { 6581 test -z "$with_cde" && {
6491 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 6582 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
6492 echo "configure:6493: checking for DtDndDragStart in -lDtSvc" >&5 6583 echo "configure:6584: checking for DtDndDragStart in -lDtSvc" >&5
6493 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 6584 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
6494 6585
6495 xe_check_libs=" -lDtSvc " 6586 xe_check_libs=" -lDtSvc "
6496 cat > conftest.$ac_ext <<EOF 6587 cat > conftest.$ac_ext <<EOF
6497 #line 6498 "configure" 6588 #line 6589 "configure"
6498 #include "confdefs.h" 6589 #include "confdefs.h"
6499 /* Override any gcc2 internal prototype to avoid an error. */ 6590 /* Override any gcc2 internal prototype to avoid an error. */
6500 /* We use char because int might match the return type of a gcc2 6591 /* We use char because int might match the return type of a gcc2
6501 builtin and then its argument prototype would still apply. */ 6592 builtin and then its argument prototype would still apply. */
6502 char DtDndDragStart(); 6593 char DtDndDragStart();
6503 6594
6504 int main() { 6595 int main() {
6505 DtDndDragStart() 6596 DtDndDragStart()
6506 ; return 0; } 6597 ; return 0; }
6507 EOF 6598 EOF
6508 if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6599 if { (eval echo configure:6600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6509 rm -rf conftest* 6600 rm -rf conftest*
6510 eval "ac_cv_lib_$ac_lib_var=yes" 6601 eval "ac_cv_lib_$ac_lib_var=yes"
6511 else 6602 else
6512 echo "configure: failed program was:" >&5 6603 echo "configure: failed program was:" >&5
6513 cat conftest.$ac_ext >&5 6604 cat conftest.$ac_ext >&5
6572 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi 6663 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi
6573 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi 6664 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
6574 fi 6665 fi
6575 6666
6576 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 6667 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
6577 echo "configure:6578: checking if drag and drop API is needed" >&5 6668 echo "configure:6669: checking if drag and drop API is needed" >&5
6578 if test "$with_dragndrop" != "no" ; then 6669 if test "$with_dragndrop" != "no" ; then
6579 if test -n "$dragndrop_proto" ; then 6670 if test -n "$dragndrop_proto" ; then
6580 with_dragndrop=yes 6671 with_dragndrop=yes
6581 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 6672 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
6582 { test "$extra_verbose" = "yes" && cat << \EOF 6673 { test "$extra_verbose" = "yes" && cat << \EOF
6593 echo "$ac_t""no" 1>&6 6684 echo "$ac_t""no" 1>&6
6594 fi 6685 fi
6595 fi 6686 fi
6596 6687
6597 echo "checking for LDAP" 1>&6 6688 echo "checking for LDAP" 1>&6
6598 echo "configure:6599: checking for LDAP" >&5 6689 echo "configure:6690: checking for LDAP" >&5
6599 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 6690 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
6600 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 6691 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
6601 echo "configure:6602: checking for ldap.h" >&5 6692 echo "configure:6693: checking for ldap.h" >&5
6602 6693
6603 cat > conftest.$ac_ext <<EOF 6694 cat > conftest.$ac_ext <<EOF
6604 #line 6605 "configure" 6695 #line 6696 "configure"
6605 #include "confdefs.h" 6696 #include "confdefs.h"
6606 #include <ldap.h> 6697 #include <ldap.h>
6607 EOF 6698 EOF
6608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6609 { (eval echo configure:6610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6700 { (eval echo configure:6701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6611 if test -z "$ac_err"; then 6702 if test -z "$ac_err"; then
6612 rm -rf conftest* 6703 rm -rf conftest*
6613 eval "ac_cv_header_$ac_safe=yes" 6704 eval "ac_cv_header_$ac_safe=yes"
6614 else 6705 else
6627 with_ldap=no 6718 with_ldap=no
6628 fi 6719 fi
6629 } 6720 }
6630 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 6721 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
6631 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 6722 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
6632 echo "configure:6633: checking for lber.h" >&5 6723 echo "configure:6724: checking for lber.h" >&5
6633 6724
6634 cat > conftest.$ac_ext <<EOF 6725 cat > conftest.$ac_ext <<EOF
6635 #line 6636 "configure" 6726 #line 6727 "configure"
6636 #include "confdefs.h" 6727 #include "confdefs.h"
6637 #include <lber.h> 6728 #include <lber.h>
6638 EOF 6729 EOF
6639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6640 { (eval echo configure:6641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6731 { (eval echo configure:6732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6642 if test -z "$ac_err"; then 6733 if test -z "$ac_err"; then
6643 rm -rf conftest* 6734 rm -rf conftest*
6644 eval "ac_cv_header_$ac_safe=yes" 6735 eval "ac_cv_header_$ac_safe=yes"
6645 else 6736 else
6659 fi 6750 fi
6660 } 6751 }
6661 if test "$with_ldap" != "no"; then 6752 if test "$with_ldap" != "no"; then
6662 6753
6663 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 6754 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
6664 echo "configure:6665: checking for ldap_search in -lldap" >&5 6755 echo "configure:6756: checking for ldap_search in -lldap" >&5
6665 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 6756 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
6666 6757
6667 xe_check_libs=" -lldap " 6758 xe_check_libs=" -lldap "
6668 cat > conftest.$ac_ext <<EOF 6759 cat > conftest.$ac_ext <<EOF
6669 #line 6670 "configure" 6760 #line 6761 "configure"
6670 #include "confdefs.h" 6761 #include "confdefs.h"
6671 /* Override any gcc2 internal prototype to avoid an error. */ 6762 /* Override any gcc2 internal prototype to avoid an error. */
6672 /* We use char because int might match the return type of a gcc2 6763 /* We use char because int might match the return type of a gcc2
6673 builtin and then its argument prototype would still apply. */ 6764 builtin and then its argument prototype would still apply. */
6674 char ldap_search(); 6765 char ldap_search();
6675 6766
6676 int main() { 6767 int main() {
6677 ldap_search() 6768 ldap_search()
6678 ; return 0; } 6769 ; return 0; }
6679 EOF 6770 EOF
6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6771 if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6681 rm -rf conftest* 6772 rm -rf conftest*
6682 eval "ac_cv_lib_$ac_lib_var=yes" 6773 eval "ac_cv_lib_$ac_lib_var=yes"
6683 else 6774 else
6684 echo "configure: failed program was:" >&5 6775 echo "configure: failed program was:" >&5
6685 cat conftest.$ac_ext >&5 6776 cat conftest.$ac_ext >&5
6700 6791
6701 test "$with_ldap_nolber" = "no" && { 6792 test "$with_ldap_nolber" = "no" && {
6702 xe_msg_checking="for ldap_open in -lldap" 6793 xe_msg_checking="for ldap_open in -lldap"
6703 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 6794 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
6704 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6795 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6705 echo "configure:6706: checking "$xe_msg_checking"" >&5 6796 echo "configure:6797: checking "$xe_msg_checking"" >&5
6706 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6797 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6707 6798
6708 xe_check_libs=" -lldap -llber" 6799 xe_check_libs=" -lldap -llber"
6709 cat > conftest.$ac_ext <<EOF 6800 cat > conftest.$ac_ext <<EOF
6710 #line 6711 "configure" 6801 #line 6802 "configure"
6711 #include "confdefs.h" 6802 #include "confdefs.h"
6712 /* Override any gcc2 internal prototype to avoid an error. */ 6803 /* Override any gcc2 internal prototype to avoid an error. */
6713 /* We use char because int might match the return type of a gcc2 6804 /* We use char because int might match the return type of a gcc2
6714 builtin and then its argument prototype would still apply. */ 6805 builtin and then its argument prototype would still apply. */
6715 char ldap_open(); 6806 char ldap_open();
6716 6807
6717 int main() { 6808 int main() {
6718 ldap_open() 6809 ldap_open()
6719 ; return 0; } 6810 ; return 0; }
6720 EOF 6811 EOF
6721 if { (eval echo configure:6722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6722 rm -rf conftest* 6813 rm -rf conftest*
6723 eval "ac_cv_lib_$ac_lib_var=yes" 6814 eval "ac_cv_lib_$ac_lib_var=yes"
6724 else 6815 else
6725 echo "configure: failed program was:" >&5 6816 echo "configure: failed program was:" >&5
6726 cat conftest.$ac_ext >&5 6817 cat conftest.$ac_ext >&5
6741 } 6832 }
6742 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 6833 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
6743 xe_msg_checking="for ldap_open in -lldap" 6834 xe_msg_checking="for ldap_open in -lldap"
6744 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 6835 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
6745 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6836 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6746 echo "configure:6747: checking "$xe_msg_checking"" >&5 6837 echo "configure:6838: checking "$xe_msg_checking"" >&5
6747 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6838 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6748 6839
6749 xe_check_libs=" -lldap -llber -lkrb" 6840 xe_check_libs=" -lldap -llber -lkrb"
6750 cat > conftest.$ac_ext <<EOF 6841 cat > conftest.$ac_ext <<EOF
6751 #line 6752 "configure" 6842 #line 6843 "configure"
6752 #include "confdefs.h" 6843 #include "confdefs.h"
6753 /* Override any gcc2 internal prototype to avoid an error. */ 6844 /* Override any gcc2 internal prototype to avoid an error. */
6754 /* We use char because int might match the return type of a gcc2 6845 /* We use char because int might match the return type of a gcc2
6755 builtin and then its argument prototype would still apply. */ 6846 builtin and then its argument prototype would still apply. */
6756 char ldap_open(); 6847 char ldap_open();
6757 6848
6758 int main() { 6849 int main() {
6759 ldap_open() 6850 ldap_open()
6760 ; return 0; } 6851 ; return 0; }
6761 EOF 6852 EOF
6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6853 if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6763 rm -rf conftest* 6854 rm -rf conftest*
6764 eval "ac_cv_lib_$ac_lib_var=yes" 6855 eval "ac_cv_lib_$ac_lib_var=yes"
6765 else 6856 else
6766 echo "configure: failed program was:" >&5 6857 echo "configure: failed program was:" >&5
6767 cat conftest.$ac_ext >&5 6858 cat conftest.$ac_ext >&5
6782 } 6873 }
6783 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 6874 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
6784 xe_msg_checking="for ldap_open in -lldap" 6875 xe_msg_checking="for ldap_open in -lldap"
6785 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 6876 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
6786 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6877 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6787 echo "configure:6788: checking "$xe_msg_checking"" >&5 6878 echo "configure:6879: checking "$xe_msg_checking"" >&5
6788 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6879 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6789 6880
6790 xe_check_libs=" -lldap -llber -lkrb -ldes" 6881 xe_check_libs=" -lldap -llber -lkrb -ldes"
6791 cat > conftest.$ac_ext <<EOF 6882 cat > conftest.$ac_ext <<EOF
6792 #line 6793 "configure" 6883 #line 6884 "configure"
6793 #include "confdefs.h" 6884 #include "confdefs.h"
6794 /* Override any gcc2 internal prototype to avoid an error. */ 6885 /* Override any gcc2 internal prototype to avoid an error. */
6795 /* We use char because int might match the return type of a gcc2 6886 /* We use char because int might match the return type of a gcc2
6796 builtin and then its argument prototype would still apply. */ 6887 builtin and then its argument prototype would still apply. */
6797 char ldap_open(); 6888 char ldap_open();
6798 6889
6799 int main() { 6890 int main() {
6800 ldap_open() 6891 ldap_open()
6801 ; return 0; } 6892 ; return 0; }
6802 EOF 6893 EOF
6803 if { (eval echo configure:6804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6894 if { (eval echo configure:6895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6804 rm -rf conftest* 6895 rm -rf conftest*
6805 eval "ac_cv_lib_$ac_lib_var=yes" 6896 eval "ac_cv_lib_$ac_lib_var=yes"
6806 else 6897 else
6807 echo "configure: failed program was:" >&5 6898 echo "configure: failed program was:" >&5
6808 cat conftest.$ac_ext >&5 6899 cat conftest.$ac_ext >&5
6849 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi 6940 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
6850 fi 6941 fi
6851 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 6942 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
6852 do 6943 do
6853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6854 echo "configure:6855: checking for $ac_func" >&5 6945 echo "configure:6946: checking for $ac_func" >&5
6855 6946
6856 cat > conftest.$ac_ext <<EOF 6947 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure" 6948 #line 6949 "configure"
6858 #include "confdefs.h" 6949 #include "confdefs.h"
6859 /* System header to define __stub macros and hopefully few prototypes, 6950 /* System header to define __stub macros and hopefully few prototypes,
6860 which can conflict with char $ac_func(); below. */ 6951 which can conflict with char $ac_func(); below. */
6861 #include <assert.h> 6952 #include <assert.h>
6862 /* Override any gcc2 internal prototype to avoid an error. */ 6953 /* Override any gcc2 internal prototype to avoid an error. */
6875 $ac_func(); 6966 $ac_func();
6876 #endif 6967 #endif
6877 6968
6878 ; return 0; } 6969 ; return 0; }
6879 EOF 6970 EOF
6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6971 if { (eval echo configure:6972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6881 rm -rf conftest* 6972 rm -rf conftest*
6882 eval "ac_cv_func_$ac_func=yes" 6973 eval "ac_cv_func_$ac_func=yes"
6883 else 6974 else
6884 echo "configure: failed program was:" >&5 6975 echo "configure: failed program was:" >&5
6885 cat conftest.$ac_ext >&5 6976 cat conftest.$ac_ext >&5
6907 fi 6998 fi
6908 6999
6909 7000
6910 if test "$window_system" != "none"; then 7001 if test "$window_system" != "none"; then
6911 echo "checking for graphics libraries" 1>&6 7002 echo "checking for graphics libraries" 1>&6
6912 echo "configure:6913: checking for graphics libraries" >&5 7003 echo "configure:7004: checking for graphics libraries" >&5
6913 7004
6914 xpm_problem="" 7005 xpm_problem=""
6915 if test -z "$with_xpm"; then 7006 if test -z "$with_xpm"; then
6916 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 7007 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
6917 echo "configure:6918: checking for Xpm - no older than 3.4f" >&5 7008 echo "configure:7009: checking for Xpm - no older than 3.4f" >&5
6918 xe_check_libs=-lXpm 7009 xe_check_libs=-lXpm
6919 cat > conftest.$ac_ext <<EOF 7010 cat > conftest.$ac_ext <<EOF
6920 #line 6921 "configure" 7011 #line 7012 "configure"
6921 #include "confdefs.h" 7012 #include "confdefs.h"
6922 #include <X11/xpm.h> 7013 #include <X11/xpm.h>
6923 int main(int c, char **v) { 7014 int main(int c, char **v) {
6924 return c == 1 ? 0 : 7015 return c == 1 ? 0 :
6925 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 7016 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
6926 XpmIncludeVersion < 30406 ? 2 : 0 ;} 7017 XpmIncludeVersion < 30406 ? 2 : 0 ;}
6927 EOF 7018 EOF
6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6929 then 7020 then
6930 ./conftest dummy_arg; xpm_status=$?; 7021 ./conftest dummy_arg; xpm_status=$?;
6931 if test "$xpm_status" = "0"; then 7022 if test "$xpm_status" = "0"; then
6932 with_xpm=yes; 7023 with_xpm=yes;
6933 else 7024 else
6965 EOF 7056 EOF
6966 } 7057 }
6967 7058
6968 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 7059 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
6969 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 7060 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
6970 echo "configure:6971: checking for \"FOR_MSW\" xpm" >&5 7061 echo "configure:7062: checking for \"FOR_MSW\" xpm" >&5
6971 xe_check_libs=-lXpm 7062 xe_check_libs=-lXpm
6972 cat > conftest.$ac_ext <<EOF 7063 cat > conftest.$ac_ext <<EOF
6973 #line 6974 "configure" 7064 #line 7065 "configure"
6974 #include "confdefs.h" 7065 #include "confdefs.h"
6975 7066
6976 int main() { 7067 int main() {
6977 XpmCreatePixmapFromData() 7068 XpmCreatePixmapFromData()
6978 ; return 0; } 7069 ; return 0; }
6979 EOF 7070 EOF
6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7071 if { (eval echo configure:7072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6981 rm -rf conftest* 7072 rm -rf conftest*
6982 xpm_for_msw=no 7073 xpm_for_msw=no
6983 else 7074 else
6984 echo "configure: failed program was:" >&5 7075 echo "configure: failed program was:" >&5
6985 cat conftest.$ac_ext >&5 7076 cat conftest.$ac_ext >&5
7001 fi 7092 fi
7002 fi 7093 fi
7003 7094
7004 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 7095 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
7005 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 7096 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
7006 echo "configure:7007: checking for compface.h" >&5 7097 echo "configure:7098: checking for compface.h" >&5
7007 7098
7008 cat > conftest.$ac_ext <<EOF 7099 cat > conftest.$ac_ext <<EOF
7009 #line 7010 "configure" 7100 #line 7101 "configure"
7010 #include "confdefs.h" 7101 #include "confdefs.h"
7011 #include <compface.h> 7102 #include <compface.h>
7012 EOF 7103 EOF
7013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7014 { (eval echo configure:7015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7105 { (eval echo configure:7106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7016 if test -z "$ac_err"; then 7107 if test -z "$ac_err"; then
7017 rm -rf conftest* 7108 rm -rf conftest*
7018 eval "ac_cv_header_$ac_safe=yes" 7109 eval "ac_cv_header_$ac_safe=yes"
7019 else 7110 else
7032 with_xface=no 7123 with_xface=no
7033 fi 7124 fi
7034 } 7125 }
7035 test -z "$with_xface" && { 7126 test -z "$with_xface" && {
7036 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 7127 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
7037 echo "configure:7038: checking for UnGenFace in -lcompface" >&5 7128 echo "configure:7129: checking for UnGenFace in -lcompface" >&5
7038 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 7129 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
7039 7130
7040 xe_check_libs=" -lcompface " 7131 xe_check_libs=" -lcompface "
7041 cat > conftest.$ac_ext <<EOF 7132 cat > conftest.$ac_ext <<EOF
7042 #line 7043 "configure" 7133 #line 7134 "configure"
7043 #include "confdefs.h" 7134 #include "confdefs.h"
7044 /* Override any gcc2 internal prototype to avoid an error. */ 7135 /* Override any gcc2 internal prototype to avoid an error. */
7045 /* We use char because int might match the return type of a gcc2 7136 /* We use char because int might match the return type of a gcc2
7046 builtin and then its argument prototype would still apply. */ 7137 builtin and then its argument prototype would still apply. */
7047 char UnGenFace(); 7138 char UnGenFace();
7048 7139
7049 int main() { 7140 int main() {
7050 UnGenFace() 7141 UnGenFace()
7051 ; return 0; } 7142 ; return 0; }
7052 EOF 7143 EOF
7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7144 if { (eval echo configure:7145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7054 rm -rf conftest* 7145 rm -rf conftest*
7055 eval "ac_cv_lib_$ac_lib_var=yes" 7146 eval "ac_cv_lib_$ac_lib_var=yes"
7056 else 7147 else
7057 echo "configure: failed program was:" >&5 7148 echo "configure: failed program was:" >&5
7058 cat conftest.$ac_ext >&5 7149 cat conftest.$ac_ext >&5
7100 fi 7191 fi
7101 7192
7102 if test "$with_png $with_tiff" != "no no"; then 7193 if test "$with_png $with_tiff" != "no no"; then
7103 7194
7104 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 7195 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
7105 echo "configure:7106: checking for inflate in -lc" >&5 7196 echo "configure:7197: checking for inflate in -lc" >&5
7106 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 7197 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
7107 7198
7108 xe_check_libs=" -lc " 7199 xe_check_libs=" -lc "
7109 cat > conftest.$ac_ext <<EOF 7200 cat > conftest.$ac_ext <<EOF
7110 #line 7111 "configure" 7201 #line 7202 "configure"
7111 #include "confdefs.h" 7202 #include "confdefs.h"
7112 /* Override any gcc2 internal prototype to avoid an error. */ 7203 /* Override any gcc2 internal prototype to avoid an error. */
7113 /* We use char because int might match the return type of a gcc2 7204 /* We use char because int might match the return type of a gcc2
7114 builtin and then its argument prototype would still apply. */ 7205 builtin and then its argument prototype would still apply. */
7115 char inflate(); 7206 char inflate();
7116 7207
7117 int main() { 7208 int main() {
7118 inflate() 7209 inflate()
7119 ; return 0; } 7210 ; return 0; }
7120 EOF 7211 EOF
7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7122 rm -rf conftest* 7213 rm -rf conftest*
7123 eval "ac_cv_lib_$ac_lib_var=yes" 7214 eval "ac_cv_lib_$ac_lib_var=yes"
7124 else 7215 else
7125 echo "configure: failed program was:" >&5 7216 echo "configure: failed program was:" >&5
7126 cat conftest.$ac_ext >&5 7217 cat conftest.$ac_ext >&5
7135 : 7226 :
7136 else 7227 else
7137 echo "$ac_t""no" 1>&6 7228 echo "$ac_t""no" 1>&6
7138 7229
7139 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 7230 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
7140 echo "configure:7141: checking for inflate in -lz" >&5 7231 echo "configure:7232: checking for inflate in -lz" >&5
7141 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 7232 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
7142 7233
7143 xe_check_libs=" -lz " 7234 xe_check_libs=" -lz "
7144 cat > conftest.$ac_ext <<EOF 7235 cat > conftest.$ac_ext <<EOF
7145 #line 7146 "configure" 7236 #line 7237 "configure"
7146 #include "confdefs.h" 7237 #include "confdefs.h"
7147 /* Override any gcc2 internal prototype to avoid an error. */ 7238 /* Override any gcc2 internal prototype to avoid an error. */
7148 /* We use char because int might match the return type of a gcc2 7239 /* We use char because int might match the return type of a gcc2
7149 builtin and then its argument prototype would still apply. */ 7240 builtin and then its argument prototype would still apply. */
7150 char inflate(); 7241 char inflate();
7151 7242
7152 int main() { 7243 int main() {
7153 inflate() 7244 inflate()
7154 ; return 0; } 7245 ; return 0; }
7155 EOF 7246 EOF
7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7157 rm -rf conftest* 7248 rm -rf conftest*
7158 eval "ac_cv_lib_$ac_lib_var=yes" 7249 eval "ac_cv_lib_$ac_lib_var=yes"
7159 else 7250 else
7160 echo "configure: failed program was:" >&5 7251 echo "configure: failed program was:" >&5
7161 cat conftest.$ac_ext >&5 7252 cat conftest.$ac_ext >&5
7170 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 7261 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
7171 else 7262 else
7172 echo "$ac_t""no" 1>&6 7263 echo "$ac_t""no" 1>&6
7173 7264
7174 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 7265 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
7175 echo "configure:7176: checking for inflate in -lgz" >&5 7266 echo "configure:7267: checking for inflate in -lgz" >&5
7176 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 7267 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
7177 7268
7178 xe_check_libs=" -lgz " 7269 xe_check_libs=" -lgz "
7179 cat > conftest.$ac_ext <<EOF 7270 cat > conftest.$ac_ext <<EOF
7180 #line 7181 "configure" 7271 #line 7272 "configure"
7181 #include "confdefs.h" 7272 #include "confdefs.h"
7182 /* Override any gcc2 internal prototype to avoid an error. */ 7273 /* Override any gcc2 internal prototype to avoid an error. */
7183 /* We use char because int might match the return type of a gcc2 7274 /* We use char because int might match the return type of a gcc2
7184 builtin and then its argument prototype would still apply. */ 7275 builtin and then its argument prototype would still apply. */
7185 char inflate(); 7276 char inflate();
7186 7277
7187 int main() { 7278 int main() {
7188 inflate() 7279 inflate()
7189 ; return 0; } 7280 ; return 0; }
7190 EOF 7281 EOF
7191 if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7282 if { (eval echo configure:7283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7192 rm -rf conftest* 7283 rm -rf conftest*
7193 eval "ac_cv_lib_$ac_lib_var=yes" 7284 eval "ac_cv_lib_$ac_lib_var=yes"
7194 else 7285 else
7195 echo "configure: failed program was:" >&5 7286 echo "configure: failed program was:" >&5
7196 cat conftest.$ac_ext >&5 7287 cat conftest.$ac_ext >&5
7216 7307
7217 fi 7308 fi
7218 7309
7219 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 7310 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
7220 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 7311 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
7221 echo "configure:7222: checking for jpeglib.h" >&5 7312 echo "configure:7313: checking for jpeglib.h" >&5
7222 7313
7223 cat > conftest.$ac_ext <<EOF 7314 cat > conftest.$ac_ext <<EOF
7224 #line 7225 "configure" 7315 #line 7316 "configure"
7225 #include "confdefs.h" 7316 #include "confdefs.h"
7226 #include <jpeglib.h> 7317 #include <jpeglib.h>
7227 EOF 7318 EOF
7228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7229 { (eval echo configure:7230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7320 { (eval echo configure:7321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7231 if test -z "$ac_err"; then 7322 if test -z "$ac_err"; then
7232 rm -rf conftest* 7323 rm -rf conftest*
7233 eval "ac_cv_header_$ac_safe=yes" 7324 eval "ac_cv_header_$ac_safe=yes"
7234 else 7325 else
7247 with_jpeg=no 7338 with_jpeg=no
7248 fi 7339 fi
7249 } 7340 }
7250 test -z "$with_jpeg" && { 7341 test -z "$with_jpeg" && {
7251 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 7342 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
7252 echo "configure:7253: checking for jpeg_destroy_decompress in -ljpeg" >&5 7343 echo "configure:7344: checking for jpeg_destroy_decompress in -ljpeg" >&5
7253 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 7344 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
7254 7345
7255 xe_check_libs=" -ljpeg " 7346 xe_check_libs=" -ljpeg "
7256 cat > conftest.$ac_ext <<EOF 7347 cat > conftest.$ac_ext <<EOF
7257 #line 7258 "configure" 7348 #line 7349 "configure"
7258 #include "confdefs.h" 7349 #include "confdefs.h"
7259 /* Override any gcc2 internal prototype to avoid an error. */ 7350 /* Override any gcc2 internal prototype to avoid an error. */
7260 /* We use char because int might match the return type of a gcc2 7351 /* We use char because int might match the return type of a gcc2
7261 builtin and then its argument prototype would still apply. */ 7352 builtin and then its argument prototype would still apply. */
7262 char jpeg_destroy_decompress(); 7353 char jpeg_destroy_decompress();
7263 7354
7264 int main() { 7355 int main() {
7265 jpeg_destroy_decompress() 7356 jpeg_destroy_decompress()
7266 ; return 0; } 7357 ; return 0; }
7267 EOF 7358 EOF
7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7359 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7269 rm -rf conftest* 7360 rm -rf conftest*
7270 eval "ac_cv_lib_$ac_lib_var=yes" 7361 eval "ac_cv_lib_$ac_lib_var=yes"
7271 else 7362 else
7272 echo "configure: failed program was:" >&5 7363 echo "configure: failed program was:" >&5
7273 cat conftest.$ac_ext >&5 7364 cat conftest.$ac_ext >&5
7299 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 7390 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
7300 fi 7391 fi
7301 7392
7302 png_problem="" 7393 png_problem=""
7303 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 7394 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
7304 echo "configure:7305: checking for pow" >&5 7395 echo "configure:7396: checking for pow" >&5
7305 7396
7306 cat > conftest.$ac_ext <<EOF 7397 cat > conftest.$ac_ext <<EOF
7307 #line 7308 "configure" 7398 #line 7399 "configure"
7308 #include "confdefs.h" 7399 #include "confdefs.h"
7309 /* System header to define __stub macros and hopefully few prototypes, 7400 /* System header to define __stub macros and hopefully few prototypes,
7310 which can conflict with char pow(); below. */ 7401 which can conflict with char pow(); below. */
7311 #include <assert.h> 7402 #include <assert.h>
7312 /* Override any gcc2 internal prototype to avoid an error. */ 7403 /* Override any gcc2 internal prototype to avoid an error. */
7325 pow(); 7416 pow();
7326 #endif 7417 #endif
7327 7418
7328 ; return 0; } 7419 ; return 0; }
7329 EOF 7420 EOF
7330 if { (eval echo configure:7331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7331 rm -rf conftest* 7422 rm -rf conftest*
7332 eval "ac_cv_func_pow=yes" 7423 eval "ac_cv_func_pow=yes"
7333 else 7424 else
7334 echo "configure: failed program was:" >&5 7425 echo "configure: failed program was:" >&5
7335 cat conftest.$ac_ext >&5 7426 cat conftest.$ac_ext >&5
7346 with_png=no 7437 with_png=no
7347 fi 7438 fi
7348 } 7439 }
7349 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 7440 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
7350 echo $ac_n "checking for png.h""... $ac_c" 1>&6 7441 echo $ac_n "checking for png.h""... $ac_c" 1>&6
7351 echo "configure:7352: checking for png.h" >&5 7442 echo "configure:7443: checking for png.h" >&5
7352 7443
7353 cat > conftest.$ac_ext <<EOF 7444 cat > conftest.$ac_ext <<EOF
7354 #line 7355 "configure" 7445 #line 7446 "configure"
7355 #include "confdefs.h" 7446 #include "confdefs.h"
7356 #include <png.h> 7447 #include <png.h>
7357 EOF 7448 EOF
7358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7359 { (eval echo configure:7360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7450 { (eval echo configure:7451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7361 if test -z "$ac_err"; then 7452 if test -z "$ac_err"; then
7362 rm -rf conftest* 7453 rm -rf conftest*
7363 eval "ac_cv_header_$ac_safe=yes" 7454 eval "ac_cv_header_$ac_safe=yes"
7364 else 7455 else
7377 with_png=no 7468 with_png=no
7378 fi 7469 fi
7379 } 7470 }
7380 test -z "$with_png" && { 7471 test -z "$with_png" && {
7381 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 7472 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
7382 echo "configure:7383: checking for png_read_image in -lpng" >&5 7473 echo "configure:7474: checking for png_read_image in -lpng" >&5
7383 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 7474 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
7384 7475
7385 xe_check_libs=" -lpng " 7476 xe_check_libs=" -lpng "
7386 cat > conftest.$ac_ext <<EOF 7477 cat > conftest.$ac_ext <<EOF
7387 #line 7388 "configure" 7478 #line 7479 "configure"
7388 #include "confdefs.h" 7479 #include "confdefs.h"
7389 /* Override any gcc2 internal prototype to avoid an error. */ 7480 /* Override any gcc2 internal prototype to avoid an error. */
7390 /* We use char because int might match the return type of a gcc2 7481 /* We use char because int might match the return type of a gcc2
7391 builtin and then its argument prototype would still apply. */ 7482 builtin and then its argument prototype would still apply. */
7392 char png_read_image(); 7483 char png_read_image();
7393 7484
7394 int main() { 7485 int main() {
7395 png_read_image() 7486 png_read_image()
7396 ; return 0; } 7487 ; return 0; }
7397 EOF 7488 EOF
7398 if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7399 rm -rf conftest* 7490 rm -rf conftest*
7400 eval "ac_cv_lib_$ac_lib_var=yes" 7491 eval "ac_cv_lib_$ac_lib_var=yes"
7401 else 7492 else
7402 echo "configure: failed program was:" >&5 7493 echo "configure: failed program was:" >&5
7403 cat conftest.$ac_ext >&5 7494 cat conftest.$ac_ext >&5
7416 fi 7507 fi
7417 7508
7418 } 7509 }
7419 if test -z "$with_png"; then 7510 if test -z "$with_png"; then
7420 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 7511 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
7421 echo "configure:7422: checking for workable png version information" >&5 7512 echo "configure:7513: checking for workable png version information" >&5
7422 xe_check_libs="-lpng -lz" 7513 xe_check_libs="-lpng -lz"
7423 cat > conftest.$ac_ext <<EOF 7514 cat > conftest.$ac_ext <<EOF
7424 #line 7425 "configure" 7515 #line 7516 "configure"
7425 #include "confdefs.h" 7516 #include "confdefs.h"
7426 #include <png.h> 7517 #include <png.h>
7427 int main(int c, char **v) { 7518 int main(int c, char **v) {
7428 if (c == 1) return 0; 7519 if (c == 1) return 0;
7429 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 7520 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
7430 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 7521 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
7431 EOF 7522 EOF
7432 if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7523 if { (eval echo configure:7524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7433 then 7524 then
7434 ./conftest dummy_arg; png_status=$?; 7525 ./conftest dummy_arg; png_status=$?;
7435 if test "$png_status" = "0"; then 7526 if test "$png_status" = "0"; then
7436 with_png=yes; 7527 with_png=yes;
7437 else 7528 else
7470 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 7561 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
7471 fi 7562 fi
7472 7563
7473 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 7564 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
7474 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 7565 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
7475 echo "configure:7476: checking for tiffio.h" >&5 7566 echo "configure:7567: checking for tiffio.h" >&5
7476 7567
7477 cat > conftest.$ac_ext <<EOF 7568 cat > conftest.$ac_ext <<EOF
7478 #line 7479 "configure" 7569 #line 7570 "configure"
7479 #include "confdefs.h" 7570 #include "confdefs.h"
7480 #include <tiffio.h> 7571 #include <tiffio.h>
7481 EOF 7572 EOF
7482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7483 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7574 { (eval echo configure:7575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7485 if test -z "$ac_err"; then 7576 if test -z "$ac_err"; then
7486 rm -rf conftest* 7577 rm -rf conftest*
7487 eval "ac_cv_header_$ac_safe=yes" 7578 eval "ac_cv_header_$ac_safe=yes"
7488 else 7579 else
7501 with_tiff=no 7592 with_tiff=no
7502 fi 7593 fi
7503 } 7594 }
7504 test -z "$with_tiff" && { 7595 test -z "$with_tiff" && {
7505 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 7596 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
7506 echo "configure:7507: checking for TIFFClientOpen in -ltiff" >&5 7597 echo "configure:7598: checking for TIFFClientOpen in -ltiff" >&5
7507 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 7598 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
7508 7599
7509 xe_check_libs=" -ltiff " 7600 xe_check_libs=" -ltiff "
7510 cat > conftest.$ac_ext <<EOF 7601 cat > conftest.$ac_ext <<EOF
7511 #line 7512 "configure" 7602 #line 7603 "configure"
7512 #include "confdefs.h" 7603 #include "confdefs.h"
7513 /* Override any gcc2 internal prototype to avoid an error. */ 7604 /* Override any gcc2 internal prototype to avoid an error. */
7514 /* We use char because int might match the return type of a gcc2 7605 /* We use char because int might match the return type of a gcc2
7515 builtin and then its argument prototype would still apply. */ 7606 builtin and then its argument prototype would still apply. */
7516 char TIFFClientOpen(); 7607 char TIFFClientOpen();
7517 7608
7518 int main() { 7609 int main() {
7519 TIFFClientOpen() 7610 TIFFClientOpen()
7520 ; return 0; } 7611 ; return 0; }
7521 EOF 7612 EOF
7522 if { (eval echo configure:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7523 rm -rf conftest* 7614 rm -rf conftest*
7524 eval "ac_cv_lib_$ac_lib_var=yes" 7615 eval "ac_cv_lib_$ac_lib_var=yes"
7525 else 7616 else
7526 echo "configure: failed program was:" >&5 7617 echo "configure: failed program was:" >&5
7527 cat conftest.$ac_ext >&5 7618 cat conftest.$ac_ext >&5
7556 7647
7557 7648
7558 if test "$with_x11" = "yes"; then 7649 if test "$with_x11" = "yes"; then
7559 7650
7560 echo "checking for X11 graphics libraries" 1>&6 7651 echo "checking for X11 graphics libraries" 1>&6
7561 echo "configure:7562: checking for X11 graphics libraries" >&5 7652 echo "configure:7653: checking for X11 graphics libraries" >&5
7562 7653
7563 echo "checking for the Athena widgets" 1>&6 7654 echo "checking for the Athena widgets" 1>&6
7564 echo "configure:7565: checking for the Athena widgets" >&5 7655 echo "configure:7656: checking for the Athena widgets" >&5
7565 7656
7566 case "$with_athena" in 7657 case "$with_athena" in
7567 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 7658 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
7568 "3d") athena_variant=Xaw3d athena_3d=yes ;; 7659 "3d") athena_variant=Xaw3d athena_3d=yes ;;
7569 "next") athena_variant=neXtaw athena_3d=yes ;; 7660 "next") athena_variant=neXtaw athena_3d=yes ;;
7573 esac 7664 esac
7574 7665
7575 if test "$athena_3d" = "no"; then 7666 if test "$athena_3d" = "no"; then
7576 7667
7577 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 7668 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
7578 echo "configure:7579: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 7669 echo "configure:7670: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
7579 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 7670 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
7580 7671
7581 xe_check_libs=" -l$athena_variant " 7672 xe_check_libs=" -l$athena_variant "
7582 cat > conftest.$ac_ext <<EOF 7673 cat > conftest.$ac_ext <<EOF
7583 #line 7584 "configure" 7674 #line 7675 "configure"
7584 #include "confdefs.h" 7675 #include "confdefs.h"
7585 /* Override any gcc2 internal prototype to avoid an error. */ 7676 /* Override any gcc2 internal prototype to avoid an error. */
7586 /* We use char because int might match the return type of a gcc2 7677 /* We use char because int might match the return type of a gcc2
7587 builtin and then its argument prototype would still apply. */ 7678 builtin and then its argument prototype would still apply. */
7588 char XawScrollbarSetThumb(); 7679 char XawScrollbarSetThumb();
7589 7680
7590 int main() { 7681 int main() {
7591 XawScrollbarSetThumb() 7682 XawScrollbarSetThumb()
7592 ; return 0; } 7683 ; return 0; }
7593 EOF 7684 EOF
7594 if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7685 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7595 rm -rf conftest* 7686 rm -rf conftest*
7596 eval "ac_cv_lib_$ac_lib_var=yes" 7687 eval "ac_cv_lib_$ac_lib_var=yes"
7597 else 7688 else
7598 echo "configure: failed program was:" >&5 7689 echo "configure: failed program was:" >&5
7599 cat conftest.$ac_ext >&5 7690 cat conftest.$ac_ext >&5
7605 7696
7606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 7697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
7607 echo "$ac_t""yes" 1>&6 7698 echo "$ac_t""yes" 1>&6
7608 7699
7609 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 7700 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
7610 echo "configure:7611: checking for threeDClassRec in -l$athena_variant" >&5 7701 echo "configure:7702: checking for threeDClassRec in -l$athena_variant" >&5
7611 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 7702 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
7612 7703
7613 xe_check_libs=" -l$athena_variant " 7704 xe_check_libs=" -l$athena_variant "
7614 cat > conftest.$ac_ext <<EOF 7705 cat > conftest.$ac_ext <<EOF
7615 #line 7616 "configure" 7706 #line 7707 "configure"
7616 #include "confdefs.h" 7707 #include "confdefs.h"
7617 /* Override any gcc2 internal prototype to avoid an error. */ 7708 /* Override any gcc2 internal prototype to avoid an error. */
7618 /* We use char because int might match the return type of a gcc2 7709 /* We use char because int might match the return type of a gcc2
7619 builtin and then its argument prototype would still apply. */ 7710 builtin and then its argument prototype would still apply. */
7620 char threeDClassRec(); 7711 char threeDClassRec();
7621 7712
7622 int main() { 7713 int main() {
7623 threeDClassRec() 7714 threeDClassRec()
7624 ; return 0; } 7715 ; return 0; }
7625 EOF 7716 EOF
7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7717 if { (eval echo configure:7718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7627 rm -rf conftest* 7718 rm -rf conftest*
7628 eval "ac_cv_lib_$ac_lib_var=yes" 7719 eval "ac_cv_lib_$ac_lib_var=yes"
7629 else 7720 else
7630 echo "configure: failed program was:" >&5 7721 echo "configure: failed program was:" >&5
7631 cat conftest.$ac_ext >&5 7722 cat conftest.$ac_ext >&5
7652 7743
7653 7744
7654 else 7745 else
7655 7746
7656 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 7747 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
7657 echo "configure:7658: checking for threeDClassRec in -l$athena_variant" >&5 7748 echo "configure:7749: checking for threeDClassRec in -l$athena_variant" >&5
7658 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 7749 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
7659 7750
7660 xe_check_libs=" -l$athena_variant " 7751 xe_check_libs=" -l$athena_variant "
7661 cat > conftest.$ac_ext <<EOF 7752 cat > conftest.$ac_ext <<EOF
7662 #line 7663 "configure" 7753 #line 7754 "configure"
7663 #include "confdefs.h" 7754 #include "confdefs.h"
7664 /* Override any gcc2 internal prototype to avoid an error. */ 7755 /* Override any gcc2 internal prototype to avoid an error. */
7665 /* We use char because int might match the return type of a gcc2 7756 /* We use char because int might match the return type of a gcc2
7666 builtin and then its argument prototype would still apply. */ 7757 builtin and then its argument prototype would still apply. */
7667 char threeDClassRec(); 7758 char threeDClassRec();
7668 7759
7669 int main() { 7760 int main() {
7670 threeDClassRec() 7761 threeDClassRec()
7671 ; return 0; } 7762 ; return 0; }
7672 EOF 7763 EOF
7673 if { (eval echo configure:7674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7764 if { (eval echo configure:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7674 rm -rf conftest* 7765 rm -rf conftest*
7675 eval "ac_cv_lib_$ac_lib_var=yes" 7766 eval "ac_cv_lib_$ac_lib_var=yes"
7676 else 7767 else
7677 echo "configure: failed program was:" >&5 7768 echo "configure: failed program was:" >&5
7678 cat conftest.$ac_ext >&5 7769 cat conftest.$ac_ext >&5
7686 echo "$ac_t""yes" 1>&6 7777 echo "$ac_t""yes" 1>&6
7687 athena_lib=$athena_variant 7778 athena_lib=$athena_variant
7688 else 7779 else
7689 echo "$ac_t""no" 1>&6 7780 echo "$ac_t""no" 1>&6
7690 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 7781 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
7691 echo "configure:7692: checking for threeDClassRec in -lXaw" >&5 7782 echo "configure:7783: checking for threeDClassRec in -lXaw" >&5
7692 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 7783 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
7693 7784
7694 xe_check_libs=" -lXaw " 7785 xe_check_libs=" -lXaw "
7695 cat > conftest.$ac_ext <<EOF 7786 cat > conftest.$ac_ext <<EOF
7696 #line 7697 "configure" 7787 #line 7788 "configure"
7697 #include "confdefs.h" 7788 #include "confdefs.h"
7698 /* Override any gcc2 internal prototype to avoid an error. */ 7789 /* Override any gcc2 internal prototype to avoid an error. */
7699 /* We use char because int might match the return type of a gcc2 7790 /* We use char because int might match the return type of a gcc2
7700 builtin and then its argument prototype would still apply. */ 7791 builtin and then its argument prototype would still apply. */
7701 char threeDClassRec(); 7792 char threeDClassRec();
7702 7793
7703 int main() { 7794 int main() {
7704 threeDClassRec() 7795 threeDClassRec()
7705 ; return 0; } 7796 ; return 0; }
7706 EOF 7797 EOF
7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7798 if { (eval echo configure:7799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7708 rm -rf conftest* 7799 rm -rf conftest*
7709 eval "ac_cv_lib_$ac_lib_var=yes" 7800 eval "ac_cv_lib_$ac_lib_var=yes"
7710 else 7801 else
7711 echo "configure: failed program was:" >&5 7802 echo "configure: failed program was:" >&5
7712 cat conftest.$ac_ext >&5 7803 cat conftest.$ac_ext >&5
7716 rm -f conftest* 7807 rm -f conftest*
7717 xe_check_libs="" 7808 xe_check_libs=""
7718 7809
7719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 7810 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
7720 echo "$ac_t""yes" 1>&6 7811 echo "$ac_t""yes" 1>&6
7721 athena_lib=Xaw; 7812 athena_lib=Xaw;
7722 echo "configure: warning: "Assuming that libXaw is actually $athena_variant."" 1>&2; 7813 echo "configure: warning: "Assuming that libXaw is actually $athena_variant."" 1>&2;
7723 7814
7724 else 7815 else
7725 echo "$ac_t""no" 1>&6 7816 echo "$ac_t""no" 1>&6
7726 echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2 7817 echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2
7733 fi 7824 fi
7734 7825
7735 if test "$athena_3d" = "no"; then 7826 if test "$athena_3d" = "no"; then
7736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 7827 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
7737 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 7828 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
7738 echo "configure:7739: checking for X11/Xaw/ThreeD.h" >&5 7829 echo "configure:7830: checking for X11/Xaw/ThreeD.h" >&5
7739 7830
7740 cat > conftest.$ac_ext <<EOF 7831 cat > conftest.$ac_ext <<EOF
7741 #line 7742 "configure" 7832 #line 7833 "configure"
7742 #include "confdefs.h" 7833 #include "confdefs.h"
7743 #include <X11/Xaw/ThreeD.h> 7834 #include <X11/Xaw/ThreeD.h>
7744 EOF 7835 EOF
7745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7746 { (eval echo configure:7747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7837 { (eval echo configure:7838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7748 if test -z "$ac_err"; then 7839 if test -z "$ac_err"; then
7749 rm -rf conftest* 7840 rm -rf conftest*
7750 eval "ac_cv_header_$ac_safe=yes" 7841 eval "ac_cv_header_$ac_safe=yes"
7751 else 7842 else
7761 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 7852 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2
7762 else 7853 else
7763 echo "$ac_t""no" 1>&6 7854 echo "$ac_t""no" 1>&6
7764 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 7855 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
7765 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 7856 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
7766 echo "configure:7767: checking for X11/Xaw/XawInit.h" >&5 7857 echo "configure:7858: checking for X11/Xaw/XawInit.h" >&5
7767 7858
7768 cat > conftest.$ac_ext <<EOF 7859 cat > conftest.$ac_ext <<EOF
7769 #line 7770 "configure" 7860 #line 7861 "configure"
7770 #include "confdefs.h" 7861 #include "confdefs.h"
7771 #include <X11/Xaw/XawInit.h> 7862 #include <X11/Xaw/XawInit.h>
7772 EOF 7863 EOF
7773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7774 { (eval echo configure:7775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7865 { (eval echo configure:7866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7776 if test -z "$ac_err"; then 7867 if test -z "$ac_err"; then
7777 rm -rf conftest* 7868 rm -rf conftest*
7778 eval "ac_cv_header_$ac_safe=yes" 7869 eval "ac_cv_header_$ac_safe=yes"
7779 else 7870 else
7795 fi 7886 fi
7796 7887
7797 else 7888 else
7798 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 7889 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
7799 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 7890 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
7800 echo "configure:7801: checking for X11/$athena_variant/XawInit.h" >&5 7891 echo "configure:7892: checking for X11/$athena_variant/XawInit.h" >&5
7801 7892
7802 cat > conftest.$ac_ext <<EOF 7893 cat > conftest.$ac_ext <<EOF
7803 #line 7804 "configure" 7894 #line 7895 "configure"
7804 #include "confdefs.h" 7895 #include "confdefs.h"
7805 #include <X11/$athena_variant/XawInit.h> 7896 #include <X11/$athena_variant/XawInit.h>
7806 EOF 7897 EOF
7807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7808 { (eval echo configure:7809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7899 { (eval echo configure:7900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7810 if test -z "$ac_err"; then 7901 if test -z "$ac_err"; then
7811 rm -rf conftest* 7902 rm -rf conftest*
7812 eval "ac_cv_header_$ac_safe=yes" 7903 eval "ac_cv_header_$ac_safe=yes"
7813 else 7904 else
7820 rm -f conftest* 7911 rm -f conftest*
7821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7822 echo "$ac_t""yes" 1>&6 7913 echo "$ac_t""yes" 1>&6
7823 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 7914 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
7824 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 7915 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
7825 echo "configure:7826: checking for X11/$athena_variant/ThreeD.h" >&5 7916 echo "configure:7917: checking for X11/$athena_variant/ThreeD.h" >&5
7826 7917
7827 cat > conftest.$ac_ext <<EOF 7918 cat > conftest.$ac_ext <<EOF
7828 #line 7829 "configure" 7919 #line 7920 "configure"
7829 #include "confdefs.h" 7920 #include "confdefs.h"
7830 #include <X11/$athena_variant/ThreeD.h> 7921 #include <X11/$athena_variant/ThreeD.h>
7831 EOF 7922 EOF
7832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7833 { (eval echo configure:7834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7924 { (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7835 if test -z "$ac_err"; then 7926 if test -z "$ac_err"; then
7836 rm -rf conftest* 7927 rm -rf conftest*
7837 eval "ac_cv_header_$ac_safe=yes" 7928 eval "ac_cv_header_$ac_safe=yes"
7838 else 7929 else
7856 7947
7857 7948
7858 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 7949 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
7859 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 7950 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
7860 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 7951 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
7861 echo "configure:7862: checking for X11/Xaw3d/XawInit.h" >&5 7952 echo "configure:7953: checking for X11/Xaw3d/XawInit.h" >&5
7862 7953
7863 cat > conftest.$ac_ext <<EOF 7954 cat > conftest.$ac_ext <<EOF
7864 #line 7865 "configure" 7955 #line 7956 "configure"
7865 #include "confdefs.h" 7956 #include "confdefs.h"
7866 #include <X11/Xaw3d/XawInit.h> 7957 #include <X11/Xaw3d/XawInit.h>
7867 EOF 7958 EOF
7868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7869 { (eval echo configure:7870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7960 { (eval echo configure:7961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7871 if test -z "$ac_err"; then 7962 if test -z "$ac_err"; then
7872 rm -rf conftest* 7963 rm -rf conftest*
7873 eval "ac_cv_header_$ac_safe=yes" 7964 eval "ac_cv_header_$ac_safe=yes"
7874 else 7965 else
7881 rm -f conftest* 7972 rm -f conftest*
7882 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7883 echo "$ac_t""yes" 1>&6 7974 echo "$ac_t""yes" 1>&6
7884 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 7975 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
7885 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 7976 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
7886 echo "configure:7887: checking for X11/Xaw3d/ThreeD.h" >&5 7977 echo "configure:7978: checking for X11/Xaw3d/ThreeD.h" >&5
7887 7978
7888 cat > conftest.$ac_ext <<EOF 7979 cat > conftest.$ac_ext <<EOF
7889 #line 7890 "configure" 7980 #line 7981 "configure"
7890 #include "confdefs.h" 7981 #include "confdefs.h"
7891 #include <X11/Xaw3d/ThreeD.h> 7982 #include <X11/Xaw3d/ThreeD.h>
7892 EOF 7983 EOF
7893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7894 { (eval echo configure:7895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7985 { (eval echo configure:7986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7896 if test -z "$ac_err"; then 7987 if test -z "$ac_err"; then
7897 rm -rf conftest* 7988 rm -rf conftest*
7898 eval "ac_cv_header_$ac_safe=yes" 7989 eval "ac_cv_header_$ac_safe=yes"
7899 else 7990 else
7921 fi 8012 fi
7922 8013
7923 if test -z "$athena_h_path"; then 8014 if test -z "$athena_h_path"; then
7924 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 8015 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
7925 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 8016 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
7926 echo "configure:7927: checking for X11/Xaw/ThreeD.h" >&5 8017 echo "configure:8018: checking for X11/Xaw/ThreeD.h" >&5
7927 8018
7928 cat > conftest.$ac_ext <<EOF 8019 cat > conftest.$ac_ext <<EOF
7929 #line 7930 "configure" 8020 #line 8021 "configure"
7930 #include "confdefs.h" 8021 #include "confdefs.h"
7931 #include <X11/Xaw/ThreeD.h> 8022 #include <X11/Xaw/ThreeD.h>
7932 EOF 8023 EOF
7933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7934 { (eval echo configure:7935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8025 { (eval echo configure:8026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7936 if test -z "$ac_err"; then 8027 if test -z "$ac_err"; then
7937 rm -rf conftest* 8028 rm -rf conftest*
7938 eval "ac_cv_header_$ac_safe=yes" 8029 eval "ac_cv_header_$ac_safe=yes"
7939 else 8030 else
7964 have_xaw=no 8055 have_xaw=no
7965 fi 8056 fi
7966 8057
7967 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 8058 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
7968 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 8059 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
7969 echo "configure:7970: checking for Xm/Xm.h" >&5 8060 echo "configure:8061: checking for Xm/Xm.h" >&5
7970 8061
7971 cat > conftest.$ac_ext <<EOF 8062 cat > conftest.$ac_ext <<EOF
7972 #line 7973 "configure" 8063 #line 8064 "configure"
7973 #include "confdefs.h" 8064 #include "confdefs.h"
7974 #include <Xm/Xm.h> 8065 #include <Xm/Xm.h>
7975 EOF 8066 EOF
7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8068 { (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7979 if test -z "$ac_err"; then 8070 if test -z "$ac_err"; then
7980 rm -rf conftest* 8071 rm -rf conftest*
7981 eval "ac_cv_header_$ac_safe=yes" 8072 eval "ac_cv_header_$ac_safe=yes"
7982 else 8073 else
7989 rm -f conftest* 8080 rm -f conftest*
7990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7991 echo "$ac_t""yes" 1>&6 8082 echo "$ac_t""yes" 1>&6
7992 8083
7993 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 8084 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
7994 echo "configure:7995: checking for XmStringFree in -lXm" >&5 8085 echo "configure:8086: checking for XmStringFree in -lXm" >&5
7995 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 8086 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
7996 8087
7997 xe_check_libs=" -lXm " 8088 xe_check_libs=" -lXm "
7998 cat > conftest.$ac_ext <<EOF 8089 cat > conftest.$ac_ext <<EOF
7999 #line 8000 "configure" 8090 #line 8091 "configure"
8000 #include "confdefs.h" 8091 #include "confdefs.h"
8001 /* Override any gcc2 internal prototype to avoid an error. */ 8092 /* Override any gcc2 internal prototype to avoid an error. */
8002 /* We use char because int might match the return type of a gcc2 8093 /* We use char because int might match the return type of a gcc2
8003 builtin and then its argument prototype would still apply. */ 8094 builtin and then its argument prototype would still apply. */
8004 char XmStringFree(); 8095 char XmStringFree();
8005 8096
8006 int main() { 8097 int main() {
8007 XmStringFree() 8098 XmStringFree()
8008 ; return 0; } 8099 ; return 0; }
8009 EOF 8100 EOF
8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8101 if { (eval echo configure:8102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8011 rm -rf conftest* 8102 rm -rf conftest*
8012 eval "ac_cv_lib_$ac_lib_var=yes" 8103 eval "ac_cv_lib_$ac_lib_var=yes"
8013 else 8104 else
8014 echo "configure: failed program was:" >&5 8105 echo "configure: failed program was:" >&5
8015 cat conftest.$ac_ext >&5 8106 cat conftest.$ac_ext >&5
8034 fi 8125 fi
8035 8126
8036 8127
8037 if test "$have_motif" = "yes"; then 8128 if test "$have_motif" = "yes"; then
8038 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 8129 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
8039 echo "configure:8040: checking for Lesstif" >&5 8130 echo "configure:8131: checking for Lesstif" >&5
8040 cat > conftest.$ac_ext <<EOF 8131 cat > conftest.$ac_ext <<EOF
8041 #line 8042 "configure" 8132 #line 8133 "configure"
8042 #include "confdefs.h" 8133 #include "confdefs.h"
8043 #include <Xm/Xm.h> 8134 #include <Xm/Xm.h>
8044 #ifdef LESSTIF_VERSION 8135 #ifdef LESSTIF_VERSION
8045 yes 8136 yes
8046 #endif 8137 #endif
8369 fi 8460 fi
8370 fi 8461 fi
8371 8462
8372 if test "$with_mule" = "yes" ; then 8463 if test "$with_mule" = "yes" ; then
8373 echo "checking for Mule-related features" 1>&6 8464 echo "checking for Mule-related features" 1>&6
8374 echo "configure:8375: checking for Mule-related features" >&5 8465 echo "configure:8466: checking for Mule-related features" >&5
8375 { test "$extra_verbose" = "yes" && cat << \EOF 8466 { test "$extra_verbose" = "yes" && cat << \EOF
8376 Defining MULE 8467 Defining MULE
8377 EOF 8468 EOF
8378 cat >> confdefs.h <<\EOF 8469 cat >> confdefs.h <<\EOF
8379 #define MULE 1 8470 #define MULE 1
8394 8485
8395 for ac_hdr in libintl.h 8486 for ac_hdr in libintl.h
8396 do 8487 do
8397 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 8488 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 8489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8399 echo "configure:8400: checking for $ac_hdr" >&5 8490 echo "configure:8491: checking for $ac_hdr" >&5
8400 8491
8401 cat > conftest.$ac_ext <<EOF 8492 cat > conftest.$ac_ext <<EOF
8402 #line 8403 "configure" 8493 #line 8494 "configure"
8403 #include "confdefs.h" 8494 #include "confdefs.h"
8404 #include <$ac_hdr> 8495 #include <$ac_hdr>
8405 EOF 8496 EOF
8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8498 { (eval echo configure:8499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8409 if test -z "$ac_err"; then 8500 if test -z "$ac_err"; then
8410 rm -rf conftest* 8501 rm -rf conftest*
8411 eval "ac_cv_header_$ac_safe=yes" 8502 eval "ac_cv_header_$ac_safe=yes"
8412 else 8503 else
8433 fi 8524 fi
8434 done 8525 done
8435 8526
8436 8527
8437 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 8528 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
8438 echo "configure:8439: checking for strerror in -lintl" >&5 8529 echo "configure:8530: checking for strerror in -lintl" >&5
8439 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 8530 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
8440 8531
8441 xe_check_libs=" -lintl " 8532 xe_check_libs=" -lintl "
8442 cat > conftest.$ac_ext <<EOF 8533 cat > conftest.$ac_ext <<EOF
8443 #line 8444 "configure" 8534 #line 8535 "configure"
8444 #include "confdefs.h" 8535 #include "confdefs.h"
8445 /* Override any gcc2 internal prototype to avoid an error. */ 8536 /* Override any gcc2 internal prototype to avoid an error. */
8446 /* We use char because int might match the return type of a gcc2 8537 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */ 8538 builtin and then its argument prototype would still apply. */
8448 char strerror(); 8539 char strerror();
8449 8540
8450 int main() { 8541 int main() {
8451 strerror() 8542 strerror()
8452 ; return 0; } 8543 ; return 0; }
8453 EOF 8544 EOF
8454 if { (eval echo configure:8455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8455 rm -rf conftest* 8546 rm -rf conftest*
8456 eval "ac_cv_lib_$ac_lib_var=yes" 8547 eval "ac_cv_lib_$ac_lib_var=yes"
8457 else 8548 else
8458 echo "configure: failed program was:" >&5 8549 echo "configure: failed program was:" >&5
8459 cat conftest.$ac_ext >&5 8550 cat conftest.$ac_ext >&5
8482 fi 8573 fi
8483 8574
8484 8575
8485 8576
8486 echo "checking for Mule input methods" 1>&6 8577 echo "checking for Mule input methods" 1>&6
8487 echo "configure:8488: checking for Mule input methods" >&5 8578 echo "configure:8579: checking for Mule input methods" >&5
8488 case "$with_xim" in "" | "yes" ) 8579 case "$with_xim" in "" | "yes" )
8489 echo "checking for XIM" 1>&6 8580 echo "checking for XIM" 1>&6
8490 echo "configure:8491: checking for XIM" >&5 8581 echo "configure:8582: checking for XIM" >&5
8491 8582
8492 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 8583 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
8493 echo "configure:8494: checking for XOpenIM in -lX11" >&5 8584 echo "configure:8585: checking for XOpenIM in -lX11" >&5
8494 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 8585 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
8495 8586
8496 xe_check_libs=" -lX11 " 8587 xe_check_libs=" -lX11 "
8497 cat > conftest.$ac_ext <<EOF 8588 cat > conftest.$ac_ext <<EOF
8498 #line 8499 "configure" 8589 #line 8590 "configure"
8499 #include "confdefs.h" 8590 #include "confdefs.h"
8500 /* Override any gcc2 internal prototype to avoid an error. */ 8591 /* Override any gcc2 internal prototype to avoid an error. */
8501 /* We use char because int might match the return type of a gcc2 8592 /* We use char because int might match the return type of a gcc2
8502 builtin and then its argument prototype would still apply. */ 8593 builtin and then its argument prototype would still apply. */
8503 char XOpenIM(); 8594 char XOpenIM();
8504 8595
8505 int main() { 8596 int main() {
8506 XOpenIM() 8597 XOpenIM()
8507 ; return 0; } 8598 ; return 0; }
8508 EOF 8599 EOF
8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8510 rm -rf conftest* 8601 rm -rf conftest*
8511 eval "ac_cv_lib_$ac_lib_var=yes" 8602 eval "ac_cv_lib_$ac_lib_var=yes"
8512 else 8603 else
8513 echo "configure: failed program was:" >&5 8604 echo "configure: failed program was:" >&5
8514 cat conftest.$ac_ext >&5 8605 cat conftest.$ac_ext >&5
8528 8619
8529 8620
8530 if test "$have_motif $have_lesstif" = "yes no"; then 8621 if test "$have_motif $have_lesstif" = "yes no"; then
8531 8622
8532 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 8623 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
8533 echo "configure:8534: checking for XmImMbLookupString in -lXm" >&5 8624 echo "configure:8625: checking for XmImMbLookupString in -lXm" >&5
8534 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 8625 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
8535 8626
8536 xe_check_libs=" -lXm " 8627 xe_check_libs=" -lXm "
8537 cat > conftest.$ac_ext <<EOF 8628 cat > conftest.$ac_ext <<EOF
8538 #line 8539 "configure" 8629 #line 8630 "configure"
8539 #include "confdefs.h" 8630 #include "confdefs.h"
8540 /* Override any gcc2 internal prototype to avoid an error. */ 8631 /* Override any gcc2 internal prototype to avoid an error. */
8541 /* We use char because int might match the return type of a gcc2 8632 /* We use char because int might match the return type of a gcc2
8542 builtin and then its argument prototype would still apply. */ 8633 builtin and then its argument prototype would still apply. */
8543 char XmImMbLookupString(); 8634 char XmImMbLookupString();
8544 8635
8545 int main() { 8636 int main() {
8546 XmImMbLookupString() 8637 XmImMbLookupString()
8547 ; return 0; } 8638 ; return 0; }
8548 EOF 8639 EOF
8549 if { (eval echo configure:8550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8640 if { (eval echo configure:8641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8550 rm -rf conftest* 8641 rm -rf conftest*
8551 eval "ac_cv_lib_$ac_lib_var=yes" 8642 eval "ac_cv_lib_$ac_lib_var=yes"
8552 else 8643 else
8553 echo "configure: failed program was:" >&5 8644 echo "configure: failed program was:" >&5
8554 cat conftest.$ac_ext >&5 8645 cat conftest.$ac_ext >&5
8609 fi 8700 fi
8610 fi 8701 fi
8611 8702
8612 if test "$with_xfs" = "yes" ; then 8703 if test "$with_xfs" = "yes" ; then
8613 echo "checking for XFontSet" 1>&6 8704 echo "checking for XFontSet" 1>&6
8614 echo "configure:8615: checking for XFontSet" >&5 8705 echo "configure:8706: checking for XFontSet" >&5
8615 8706
8616 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 8707 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
8617 echo "configure:8618: checking for XmbDrawString in -lX11" >&5 8708 echo "configure:8709: checking for XmbDrawString in -lX11" >&5
8618 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 8709 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
8619 8710
8620 xe_check_libs=" -lX11 " 8711 xe_check_libs=" -lX11 "
8621 cat > conftest.$ac_ext <<EOF 8712 cat > conftest.$ac_ext <<EOF
8622 #line 8623 "configure" 8713 #line 8714 "configure"
8623 #include "confdefs.h" 8714 #include "confdefs.h"
8624 /* Override any gcc2 internal prototype to avoid an error. */ 8715 /* Override any gcc2 internal prototype to avoid an error. */
8625 /* We use char because int might match the return type of a gcc2 8716 /* We use char because int might match the return type of a gcc2
8626 builtin and then its argument prototype would still apply. */ 8717 builtin and then its argument prototype would still apply. */
8627 char XmbDrawString(); 8718 char XmbDrawString();
8628 8719
8629 int main() { 8720 int main() {
8630 XmbDrawString() 8721 XmbDrawString()
8631 ; return 0; } 8722 ; return 0; }
8632 EOF 8723 EOF
8633 if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8634 rm -rf conftest* 8725 rm -rf conftest*
8635 eval "ac_cv_lib_$ac_lib_var=yes" 8726 eval "ac_cv_lib_$ac_lib_var=yes"
8636 else 8727 else
8637 echo "configure: failed program was:" >&5 8728 echo "configure: failed program was:" >&5
8638 cat conftest.$ac_ext >&5 8729 cat conftest.$ac_ext >&5
8668 fi 8759 fi
8669 fi 8760 fi
8670 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 8761 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
8671 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 8762 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
8672 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 8763 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
8673 echo "configure:8674: checking for wnn/jllib.h" >&5 8764 echo "configure:8765: checking for wnn/jllib.h" >&5
8674 8765
8675 cat > conftest.$ac_ext <<EOF 8766 cat > conftest.$ac_ext <<EOF
8676 #line 8677 "configure" 8767 #line 8768 "configure"
8677 #include "confdefs.h" 8768 #include "confdefs.h"
8678 #include <wnn/jllib.h> 8769 #include <wnn/jllib.h>
8679 EOF 8770 EOF
8680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8681 { (eval echo configure:8682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8772 { (eval echo configure:8773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8683 if test -z "$ac_err"; then 8774 if test -z "$ac_err"; then
8684 rm -rf conftest* 8775 rm -rf conftest*
8685 eval "ac_cv_header_$ac_safe=yes" 8776 eval "ac_cv_header_$ac_safe=yes"
8686 else 8777 else
8701 } 8792 }
8702 if test "$with_wnn" != "no"; then 8793 if test "$with_wnn" != "no"; then
8703 for ac_func in crypt 8794 for ac_func in crypt
8704 do 8795 do
8705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8706 echo "configure:8707: checking for $ac_func" >&5 8797 echo "configure:8798: checking for $ac_func" >&5
8707 8798
8708 cat > conftest.$ac_ext <<EOF 8799 cat > conftest.$ac_ext <<EOF
8709 #line 8710 "configure" 8800 #line 8801 "configure"
8710 #include "confdefs.h" 8801 #include "confdefs.h"
8711 /* System header to define __stub macros and hopefully few prototypes, 8802 /* System header to define __stub macros and hopefully few prototypes,
8712 which can conflict with char $ac_func(); below. */ 8803 which can conflict with char $ac_func(); below. */
8713 #include <assert.h> 8804 #include <assert.h>
8714 /* Override any gcc2 internal prototype to avoid an error. */ 8805 /* Override any gcc2 internal prototype to avoid an error. */
8727 $ac_func(); 8818 $ac_func();
8728 #endif 8819 #endif
8729 8820
8730 ; return 0; } 8821 ; return 0; }
8731 EOF 8822 EOF
8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8823 if { (eval echo configure:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8733 rm -rf conftest* 8824 rm -rf conftest*
8734 eval "ac_cv_func_$ac_func=yes" 8825 eval "ac_cv_func_$ac_func=yes"
8735 else 8826 else
8736 echo "configure: failed program was:" >&5 8827 echo "configure: failed program was:" >&5
8737 cat conftest.$ac_ext >&5 8828 cat conftest.$ac_ext >&5
8756 fi 8847 fi
8757 done 8848 done
8758 8849
8759 test "$ac_cv_func_crypt" != "yes" && { 8850 test "$ac_cv_func_crypt" != "yes" && {
8760 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 8851 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
8761 echo "configure:8762: checking for crypt in -lcrypt" >&5 8852 echo "configure:8853: checking for crypt in -lcrypt" >&5
8762 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 8853 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
8763 8854
8764 xe_check_libs=" -lcrypt " 8855 xe_check_libs=" -lcrypt "
8765 cat > conftest.$ac_ext <<EOF 8856 cat > conftest.$ac_ext <<EOF
8766 #line 8767 "configure" 8857 #line 8858 "configure"
8767 #include "confdefs.h" 8858 #include "confdefs.h"
8768 /* Override any gcc2 internal prototype to avoid an error. */ 8859 /* Override any gcc2 internal prototype to avoid an error. */
8769 /* We use char because int might match the return type of a gcc2 8860 /* We use char because int might match the return type of a gcc2
8770 builtin and then its argument prototype would still apply. */ 8861 builtin and then its argument prototype would still apply. */
8771 char crypt(); 8862 char crypt();
8772 8863
8773 int main() { 8864 int main() {
8774 crypt() 8865 crypt()
8775 ; return 0; } 8866 ; return 0; }
8776 EOF 8867 EOF
8777 if { (eval echo configure:8778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8868 if { (eval echo configure:8869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8778 rm -rf conftest* 8869 rm -rf conftest*
8779 eval "ac_cv_lib_$ac_lib_var=yes" 8870 eval "ac_cv_lib_$ac_lib_var=yes"
8780 else 8871 else
8781 echo "configure: failed program was:" >&5 8872 echo "configure: failed program was:" >&5
8782 cat conftest.$ac_ext >&5 8873 cat conftest.$ac_ext >&5
8807 } 8898 }
8808 fi 8899 fi
8809 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 8900 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
8810 8901
8811 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 8902 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
8812 echo "configure:8813: checking for jl_dic_list_e in -lwnn" >&5 8903 echo "configure:8904: checking for jl_dic_list_e in -lwnn" >&5
8813 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8904 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8814 8905
8815 xe_check_libs=" -lwnn " 8906 xe_check_libs=" -lwnn "
8816 cat > conftest.$ac_ext <<EOF 8907 cat > conftest.$ac_ext <<EOF
8817 #line 8818 "configure" 8908 #line 8909 "configure"
8818 #include "confdefs.h" 8909 #include "confdefs.h"
8819 /* Override any gcc2 internal prototype to avoid an error. */ 8910 /* Override any gcc2 internal prototype to avoid an error. */
8820 /* We use char because int might match the return type of a gcc2 8911 /* We use char because int might match the return type of a gcc2
8821 builtin and then its argument prototype would still apply. */ 8912 builtin and then its argument prototype would still apply. */
8822 char jl_dic_list_e(); 8913 char jl_dic_list_e();
8823 8914
8824 int main() { 8915 int main() {
8825 jl_dic_list_e() 8916 jl_dic_list_e()
8826 ; return 0; } 8917 ; return 0; }
8827 EOF 8918 EOF
8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8829 rm -rf conftest* 8920 rm -rf conftest*
8830 eval "ac_cv_lib_$ac_lib_var=yes" 8921 eval "ac_cv_lib_$ac_lib_var=yes"
8831 else 8922 else
8832 echo "configure: failed program was:" >&5 8923 echo "configure: failed program was:" >&5
8833 cat conftest.$ac_ext >&5 8924 cat conftest.$ac_ext >&5
8841 echo "$ac_t""yes" 1>&6 8932 echo "$ac_t""yes" 1>&6
8842 libwnn=wnn 8933 libwnn=wnn
8843 else 8934 else
8844 echo "$ac_t""no" 1>&6 8935 echo "$ac_t""no" 1>&6
8845 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 8936 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
8846 echo "configure:8847: checking for jl_dic_list_e in -lwnn4" >&5 8937 echo "configure:8938: checking for jl_dic_list_e in -lwnn4" >&5
8847 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8938 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8848 8939
8849 xe_check_libs=" -lwnn4 " 8940 xe_check_libs=" -lwnn4 "
8850 cat > conftest.$ac_ext <<EOF 8941 cat > conftest.$ac_ext <<EOF
8851 #line 8852 "configure" 8942 #line 8943 "configure"
8852 #include "confdefs.h" 8943 #include "confdefs.h"
8853 /* Override any gcc2 internal prototype to avoid an error. */ 8944 /* Override any gcc2 internal prototype to avoid an error. */
8854 /* We use char because int might match the return type of a gcc2 8945 /* We use char because int might match the return type of a gcc2
8855 builtin and then its argument prototype would still apply. */ 8946 builtin and then its argument prototype would still apply. */
8856 char jl_dic_list_e(); 8947 char jl_dic_list_e();
8857 8948
8858 int main() { 8949 int main() {
8859 jl_dic_list_e() 8950 jl_dic_list_e()
8860 ; return 0; } 8951 ; return 0; }
8861 EOF 8952 EOF
8862 if { (eval echo configure:8863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8863 rm -rf conftest* 8954 rm -rf conftest*
8864 eval "ac_cv_lib_$ac_lib_var=yes" 8955 eval "ac_cv_lib_$ac_lib_var=yes"
8865 else 8956 else
8866 echo "configure: failed program was:" >&5 8957 echo "configure: failed program was:" >&5
8867 cat conftest.$ac_ext >&5 8958 cat conftest.$ac_ext >&5
8875 echo "$ac_t""yes" 1>&6 8966 echo "$ac_t""yes" 1>&6
8876 libwnn=wnn4 8967 libwnn=wnn4
8877 else 8968 else
8878 echo "$ac_t""no" 1>&6 8969 echo "$ac_t""no" 1>&6
8879 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 8970 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
8880 echo "configure:8881: checking for jl_dic_list_e in -lwnn6" >&5 8971 echo "configure:8972: checking for jl_dic_list_e in -lwnn6" >&5
8881 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8972 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8882 8973
8883 xe_check_libs=" -lwnn6 " 8974 xe_check_libs=" -lwnn6 "
8884 cat > conftest.$ac_ext <<EOF 8975 cat > conftest.$ac_ext <<EOF
8885 #line 8886 "configure" 8976 #line 8977 "configure"
8886 #include "confdefs.h" 8977 #include "confdefs.h"
8887 /* Override any gcc2 internal prototype to avoid an error. */ 8978 /* Override any gcc2 internal prototype to avoid an error. */
8888 /* We use char because int might match the return type of a gcc2 8979 /* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */ 8980 builtin and then its argument prototype would still apply. */
8890 char jl_dic_list_e(); 8981 char jl_dic_list_e();
8891 8982
8892 int main() { 8983 int main() {
8893 jl_dic_list_e() 8984 jl_dic_list_e()
8894 ; return 0; } 8985 ; return 0; }
8895 EOF 8986 EOF
8896 if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8897 rm -rf conftest* 8988 rm -rf conftest*
8898 eval "ac_cv_lib_$ac_lib_var=yes" 8989 eval "ac_cv_lib_$ac_lib_var=yes"
8899 else 8990 else
8900 echo "configure: failed program was:" >&5 8991 echo "configure: failed program was:" >&5
8901 cat conftest.$ac_ext >&5 8992 cat conftest.$ac_ext >&5
8909 echo "$ac_t""yes" 1>&6 9000 echo "$ac_t""yes" 1>&6
8910 libwnn=wnn6 9001 libwnn=wnn6
8911 else 9002 else
8912 echo "$ac_t""no" 1>&6 9003 echo "$ac_t""no" 1>&6
8913 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 9004 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
8914 echo "configure:8915: checking for dic_list_e in -lwnn6_fromsrc" >&5 9005 echo "configure:9006: checking for dic_list_e in -lwnn6_fromsrc" >&5
8915 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 9006 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
8916 9007
8917 xe_check_libs=" -lwnn6_fromsrc " 9008 xe_check_libs=" -lwnn6_fromsrc "
8918 cat > conftest.$ac_ext <<EOF 9009 cat > conftest.$ac_ext <<EOF
8919 #line 8920 "configure" 9010 #line 9011 "configure"
8920 #include "confdefs.h" 9011 #include "confdefs.h"
8921 /* Override any gcc2 internal prototype to avoid an error. */ 9012 /* Override any gcc2 internal prototype to avoid an error. */
8922 /* We use char because int might match the return type of a gcc2 9013 /* We use char because int might match the return type of a gcc2
8923 builtin and then its argument prototype would still apply. */ 9014 builtin and then its argument prototype would still apply. */
8924 char dic_list_e(); 9015 char dic_list_e();
8925 9016
8926 int main() { 9017 int main() {
8927 dic_list_e() 9018 dic_list_e()
8928 ; return 0; } 9019 ; return 0; }
8929 EOF 9020 EOF
8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9021 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8931 rm -rf conftest* 9022 rm -rf conftest*
8932 eval "ac_cv_lib_$ac_lib_var=yes" 9023 eval "ac_cv_lib_$ac_lib_var=yes"
8933 else 9024 else
8934 echo "configure: failed program was:" >&5 9025 echo "configure: failed program was:" >&5
8935 cat conftest.$ac_ext >&5 9026 cat conftest.$ac_ext >&5
8973 echo " xemacs will be linked with \"mule-wnnfns.o\"" 9064 echo " xemacs will be linked with \"mule-wnnfns.o\""
8974 fi 9065 fi
8975 if test "$with_wnn6" != "no"; then 9066 if test "$with_wnn6" != "no"; then
8976 9067
8977 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 9068 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
8978 echo "configure:8979: checking for jl_fi_dic_list in -l$libwnn" >&5 9069 echo "configure:9070: checking for jl_fi_dic_list in -l$libwnn" >&5
8979 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 9070 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
8980 9071
8981 xe_check_libs=" -l$libwnn " 9072 xe_check_libs=" -l$libwnn "
8982 cat > conftest.$ac_ext <<EOF 9073 cat > conftest.$ac_ext <<EOF
8983 #line 8984 "configure" 9074 #line 9075 "configure"
8984 #include "confdefs.h" 9075 #include "confdefs.h"
8985 /* Override any gcc2 internal prototype to avoid an error. */ 9076 /* Override any gcc2 internal prototype to avoid an error. */
8986 /* We use char because int might match the return type of a gcc2 9077 /* We use char because int might match the return type of a gcc2
8987 builtin and then its argument prototype would still apply. */ 9078 builtin and then its argument prototype would still apply. */
8988 char jl_fi_dic_list(); 9079 char jl_fi_dic_list();
8989 9080
8990 int main() { 9081 int main() {
8991 jl_fi_dic_list() 9082 jl_fi_dic_list()
8992 ; return 0; } 9083 ; return 0; }
8993 EOF 9084 EOF
8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9085 if { (eval echo configure:9086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8995 rm -rf conftest* 9086 rm -rf conftest*
8996 eval "ac_cv_lib_$ac_lib_var=yes" 9087 eval "ac_cv_lib_$ac_lib_var=yes"
8997 else 9088 else
8998 echo "configure: failed program was:" >&5 9089 echo "configure: failed program was:" >&5
8999 cat conftest.$ac_ext >&5 9090 cat conftest.$ac_ext >&5
9024 9115
9025 canna_includes_found=no 9116 canna_includes_found=no
9026 if test "$with_canna" != "no"; then 9117 if test "$with_canna" != "no"; then
9027 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 9118 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
9028 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 9119 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
9029 echo "configure:9030: checking for canna/jrkanji.h" >&5 9120 echo "configure:9121: checking for canna/jrkanji.h" >&5
9030 9121
9031 cat > conftest.$ac_ext <<EOF 9122 cat > conftest.$ac_ext <<EOF
9032 #line 9033 "configure" 9123 #line 9124 "configure"
9033 #include "confdefs.h" 9124 #include "confdefs.h"
9034 #include <canna/jrkanji.h> 9125 #include <canna/jrkanji.h>
9035 EOF 9126 EOF
9036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9037 { (eval echo configure:9038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9128 { (eval echo configure:9129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9039 if test -z "$ac_err"; then 9130 if test -z "$ac_err"; then
9040 rm -rf conftest* 9131 rm -rf conftest*
9041 eval "ac_cv_header_$ac_safe=yes" 9132 eval "ac_cv_header_$ac_safe=yes"
9042 else 9133 else
9059 -d "/usr/local/canna/include"; then 9150 -d "/usr/local/canna/include"; then
9060 save_c_switch_site="$c_switch_site" 9151 save_c_switch_site="$c_switch_site"
9061 c_switch_site="$c_switch_site -I/usr/local/canna/include" 9152 c_switch_site="$c_switch_site -I/usr/local/canna/include"
9062 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 9153 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
9063 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 9154 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
9064 echo "configure:9065: checking for canna/jrkanji.h" >&5 9155 echo "configure:9156: checking for canna/jrkanji.h" >&5
9065 9156
9066 cat > conftest.$ac_ext <<EOF 9157 cat > conftest.$ac_ext <<EOF
9067 #line 9068 "configure" 9158 #line 9159 "configure"
9068 #include "confdefs.h" 9159 #include "confdefs.h"
9069 #include <canna/jrkanji.h> 9160 #include <canna/jrkanji.h>
9070 EOF 9161 EOF
9071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9072 { (eval echo configure:9073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9163 { (eval echo configure:9164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9074 if test -z "$ac_err"; then 9165 if test -z "$ac_err"; then
9075 rm -rf conftest* 9166 rm -rf conftest*
9076 eval "ac_cv_header_$ac_safe=yes" 9167 eval "ac_cv_header_$ac_safe=yes"
9077 else 9168 else
9095 fi 9186 fi
9096 fi 9187 fi
9097 9188
9098 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 9189 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
9099 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 9190 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
9100 echo "configure:9101: checking for canna/RK.h" >&5 9191 echo "configure:9192: checking for canna/RK.h" >&5
9101 9192
9102 cat > conftest.$ac_ext <<EOF 9193 cat > conftest.$ac_ext <<EOF
9103 #line 9104 "configure" 9194 #line 9195 "configure"
9104 #include "confdefs.h" 9195 #include "confdefs.h"
9105 #include <canna/RK.h> 9196 #include <canna/RK.h>
9106 EOF 9197 EOF
9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9199 { (eval echo configure:9200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9110 if test -z "$ac_err"; then 9201 if test -z "$ac_err"; then
9111 rm -rf conftest* 9202 rm -rf conftest*
9112 eval "ac_cv_header_$ac_safe=yes" 9203 eval "ac_cv_header_$ac_safe=yes"
9113 else 9204 else
9126 with_canna=no 9217 with_canna=no
9127 fi 9218 fi
9128 } 9219 }
9129 test -z "$with_canna" && { 9220 test -z "$with_canna" && {
9130 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 9221 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
9131 echo "configure:9132: checking for RkBgnBun in -lRKC" >&5 9222 echo "configure:9223: checking for RkBgnBun in -lRKC" >&5
9132 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 9223 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
9133 9224
9134 xe_check_libs=" -lRKC " 9225 xe_check_libs=" -lRKC "
9135 cat > conftest.$ac_ext <<EOF 9226 cat > conftest.$ac_ext <<EOF
9136 #line 9137 "configure" 9227 #line 9228 "configure"
9137 #include "confdefs.h" 9228 #include "confdefs.h"
9138 /* Override any gcc2 internal prototype to avoid an error. */ 9229 /* Override any gcc2 internal prototype to avoid an error. */
9139 /* We use char because int might match the return type of a gcc2 9230 /* We use char because int might match the return type of a gcc2
9140 builtin and then its argument prototype would still apply. */ 9231 builtin and then its argument prototype would still apply. */
9141 char RkBgnBun(); 9232 char RkBgnBun();
9142 9233
9143 int main() { 9234 int main() {
9144 RkBgnBun() 9235 RkBgnBun()
9145 ; return 0; } 9236 ; return 0; }
9146 EOF 9237 EOF
9147 if { (eval echo configure:9148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9238 if { (eval echo configure:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9148 rm -rf conftest* 9239 rm -rf conftest*
9149 eval "ac_cv_lib_$ac_lib_var=yes" 9240 eval "ac_cv_lib_$ac_lib_var=yes"
9150 else 9241 else
9151 echo "configure: failed program was:" >&5 9242 echo "configure: failed program was:" >&5
9152 cat conftest.$ac_ext >&5 9243 cat conftest.$ac_ext >&5
9165 fi 9256 fi
9166 9257
9167 } 9258 }
9168 test -z "$with_canna" && { 9259 test -z "$with_canna" && {
9169 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 9260 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
9170 echo "configure:9171: checking for jrKanjiControl in -lcanna" >&5 9261 echo "configure:9262: checking for jrKanjiControl in -lcanna" >&5
9171 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 9262 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
9172 9263
9173 xe_check_libs=" -lcanna " 9264 xe_check_libs=" -lcanna "
9174 cat > conftest.$ac_ext <<EOF 9265 cat > conftest.$ac_ext <<EOF
9175 #line 9176 "configure" 9266 #line 9267 "configure"
9176 #include "confdefs.h" 9267 #include "confdefs.h"
9177 /* Override any gcc2 internal prototype to avoid an error. */ 9268 /* Override any gcc2 internal prototype to avoid an error. */
9178 /* We use char because int might match the return type of a gcc2 9269 /* We use char because int might match the return type of a gcc2
9179 builtin and then its argument prototype would still apply. */ 9270 builtin and then its argument prototype would still apply. */
9180 char jrKanjiControl(); 9271 char jrKanjiControl();
9181 9272
9182 int main() { 9273 int main() {
9183 jrKanjiControl() 9274 jrKanjiControl()
9184 ; return 0; } 9275 ; return 0; }
9185 EOF 9276 EOF
9186 if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9277 if { (eval echo configure:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9187 rm -rf conftest* 9278 rm -rf conftest*
9188 eval "ac_cv_lib_$ac_lib_var=yes" 9279 eval "ac_cv_lib_$ac_lib_var=yes"
9189 else 9280 else
9190 echo "configure: failed program was:" >&5 9281 echo "configure: failed program was:" >&5
9191 cat conftest.$ac_ext >&5 9282 cat conftest.$ac_ext >&5
9230 9321
9231 if test "$need_motif" = "yes" ; then 9322 if test "$need_motif" = "yes" ; then
9232 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 9323 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
9233 9324
9234 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 9325 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
9235 echo "configure:9236: checking for layout_object_getvalue in -li18n" >&5 9326 echo "configure:9327: checking for layout_object_getvalue in -li18n" >&5
9236 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 9327 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
9237 9328
9238 xe_check_libs=" -li18n " 9329 xe_check_libs=" -li18n "
9239 cat > conftest.$ac_ext <<EOF 9330 cat > conftest.$ac_ext <<EOF
9240 #line 9241 "configure" 9331 #line 9332 "configure"
9241 #include "confdefs.h" 9332 #include "confdefs.h"
9242 /* Override any gcc2 internal prototype to avoid an error. */ 9333 /* Override any gcc2 internal prototype to avoid an error. */
9243 /* We use char because int might match the return type of a gcc2 9334 /* We use char because int might match the return type of a gcc2
9244 builtin and then its argument prototype would still apply. */ 9335 builtin and then its argument prototype would still apply. */
9245 char layout_object_getvalue(); 9336 char layout_object_getvalue();
9246 9337
9247 int main() { 9338 int main() {
9248 layout_object_getvalue() 9339 layout_object_getvalue()
9249 ; return 0; } 9340 ; return 0; }
9250 EOF 9341 EOF
9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9252 rm -rf conftest* 9343 rm -rf conftest*
9253 eval "ac_cv_lib_$ac_lib_var=yes" 9344 eval "ac_cv_lib_$ac_lib_var=yes"
9254 else 9345 else
9255 echo "configure: failed program was:" >&5 9346 echo "configure: failed program was:" >&5
9256 cat conftest.$ac_ext >&5 9347 cat conftest.$ac_ext >&5
9329 fi 9420 fi
9330 fi 9421 fi
9331 9422
9332 fi 9423 fi
9333 9424
9334 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf 9425 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask
9335 do 9426 do
9336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9337 echo "configure:9338: checking for $ac_func" >&5 9428 echo "configure:9429: checking for $ac_func" >&5
9338 9429
9339 cat > conftest.$ac_ext <<EOF 9430 cat > conftest.$ac_ext <<EOF
9340 #line 9341 "configure" 9431 #line 9432 "configure"
9341 #include "confdefs.h" 9432 #include "confdefs.h"
9342 /* System header to define __stub macros and hopefully few prototypes, 9433 /* System header to define __stub macros and hopefully few prototypes,
9343 which can conflict with char $ac_func(); below. */ 9434 which can conflict with char $ac_func(); below. */
9344 #include <assert.h> 9435 #include <assert.h>
9345 /* Override any gcc2 internal prototype to avoid an error. */ 9436 /* Override any gcc2 internal prototype to avoid an error. */
9358 $ac_func(); 9449 $ac_func();
9359 #endif 9450 #endif
9360 9451
9361 ; return 0; } 9452 ; return 0; }
9362 EOF 9453 EOF
9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9364 rm -rf conftest* 9455 rm -rf conftest*
9365 eval "ac_cv_func_$ac_func=yes" 9456 eval "ac_cv_func_$ac_func=yes"
9366 else 9457 else
9367 echo "configure: failed program was:" >&5 9458 echo "configure: failed program was:" >&5
9368 cat conftest.$ac_ext >&5 9459 cat conftest.$ac_ext >&5
9399 echo " xemacs will be linked with \"realpath.o\"" 9490 echo " xemacs will be linked with \"realpath.o\""
9400 fi ;; 9491 fi ;;
9401 * ) for ac_func in realpath 9492 * ) for ac_func in realpath
9402 do 9493 do
9403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9404 echo "configure:9405: checking for $ac_func" >&5 9495 echo "configure:9496: checking for $ac_func" >&5
9405 9496
9406 cat > conftest.$ac_ext <<EOF 9497 cat > conftest.$ac_ext <<EOF
9407 #line 9408 "configure" 9498 #line 9499 "configure"
9408 #include "confdefs.h" 9499 #include "confdefs.h"
9409 /* System header to define __stub macros and hopefully few prototypes, 9500 /* System header to define __stub macros and hopefully few prototypes,
9410 which can conflict with char $ac_func(); below. */ 9501 which can conflict with char $ac_func(); below. */
9411 #include <assert.h> 9502 #include <assert.h>
9412 /* Override any gcc2 internal prototype to avoid an error. */ 9503 /* Override any gcc2 internal prototype to avoid an error. */
9425 $ac_func(); 9516 $ac_func();
9426 #endif 9517 #endif
9427 9518
9428 ; return 0; } 9519 ; return 0; }
9429 EOF 9520 EOF
9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9431 rm -rf conftest* 9522 rm -rf conftest*
9432 eval "ac_cv_func_$ac_func=yes" 9523 eval "ac_cv_func_$ac_func=yes"
9433 else 9524 else
9434 echo "configure: failed program was:" >&5 9525 echo "configure: failed program was:" >&5
9435 cat conftest.$ac_ext >&5 9526 cat conftest.$ac_ext >&5
9461 esac 9552 esac
9462 9553
9463 for ac_func in getloadavg 9554 for ac_func in getloadavg
9464 do 9555 do
9465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9466 echo "configure:9467: checking for $ac_func" >&5 9557 echo "configure:9558: checking for $ac_func" >&5
9467 9558
9468 cat > conftest.$ac_ext <<EOF 9559 cat > conftest.$ac_ext <<EOF
9469 #line 9470 "configure" 9560 #line 9561 "configure"
9470 #include "confdefs.h" 9561 #include "confdefs.h"
9471 /* System header to define __stub macros and hopefully few prototypes, 9562 /* System header to define __stub macros and hopefully few prototypes,
9472 which can conflict with char $ac_func(); below. */ 9563 which can conflict with char $ac_func(); below. */
9473 #include <assert.h> 9564 #include <assert.h>
9474 /* Override any gcc2 internal prototype to avoid an error. */ 9565 /* Override any gcc2 internal prototype to avoid an error. */
9487 $ac_func(); 9578 $ac_func();
9488 #endif 9579 #endif
9489 9580
9490 ; return 0; } 9581 ; return 0; }
9491 EOF 9582 EOF
9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9583 if { (eval echo configure:9584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9493 rm -rf conftest* 9584 rm -rf conftest*
9494 eval "ac_cv_func_$ac_func=yes" 9585 eval "ac_cv_func_$ac_func=yes"
9495 else 9586 else
9496 echo "configure: failed program was:" >&5 9587 echo "configure: failed program was:" >&5
9497 cat conftest.$ac_ext >&5 9588 cat conftest.$ac_ext >&5
9523 echo " xemacs will be linked with \"getloadavg.o\"" 9614 echo " xemacs will be linked with \"getloadavg.o\""
9524 fi 9615 fi
9525 9616
9526 9617
9527 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 9618 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
9528 echo "configure:9529: checking for kstat_open in -lkstat" >&5 9619 echo "configure:9620: checking for kstat_open in -lkstat" >&5
9529 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 9620 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
9530 9621
9531 xe_check_libs=" -lkstat " 9622 xe_check_libs=" -lkstat "
9532 cat > conftest.$ac_ext <<EOF 9623 cat > conftest.$ac_ext <<EOF
9533 #line 9534 "configure" 9624 #line 9625 "configure"
9534 #include "confdefs.h" 9625 #include "confdefs.h"
9535 /* Override any gcc2 internal prototype to avoid an error. */ 9626 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2 9627 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */ 9628 builtin and then its argument prototype would still apply. */
9538 char kstat_open(); 9629 char kstat_open();
9539 9630
9540 int main() { 9631 int main() {
9541 kstat_open() 9632 kstat_open()
9542 ; return 0; } 9633 ; return 0; }
9543 EOF 9634 EOF
9544 if { (eval echo configure:9545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9635 if { (eval echo configure:9636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9545 rm -rf conftest* 9636 rm -rf conftest*
9546 eval "ac_cv_lib_$ac_lib_var=yes" 9637 eval "ac_cv_lib_$ac_lib_var=yes"
9547 else 9638 else
9548 echo "configure: failed program was:" >&5 9639 echo "configure: failed program was:" >&5
9549 cat conftest.$ac_ext >&5 9640 cat conftest.$ac_ext >&5
9573 9664
9574 9665
9575 9666
9576 9667
9577 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 9668 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
9578 echo "configure:9579: checking for kvm_read in -lkvm" >&5 9669 echo "configure:9670: checking for kvm_read in -lkvm" >&5
9579 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 9670 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
9580 9671
9581 xe_check_libs=" -lkvm " 9672 xe_check_libs=" -lkvm "
9582 cat > conftest.$ac_ext <<EOF 9673 cat > conftest.$ac_ext <<EOF
9583 #line 9584 "configure" 9674 #line 9675 "configure"
9584 #include "confdefs.h" 9675 #include "confdefs.h"
9585 /* Override any gcc2 internal prototype to avoid an error. */ 9676 /* Override any gcc2 internal prototype to avoid an error. */
9586 /* We use char because int might match the return type of a gcc2 9677 /* We use char because int might match the return type of a gcc2
9587 builtin and then its argument prototype would still apply. */ 9678 builtin and then its argument prototype would still apply. */
9588 char kvm_read(); 9679 char kvm_read();
9589 9680
9590 int main() { 9681 int main() {
9591 kvm_read() 9682 kvm_read()
9592 ; return 0; } 9683 ; return 0; }
9593 EOF 9684 EOF
9594 if { (eval echo configure:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9685 if { (eval echo configure:9686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9595 rm -rf conftest* 9686 rm -rf conftest*
9596 eval "ac_cv_lib_$ac_lib_var=yes" 9687 eval "ac_cv_lib_$ac_lib_var=yes"
9597 else 9688 else
9598 echo "configure: failed program was:" >&5 9689 echo "configure: failed program was:" >&5
9599 cat conftest.$ac_ext >&5 9690 cat conftest.$ac_ext >&5
9623 9714
9624 9715
9625 fi 9716 fi
9626 9717
9627 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 9718 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
9628 echo "configure:9629: checking whether netdb declares h_errno" >&5 9719 echo "configure:9720: checking whether netdb declares h_errno" >&5
9629 cat > conftest.$ac_ext <<EOF 9720 cat > conftest.$ac_ext <<EOF
9630 #line 9631 "configure" 9721 #line 9722 "configure"
9631 #include "confdefs.h" 9722 #include "confdefs.h"
9632 #include <netdb.h> 9723 #include <netdb.h>
9633 int main() { 9724 int main() {
9634 return h_errno; 9725 return h_errno;
9635 ; return 0; } 9726 ; return 0; }
9636 EOF 9727 EOF
9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9638 rm -rf conftest* 9729 rm -rf conftest*
9639 echo "$ac_t""yes" 1>&6 9730 echo "$ac_t""yes" 1>&6
9640 { test "$extra_verbose" = "yes" && cat << \EOF 9731 { test "$extra_verbose" = "yes" && cat << \EOF
9641 Defining HAVE_H_ERRNO 9732 Defining HAVE_H_ERRNO
9642 EOF 9733 EOF
9652 echo "$ac_t""no" 1>&6 9743 echo "$ac_t""no" 1>&6
9653 fi 9744 fi
9654 rm -f conftest* 9745 rm -f conftest*
9655 9746
9656 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 9747 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
9657 echo "configure:9658: checking for sigsetjmp" >&5 9748 echo "configure:9749: checking for sigsetjmp" >&5
9658 cat > conftest.$ac_ext <<EOF 9749 cat > conftest.$ac_ext <<EOF
9659 #line 9660 "configure" 9750 #line 9751 "configure"
9660 #include "confdefs.h" 9751 #include "confdefs.h"
9661 #include <setjmp.h> 9752 #include <setjmp.h>
9662 int main() { 9753 int main() {
9663 sigjmp_buf bar; sigsetjmp (bar, 0); 9754 sigjmp_buf bar; sigsetjmp (bar, 0);
9664 ; return 0; } 9755 ; return 0; }
9665 EOF 9756 EOF
9666 if { (eval echo configure:9667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9757 if { (eval echo configure:9758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9667 rm -rf conftest* 9758 rm -rf conftest*
9668 echo "$ac_t""yes" 1>&6 9759 echo "$ac_t""yes" 1>&6
9669 { test "$extra_verbose" = "yes" && cat << \EOF 9760 { test "$extra_verbose" = "yes" && cat << \EOF
9670 Defining HAVE_SIGSETJMP 9761 Defining HAVE_SIGSETJMP
9671 EOF 9762 EOF
9681 echo "$ac_t""no" 1>&6 9772 echo "$ac_t""no" 1>&6
9682 fi 9773 fi
9683 rm -f conftest* 9774 rm -f conftest*
9684 9775
9685 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 9776 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
9686 echo "configure:9687: checking whether localtime caches TZ" >&5 9777 echo "configure:9778: checking whether localtime caches TZ" >&5
9687 9778
9688 if test "$ac_cv_func_tzset" = "yes"; then 9779 if test "$ac_cv_func_tzset" = "yes"; then
9689 cat > conftest.$ac_ext <<EOF 9780 cat > conftest.$ac_ext <<EOF
9690 #line 9691 "configure" 9781 #line 9782 "configure"
9691 #include "confdefs.h" 9782 #include "confdefs.h"
9692 #include <time.h> 9783 #include <time.h>
9693 #if STDC_HEADERS 9784 #if STDC_HEADERS
9694 # include <stdlib.h> 9785 # include <stdlib.h>
9695 #endif 9786 #endif
9720 if (localtime (&now)->tm_hour != hour_unset) 9811 if (localtime (&now)->tm_hour != hour_unset)
9721 exit (1); 9812 exit (1);
9722 exit (0); 9813 exit (0);
9723 } 9814 }
9724 EOF 9815 EOF
9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9816 if { (eval echo configure:9817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9726 then 9817 then
9727 emacs_cv_localtime_cache=no 9818 emacs_cv_localtime_cache=no
9728 else 9819 else
9729 conftest_rc="$?" 9820 conftest_rc="$?"
9730 echo "configure: failed program was:" >&5 9821 echo "configure: failed program was:" >&5
9750 9841
9751 fi 9842 fi
9752 9843
9753 if test "$HAVE_TIMEVAL" = "yes"; then 9844 if test "$HAVE_TIMEVAL" = "yes"; then
9754 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 9845 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
9755 echo "configure:9756: checking whether gettimeofday accepts one or two arguments" >&5 9846 echo "configure:9847: checking whether gettimeofday accepts one or two arguments" >&5
9756 cat > conftest.$ac_ext <<EOF 9847 cat > conftest.$ac_ext <<EOF
9757 #line 9758 "configure" 9848 #line 9849 "configure"
9758 #include "confdefs.h" 9849 #include "confdefs.h"
9759 9850
9760 #ifdef TIME_WITH_SYS_TIME 9851 #ifdef TIME_WITH_SYS_TIME
9761 #include <sys/time.h> 9852 #include <sys/time.h>
9762 #include <time.h> 9853 #include <time.h>
9774 struct timezone dummy; 9865 struct timezone dummy;
9775 gettimeofday (&time, &dummy); 9866 gettimeofday (&time, &dummy);
9776 9867
9777 ; return 0; } 9868 ; return 0; }
9778 EOF 9869 EOF
9779 if { (eval echo configure:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9870 if { (eval echo configure:9871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9780 rm -rf conftest* 9871 rm -rf conftest*
9781 echo "$ac_t""two" 1>&6 9872 echo "$ac_t""two" 1>&6
9782 else 9873 else
9783 echo "configure: failed program was:" >&5 9874 echo "configure: failed program was:" >&5
9784 cat conftest.$ac_ext >&5 9875 cat conftest.$ac_ext >&5
9796 rm -f conftest* 9887 rm -f conftest*
9797 fi 9888 fi
9798 9889
9799 9890
9800 echo $ac_n "checking for inline""... $ac_c" 1>&6 9891 echo $ac_n "checking for inline""... $ac_c" 1>&6
9801 echo "configure:9802: checking for inline" >&5 9892 echo "configure:9893: checking for inline" >&5
9802 9893
9803 ac_cv_c_inline=no 9894 ac_cv_c_inline=no
9804 for ac_kw in inline __inline__ __inline; do 9895 for ac_kw in inline __inline__ __inline; do
9805 cat > conftest.$ac_ext <<EOF 9896 cat > conftest.$ac_ext <<EOF
9806 #line 9807 "configure" 9897 #line 9898 "configure"
9807 #include "confdefs.h" 9898 #include "confdefs.h"
9808 9899
9809 int main() { 9900 int main() {
9810 } $ac_kw foo() { 9901 } $ac_kw foo() {
9811 ; return 0; } 9902 ; return 0; }
9812 EOF 9903 EOF
9813 if { (eval echo configure:9814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9904 if { (eval echo configure:9905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9814 rm -rf conftest* 9905 rm -rf conftest*
9815 ac_cv_c_inline=$ac_kw; break 9906 ac_cv_c_inline=$ac_kw; break
9816 else 9907 else
9817 echo "configure: failed program was:" >&5 9908 echo "configure: failed program was:" >&5
9818 cat conftest.$ac_ext >&5 9909 cat conftest.$ac_ext >&5
9858 9949
9859 9950
9860 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 9951 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9861 # for constant arguments. Useless! 9952 # for constant arguments. Useless!
9862 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 9953 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
9863 echo "configure:9864: checking for working alloca.h" >&5 9954 echo "configure:9955: checking for working alloca.h" >&5
9864 9955
9865 cat > conftest.$ac_ext <<EOF 9956 cat > conftest.$ac_ext <<EOF
9866 #line 9867 "configure" 9957 #line 9958 "configure"
9867 #include "confdefs.h" 9958 #include "confdefs.h"
9868 #include <alloca.h> 9959 #include <alloca.h>
9869 int main() { 9960 int main() {
9870 char *p = alloca(2 * sizeof(int)); 9961 char *p = alloca(2 * sizeof(int));
9871 ; return 0; } 9962 ; return 0; }
9872 EOF 9963 EOF
9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9964 if { (eval echo configure:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9874 rm -rf conftest* 9965 rm -rf conftest*
9875 ac_cv_header_alloca_h=yes 9966 ac_cv_header_alloca_h=yes
9876 else 9967 else
9877 echo "configure: failed program was:" >&5 9968 echo "configure: failed program was:" >&5
9878 cat conftest.$ac_ext >&5 9969 cat conftest.$ac_ext >&5
9892 } 9983 }
9893 9984
9894 fi 9985 fi
9895 9986
9896 echo $ac_n "checking for alloca""... $ac_c" 1>&6 9987 echo $ac_n "checking for alloca""... $ac_c" 1>&6
9897 echo "configure:9898: checking for alloca" >&5 9988 echo "configure:9989: checking for alloca" >&5
9898 9989
9899 cat > conftest.$ac_ext <<EOF 9990 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure" 9991 #line 9992 "configure"
9901 #include "confdefs.h" 9992 #include "confdefs.h"
9902 9993
9903 #ifdef __GNUC__ 9994 #ifdef __GNUC__
9904 # define alloca __builtin_alloca 9995 # define alloca __builtin_alloca
9905 #else 9996 #else
9923 10014
9924 int main() { 10015 int main() {
9925 char *p = (char *) alloca(1); 10016 char *p = (char *) alloca(1);
9926 ; return 0; } 10017 ; return 0; }
9927 EOF 10018 EOF
9928 if { (eval echo configure:9929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10019 if { (eval echo configure:10020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9929 rm -rf conftest* 10020 rm -rf conftest*
9930 ac_cv_func_alloca_works=yes 10021 ac_cv_func_alloca_works=yes
9931 else 10022 else
9932 echo "configure: failed program was:" >&5 10023 echo "configure: failed program was:" >&5
9933 cat conftest.$ac_ext >&5 10024 cat conftest.$ac_ext >&5
9962 EOF 10053 EOF
9963 } 10054 }
9964 10055
9965 10056
9966 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 10057 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
9967 echo "configure:9968: checking whether alloca needs Cray hooks" >&5 10058 echo "configure:10059: checking whether alloca needs Cray hooks" >&5
9968 10059
9969 cat > conftest.$ac_ext <<EOF 10060 cat > conftest.$ac_ext <<EOF
9970 #line 9971 "configure" 10061 #line 10062 "configure"
9971 #include "confdefs.h" 10062 #include "confdefs.h"
9972 #if defined(CRAY) && ! defined(CRAY2) 10063 #if defined(CRAY) && ! defined(CRAY2)
9973 webecray 10064 webecray
9974 #else 10065 #else
9975 wenotbecray 10066 wenotbecray
9989 10080
9990 echo "$ac_t""$ac_cv_os_cray" 1>&6 10081 echo "$ac_t""$ac_cv_os_cray" 1>&6
9991 if test $ac_cv_os_cray = yes; then 10082 if test $ac_cv_os_cray = yes; then
9992 for ac_func in _getb67 GETB67 getb67; do 10083 for ac_func in _getb67 GETB67 getb67; do
9993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9994 echo "configure:9995: checking for $ac_func" >&5 10085 echo "configure:10086: checking for $ac_func" >&5
9995 10086
9996 cat > conftest.$ac_ext <<EOF 10087 cat > conftest.$ac_ext <<EOF
9997 #line 9998 "configure" 10088 #line 10089 "configure"
9998 #include "confdefs.h" 10089 #include "confdefs.h"
9999 /* System header to define __stub macros and hopefully few prototypes, 10090 /* System header to define __stub macros and hopefully few prototypes,
10000 which can conflict with char $ac_func(); below. */ 10091 which can conflict with char $ac_func(); below. */
10001 #include <assert.h> 10092 #include <assert.h>
10002 /* Override any gcc2 internal prototype to avoid an error. */ 10093 /* Override any gcc2 internal prototype to avoid an error. */
10015 $ac_func(); 10106 $ac_func();
10016 #endif 10107 #endif
10017 10108
10018 ; return 0; } 10109 ; return 0; }
10019 EOF 10110 EOF
10020 if { (eval echo configure:10021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10021 rm -rf conftest* 10112 rm -rf conftest*
10022 eval "ac_cv_func_$ac_func=yes" 10113 eval "ac_cv_func_$ac_func=yes"
10023 else 10114 else
10024 echo "configure: failed program was:" >&5 10115 echo "configure: failed program was:" >&5
10025 cat conftest.$ac_ext >&5 10116 cat conftest.$ac_ext >&5
10045 10136
10046 done 10137 done
10047 fi 10138 fi
10048 10139
10049 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 10140 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
10050 echo "configure:10051: checking stack direction for C alloca" >&5 10141 echo "configure:10142: checking stack direction for C alloca" >&5
10051 10142
10052 cat > conftest.$ac_ext <<EOF 10143 cat > conftest.$ac_ext <<EOF
10053 #line 10054 "configure" 10144 #line 10145 "configure"
10054 #include "confdefs.h" 10145 #include "confdefs.h"
10055 find_stack_direction () 10146 find_stack_direction ()
10056 { 10147 {
10057 static char *addr = 0; 10148 static char *addr = 0;
10058 auto char dummy; 10149 auto char dummy;
10067 main () 10158 main ()
10068 { 10159 {
10069 exit (find_stack_direction() < 0); 10160 exit (find_stack_direction() < 0);
10070 } 10161 }
10071 EOF 10162 EOF
10072 if { (eval echo configure:10073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10163 if { (eval echo configure:10164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10073 then 10164 then
10074 ac_cv_c_stack_direction=1 10165 ac_cv_c_stack_direction=1
10075 else 10166 else
10076 conftest_rc="$?" 10167 conftest_rc="$?"
10077 echo "configure: failed program was:" >&5 10168 echo "configure: failed program was:" >&5
10096 echo " xemacs will be linked with \"$ALLOCA\"" 10187 echo " xemacs will be linked with \"$ALLOCA\""
10097 fi 10188 fi
10098 10189
10099 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 10190 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
10100 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 10191 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
10101 echo "configure:10102: checking for vfork.h" >&5 10192 echo "configure:10193: checking for vfork.h" >&5
10102 10193
10103 cat > conftest.$ac_ext <<EOF 10194 cat > conftest.$ac_ext <<EOF
10104 #line 10105 "configure" 10195 #line 10196 "configure"
10105 #include "confdefs.h" 10196 #include "confdefs.h"
10106 #include <vfork.h> 10197 #include <vfork.h>
10107 EOF 10198 EOF
10108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10109 { (eval echo configure:10110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10200 { (eval echo configure:10201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10111 if test -z "$ac_err"; then 10202 if test -z "$ac_err"; then
10112 rm -rf conftest* 10203 rm -rf conftest*
10113 eval "ac_cv_header_$ac_safe=yes" 10204 eval "ac_cv_header_$ac_safe=yes"
10114 else 10205 else
10132 else 10223 else
10133 echo "$ac_t""no" 1>&6 10224 echo "$ac_t""no" 1>&6
10134 fi 10225 fi
10135 10226
10136 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 10227 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
10137 echo "configure:10138: checking for working vfork" >&5 10228 echo "configure:10229: checking for working vfork" >&5
10138 10229
10139 cat > conftest.$ac_ext <<EOF 10230 cat > conftest.$ac_ext <<EOF
10140 #line 10141 "configure" 10231 #line 10232 "configure"
10141 #include "confdefs.h" 10232 #include "confdefs.h"
10142 /* Thanks to Paul Eggert for this test. */ 10233 /* Thanks to Paul Eggert for this test. */
10143 #include <stdio.h> 10234 #include <stdio.h>
10144 #include <sys/types.h> 10235 #include <sys/types.h>
10145 #include <sys/stat.h> 10236 #include <sys/stat.h>
10230 || fstat(fileno(stdout), &st) != 0 10321 || fstat(fileno(stdout), &st) != 0
10231 ); 10322 );
10232 } 10323 }
10233 } 10324 }
10234 EOF 10325 EOF
10235 if { (eval echo configure:10236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10326 if { (eval echo configure:10327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10236 then 10327 then
10237 ac_cv_func_vfork_works=yes 10328 ac_cv_func_vfork_works=yes
10238 else 10329 else
10239 conftest_rc="$?" 10330 conftest_rc="$?"
10240 echo "configure: failed program was:" >&5 10331 echo "configure: failed program was:" >&5
10256 10347
10257 fi 10348 fi
10258 10349
10259 10350
10260 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 10351 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
10261 echo "configure:10262: checking for working strcoll" >&5 10352 echo "configure:10353: checking for working strcoll" >&5
10262 10353
10263 cat > conftest.$ac_ext <<EOF 10354 cat > conftest.$ac_ext <<EOF
10264 #line 10265 "configure" 10355 #line 10356 "configure"
10265 #include "confdefs.h" 10356 #include "confdefs.h"
10266 #include <string.h> 10357 #include <string.h>
10267 main () 10358 main ()
10268 { 10359 {
10269 exit (strcoll ("abc", "def") >= 0 || 10360 exit (strcoll ("abc", "def") >= 0 ||
10270 strcoll ("ABC", "DEF") >= 0 || 10361 strcoll ("ABC", "DEF") >= 0 ||
10271 strcoll ("123", "456") >= 0); 10362 strcoll ("123", "456") >= 0);
10272 } 10363 }
10273 EOF 10364 EOF
10274 if { (eval echo configure:10275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10365 if { (eval echo configure:10366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10275 then 10366 then
10276 ac_cv_func_strcoll_works=yes 10367 ac_cv_func_strcoll_works=yes
10277 else 10368 else
10278 conftest_rc="$?" 10369 conftest_rc="$?"
10279 echo "configure: failed program was:" >&5 10370 echo "configure: failed program was:" >&5
10297 10388
10298 10389
10299 for ac_func in getpgrp 10390 for ac_func in getpgrp
10300 do 10391 do
10301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10302 echo "configure:10303: checking for $ac_func" >&5 10393 echo "configure:10394: checking for $ac_func" >&5
10303 10394
10304 cat > conftest.$ac_ext <<EOF 10395 cat > conftest.$ac_ext <<EOF
10305 #line 10306 "configure" 10396 #line 10397 "configure"
10306 #include "confdefs.h" 10397 #include "confdefs.h"
10307 /* System header to define __stub macros and hopefully few prototypes, 10398 /* System header to define __stub macros and hopefully few prototypes,
10308 which can conflict with char $ac_func(); below. */ 10399 which can conflict with char $ac_func(); below. */
10309 #include <assert.h> 10400 #include <assert.h>
10310 /* Override any gcc2 internal prototype to avoid an error. */ 10401 /* Override any gcc2 internal prototype to avoid an error. */
10323 $ac_func(); 10414 $ac_func();
10324 #endif 10415 #endif
10325 10416
10326 ; return 0; } 10417 ; return 0; }
10327 EOF 10418 EOF
10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10329 rm -rf conftest* 10420 rm -rf conftest*
10330 eval "ac_cv_func_$ac_func=yes" 10421 eval "ac_cv_func_$ac_func=yes"
10331 else 10422 else
10332 echo "configure: failed program was:" >&5 10423 echo "configure: failed program was:" >&5
10333 cat conftest.$ac_ext >&5 10424 cat conftest.$ac_ext >&5
10351 echo "$ac_t""no" 1>&6 10442 echo "$ac_t""no" 1>&6
10352 fi 10443 fi
10353 done 10444 done
10354 10445
10355 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 10446 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
10356 echo "configure:10357: checking whether getpgrp takes no argument" >&5 10447 echo "configure:10448: checking whether getpgrp takes no argument" >&5
10357 10448
10358 cat > conftest.$ac_ext <<EOF 10449 cat > conftest.$ac_ext <<EOF
10359 #line 10360 "configure" 10450 #line 10451 "configure"
10360 #include "confdefs.h" 10451 #include "confdefs.h"
10361 10452
10362 /* 10453 /*
10363 * If this system has a BSD-style getpgrp(), 10454 * If this system has a BSD-style getpgrp(),
10364 * which takes a pid argument, exit unsuccessfully. 10455 * which takes a pid argument, exit unsuccessfully.
10409 exit(s>>8); 10500 exit(s>>8);
10410 } 10501 }
10411 } 10502 }
10412 10503
10413 EOF 10504 EOF
10414 if { (eval echo configure:10415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10505 if { (eval echo configure:10506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10415 then 10506 then
10416 ac_cv_func_getpgrp_void=yes 10507 ac_cv_func_getpgrp_void=yes
10417 else 10508 else
10418 conftest_rc="$?" 10509 conftest_rc="$?"
10419 echo "configure: failed program was:" >&5 10510 echo "configure: failed program was:" >&5
10436 10527
10437 fi 10528 fi
10438 10529
10439 10530
10440 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 10531 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
10441 echo "configure:10442: checking for working mmap" >&5 10532 echo "configure:10533: checking for working mmap" >&5
10442 case "$opsys" in ultrix* ) have_mmap=no ;; *) 10533 case "$opsys" in ultrix* ) have_mmap=no ;; *)
10443 cat > conftest.$ac_ext <<EOF 10534 cat > conftest.$ac_ext <<EOF
10444 #line 10445 "configure" 10535 #line 10536 "configure"
10445 #include "confdefs.h" 10536 #include "confdefs.h"
10446 #include <stdio.h> 10537 #include <stdio.h>
10447 #include <unistd.h> 10538 #include <unistd.h>
10448 #include <fcntl.h> 10539 #include <fcntl.h>
10449 #include <sys/mman.h> 10540 #include <sys/mman.h>
10472 return 0; 10563 return 0;
10473 perror ("conftest: mmap failed"); 10564 perror ("conftest: mmap failed");
10474 return 1; 10565 return 1;
10475 } 10566 }
10476 EOF 10567 EOF
10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10478 then 10569 then
10479 have_mmap=yes 10570 have_mmap=yes
10480 else 10571 else
10481 conftest_rc="$?" 10572 conftest_rc="$?"
10482 echo "configure: failed program was:" >&5 10573 echo "configure: failed program was:" >&5
10507 } 10598 }
10508 10599
10509 10600
10510 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 10601 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
10511 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 10602 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
10512 echo "configure:10513: checking for termios.h" >&5 10603 echo "configure:10604: checking for termios.h" >&5
10513 10604
10514 cat > conftest.$ac_ext <<EOF 10605 cat > conftest.$ac_ext <<EOF
10515 #line 10516 "configure" 10606 #line 10607 "configure"
10516 #include "confdefs.h" 10607 #include "confdefs.h"
10517 #include <termios.h> 10608 #include <termios.h>
10518 EOF 10609 EOF
10519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10520 { (eval echo configure:10521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10611 { (eval echo configure:10612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10522 if test -z "$ac_err"; then 10613 if test -z "$ac_err"; then
10523 rm -rf conftest* 10614 rm -rf conftest*
10524 eval "ac_cv_header_$ac_safe=yes" 10615 eval "ac_cv_header_$ac_safe=yes"
10525 else 10616 else
10558 10649
10559 else 10650 else
10560 echo "$ac_t""no" 1>&6 10651 echo "$ac_t""no" 1>&6
10561 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 10652 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
10562 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 10653 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
10563 echo "configure:10564: checking for termio.h" >&5 10654 echo "configure:10655: checking for termio.h" >&5
10564 10655
10565 cat > conftest.$ac_ext <<EOF 10656 cat > conftest.$ac_ext <<EOF
10566 #line 10567 "configure" 10657 #line 10658 "configure"
10567 #include "confdefs.h" 10658 #include "confdefs.h"
10568 #include <termio.h> 10659 #include <termio.h>
10569 EOF 10660 EOF
10570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10571 { (eval echo configure:10572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10662 { (eval echo configure:10663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10573 if test -z "$ac_err"; then 10664 if test -z "$ac_err"; then
10574 rm -rf conftest* 10665 rm -rf conftest*
10575 eval "ac_cv_header_$ac_safe=yes" 10666 eval "ac_cv_header_$ac_safe=yes"
10576 else 10667 else
10598 fi 10689 fi
10599 10690
10600 10691
10601 10692
10602 echo $ac_n "checking for socket""... $ac_c" 1>&6 10693 echo $ac_n "checking for socket""... $ac_c" 1>&6
10603 echo "configure:10604: checking for socket" >&5 10694 echo "configure:10695: checking for socket" >&5
10604 10695
10605 cat > conftest.$ac_ext <<EOF 10696 cat > conftest.$ac_ext <<EOF
10606 #line 10607 "configure" 10697 #line 10698 "configure"
10607 #include "confdefs.h" 10698 #include "confdefs.h"
10608 /* System header to define __stub macros and hopefully few prototypes, 10699 /* System header to define __stub macros and hopefully few prototypes,
10609 which can conflict with char socket(); below. */ 10700 which can conflict with char socket(); below. */
10610 #include <assert.h> 10701 #include <assert.h>
10611 /* Override any gcc2 internal prototype to avoid an error. */ 10702 /* Override any gcc2 internal prototype to avoid an error. */
10624 socket(); 10715 socket();
10625 #endif 10716 #endif
10626 10717
10627 ; return 0; } 10718 ; return 0; }
10628 EOF 10719 EOF
10629 if { (eval echo configure:10630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10720 if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10630 rm -rf conftest* 10721 rm -rf conftest*
10631 eval "ac_cv_func_socket=yes" 10722 eval "ac_cv_func_socket=yes"
10632 else 10723 else
10633 echo "configure: failed program was:" >&5 10724 echo "configure: failed program was:" >&5
10634 cat conftest.$ac_ext >&5 10725 cat conftest.$ac_ext >&5
10639 10730
10640 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 10731 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
10641 echo "$ac_t""yes" 1>&6 10732 echo "$ac_t""yes" 1>&6
10642 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 10733 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
10643 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 10734 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
10644 echo "configure:10645: checking for netinet/in.h" >&5 10735 echo "configure:10736: checking for netinet/in.h" >&5
10645 10736
10646 cat > conftest.$ac_ext <<EOF 10737 cat > conftest.$ac_ext <<EOF
10647 #line 10648 "configure" 10738 #line 10739 "configure"
10648 #include "confdefs.h" 10739 #include "confdefs.h"
10649 #include <netinet/in.h> 10740 #include <netinet/in.h>
10650 EOF 10741 EOF
10651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10652 { (eval echo configure:10653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10743 { (eval echo configure:10744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10654 if test -z "$ac_err"; then 10745 if test -z "$ac_err"; then
10655 rm -rf conftest* 10746 rm -rf conftest*
10656 eval "ac_cv_header_$ac_safe=yes" 10747 eval "ac_cv_header_$ac_safe=yes"
10657 else 10748 else
10664 rm -f conftest* 10755 rm -f conftest*
10665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10666 echo "$ac_t""yes" 1>&6 10757 echo "$ac_t""yes" 1>&6
10667 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 10758 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
10668 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 10759 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
10669 echo "configure:10670: checking for arpa/inet.h" >&5 10760 echo "configure:10761: checking for arpa/inet.h" >&5
10670 10761
10671 cat > conftest.$ac_ext <<EOF 10762 cat > conftest.$ac_ext <<EOF
10672 #line 10673 "configure" 10763 #line 10764 "configure"
10673 #include "confdefs.h" 10764 #include "confdefs.h"
10674 #include <arpa/inet.h> 10765 #include <arpa/inet.h>
10675 EOF 10766 EOF
10676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10677 { (eval echo configure:10678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10768 { (eval echo configure:10769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10679 if test -z "$ac_err"; then 10770 if test -z "$ac_err"; then
10680 rm -rf conftest* 10771 rm -rf conftest*
10681 eval "ac_cv_header_$ac_safe=yes" 10772 eval "ac_cv_header_$ac_safe=yes"
10682 else 10773 else
10697 #define HAVE_SOCKETS 1 10788 #define HAVE_SOCKETS 1
10698 EOF 10789 EOF
10699 } 10790 }
10700 10791
10701 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 10792 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
10702 echo "configure:10703: checking "for sun_len member in struct sockaddr_un"" >&5 10793 echo "configure:10794: checking "for sun_len member in struct sockaddr_un"" >&5
10703 cat > conftest.$ac_ext <<EOF 10794 cat > conftest.$ac_ext <<EOF
10704 #line 10705 "configure" 10795 #line 10796 "configure"
10705 #include "confdefs.h" 10796 #include "confdefs.h"
10706 10797
10707 #include <sys/types.h> 10798 #include <sys/types.h>
10708 #include <sys/socket.h> 10799 #include <sys/socket.h>
10709 #include <sys/un.h> 10800 #include <sys/un.h>
10710 10801
10711 int main() { 10802 int main() {
10712 static struct sockaddr_un x; x.sun_len = 1; 10803 static struct sockaddr_un x; x.sun_len = 1;
10713 ; return 0; } 10804 ; return 0; }
10714 EOF 10805 EOF
10715 if { (eval echo configure:10716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10806 if { (eval echo configure:10807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10716 rm -rf conftest* 10807 rm -rf conftest*
10717 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 10808 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
10718 Defining HAVE_SOCKADDR_SUN_LEN 10809 Defining HAVE_SOCKADDR_SUN_LEN
10719 EOF 10810 EOF
10720 cat >> confdefs.h <<\EOF 10811 cat >> confdefs.h <<\EOF
10728 rm -rf conftest* 10819 rm -rf conftest*
10729 echo "$ac_t""no" 1>&6 10820 echo "$ac_t""no" 1>&6
10730 fi 10821 fi
10731 rm -f conftest* 10822 rm -f conftest*
10732 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 10823 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
10733 echo "configure:10734: checking "for ip_mreq struct in netinet/in.h"" >&5 10824 echo "configure:10825: checking "for ip_mreq struct in netinet/in.h"" >&5
10734 cat > conftest.$ac_ext <<EOF 10825 cat > conftest.$ac_ext <<EOF
10735 #line 10736 "configure" 10826 #line 10827 "configure"
10736 #include "confdefs.h" 10827 #include "confdefs.h"
10737 10828
10738 #include <sys/types.h> 10829 #include <sys/types.h>
10739 #include <netinet/in.h> 10830 #include <netinet/in.h>
10740 10831
10741 int main() { 10832 int main() {
10742 static struct ip_mreq x; 10833 static struct ip_mreq x;
10743 ; return 0; } 10834 ; return 0; }
10744 EOF 10835 EOF
10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10836 if { (eval echo configure:10837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10746 rm -rf conftest* 10837 rm -rf conftest*
10747 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 10838 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
10748 Defining HAVE_MULTICAST 10839 Defining HAVE_MULTICAST
10749 EOF 10840 EOF
10750 cat >> confdefs.h <<\EOF 10841 cat >> confdefs.h <<\EOF
10771 echo "$ac_t""no" 1>&6 10862 echo "$ac_t""no" 1>&6
10772 fi 10863 fi
10773 10864
10774 10865
10775 echo $ac_n "checking for msgget""... $ac_c" 1>&6 10866 echo $ac_n "checking for msgget""... $ac_c" 1>&6
10776 echo "configure:10777: checking for msgget" >&5 10867 echo "configure:10868: checking for msgget" >&5
10777 10868
10778 cat > conftest.$ac_ext <<EOF 10869 cat > conftest.$ac_ext <<EOF
10779 #line 10780 "configure" 10870 #line 10871 "configure"
10780 #include "confdefs.h" 10871 #include "confdefs.h"
10781 /* System header to define __stub macros and hopefully few prototypes, 10872 /* System header to define __stub macros and hopefully few prototypes,
10782 which can conflict with char msgget(); below. */ 10873 which can conflict with char msgget(); below. */
10783 #include <assert.h> 10874 #include <assert.h>
10784 /* Override any gcc2 internal prototype to avoid an error. */ 10875 /* Override any gcc2 internal prototype to avoid an error. */
10797 msgget(); 10888 msgget();
10798 #endif 10889 #endif
10799 10890
10800 ; return 0; } 10891 ; return 0; }
10801 EOF 10892 EOF
10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10893 if { (eval echo configure:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10803 rm -rf conftest* 10894 rm -rf conftest*
10804 eval "ac_cv_func_msgget=yes" 10895 eval "ac_cv_func_msgget=yes"
10805 else 10896 else
10806 echo "configure: failed program was:" >&5 10897 echo "configure: failed program was:" >&5
10807 cat conftest.$ac_ext >&5 10898 cat conftest.$ac_ext >&5
10812 10903
10813 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 10904 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
10814 echo "$ac_t""yes" 1>&6 10905 echo "$ac_t""yes" 1>&6
10815 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 10906 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
10816 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 10907 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
10817 echo "configure:10818: checking for sys/ipc.h" >&5 10908 echo "configure:10909: checking for sys/ipc.h" >&5
10818 10909
10819 cat > conftest.$ac_ext <<EOF 10910 cat > conftest.$ac_ext <<EOF
10820 #line 10821 "configure" 10911 #line 10912 "configure"
10821 #include "confdefs.h" 10912 #include "confdefs.h"
10822 #include <sys/ipc.h> 10913 #include <sys/ipc.h>
10823 EOF 10914 EOF
10824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10825 { (eval echo configure:10826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10916 { (eval echo configure:10917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10827 if test -z "$ac_err"; then 10918 if test -z "$ac_err"; then
10828 rm -rf conftest* 10919 rm -rf conftest*
10829 eval "ac_cv_header_$ac_safe=yes" 10920 eval "ac_cv_header_$ac_safe=yes"
10830 else 10921 else
10837 rm -f conftest* 10928 rm -f conftest*
10838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10839 echo "$ac_t""yes" 1>&6 10930 echo "$ac_t""yes" 1>&6
10840 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 10931 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
10841 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 10932 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
10842 echo "configure:10843: checking for sys/msg.h" >&5 10933 echo "configure:10934: checking for sys/msg.h" >&5
10843 10934
10844 cat > conftest.$ac_ext <<EOF 10935 cat > conftest.$ac_ext <<EOF
10845 #line 10846 "configure" 10936 #line 10937 "configure"
10846 #include "confdefs.h" 10937 #include "confdefs.h"
10847 #include <sys/msg.h> 10938 #include <sys/msg.h>
10848 EOF 10939 EOF
10849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10850 { (eval echo configure:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10941 { (eval echo configure:10942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10852 if test -z "$ac_err"; then 10943 if test -z "$ac_err"; then
10853 rm -rf conftest* 10944 rm -rf conftest*
10854 eval "ac_cv_header_$ac_safe=yes" 10945 eval "ac_cv_header_$ac_safe=yes"
10855 else 10946 else
10883 fi 10974 fi
10884 10975
10885 10976
10886 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 10977 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
10887 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 10978 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
10888 echo "configure:10889: checking for dirent.h" >&5 10979 echo "configure:10980: checking for dirent.h" >&5
10889 10980
10890 cat > conftest.$ac_ext <<EOF 10981 cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure" 10982 #line 10983 "configure"
10892 #include "confdefs.h" 10983 #include "confdefs.h"
10893 #include <dirent.h> 10984 #include <dirent.h>
10894 EOF 10985 EOF
10895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10896 { (eval echo configure:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10987 { (eval echo configure:10988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10898 if test -z "$ac_err"; then 10989 if test -z "$ac_err"; then
10899 rm -rf conftest* 10990 rm -rf conftest*
10900 eval "ac_cv_header_$ac_safe=yes" 10991 eval "ac_cv_header_$ac_safe=yes"
10901 else 10992 else
10918 11009
10919 else 11010 else
10920 echo "$ac_t""no" 1>&6 11011 echo "$ac_t""no" 1>&6
10921 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 11012 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
10922 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 11013 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
10923 echo "configure:10924: checking for sys/dir.h" >&5 11014 echo "configure:11015: checking for sys/dir.h" >&5
10924 11015
10925 cat > conftest.$ac_ext <<EOF 11016 cat > conftest.$ac_ext <<EOF
10926 #line 10927 "configure" 11017 #line 11018 "configure"
10927 #include "confdefs.h" 11018 #include "confdefs.h"
10928 #include <sys/dir.h> 11019 #include <sys/dir.h>
10929 EOF 11020 EOF
10930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10931 { (eval echo configure:10932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11022 { (eval echo configure:11023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10933 if test -z "$ac_err"; then 11024 if test -z "$ac_err"; then
10934 rm -rf conftest* 11025 rm -rf conftest*
10935 eval "ac_cv_header_$ac_safe=yes" 11026 eval "ac_cv_header_$ac_safe=yes"
10936 else 11027 else
10959 fi 11050 fi
10960 11051
10961 11052
10962 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 11053 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
10963 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 11054 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
10964 echo "configure:10965: checking for nlist.h" >&5 11055 echo "configure:11056: checking for nlist.h" >&5
10965 11056
10966 cat > conftest.$ac_ext <<EOF 11057 cat > conftest.$ac_ext <<EOF
10967 #line 10968 "configure" 11058 #line 11059 "configure"
10968 #include "confdefs.h" 11059 #include "confdefs.h"
10969 #include <nlist.h> 11060 #include <nlist.h>
10970 EOF 11061 EOF
10971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10972 { (eval echo configure:10973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11063 { (eval echo configure:11064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10974 if test -z "$ac_err"; then 11065 if test -z "$ac_err"; then
10975 rm -rf conftest* 11066 rm -rf conftest*
10976 eval "ac_cv_header_$ac_safe=yes" 11067 eval "ac_cv_header_$ac_safe=yes"
10977 else 11068 else
10997 fi 11088 fi
10998 11089
10999 11090
11000 11091
11001 echo "checking "for sound support"" 1>&6 11092 echo "checking "for sound support"" 1>&6
11002 echo "configure:11003: checking "for sound support"" >&5 11093 echo "configure:11094: checking "for sound support"" >&5
11003 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 11094 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
11004 11095
11005 if test "$with_native_sound" != "no"; then 11096 if test "$with_native_sound" != "no"; then
11006 if test -n "$native_sound_lib"; then 11097 if test -n "$native_sound_lib"; then
11007 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 11098 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
11008 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 11099 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
11009 echo "configure:11010: checking for multimedia/audio_device.h" >&5 11100 echo "configure:11101: checking for multimedia/audio_device.h" >&5
11010 11101
11011 cat > conftest.$ac_ext <<EOF 11102 cat > conftest.$ac_ext <<EOF
11012 #line 11013 "configure" 11103 #line 11104 "configure"
11013 #include "confdefs.h" 11104 #include "confdefs.h"
11014 #include <multimedia/audio_device.h> 11105 #include <multimedia/audio_device.h>
11015 EOF 11106 EOF
11016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11017 { (eval echo configure:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11108 { (eval echo configure:11109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11019 if test -z "$ac_err"; then 11110 if test -z "$ac_err"; then
11020 rm -rf conftest* 11111 rm -rf conftest*
11021 eval "ac_cv_header_$ac_safe=yes" 11112 eval "ac_cv_header_$ac_safe=yes"
11022 else 11113 else
11060 case "$canonical" in 11151 case "$canonical" in
11061 *-sgi-* ) 11152 *-sgi-* )
11062 if test -z "$native_sound_lib"; then 11153 if test -z "$native_sound_lib"; then
11063 11154
11064 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 11155 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
11065 echo "configure:11066: checking for ALopenport in -laudio" >&5 11156 echo "configure:11157: checking for ALopenport in -laudio" >&5
11066 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 11157 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
11067 11158
11068 xe_check_libs=" -laudio " 11159 xe_check_libs=" -laudio "
11069 cat > conftest.$ac_ext <<EOF 11160 cat > conftest.$ac_ext <<EOF
11070 #line 11071 "configure" 11161 #line 11162 "configure"
11071 #include "confdefs.h" 11162 #include "confdefs.h"
11072 /* Override any gcc2 internal prototype to avoid an error. */ 11163 /* Override any gcc2 internal prototype to avoid an error. */
11073 /* We use char because int might match the return type of a gcc2 11164 /* We use char because int might match the return type of a gcc2
11074 builtin and then its argument prototype would still apply. */ 11165 builtin and then its argument prototype would still apply. */
11075 char ALopenport(); 11166 char ALopenport();
11076 11167
11077 int main() { 11168 int main() {
11078 ALopenport() 11169 ALopenport()
11079 ; return 0; } 11170 ; return 0; }
11080 EOF 11171 EOF
11081 if { (eval echo configure:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11172 if { (eval echo configure:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11082 rm -rf conftest* 11173 rm -rf conftest*
11083 eval "ac_cv_lib_$ac_lib_var=yes" 11174 eval "ac_cv_lib_$ac_lib_var=yes"
11084 else 11175 else
11085 echo "configure: failed program was:" >&5 11176 echo "configure: failed program was:" >&5
11086 cat conftest.$ac_ext >&5 11177 cat conftest.$ac_ext >&5
11107 fi ;; 11198 fi ;;
11108 hppa*-hp-hpux* ) 11199 hppa*-hp-hpux* )
11109 if test -z "$native_sound_lib"; then 11200 if test -z "$native_sound_lib"; then
11110 11201
11111 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 11202 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
11112 echo "configure:11113: checking for AOpenAudio in -lAlib" >&5 11203 echo "configure:11204: checking for AOpenAudio in -lAlib" >&5
11113 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 11204 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
11114 11205
11115 xe_check_libs=" -lAlib " 11206 xe_check_libs=" -lAlib "
11116 cat > conftest.$ac_ext <<EOF 11207 cat > conftest.$ac_ext <<EOF
11117 #line 11118 "configure" 11208 #line 11209 "configure"
11118 #include "confdefs.h" 11209 #include "confdefs.h"
11119 /* Override any gcc2 internal prototype to avoid an error. */ 11210 /* Override any gcc2 internal prototype to avoid an error. */
11120 /* We use char because int might match the return type of a gcc2 11211 /* We use char because int might match the return type of a gcc2
11121 builtin and then its argument prototype would still apply. */ 11212 builtin and then its argument prototype would still apply. */
11122 char AOpenAudio(); 11213 char AOpenAudio();
11123 11214
11124 int main() { 11215 int main() {
11125 AOpenAudio() 11216 AOpenAudio()
11126 ; return 0; } 11217 ; return 0; }
11127 EOF 11218 EOF
11128 if { (eval echo configure:11129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11219 if { (eval echo configure:11220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11129 rm -rf conftest* 11220 rm -rf conftest*
11130 eval "ac_cv_lib_$ac_lib_var=yes" 11221 eval "ac_cv_lib_$ac_lib_var=yes"
11131 else 11222 else
11132 echo "configure: failed program was:" >&5 11223 echo "configure: failed program was:" >&5
11133 cat conftest.$ac_ext >&5 11224 cat conftest.$ac_ext >&5
11161 11252
11162 if test -z "$sound_found"; then 11253 if test -z "$sound_found"; then
11163 for dir in "machine" "sys" "linux"; do 11254 for dir in "machine" "sys" "linux"; do
11164 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 11255 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
11165 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 11256 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
11166 echo "configure:11167: checking for ${dir}/soundcard.h" >&5 11257 echo "configure:11258: checking for ${dir}/soundcard.h" >&5
11167 11258
11168 cat > conftest.$ac_ext <<EOF 11259 cat > conftest.$ac_ext <<EOF
11169 #line 11170 "configure" 11260 #line 11261 "configure"
11170 #include "confdefs.h" 11261 #include "confdefs.h"
11171 #include <${dir}/soundcard.h> 11262 #include <${dir}/soundcard.h>
11172 EOF 11263 EOF
11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11265 { (eval echo configure:11266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11176 if test -z "$ac_err"; then 11267 if test -z "$ac_err"; then
11177 rm -rf conftest* 11268 rm -rf conftest*
11178 eval "ac_cv_header_$ac_safe=yes" 11269 eval "ac_cv_header_$ac_safe=yes"
11179 else 11270 else
11223 fi 11314 fi
11224 11315
11225 if test "$with_nas_sound" != "no"; then 11316 if test "$with_nas_sound" != "no"; then
11226 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 11317 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
11227 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 11318 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
11228 echo "configure:11229: checking for audio/audiolib.h" >&5 11319 echo "configure:11320: checking for audio/audiolib.h" >&5
11229 11320
11230 cat > conftest.$ac_ext <<EOF 11321 cat > conftest.$ac_ext <<EOF
11231 #line 11232 "configure" 11322 #line 11323 "configure"
11232 #include "confdefs.h" 11323 #include "confdefs.h"
11233 #include <audio/audiolib.h> 11324 #include <audio/audiolib.h>
11234 EOF 11325 EOF
11235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11236 { (eval echo configure:11237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11327 { (eval echo configure:11328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11238 if test -z "$ac_err"; then 11329 if test -z "$ac_err"; then
11239 rm -rf conftest* 11330 rm -rf conftest*
11240 eval "ac_cv_header_$ac_safe=yes" 11331 eval "ac_cv_header_$ac_safe=yes"
11241 else 11332 else
11249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 11340 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11250 echo "$ac_t""yes" 1>&6 11341 echo "$ac_t""yes" 1>&6
11251 11342
11252 11343
11253 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 11344 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
11254 echo "configure:11255: checking for AuOpenServer in -laudio" >&5 11345 echo "configure:11346: checking for AuOpenServer in -laudio" >&5
11255 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 11346 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
11256 11347
11257 xe_check_libs=" -laudio " 11348 xe_check_libs=" -laudio "
11258 cat > conftest.$ac_ext <<EOF 11349 cat > conftest.$ac_ext <<EOF
11259 #line 11260 "configure" 11350 #line 11351 "configure"
11260 #include "confdefs.h" 11351 #include "confdefs.h"
11261 /* Override any gcc2 internal prototype to avoid an error. */ 11352 /* Override any gcc2 internal prototype to avoid an error. */
11262 /* We use char because int might match the return type of a gcc2 11353 /* We use char because int might match the return type of a gcc2
11263 builtin and then its argument prototype would still apply. */ 11354 builtin and then its argument prototype would still apply. */
11264 char AuOpenServer(); 11355 char AuOpenServer();
11265 11356
11266 int main() { 11357 int main() {
11267 AuOpenServer() 11358 AuOpenServer()
11268 ; return 0; } 11359 ; return 0; }
11269 EOF 11360 EOF
11270 if { (eval echo configure:11271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11271 rm -rf conftest* 11362 rm -rf conftest*
11272 eval "ac_cv_lib_$ac_lib_var=yes" 11363 eval "ac_cv_lib_$ac_lib_var=yes"
11273 else 11364 else
11274 echo "configure: failed program was:" >&5 11365 echo "configure: failed program was:" >&5
11275 cat conftest.$ac_ext >&5 11366 cat conftest.$ac_ext >&5
11304 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 11395 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
11305 echo " xemacs will be linked with \"nas.o\"" 11396 echo " xemacs will be linked with \"nas.o\""
11306 fi 11397 fi
11307 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 11398 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
11308 cat > conftest.$ac_ext <<EOF 11399 cat > conftest.$ac_ext <<EOF
11309 #line 11310 "configure" 11400 #line 11401 "configure"
11310 #include "confdefs.h" 11401 #include "confdefs.h"
11311 #include <audio/Xtutil.h> 11402 #include <audio/Xtutil.h>
11312 EOF 11403 EOF
11313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11314 egrep "AuXtErrorJump" >/dev/null 2>&1; then 11405 egrep "AuXtErrorJump" >/dev/null 2>&1; then
11335 11426
11336 if test "$with_esd_sound" != "no"; then 11427 if test "$with_esd_sound" != "no"; then
11337 # Extract the first word of "esd-config", so it can be a program name with args. 11428 # Extract the first word of "esd-config", so it can be a program name with args.
11338 set dummy esd-config; ac_word=$2 11429 set dummy esd-config; ac_word=$2
11339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 11430 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11340 echo "configure:11341: checking for $ac_word" >&5 11431 echo "configure:11432: checking for $ac_word" >&5
11341 11432
11342 if test -n "$have_esd_config"; then 11433 if test -n "$have_esd_config"; then
11343 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 11434 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
11344 else 11435 else
11345 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 11436 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11364 if test "$have_esd_config" = "yes"; then 11455 if test "$have_esd_config" = "yes"; then
11365 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 11456 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
11366 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi 11457 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi
11367 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 11458 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
11368 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 11459 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
11369 echo "configure:11370: checking for esd_play_stream" >&5 11460 echo "configure:11461: checking for esd_play_stream" >&5
11370 11461
11371 cat > conftest.$ac_ext <<EOF 11462 cat > conftest.$ac_ext <<EOF
11372 #line 11373 "configure" 11463 #line 11464 "configure"
11373 #include "confdefs.h" 11464 #include "confdefs.h"
11374 /* System header to define __stub macros and hopefully few prototypes, 11465 /* System header to define __stub macros and hopefully few prototypes,
11375 which can conflict with char esd_play_stream(); below. */ 11466 which can conflict with char esd_play_stream(); below. */
11376 #include <assert.h> 11467 #include <assert.h>
11377 /* Override any gcc2 internal prototype to avoid an error. */ 11468 /* Override any gcc2 internal prototype to avoid an error. */
11390 esd_play_stream(); 11481 esd_play_stream();
11391 #endif 11482 #endif
11392 11483
11393 ; return 0; } 11484 ; return 0; }
11394 EOF 11485 EOF
11395 if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11486 if { (eval echo configure:11487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11396 rm -rf conftest* 11487 rm -rf conftest*
11397 eval "ac_cv_func_esd_play_stream=yes" 11488 eval "ac_cv_func_esd_play_stream=yes"
11398 else 11489 else
11399 echo "configure: failed program was:" >&5 11490 echo "configure: failed program was:" >&5
11400 cat conftest.$ac_ext >&5 11491 cat conftest.$ac_ext >&5
11441 11532
11442 test -z "$with_tty" && with_tty=yes 11533 test -z "$with_tty" && with_tty=yes
11443 11534
11444 if test "$with_tty" = "yes" ; then 11535 if test "$with_tty" = "yes" ; then
11445 echo "checking for TTY-related features" 1>&6 11536 echo "checking for TTY-related features" 1>&6
11446 echo "configure:11447: checking for TTY-related features" >&5 11537 echo "configure:11538: checking for TTY-related features" >&5
11447 { test "$extra_verbose" = "yes" && cat << \EOF 11538 { test "$extra_verbose" = "yes" && cat << \EOF
11448 Defining HAVE_TTY 11539 Defining HAVE_TTY
11449 EOF 11540 EOF
11450 cat >> confdefs.h <<\EOF 11541 cat >> confdefs.h <<\EOF
11451 #define HAVE_TTY 1 11542 #define HAVE_TTY 1
11457 fi 11548 fi
11458 11549
11459 if test -z "$with_ncurses"; then 11550 if test -z "$with_ncurses"; then
11460 11551
11461 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 11552 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
11462 echo "configure:11463: checking for tgetent in -lncurses" >&5 11553 echo "configure:11554: checking for tgetent in -lncurses" >&5
11463 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 11554 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
11464 11555
11465 xe_check_libs=" -lncurses " 11556 xe_check_libs=" -lncurses "
11466 cat > conftest.$ac_ext <<EOF 11557 cat > conftest.$ac_ext <<EOF
11467 #line 11468 "configure" 11558 #line 11559 "configure"
11468 #include "confdefs.h" 11559 #include "confdefs.h"
11469 /* Override any gcc2 internal prototype to avoid an error. */ 11560 /* Override any gcc2 internal prototype to avoid an error. */
11470 /* We use char because int might match the return type of a gcc2 11561 /* We use char because int might match the return type of a gcc2
11471 builtin and then its argument prototype would still apply. */ 11562 builtin and then its argument prototype would still apply. */
11472 char tgetent(); 11563 char tgetent();
11473 11564
11474 int main() { 11565 int main() {
11475 tgetent() 11566 tgetent()
11476 ; return 0; } 11567 ; return 0; }
11477 EOF 11568 EOF
11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11569 if { (eval echo configure:11570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11479 rm -rf conftest* 11570 rm -rf conftest*
11480 eval "ac_cv_lib_$ac_lib_var=yes" 11571 eval "ac_cv_lib_$ac_lib_var=yes"
11481 else 11572 else
11482 echo "configure: failed program was:" >&5 11573 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5 11574 cat conftest.$ac_ext >&5
11506 EOF 11597 EOF
11507 } 11598 }
11508 11599
11509 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 11600 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
11510 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 11601 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
11511 echo "configure:11512: checking for ncurses/curses.h" >&5 11602 echo "configure:11603: checking for ncurses/curses.h" >&5
11512 11603
11513 cat > conftest.$ac_ext <<EOF 11604 cat > conftest.$ac_ext <<EOF
11514 #line 11515 "configure" 11605 #line 11606 "configure"
11515 #include "confdefs.h" 11606 #include "confdefs.h"
11516 #include <ncurses/curses.h> 11607 #include <ncurses/curses.h>
11517 EOF 11608 EOF
11518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11519 { (eval echo configure:11520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11610 { (eval echo configure:11611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11521 if test -z "$ac_err"; then 11612 if test -z "$ac_err"; then
11522 rm -rf conftest* 11613 rm -rf conftest*
11523 eval "ac_cv_header_$ac_safe=yes" 11614 eval "ac_cv_header_$ac_safe=yes"
11524 else 11615 else
11536 echo "$ac_t""no" 1>&6 11627 echo "$ac_t""no" 1>&6
11537 fi 11628 fi
11538 11629
11539 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 11630 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
11540 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 11631 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
11541 echo "configure:11542: checking for ncurses/term.h" >&5 11632 echo "configure:11633: checking for ncurses/term.h" >&5
11542 11633
11543 cat > conftest.$ac_ext <<EOF 11634 cat > conftest.$ac_ext <<EOF
11544 #line 11545 "configure" 11635 #line 11636 "configure"
11545 #include "confdefs.h" 11636 #include "confdefs.h"
11546 #include <ncurses/term.h> 11637 #include <ncurses/term.h>
11547 EOF 11638 EOF
11548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11549 { (eval echo configure:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11640 { (eval echo configure:11641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11551 if test -z "$ac_err"; then 11642 if test -z "$ac_err"; then
11552 rm -rf conftest* 11643 rm -rf conftest*
11553 eval "ac_cv_header_$ac_safe=yes" 11644 eval "ac_cv_header_$ac_safe=yes"
11554 else 11645 else
11574 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 11665 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
11575 save_c_switch_site="$c_switch_site" 11666 save_c_switch_site="$c_switch_site"
11576 c_switch_site="$c_switch_site -I/usr/include/ncurses" 11667 c_switch_site="$c_switch_site -I/usr/include/ncurses"
11577 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 11668 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
11578 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 11669 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
11579 echo "configure:11580: checking for ncurses/curses.h" >&5 11670 echo "configure:11671: checking for ncurses/curses.h" >&5
11580 11671
11581 cat > conftest.$ac_ext <<EOF 11672 cat > conftest.$ac_ext <<EOF
11582 #line 11583 "configure" 11673 #line 11674 "configure"
11583 #include "confdefs.h" 11674 #include "confdefs.h"
11584 #include <ncurses/curses.h> 11675 #include <ncurses/curses.h>
11585 EOF 11676 EOF
11586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11587 { (eval echo configure:11588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11678 { (eval echo configure:11679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11589 if test -z "$ac_err"; then 11680 if test -z "$ac_err"; then
11590 rm -rf conftest* 11681 rm -rf conftest*
11591 eval "ac_cv_header_$ac_safe=yes" 11682 eval "ac_cv_header_$ac_safe=yes"
11592 else 11683 else
11617 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 11708 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
11618 else 11709 else
11619 for lib in curses termlib termcap; do 11710 for lib in curses termlib termcap; do
11620 11711
11621 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 11712 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
11622 echo "configure:11623: checking for tgetent in -l$lib" >&5 11713 echo "configure:11714: checking for tgetent in -l$lib" >&5
11623 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 11714 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
11624 11715
11625 xe_check_libs=" -l$lib " 11716 xe_check_libs=" -l$lib "
11626 cat > conftest.$ac_ext <<EOF 11717 cat > conftest.$ac_ext <<EOF
11627 #line 11628 "configure" 11718 #line 11719 "configure"
11628 #include "confdefs.h" 11719 #include "confdefs.h"
11629 /* Override any gcc2 internal prototype to avoid an error. */ 11720 /* Override any gcc2 internal prototype to avoid an error. */
11630 /* We use char because int might match the return type of a gcc2 11721 /* We use char because int might match the return type of a gcc2
11631 builtin and then its argument prototype would still apply. */ 11722 builtin and then its argument prototype would still apply. */
11632 char tgetent(); 11723 char tgetent();
11633 11724
11634 int main() { 11725 int main() {
11635 tgetent() 11726 tgetent()
11636 ; return 0; } 11727 ; return 0; }
11637 EOF 11728 EOF
11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11639 rm -rf conftest* 11730 rm -rf conftest*
11640 eval "ac_cv_lib_$ac_lib_var=yes" 11731 eval "ac_cv_lib_$ac_lib_var=yes"
11641 else 11732 else
11642 echo "configure: failed program was:" >&5 11733 echo "configure: failed program was:" >&5
11643 cat conftest.$ac_ext >&5 11734 cat conftest.$ac_ext >&5
11664 if test -n "$libs_termcap"; then 11755 if test -n "$libs_termcap"; then
11665 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 11756 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
11666 else 11757 else
11667 11758
11668 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 11759 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
11669 echo "configure:11670: checking for tgetent in -lcurses" >&5 11760 echo "configure:11761: checking for tgetent in -lcurses" >&5
11670 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 11761 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
11671 11762
11672 xe_check_libs=" -lcurses " 11763 xe_check_libs=" -lcurses "
11673 cat > conftest.$ac_ext <<EOF 11764 cat > conftest.$ac_ext <<EOF
11674 #line 11675 "configure" 11765 #line 11766 "configure"
11675 #include "confdefs.h" 11766 #include "confdefs.h"
11676 /* Override any gcc2 internal prototype to avoid an error. */ 11767 /* Override any gcc2 internal prototype to avoid an error. */
11677 /* We use char because int might match the return type of a gcc2 11768 /* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */ 11769 builtin and then its argument prototype would still apply. */
11679 char tgetent(); 11770 char tgetent();
11680 11771
11681 int main() { 11772 int main() {
11682 tgetent() 11773 tgetent()
11683 ; return 0; } 11774 ; return 0; }
11684 EOF 11775 EOF
11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11686 rm -rf conftest* 11777 rm -rf conftest*
11687 eval "ac_cv_lib_$ac_lib_var=yes" 11778 eval "ac_cv_lib_$ac_lib_var=yes"
11688 else 11779 else
11689 echo "configure: failed program was:" >&5 11780 echo "configure: failed program was:" >&5
11690 cat conftest.$ac_ext >&5 11781 cat conftest.$ac_ext >&5
11698 echo "$ac_t""yes" 1>&6 11789 echo "$ac_t""yes" 1>&6
11699 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 11790 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
11700 else 11791 else
11701 echo "$ac_t""no" 1>&6 11792 echo "$ac_t""no" 1>&6
11702 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 11793 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
11703 echo "configure:11704: checking for tgetent in -ltermcap" >&5 11794 echo "configure:11795: checking for tgetent in -ltermcap" >&5
11704 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 11795 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
11705 11796
11706 xe_check_libs=" -ltermcap " 11797 xe_check_libs=" -ltermcap "
11707 cat > conftest.$ac_ext <<EOF 11798 cat > conftest.$ac_ext <<EOF
11708 #line 11709 "configure" 11799 #line 11800 "configure"
11709 #include "confdefs.h" 11800 #include "confdefs.h"
11710 /* Override any gcc2 internal prototype to avoid an error. */ 11801 /* Override any gcc2 internal prototype to avoid an error. */
11711 /* We use char because int might match the return type of a gcc2 11802 /* We use char because int might match the return type of a gcc2
11712 builtin and then its argument prototype would still apply. */ 11803 builtin and then its argument prototype would still apply. */
11713 char tgetent(); 11804 char tgetent();
11714 11805
11715 int main() { 11806 int main() {
11716 tgetent() 11807 tgetent()
11717 ; return 0; } 11808 ; return 0; }
11718 EOF 11809 EOF
11719 if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11720 rm -rf conftest* 11811 rm -rf conftest*
11721 eval "ac_cv_lib_$ac_lib_var=yes" 11812 eval "ac_cv_lib_$ac_lib_var=yes"
11722 else 11813 else
11723 echo "configure: failed program was:" >&5 11814 echo "configure: failed program was:" >&5
11724 cat conftest.$ac_ext >&5 11815 cat conftest.$ac_ext >&5
11762 } 11853 }
11763 11854
11764 11855
11765 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 11856 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
11766 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 11857 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
11767 echo "configure:11768: checking for gpm.h" >&5 11858 echo "configure:11859: checking for gpm.h" >&5
11768 11859
11769 cat > conftest.$ac_ext <<EOF 11860 cat > conftest.$ac_ext <<EOF
11770 #line 11771 "configure" 11861 #line 11862 "configure"
11771 #include "confdefs.h" 11862 #include "confdefs.h"
11772 #include <gpm.h> 11863 #include <gpm.h>
11773 EOF 11864 EOF
11774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11775 { (eval echo configure:11776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11866 { (eval echo configure:11867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11777 if test -z "$ac_err"; then 11868 if test -z "$ac_err"; then
11778 rm -rf conftest* 11869 rm -rf conftest*
11779 eval "ac_cv_header_$ac_safe=yes" 11870 eval "ac_cv_header_$ac_safe=yes"
11780 else 11871 else
11793 with_gpm=no 11884 with_gpm=no
11794 fi 11885 fi
11795 } 11886 }
11796 test -z "$with_gpm" && { 11887 test -z "$with_gpm" && {
11797 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 11888 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
11798 echo "configure:11799: checking for Gpm_Open in -lgpm" >&5 11889 echo "configure:11890: checking for Gpm_Open in -lgpm" >&5
11799 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 11890 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
11800 11891
11801 xe_check_libs=" -lgpm " 11892 xe_check_libs=" -lgpm "
11802 cat > conftest.$ac_ext <<EOF 11893 cat > conftest.$ac_ext <<EOF
11803 #line 11804 "configure" 11894 #line 11895 "configure"
11804 #include "confdefs.h" 11895 #include "confdefs.h"
11805 /* Override any gcc2 internal prototype to avoid an error. */ 11896 /* Override any gcc2 internal prototype to avoid an error. */
11806 /* We use char because int might match the return type of a gcc2 11897 /* We use char because int might match the return type of a gcc2
11807 builtin and then its argument prototype would still apply. */ 11898 builtin and then its argument prototype would still apply. */
11808 char Gpm_Open(); 11899 char Gpm_Open();
11809 11900
11810 int main() { 11901 int main() {
11811 Gpm_Open() 11902 Gpm_Open()
11812 ; return 0; } 11903 ; return 0; }
11813 EOF 11904 EOF
11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11905 if { (eval echo configure:11906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11815 rm -rf conftest* 11906 rm -rf conftest*
11816 eval "ac_cv_lib_$ac_lib_var=yes" 11907 eval "ac_cv_lib_$ac_lib_var=yes"
11817 else 11908 else
11818 echo "configure: failed program was:" >&5 11909 echo "configure: failed program was:" >&5
11819 cat conftest.$ac_ext >&5 11910 cat conftest.$ac_ext >&5
11859 fi 11950 fi
11860 11951
11861 11952
11862 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 11953 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
11863 != "no no no" && echo "checking for database support" 1>&6 11954 != "no no no" && echo "checking for database support" 1>&6
11864 echo "configure:11865: checking for database support" >&5 11955 echo "configure:11956: checking for database support" >&5
11865 11956
11866 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 11957 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
11867 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 11958 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
11868 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 11959 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
11869 echo "configure:11870: checking for ndbm.h" >&5 11960 echo "configure:11961: checking for ndbm.h" >&5
11870 11961
11871 cat > conftest.$ac_ext <<EOF 11962 cat > conftest.$ac_ext <<EOF
11872 #line 11873 "configure" 11963 #line 11964 "configure"
11873 #include "confdefs.h" 11964 #include "confdefs.h"
11874 #include <ndbm.h> 11965 #include <ndbm.h>
11875 EOF 11966 EOF
11876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11877 { (eval echo configure:11878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11968 { (eval echo configure:11969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11878 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11879 if test -z "$ac_err"; then 11970 if test -z "$ac_err"; then
11880 rm -rf conftest* 11971 rm -rf conftest*
11881 eval "ac_cv_header_$ac_safe=yes" 11972 eval "ac_cv_header_$ac_safe=yes"
11882 else 11973 else
11902 fi 11993 fi
11903 11994
11904 if test "$with_database_gdbm" != "no"; then 11995 if test "$with_database_gdbm" != "no"; then
11905 11996
11906 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 11997 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
11907 echo "configure:11908: checking for dbm_open in -lgdbm" >&5 11998 echo "configure:11999: checking for dbm_open in -lgdbm" >&5
11908 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 11999 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
11909 12000
11910 xe_check_libs=" -lgdbm " 12001 xe_check_libs=" -lgdbm "
11911 cat > conftest.$ac_ext <<EOF 12002 cat > conftest.$ac_ext <<EOF
11912 #line 11913 "configure" 12003 #line 12004 "configure"
11913 #include "confdefs.h" 12004 #include "confdefs.h"
11914 /* Override any gcc2 internal prototype to avoid an error. */ 12005 /* Override any gcc2 internal prototype to avoid an error. */
11915 /* We use char because int might match the return type of a gcc2 12006 /* We use char because int might match the return type of a gcc2
11916 builtin and then its argument prototype would still apply. */ 12007 builtin and then its argument prototype would still apply. */
11917 char dbm_open(); 12008 char dbm_open();
11918 12009
11919 int main() { 12010 int main() {
11920 dbm_open() 12011 dbm_open()
11921 ; return 0; } 12012 ; return 0; }
11922 EOF 12013 EOF
11923 if { (eval echo configure:11924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11924 rm -rf conftest* 12015 rm -rf conftest*
11925 eval "ac_cv_lib_$ac_lib_var=yes" 12016 eval "ac_cv_lib_$ac_lib_var=yes"
11926 else 12017 else
11927 echo "configure: failed program was:" >&5 12018 echo "configure: failed program was:" >&5
11928 cat conftest.$ac_ext >&5 12019 cat conftest.$ac_ext >&5
11946 12037
11947 fi 12038 fi
11948 12039
11949 if test "$with_database_dbm" != "no"; then 12040 if test "$with_database_dbm" != "no"; then
11950 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 12041 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
11951 echo "configure:11952: checking for dbm_open" >&5 12042 echo "configure:12043: checking for dbm_open" >&5
11952 12043
11953 cat > conftest.$ac_ext <<EOF 12044 cat > conftest.$ac_ext <<EOF
11954 #line 11955 "configure" 12045 #line 12046 "configure"
11955 #include "confdefs.h" 12046 #include "confdefs.h"
11956 /* System header to define __stub macros and hopefully few prototypes, 12047 /* System header to define __stub macros and hopefully few prototypes,
11957 which can conflict with char dbm_open(); below. */ 12048 which can conflict with char dbm_open(); below. */
11958 #include <assert.h> 12049 #include <assert.h>
11959 /* Override any gcc2 internal prototype to avoid an error. */ 12050 /* Override any gcc2 internal prototype to avoid an error. */
11972 dbm_open(); 12063 dbm_open();
11973 #endif 12064 #endif
11974 12065
11975 ; return 0; } 12066 ; return 0; }
11976 EOF 12067 EOF
11977 if { (eval echo configure:11978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12068 if { (eval echo configure:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11978 rm -rf conftest* 12069 rm -rf conftest*
11979 eval "ac_cv_func_dbm_open=yes" 12070 eval "ac_cv_func_dbm_open=yes"
11980 else 12071 else
11981 echo "configure: failed program was:" >&5 12072 echo "configure: failed program was:" >&5
11982 cat conftest.$ac_ext >&5 12073 cat conftest.$ac_ext >&5
11991 else 12082 else
11992 echo "$ac_t""no" 1>&6 12083 echo "$ac_t""no" 1>&6
11993 12084
11994 12085
11995 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 12086 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
11996 echo "configure:11997: checking for dbm_open in -ldbm" >&5 12087 echo "configure:12088: checking for dbm_open in -ldbm" >&5
11997 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 12088 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
11998 12089
11999 xe_check_libs=" -ldbm " 12090 xe_check_libs=" -ldbm "
12000 cat > conftest.$ac_ext <<EOF 12091 cat > conftest.$ac_ext <<EOF
12001 #line 12002 "configure" 12092 #line 12093 "configure"
12002 #include "confdefs.h" 12093 #include "confdefs.h"
12003 /* Override any gcc2 internal prototype to avoid an error. */ 12094 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2 12095 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */ 12096 builtin and then its argument prototype would still apply. */
12006 char dbm_open(); 12097 char dbm_open();
12007 12098
12008 int main() { 12099 int main() {
12009 dbm_open() 12100 dbm_open()
12010 ; return 0; } 12101 ; return 0; }
12011 EOF 12102 EOF
12012 if { (eval echo configure:12013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12103 if { (eval echo configure:12104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12013 rm -rf conftest* 12104 rm -rf conftest*
12014 eval "ac_cv_lib_$ac_lib_var=yes" 12105 eval "ac_cv_lib_$ac_lib_var=yes"
12015 else 12106 else
12016 echo "configure: failed program was:" >&5 12107 echo "configure: failed program was:" >&5
12017 cat conftest.$ac_ext >&5 12108 cat conftest.$ac_ext >&5
12048 } 12139 }
12049 12140
12050 12141
12051 if test "$with_database_berkdb" != "no"; then 12142 if test "$with_database_berkdb" != "no"; then
12052 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 12143 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
12053 echo "configure:12054: checking for Berkeley db.h" >&5 12144 echo "configure:12145: checking for Berkeley db.h" >&5
12054 for path in "db/db.h" "db.h"; do 12145 for path in "db/db.h" "db.h"; do
12055 cat > conftest.$ac_ext <<EOF 12146 cat > conftest.$ac_ext <<EOF
12056 #line 12057 "configure" 12147 #line 12148 "configure"
12057 #include "confdefs.h" 12148 #include "confdefs.h"
12058 #ifdef HAVE_INTTYPES_H 12149 #ifdef HAVE_INTTYPES_H
12059 #define __BIT_TYPES_DEFINED__ 12150 #define __BIT_TYPES_DEFINED__
12060 #include <inttypes.h> 12151 #include <inttypes.h>
12061 typedef uint8_t u_int8_t; 12152 typedef uint8_t u_int8_t;
12069 12160
12070 int main() { 12161 int main() {
12071 12162
12072 ; return 0; } 12163 ; return 0; }
12073 EOF 12164 EOF
12074 if { (eval echo configure:12075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12165 if { (eval echo configure:12166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12075 rm -rf conftest* 12166 rm -rf conftest*
12076 db_h_path="$path"; break 12167 db_h_path="$path"; break
12077 else 12168 else
12078 echo "configure: failed program was:" >&5 12169 echo "configure: failed program was:" >&5
12079 cat conftest.$ac_ext >&5 12170 cat conftest.$ac_ext >&5
12085 else echo "$ac_t""$db_h_path" 1>&6 12176 else echo "$ac_t""$db_h_path" 1>&6
12086 fi 12177 fi
12087 12178
12088 if test "$with_database_berkdb" != "no"; then 12179 if test "$with_database_berkdb" != "no"; then
12089 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 12180 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
12090 echo "configure:12091: checking for Berkeley DB version" >&5 12181 echo "configure:12182: checking for Berkeley DB version" >&5
12091 cat > conftest.$ac_ext <<EOF 12182 cat > conftest.$ac_ext <<EOF
12092 #line 12093 "configure" 12183 #line 12184 "configure"
12093 #include "confdefs.h" 12184 #include "confdefs.h"
12094 #include <$db_h_path> 12185 #include <$db_h_path>
12095 #if DB_VERSION_MAJOR > 1 12186 #if DB_VERSION_MAJOR > 1
12096 yes 12187 yes
12097 #endif 12188 #endif
12106 echo "$ac_t""1" 1>&6; dbfunc=dbopen 12197 echo "$ac_t""1" 1>&6; dbfunc=dbopen
12107 fi 12198 fi
12108 rm -f conftest* 12199 rm -f conftest*
12109 12200
12110 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 12201 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
12111 echo "configure:12112: checking for $dbfunc" >&5 12202 echo "configure:12203: checking for $dbfunc" >&5
12112 12203
12113 cat > conftest.$ac_ext <<EOF 12204 cat > conftest.$ac_ext <<EOF
12114 #line 12115 "configure" 12205 #line 12206 "configure"
12115 #include "confdefs.h" 12206 #include "confdefs.h"
12116 /* System header to define __stub macros and hopefully few prototypes, 12207 /* System header to define __stub macros and hopefully few prototypes,
12117 which can conflict with char $dbfunc(); below. */ 12208 which can conflict with char $dbfunc(); below. */
12118 #include <assert.h> 12209 #include <assert.h>
12119 /* Override any gcc2 internal prototype to avoid an error. */ 12210 /* Override any gcc2 internal prototype to avoid an error. */
12132 $dbfunc(); 12223 $dbfunc();
12133 #endif 12224 #endif
12134 12225
12135 ; return 0; } 12226 ; return 0; }
12136 EOF 12227 EOF
12137 if { (eval echo configure:12138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12228 if { (eval echo configure:12229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12138 rm -rf conftest* 12229 rm -rf conftest*
12139 eval "ac_cv_func_$dbfunc=yes" 12230 eval "ac_cv_func_$dbfunc=yes"
12140 else 12231 else
12141 echo "configure: failed program was:" >&5 12232 echo "configure: failed program was:" >&5
12142 cat conftest.$ac_ext >&5 12233 cat conftest.$ac_ext >&5
12151 else 12242 else
12152 echo "$ac_t""no" 1>&6 12243 echo "$ac_t""no" 1>&6
12153 12244
12154 12245
12155 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 12246 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
12156 echo "configure:12157: checking for $dbfunc in -ldb" >&5 12247 echo "configure:12248: checking for $dbfunc in -ldb" >&5
12157 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 12248 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
12158 12249
12159 xe_check_libs=" -ldb " 12250 xe_check_libs=" -ldb "
12160 cat > conftest.$ac_ext <<EOF 12251 cat > conftest.$ac_ext <<EOF
12161 #line 12162 "configure" 12252 #line 12253 "configure"
12162 #include "confdefs.h" 12253 #include "confdefs.h"
12163 /* Override any gcc2 internal prototype to avoid an error. */ 12254 /* Override any gcc2 internal prototype to avoid an error. */
12164 /* We use char because int might match the return type of a gcc2 12255 /* We use char because int might match the return type of a gcc2
12165 builtin and then its argument prototype would still apply. */ 12256 builtin and then its argument prototype would still apply. */
12166 char $dbfunc(); 12257 char $dbfunc();
12167 12258
12168 int main() { 12259 int main() {
12169 $dbfunc() 12260 $dbfunc()
12170 ; return 0; } 12261 ; return 0; }
12171 EOF 12262 EOF
12172 if { (eval echo configure:12173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12263 if { (eval echo configure:12264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12173 rm -rf conftest* 12264 rm -rf conftest*
12174 eval "ac_cv_lib_$ac_lib_var=yes" 12265 eval "ac_cv_lib_$ac_lib_var=yes"
12175 else 12266 else
12176 echo "configure: failed program was:" >&5 12267 echo "configure: failed program was:" >&5
12177 cat conftest.$ac_ext >&5 12268 cat conftest.$ac_ext >&5
12231 fi 12322 fi
12232 12323
12233 if test "$with_socks" = "yes"; then 12324 if test "$with_socks" = "yes"; then
12234 12325
12235 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 12326 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
12236 echo "configure:12237: checking for SOCKSinit in -lsocks" >&5 12327 echo "configure:12328: checking for SOCKSinit in -lsocks" >&5
12237 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 12328 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
12238 12329
12239 xe_check_libs=" -lsocks " 12330 xe_check_libs=" -lsocks "
12240 cat > conftest.$ac_ext <<EOF 12331 cat > conftest.$ac_ext <<EOF
12241 #line 12242 "configure" 12332 #line 12333 "configure"
12242 #include "confdefs.h" 12333 #include "confdefs.h"
12243 /* Override any gcc2 internal prototype to avoid an error. */ 12334 /* Override any gcc2 internal prototype to avoid an error. */
12244 /* We use char because int might match the return type of a gcc2 12335 /* We use char because int might match the return type of a gcc2
12245 builtin and then its argument prototype would still apply. */ 12336 builtin and then its argument prototype would still apply. */
12246 char SOCKSinit(); 12337 char SOCKSinit();
12247 12338
12248 int main() { 12339 int main() {
12249 SOCKSinit() 12340 SOCKSinit()
12250 ; return 0; } 12341 ; return 0; }
12251 EOF 12342 EOF
12252 if { (eval echo configure:12253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12343 if { (eval echo configure:12344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12253 rm -rf conftest* 12344 rm -rf conftest*
12254 eval "ac_cv_lib_$ac_lib_var=yes" 12345 eval "ac_cv_lib_$ac_lib_var=yes"
12255 else 12346 else
12256 echo "configure: failed program was:" >&5 12347 echo "configure: failed program was:" >&5
12257 cat conftest.$ac_ext >&5 12348 cat conftest.$ac_ext >&5
12302 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 12393 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
12303 fi 12394 fi
12304 12395
12305 if test "$with_modules" != "no"; then 12396 if test "$with_modules" != "no"; then
12306 echo "checking for module support" 1>&6 12397 echo "checking for module support" 1>&6
12307 echo "configure:12308: checking for module support" >&5 12398 echo "configure:12399: checking for module support" >&5
12308 12399
12309 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 12400 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
12310 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 12401 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
12311 echo "configure:12312: checking for dlfcn.h" >&5 12402 echo "configure:12403: checking for dlfcn.h" >&5
12312 12403
12313 cat > conftest.$ac_ext <<EOF 12404 cat > conftest.$ac_ext <<EOF
12314 #line 12315 "configure" 12405 #line 12406 "configure"
12315 #include "confdefs.h" 12406 #include "confdefs.h"
12316 #include <dlfcn.h> 12407 #include <dlfcn.h>
12317 EOF 12408 EOF
12318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12319 { (eval echo configure:12320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12410 { (eval echo configure:12411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12321 if test -z "$ac_err"; then 12412 if test -z "$ac_err"; then
12322 rm -rf conftest* 12413 rm -rf conftest*
12323 eval "ac_cv_header_$ac_safe=yes" 12414 eval "ac_cv_header_$ac_safe=yes"
12324 else 12415 else
12332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12333 echo "$ac_t""yes" 1>&6 12424 echo "$ac_t""yes" 1>&6
12334 12425
12335 12426
12336 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 12427 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12337 echo "configure:12338: checking for dlopen in -ldl" >&5 12428 echo "configure:12429: checking for dlopen in -ldl" >&5
12338 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 12429 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12339 12430
12340 xe_check_libs=" -ldl " 12431 xe_check_libs=" -ldl "
12341 cat > conftest.$ac_ext <<EOF 12432 cat > conftest.$ac_ext <<EOF
12342 #line 12343 "configure" 12433 #line 12434 "configure"
12343 #include "confdefs.h" 12434 #include "confdefs.h"
12344 /* Override any gcc2 internal prototype to avoid an error. */ 12435 /* Override any gcc2 internal prototype to avoid an error. */
12345 /* We use char because int might match the return type of a gcc2 12436 /* We use char because int might match the return type of a gcc2
12346 builtin and then its argument prototype would still apply. */ 12437 builtin and then its argument prototype would still apply. */
12347 char dlopen(); 12438 char dlopen();
12348 12439
12349 int main() { 12440 int main() {
12350 dlopen() 12441 dlopen()
12351 ; return 0; } 12442 ; return 0; }
12352 EOF 12443 EOF
12353 if { (eval echo configure:12354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12354 rm -rf conftest* 12445 rm -rf conftest*
12355 eval "ac_cv_lib_$ac_lib_var=yes" 12446 eval "ac_cv_lib_$ac_lib_var=yes"
12356 else 12447 else
12357 echo "configure: failed program was:" >&5 12448 echo "configure: failed program was:" >&5
12358 cat conftest.$ac_ext >&5 12449 cat conftest.$ac_ext >&5
12367 have_dl=yes libdl=dl 12458 have_dl=yes libdl=dl
12368 else 12459 else
12369 echo "$ac_t""no" 1>&6 12460 echo "$ac_t""no" 1>&6
12370 12461
12371 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 12462 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
12372 echo "configure:12373: checking for dlopen in -lc" >&5 12463 echo "configure:12464: checking for dlopen in -lc" >&5
12373 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 12464 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
12374 12465
12375 xe_check_libs=" -lc " 12466 xe_check_libs=" -lc "
12376 cat > conftest.$ac_ext <<EOF 12467 cat > conftest.$ac_ext <<EOF
12377 #line 12378 "configure" 12468 #line 12469 "configure"
12378 #include "confdefs.h" 12469 #include "confdefs.h"
12379 /* Override any gcc2 internal prototype to avoid an error. */ 12470 /* Override any gcc2 internal prototype to avoid an error. */
12380 /* We use char because int might match the return type of a gcc2 12471 /* We use char because int might match the return type of a gcc2
12381 builtin and then its argument prototype would still apply. */ 12472 builtin and then its argument prototype would still apply. */
12382 char dlopen(); 12473 char dlopen();
12383 12474
12384 int main() { 12475 int main() {
12385 dlopen() 12476 dlopen()
12386 ; return 0; } 12477 ; return 0; }
12387 EOF 12478 EOF
12388 if { (eval echo configure:12389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12389 rm -rf conftest* 12480 rm -rf conftest*
12390 eval "ac_cv_lib_$ac_lib_var=yes" 12481 eval "ac_cv_lib_$ac_lib_var=yes"
12391 else 12482 else
12392 echo "configure: failed program was:" >&5 12483 echo "configure: failed program was:" >&5
12393 cat conftest.$ac_ext >&5 12484 cat conftest.$ac_ext >&5
12422 } 12513 }
12423 12514
12424 else 12515 else
12425 12516
12426 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 12517 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
12427 echo "configure:12428: checking for shl_load in -ldld" >&5 12518 echo "configure:12519: checking for shl_load in -ldld" >&5
12428 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 12519 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
12429 12520
12430 xe_check_libs=" -ldld " 12521 xe_check_libs=" -ldld "
12431 cat > conftest.$ac_ext <<EOF 12522 cat > conftest.$ac_ext <<EOF
12432 #line 12433 "configure" 12523 #line 12524 "configure"
12433 #include "confdefs.h" 12524 #include "confdefs.h"
12434 /* Override any gcc2 internal prototype to avoid an error. */ 12525 /* Override any gcc2 internal prototype to avoid an error. */
12435 /* We use char because int might match the return type of a gcc2 12526 /* We use char because int might match the return type of a gcc2
12436 builtin and then its argument prototype would still apply. */ 12527 builtin and then its argument prototype would still apply. */
12437 char shl_load(); 12528 char shl_load();
12438 12529
12439 int main() { 12530 int main() {
12440 shl_load() 12531 shl_load()
12441 ; return 0; } 12532 ; return 0; }
12442 EOF 12533 EOF
12443 if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12534 if { (eval echo configure:12535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12444 rm -rf conftest* 12535 rm -rf conftest*
12445 eval "ac_cv_lib_$ac_lib_var=yes" 12536 eval "ac_cv_lib_$ac_lib_var=yes"
12446 else 12537 else
12447 echo "configure: failed program was:" >&5 12538 echo "configure: failed program was:" >&5
12448 cat conftest.$ac_ext >&5 12539 cat conftest.$ac_ext >&5
12465 12556
12466 else 12557 else
12467 echo "$ac_t""no" 1>&6 12558 echo "$ac_t""no" 1>&6
12468 12559
12469 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 12560 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
12470 echo "configure:12471: checking for dld_init in -ldld" >&5 12561 echo "configure:12562: checking for dld_init in -ldld" >&5
12471 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 12562 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
12472 12563
12473 xe_check_libs=" -ldld " 12564 xe_check_libs=" -ldld "
12474 cat > conftest.$ac_ext <<EOF 12565 cat > conftest.$ac_ext <<EOF
12475 #line 12476 "configure" 12566 #line 12567 "configure"
12476 #include "confdefs.h" 12567 #include "confdefs.h"
12477 /* Override any gcc2 internal prototype to avoid an error. */ 12568 /* Override any gcc2 internal prototype to avoid an error. */
12478 /* We use char because int might match the return type of a gcc2 12569 /* We use char because int might match the return type of a gcc2
12479 builtin and then its argument prototype would still apply. */ 12570 builtin and then its argument prototype would still apply. */
12480 char dld_init(); 12571 char dld_init();
12481 12572
12482 int main() { 12573 int main() {
12483 dld_init() 12574 dld_init()
12484 ; return 0; } 12575 ; return 0; }
12485 EOF 12576 EOF
12486 if { (eval echo configure:12487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12577 if { (eval echo configure:12578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12487 rm -rf conftest* 12578 rm -rf conftest*
12488 eval "ac_cv_lib_$ac_lib_var=yes" 12579 eval "ac_cv_lib_$ac_lib_var=yes"
12489 else 12580 else
12490 echo "configure: failed program was:" >&5 12581 echo "configure: failed program was:" >&5
12491 cat conftest.$ac_ext >&5 12582 cat conftest.$ac_ext >&5
12526 ld_dynamic_link_flags= 12617 ld_dynamic_link_flags=
12527 xehost=$canonical 12618 xehost=$canonical
12528 xealias=$internal_configuration 12619 xealias=$internal_configuration
12529 12620
12530 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 12621 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
12531 echo "configure:12532: checking how to build dynamic libraries for ${xehost}" >&5 12622 echo "configure:12623: checking how to build dynamic libraries for ${xehost}" >&5
12532 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 12623 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
12533 case "$xehost" in 12624 case "$xehost" in
12534 *-*-linux-gnu*) ;; 12625 *-*-linux-gnu*) ;;
12535 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 12626 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
12536 esac 12627 esac
12554 # Now see if the compiler is really GCC. 12645 # Now see if the compiler is really GCC.
12555 if test "$GCC" = "yes"; then 12646 if test "$GCC" = "yes"; then
12556 XEGCC=yes 12647 XEGCC=yes
12557 else 12648 else
12558 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 12649 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
12559 echo "configure:12560: checking checking whether we are using GNU C" >&5 12650 echo "configure:12651: checking checking whether we are using GNU C" >&5
12560 cat > conftest.$ac_ext <<EOF 12651 cat > conftest.$ac_ext <<EOF
12561 #line 12562 "configure" 12652 #line 12653 "configure"
12562 #include "confdefs.h" 12653 #include "confdefs.h"
12563 12654
12564 #ifdef __GNUC__ 12655 #ifdef __GNUC__
12565 yes; 12656 yes;
12566 #endif 12657 #endif
12578 12669
12579 echo "$ac_t""${XEGCC}" 1>&6 12670 echo "$ac_t""${XEGCC}" 1>&6
12580 fi 12671 fi
12581 12672
12582 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 12673 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
12583 echo "configure:12584: checking how to produce PIC code" >&5 12674 echo "configure:12675: checking how to produce PIC code" >&5
12584 wl= 12675 wl=
12585 12676
12586 can_build_shared=yes 12677 can_build_shared=yes
12587 if test "$XEGCC" = yes; then 12678 if test "$XEGCC" = yes; then
12588 wl='-Wl,' 12679 wl='-Wl,'
12671 if test -n "$dll_cflags"; then 12762 if test -n "$dll_cflags"; then
12672 echo "$ac_t""${dll_cflags}" 1>&6 12763 echo "$ac_t""${dll_cflags}" 1>&6
12673 12764
12674 # Check to make sure the dll_cflags actually works. 12765 # Check to make sure the dll_cflags actually works.
12675 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 12766 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
12676 echo "configure:12677: checking if PIC flag ${dll_cflags} really works" >&5 12767 echo "configure:12768: checking if PIC flag ${dll_cflags} really works" >&5
12677 save_CFLAGS="$CFLAGS" 12768 save_CFLAGS="$CFLAGS"
12678 CFLAGS="$CFLAGS $dll_cflags -DPIC" 12769 CFLAGS="$CFLAGS $dll_cflags -DPIC"
12679 cat > conftest.$ac_ext <<EOF 12770 cat > conftest.$ac_ext <<EOF
12680 #line 12681 "configure" 12771 #line 12772 "configure"
12681 #include "confdefs.h" 12772 #include "confdefs.h"
12682 12773
12683 int main() { 12774 int main() {
12684 int x=0; 12775 int x=0;
12685 ; return 0; } 12776 ; return 0; }
12686 EOF 12777 EOF
12687 if { (eval echo configure:12688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12778 if { (eval echo configure:12779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12688 rm -rf conftest* 12779 rm -rf conftest*
12689 12780
12690 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 12781 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
12691 # reports no error. So, we need to grep stderr for (Bundled). 12782 # reports no error. So, we need to grep stderr for (Bundled).
12692 if grep '(Bundled)' config.log >/dev/null; then 12783 if grep '(Bundled)' config.log >/dev/null; then
12713 if test "$can_build_shared" = "yes"; then 12804 if test "$can_build_shared" = "yes"; then
12714 cc_produces_so=no 12805 cc_produces_so=no
12715 xldf= 12806 xldf=
12716 xcldf= 12807 xcldf=
12717 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 12808 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
12718 echo "configure:12719: checking if C compiler can produce shared libraries" >&5 12809 echo "configure:12810: checking if C compiler can produce shared libraries" >&5
12719 if test "$XEGCC" = yes; then 12810 if test "$XEGCC" = yes; then
12720 xcldf="-shared" 12811 xcldf="-shared"
12721 xldf="-shared" 12812 xldf="-shared"
12722 else # Not using GCC 12813 else # Not using GCC
12723 case "$xehost_os" in 12814 case "$xehost_os" in
12764 LDFLAGS="$xcldf $LDFLAGS" 12855 LDFLAGS="$xcldf $LDFLAGS"
12765 LIBS= 12856 LIBS=
12766 xe_libs= 12857 xe_libs=
12767 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 12858 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
12768 cat > conftest.$ac_ext <<EOF 12859 cat > conftest.$ac_ext <<EOF
12769 #line 12770 "configure" 12860 #line 12861 "configure"
12770 #include "confdefs.h" 12861 #include "confdefs.h"
12771 12862
12772 int main() { 12863 int main() {
12773 int x=0; 12864 int x=0;
12774 ; return 0; } 12865 ; return 0; }
12775 EOF 12866 EOF
12776 if { (eval echo configure:12777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12777 rm -rf conftest* 12868 rm -rf conftest*
12778 cc_produces_so=yes 12869 cc_produces_so=yes
12779 else 12870 else
12780 echo "configure: failed program was:" >&5 12871 echo "configure: failed program was:" >&5
12781 cat conftest.$ac_ext >&5 12872 cat conftest.$ac_ext >&5
12796 if test -z "$LTLD"; then 12887 if test -z "$LTLD"; then
12797 ac_prog=ld 12888 ac_prog=ld
12798 if test "$XEGCC" = yes; then 12889 if test "$XEGCC" = yes; then
12799 # Check if gcc -print-prog-name=ld gives a path. 12890 # Check if gcc -print-prog-name=ld gives a path.
12800 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 12891 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
12801 echo "configure:12802: checking for ld used by GCC" >&5 12892 echo "configure:12893: checking for ld used by GCC" >&5
12802 ac_prog=`($CC -print-prog-name=ld) 2>&5` 12893 ac_prog=`($CC -print-prog-name=ld) 2>&5`
12803 case "$ac_prog" in 12894 case "$ac_prog" in
12804 # Accept absolute paths. 12895 # Accept absolute paths.
12805 /*) 12896 /*)
12806 if test -z "$LTLD"; then 12897 if test -z "$LTLD"; then
12821 with_gnu_ld=unknown 12912 with_gnu_ld=unknown
12822 ;; 12913 ;;
12823 esac 12914 esac
12824 else 12915 else
12825 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 12916 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
12826 echo "configure:12827: checking for GNU ld" >&5 12917 echo "configure:12918: checking for GNU ld" >&5
12827 fi 12918 fi
12828 12919
12829 if test -z "$LTLD"; then 12920 if test -z "$LTLD"; then
12830 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12921 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12831 for ac_dir in $PATH; do 12922 for ac_dir in $PATH; do
12859 12950
12860 ld_dynamic_link_flags= 12951 ld_dynamic_link_flags=
12861 12952
12862 # Check to see if it really is or isn't GNU ld. 12953 # Check to see if it really is or isn't GNU ld.
12863 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 12954 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
12864 echo "configure:12865: checking if the linker is GNU ld" >&5 12955 echo "configure:12956: checking if the linker is GNU ld" >&5
12865 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 12956 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12866 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 12957 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
12867 xe_gnu_ld=yes 12958 xe_gnu_ld=yes
12868 else 12959 else
12869 xe_gnu_ld=no 12960 xe_gnu_ld=no
12886 can_build_shared=yes 12977 can_build_shared=yes
12887 else 12978 else
12888 # OK - only NOW do we futz about with ld. 12979 # OK - only NOW do we futz about with ld.
12889 # See if the linker supports building shared libraries. 12980 # See if the linker supports building shared libraries.
12890 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 12981 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
12891 echo "configure:12892: checking whether the linker supports shared libraries" >&5 12982 echo "configure:12983: checking whether the linker supports shared libraries" >&5
12892 dll_ld=$CC 12983 dll_ld=$CC
12893 dll_ldflags=$LDFLAGS 12984 dll_ldflags=$LDFLAGS
12894 ld_shlibs=yes 12985 ld_shlibs=yes
12895 can_build_shared=yes 12986 can_build_shared=yes
12896 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 12987 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
13101 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 13192 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
13102 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 13193 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
13103 for ac_func in dlerror _dlerror 13194 for ac_func in dlerror _dlerror
13104 do 13195 do
13105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13106 echo "configure:13107: checking for $ac_func" >&5 13197 echo "configure:13198: checking for $ac_func" >&5
13107 13198
13108 cat > conftest.$ac_ext <<EOF 13199 cat > conftest.$ac_ext <<EOF
13109 #line 13110 "configure" 13200 #line 13201 "configure"
13110 #include "confdefs.h" 13201 #include "confdefs.h"
13111 /* System header to define __stub macros and hopefully few prototypes, 13202 /* System header to define __stub macros and hopefully few prototypes,
13112 which can conflict with char $ac_func(); below. */ 13203 which can conflict with char $ac_func(); below. */
13113 #include <assert.h> 13204 #include <assert.h>
13114 /* Override any gcc2 internal prototype to avoid an error. */ 13205 /* Override any gcc2 internal prototype to avoid an error. */
13127 $ac_func(); 13218 $ac_func();
13128 #endif 13219 #endif
13129 13220
13130 ; return 0; } 13221 ; return 0; }
13131 EOF 13222 EOF
13132 if { (eval echo configure:13133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13133 rm -rf conftest* 13224 rm -rf conftest*
13134 eval "ac_cv_func_$ac_func=yes" 13225 eval "ac_cv_func_$ac_func=yes"
13135 else 13226 else
13136 echo "configure: failed program was:" >&5 13227 echo "configure: failed program was:" >&5
13137 cat conftest.$ac_ext >&5 13228 cat conftest.$ac_ext >&5
13166 with_modules=no 13257 with_modules=no
13167 fi 13258 fi
13168 fi 13259 fi
13169 13260
13170 cat > conftest.$ac_ext <<EOF 13261 cat > conftest.$ac_ext <<EOF
13171 #line 13172 "configure" 13262 #line 13263 "configure"
13172 #include "confdefs.h" 13263 #include "confdefs.h"
13173 int main(int c,char *v[]){return 0;} 13264 int main(int c,char *v[]){return 0;}
13174 EOF 13265 EOF
13175 if { (eval echo configure:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13266 if { (eval echo configure:13267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13176 then 13267 then
13177 : 13268 :
13178 else 13269 else
13179 conftest_rc="$?" 13270 conftest_rc="$?"
13180 echo "configure: failed program was:" >&5 13271 echo "configure: failed program was:" >&5
13311 echo "" 13402 echo ""
13312 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done 13403 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done
13313 echo "" 13404 echo ""
13314 fi 13405 fi
13315 13406
13316 if test -f $srcdir/src/gdbinit -a ! -f src/gdbinit ; then 13407
13317 echo "creating src/gdbinit"; echo "" 13408 if test -f "$srcdir/src/.gdbinit" -a ! -f "src/.gdbinit"; then
13318 echo "source $srcdir/src/gdbinit" > src/gdbinit 13409 test "$extra_verbose" = "yes" && echo "creating src/.gdbinit"
13410 echo "source $srcdir/src/.gdbinit" > "src/.gdbinit"
13411 fi
13412
13413 if test -f "$srcdir/src/.dbxrc" -a ! -f "src/.dbxrc"; then
13414 test "$extra_verbose" = "yes" && echo "creating src/.dbxrc"
13415 echo ". $srcdir/src/.dbxrc" > "src/.dbxrc"
13416 fi
13417
13418 if test -f "$srcdir/TAGS" -a ! -f "TAGS"; then
13419 test "$extra_verbose" = "yes" && echo "creating TAGS"
13420 echo "
13421 $srcdir/TAGS,include" > "TAGS"
13319 fi 13422 fi
13320 13423
13321 if test "$__SUNPRO_C" = "yes"; then 13424 if test "$__SUNPRO_C" = "yes"; then
13322 echo "creating .sbinit"; echo "" 13425 test "$extra_verbose" = "yes" && echo "creating .sbinit"
13323 ( echo "# For use with Sun WorkShop's Source browser." 13426 ( echo "# For use with Sun WorkShop's Source browser."
13324 echo "# See sbquery(1) and sbinit(4) for more information" 13427 echo "# See sbquery(1) and sbinit(4) for more information"
13325 for dir in $MAKE_SUBDIR; do echo "import $dir"; done 13428 for dir in $MAKE_SUBDIR; do echo "import $dir"; done
13326 ) > .sbinit 13429 ) > .sbinit
13327 fi 13430 fi
13798 if test -n "$site_prefixes"; then 13901 if test -n "$site_prefixes"; then
13799 echo " Additional prefixes: $site_prefixes" 13902 echo " Additional prefixes: $site_prefixes"
13800 fi 13903 fi
13801 if test -n "$runpath"; then 13904 if test -n "$runpath"; then
13802 echo " Runtime library search path: $runpath" 13905 echo " Runtime library search path: $runpath"
13906 fi
13907 if test "$have_xaw" = "yes"; then
13908 echo " Athena library to link: $athena_lib"
13909 echo " Athena header include path: $athena_h_path"
13803 fi 13910 fi
13804 test "$with_dnet" = yes && echo " Compiling in support for DNET." 13911 test "$with_dnet" = yes && echo " Compiling in support for DNET."
13805 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 13912 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
13806 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." 13913 test "$with_xauth" = yes && echo " Compiling in support for XAUTH."
13807 if test "$with_xmu" != yes -a "$with_x11" = yes; then 13914 if test "$with_xmu" != yes -a "$with_x11" = yes; then
13882 esac 13989 esac
13883 case "$with_scrollbars" in 13990 case "$with_scrollbars" in
13884 lucid ) echo " Using Lucid scrollbars." ;; 13991 lucid ) echo " Using Lucid scrollbars." ;;
13885 motif ) echo " Using Motif scrollbars." ;; 13992 motif ) echo " Using Motif scrollbars." ;;
13886 athena ) echo " Using Athena scrollbars." ;; 13993 athena ) echo " Using Athena scrollbars." ;;
13887 athena3d ) echo " Using Athena-3d scrollbars." ;;
13888 msw ) echo " Using MS-Windows scrollbars." ;; 13994 msw ) echo " Using MS-Windows scrollbars." ;;
13889 esac 13995 esac
13890 case "$with_widgets" in 13996 case "$with_widgets" in
13891 motif ) echo " Using Motif native widgets." ;; 13997 motif ) echo " Using Motif native widgets." ;;
13892 athena ) echo " Using Athena native widgets." ;; 13998 athena ) echo " Using Athena native widgets." ;;
13893 athena3d ) echo " Using Athena-3d native widgets." ;;
13894 msw ) echo " Using MS-Windows native widgets." ;; 13999 msw ) echo " Using MS-Windows native widgets." ;;
13895 esac 14000 esac
13896 case "$with_dialogs" in 14001 case "$with_dialogs" in
13897 motif ) 14002 motif )
13898 echo " Using Motif dialog boxes." 14003 echo " Using Motif dialog boxes."
13902 echo " Install libXaw and re-run configure with --with-dialogs='athena'." 14007 echo " Install libXaw and re-run configure with --with-dialogs='athena'."
13903 echo " Read the PROBLEMS file for more information." 14008 echo " Read the PROBLEMS file for more information."
13904 fi; fi 14009 fi; fi
13905 ;; 14010 ;;
13906 athena ) echo " Using Athena dialog boxes." ;; 14011 athena ) echo " Using Athena dialog boxes." ;;
13907 athena3d ) echo " Using Athena-3d dialog boxes." ;;
13908 msw ) echo " Using MS-Windows dialog boxes." ;; 14012 msw ) echo " Using MS-Windows dialog boxes." ;;
13909 esac 14013 esac
13910 test "$with_modules" = "yes" && echo " Compiling in dynamic shared object module support." 14014 test "$with_modules" = "yes" && echo " Compiling in dynamic shared object module support."
13911 test "$with_clash_detection" = yes && \ 14015 test "$with_clash_detection" = yes && \
13912 echo " Clash detection will use \"$lockdir\" for locking files." 14016 echo " Clash detection will use \"$lockdir\" for locking files."