comparison configure @ 26708:b20c864d87b9

*** empty log message ***
author Dave Love <fx@gnu.org>
date Sat, 04 Dec 1999 19:59:54 +0000
parents b32d82817493
children 5b9c236a581d
comparison
equal deleted inserted replaced
26707:f94f6b1c6d7a 26708:b20c864d87b9
1 #! /bin/sh 1 #! /bin/sh
2 2
3 # Guess values for system-dependent variables and create Makefiles. 3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 # 6 #
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9 9
73 mandir='${prefix}/man' 73 mandir='${prefix}/man'
74 74
75 # Initialize some other variables. 75 # Initialize some other variables.
76 subdirs= 76 subdirs=
77 MFLAGS= MAKEFLAGS= 77 MFLAGS= MAKEFLAGS=
78 SHELL=${CONFIG_SHELL-/bin/sh}
79 # Maximum number of lines to put in a shell here document. 78 # Maximum number of lines to put in a shell here document.
80 ac_max_here_lines=12 79 ac_max_here_lines=12
81 80
82 ac_prev= 81 ac_prev=
83 for ac_option 82 for ac_option
357 356
358 -v | -verbose | --verbose | --verbos | --verbo | --verb) 357 -v | -verbose | --verbose | --verbos | --verbo | --verb)
359 verbose=yes ;; 358 verbose=yes ;;
360 359
361 -version | --version | --versio | --versi | --vers) 360 -version | --version | --versio | --versi | --vers)
362 echo "configure generated by autoconf version 2.13" 361 echo "configure generated by autoconf version 2.12"
363 exit 0 ;; 362 exit 0 ;;
364 363
365 -with-* | --with-*) 364 -with-* | --with-*)
366 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 365 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
367 # Reject names that are not valid shell variable names. 366 # Reject names that are not valid shell variable names.
527 526
528 ac_ext=c 527 ac_ext=c
529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530 ac_cpp='$CPP $CPPFLAGS' 529 ac_cpp='$CPP $CPPFLAGS'
531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 531 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533 cross_compiling=$ac_cv_prog_cc_cross 532 cross_compiling=$ac_cv_prog_cc_cross
534 533
535 ac_exeext=
536 ac_objext=o
537 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 534 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 535 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 536 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
540 ac_n= ac_c=' 537 ac_n= ac_c='
541 ' ac_t=' ' 538 ' ac_t=' '
737 ac_config_sub=$ac_aux_dir/config.sub 734 ac_config_sub=$ac_aux_dir/config.sub
738 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 735 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
739 736
740 737
741 # Make sure we can run config.sub. 738 # Make sure we can run config.sub.
742 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 739 if $ac_config_sub sun4 >/dev/null 2>&1; then :
743 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 740 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
744 fi 741 fi
745 742
746 echo $ac_n "checking host system type""... $ac_c" 1>&6 743 echo $ac_n "checking host system type""... $ac_c" 1>&6
747 echo "configure:748: checking host system type" >&5 744 echo "configure:745: checking host system type" >&5
748 745
749 host_alias=$host 746 host_alias=$host
750 case "$host_alias" in 747 case "$host_alias" in
751 NONE) 748 NONE)
752 case $nonopt in 749 case $nonopt in
753 NONE) 750 NONE)
754 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 751 if host_alias=`$ac_config_guess`; then :
755 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 752 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
756 fi ;; 753 fi ;;
757 *) host_alias=$nonopt ;; 754 *) host_alias=$nonopt ;;
758 esac ;; 755 esac ;;
759 esac 756 esac
760 757
761 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 758 host=`$ac_config_sub $host_alias`
762 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 759 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
763 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 760 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
764 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 761 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
765 echo "$ac_t""$host" 1>&6 762 echo "$ac_t""$host" 1>&6
766 763
888 ;; 885 ;;
889 886
890 ## Apollo, Domain/OS 887 ## Apollo, Domain/OS
891 m68*-apollo-* ) 888 m68*-apollo-* )
892 machine=apollo opsys=bsd4-3 889 machine=apollo opsys=bsd4-3
890 ;;
891
892 ## ARM, GNU/Linux
893 arm*-*-linux-gnu* )
894 machine=arm opsys=gnu-linux
893 ;; 895 ;;
894 896
895 ## AT&T 3b2, 3b5, 3b15, 3b20 897 ## AT&T 3b2, 3b5, 3b15, 3b20
896 we32k-att-sysv* ) 898 we32k-att-sysv* )
897 machine=att3b opsys=usg5-2-2 899 machine=att3b opsys=usg5-2-2
1688 "yes" ) CC="gcc" GCC=yes ;; 1690 "yes" ) CC="gcc" GCC=yes ;;
1689 "no" ) : ${CC=cc} ;; 1691 "no" ) : ${CC=cc} ;;
1690 * ) # Extract the first word of "gcc", so it can be a program name with args. 1692 * ) # Extract the first word of "gcc", so it can be a program name with args.
1691 set dummy gcc; ac_word=$2 1693 set dummy gcc; ac_word=$2
1692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1693 echo "configure:1694: checking for $ac_word" >&5 1695 echo "configure:1696: checking for $ac_word" >&5
1694 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1696 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1695 echo $ac_n "(cached) $ac_c" 1>&6 1697 echo $ac_n "(cached) $ac_c" 1>&6
1696 else 1698 else
1697 if test -n "$CC"; then 1699 if test -n "$CC"; then
1698 ac_cv_prog_CC="$CC" # Let the user override the test. 1700 ac_cv_prog_CC="$CC" # Let the user override the test.
1699 else 1701 else
1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1701 ac_dummy="$PATH" 1703 for ac_dir in $PATH; do
1702 for ac_dir in $ac_dummy; do
1703 test -z "$ac_dir" && ac_dir=. 1704 test -z "$ac_dir" && ac_dir=.
1704 if test -f $ac_dir/$ac_word; then 1705 if test -f $ac_dir/$ac_word; then
1705 ac_cv_prog_CC="gcc" 1706 ac_cv_prog_CC="gcc"
1706 break 1707 break
1707 fi 1708 fi
1718 1719
1719 if test -z "$CC"; then 1720 if test -z "$CC"; then
1720 # Extract the first word of "cc", so it can be a program name with args. 1721 # Extract the first word of "cc", so it can be a program name with args.
1721 set dummy cc; ac_word=$2 1722 set dummy cc; ac_word=$2
1722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1723 echo "configure:1724: checking for $ac_word" >&5 1724 echo "configure:1725: checking for $ac_word" >&5
1724 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1725 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1725 echo $ac_n "(cached) $ac_c" 1>&6 1726 echo $ac_n "(cached) $ac_c" 1>&6
1726 else 1727 else
1727 if test -n "$CC"; then 1728 if test -n "$CC"; then
1728 ac_cv_prog_CC="$CC" # Let the user override the test. 1729 ac_cv_prog_CC="$CC" # Let the user override the test.
1729 else 1730 else
1730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1731 ac_prog_rejected=no 1732 ac_prog_rejected=no
1732 ac_dummy="$PATH" 1733 for ac_dir in $PATH; do
1733 for ac_dir in $ac_dummy; do
1734 test -z "$ac_dir" && ac_dir=. 1734 test -z "$ac_dir" && ac_dir=.
1735 if test -f $ac_dir/$ac_word; then 1735 if test -f $ac_dir/$ac_word; then
1736 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1736 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1737 ac_prog_rejected=yes 1737 ac_prog_rejected=yes
1738 continue 1738 continue
1763 echo "$ac_t""$CC" 1>&6 1763 echo "$ac_t""$CC" 1>&6
1764 else 1764 else
1765 echo "$ac_t""no" 1>&6 1765 echo "$ac_t""no" 1>&6
1766 fi 1766 fi
1767 1767
1768 if test -z "$CC"; then
1769 case "`uname -s`" in
1770 *win32* | *WIN32*)
1771 # Extract the first word of "cl", so it can be a program name with args.
1772 set dummy cl; ac_word=$2
1773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1774 echo "configure:1775: checking for $ac_word" >&5
1775 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1776 echo $ac_n "(cached) $ac_c" 1>&6
1777 else
1778 if test -n "$CC"; then
1779 ac_cv_prog_CC="$CC" # Let the user override the test.
1780 else
1781 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1782 ac_dummy="$PATH"
1783 for ac_dir in $ac_dummy; do
1784 test -z "$ac_dir" && ac_dir=.
1785 if test -f $ac_dir/$ac_word; then
1786 ac_cv_prog_CC="cl"
1787 break
1788 fi
1789 done
1790 IFS="$ac_save_ifs"
1791 fi
1792 fi
1793 CC="$ac_cv_prog_CC"
1794 if test -n "$CC"; then
1795 echo "$ac_t""$CC" 1>&6
1796 else
1797 echo "$ac_t""no" 1>&6
1798 fi
1799 ;;
1800 esac
1801 fi
1802 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1768 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1803 fi 1769 fi
1804 1770
1805 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1771 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1806 echo "configure:1807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1772 echo "configure:1773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1807 1773
1808 ac_ext=c 1774 ac_ext=c
1809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1810 ac_cpp='$CPP $CPPFLAGS' 1776 ac_cpp='$CPP $CPPFLAGS'
1811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1778 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1813 cross_compiling=$ac_cv_prog_cc_cross 1779 cross_compiling=$ac_cv_prog_cc_cross
1814 1780
1815 cat > conftest.$ac_ext << EOF 1781 cat > conftest.$ac_ext <<EOF
1816 1782 #line 1783 "configure"
1817 #line 1818 "configure" 1783 #include "confdefs.h"
1818 #include "confdefs.h"
1819
1820 main(){return(0);} 1784 main(){return(0);}
1821 EOF 1785 EOF
1822 if { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1786 if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1823 ac_cv_prog_cc_works=yes 1787 ac_cv_prog_cc_works=yes
1824 # If we can't run a trivial program, we are probably using a cross compiler. 1788 # If we can't run a trivial program, we are probably using a cross compiler.
1825 if (./conftest; exit) 2>/dev/null; then 1789 if (./conftest; exit) 2>/dev/null; then
1826 ac_cv_prog_cc_cross=no 1790 ac_cv_prog_cc_cross=no
1827 else 1791 else
1831 echo "configure: failed program was:" >&5 1795 echo "configure: failed program was:" >&5
1832 cat conftest.$ac_ext >&5 1796 cat conftest.$ac_ext >&5
1833 ac_cv_prog_cc_works=no 1797 ac_cv_prog_cc_works=no
1834 fi 1798 fi
1835 rm -fr conftest* 1799 rm -fr conftest*
1836 ac_ext=c
1837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1838 ac_cpp='$CPP $CPPFLAGS'
1839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1841 cross_compiling=$ac_cv_prog_cc_cross
1842 1800
1843 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1801 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1844 if test $ac_cv_prog_cc_works = no; then 1802 if test $ac_cv_prog_cc_works = no; then
1845 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1803 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1846 fi 1804 fi
1847 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1805 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1848 echo "configure:1849: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1806 echo "configure:1807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1849 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1807 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1850 cross_compiling=$ac_cv_prog_cc_cross 1808 cross_compiling=$ac_cv_prog_cc_cross
1851 1809
1852 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1810 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1853 echo "configure:1854: checking whether we are using GNU C" >&5 1811 echo "configure:1812: checking whether we are using GNU C" >&5
1854 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1812 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1855 echo $ac_n "(cached) $ac_c" 1>&6 1813 echo $ac_n "(cached) $ac_c" 1>&6
1856 else 1814 else
1857 cat > conftest.c <<EOF 1815 cat > conftest.c <<EOF
1858 #ifdef __GNUC__ 1816 #ifdef __GNUC__
1859 yes; 1817 yes;
1860 #endif 1818 #endif
1861 EOF 1819 EOF
1862 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1820 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1863 ac_cv_prog_gcc=yes 1821 ac_cv_prog_gcc=yes
1864 else 1822 else
1865 ac_cv_prog_gcc=no 1823 ac_cv_prog_gcc=no
1866 fi 1824 fi
1867 fi 1825 fi
1868 1826
1869 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1827 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1870 1828
1871 if test $ac_cv_prog_gcc = yes; then 1829 if test $ac_cv_prog_gcc = yes; then
1872 GCC=yes 1830 GCC=yes
1873 else 1831 ac_test_CFLAGS="${CFLAGS+set}"
1874 GCC= 1832 ac_save_CFLAGS="$CFLAGS"
1875 fi 1833 CFLAGS=
1876 1834 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1877 ac_test_CFLAGS="${CFLAGS+set}" 1835 echo "configure:1836: checking whether ${CC-cc} accepts -g" >&5
1878 ac_save_CFLAGS="$CFLAGS"
1879 CFLAGS=
1880 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1881 echo "configure:1882: checking whether ${CC-cc} accepts -g" >&5
1882 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1836 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6 1837 echo $ac_n "(cached) $ac_c" 1>&6
1884 else 1838 else
1885 echo 'void f(){}' > conftest.c 1839 echo 'void f(){}' > conftest.c
1886 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1840 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1891 rm -f conftest* 1845 rm -f conftest*
1892 1846
1893 fi 1847 fi
1894 1848
1895 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1849 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1896 if test "$ac_test_CFLAGS" = set; then 1850 if test "$ac_test_CFLAGS" = set; then
1897 CFLAGS="$ac_save_CFLAGS" 1851 CFLAGS="$ac_save_CFLAGS"
1898 elif test $ac_cv_prog_cc_g = yes; then 1852 elif test $ac_cv_prog_cc_g = yes; then
1899 if test "$GCC" = yes; then
1900 CFLAGS="-g -O2" 1853 CFLAGS="-g -O2"
1901 else 1854 else
1902 CFLAGS="-g" 1855 CFLAGS="-O2"
1903 fi 1856 fi
1904 else 1857 else
1905 if test "$GCC" = yes; then 1858 GCC=
1906 CFLAGS="-O2" 1859 test "${CFLAGS+set}" = set || CFLAGS="-g"
1907 else
1908 CFLAGS=
1909 fi
1910 fi 1860 fi
1911 1861
1912 esac 1862 esac
1913 1863
1914 # On Suns, sometimes $CPP names a directory. 1864 # On Suns, sometimes $CPP names a directory.
1956 #### Some other nice autoconf tests. If you add a test here which 1906 #### Some other nice autoconf tests. If you add a test here which
1957 #### should make an entry in src/config.h, don't forget to add an 1907 #### should make an entry in src/config.h, don't forget to add an
1958 #### #undef clause to src/config.h.in for autoconf to modify. 1908 #### #undef clause to src/config.h.in for autoconf to modify.
1959 1909
1960 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1910 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1961 echo "configure:1962: checking whether ln -s works" >&5 1911 echo "configure:1912: checking whether ln -s works" >&5
1962 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1912 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1963 echo $ac_n "(cached) $ac_c" 1>&6 1913 echo $ac_n "(cached) $ac_c" 1>&6
1964 else 1914 else
1965 rm -f conftestdata 1915 rm -f conftestdata
1966 if ln -s X conftestdata 2>/dev/null 1916 if ln -s X conftestdata 2>/dev/null
1977 else 1927 else
1978 echo "$ac_t""no" 1>&6 1928 echo "$ac_t""no" 1>&6
1979 fi 1929 fi
1980 1930
1981 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1931 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1982 echo "configure:1983: checking how to run the C preprocessor" >&5 1932 echo "configure:1933: checking how to run the C preprocessor" >&5
1983 # On Suns, sometimes $CPP names a directory. 1933 # On Suns, sometimes $CPP names a directory.
1984 if test -n "$CPP" && test -d "$CPP"; then 1934 if test -n "$CPP" && test -d "$CPP"; then
1985 CPP= 1935 CPP=
1986 fi 1936 fi
1987 if test -z "$CPP"; then 1937 if test -z "$CPP"; then
1992 # substituted into the Makefile and "${CC-cc}" will confuse make. 1942 # substituted into the Makefile and "${CC-cc}" will confuse make.
1993 CPP="${CC-cc} -E" 1943 CPP="${CC-cc} -E"
1994 # On the NeXT, cc -E runs the code through the compiler's parser, 1944 # On the NeXT, cc -E runs the code through the compiler's parser,
1995 # not just through cpp. 1945 # not just through cpp.
1996 cat > conftest.$ac_ext <<EOF 1946 cat > conftest.$ac_ext <<EOF
1997 #line 1998 "configure" 1947 #line 1948 "configure"
1998 #include "confdefs.h" 1948 #include "confdefs.h"
1999 #include <assert.h> 1949 #include <assert.h>
2000 Syntax Error 1950 Syntax Error
2001 EOF 1951 EOF
2002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2003 { (eval echo configure:2004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1953 { (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1954 ac_err=`grep -v '^ *+' conftest.out`
2005 if test -z "$ac_err"; then 1955 if test -z "$ac_err"; then
2006 : 1956 :
2007 else 1957 else
2008 echo "$ac_err" >&5 1958 echo "$ac_err" >&5
2009 echo "configure: failed program was:" >&5 1959 echo "configure: failed program was:" >&5
2010 cat conftest.$ac_ext >&5 1960 cat conftest.$ac_ext >&5
2011 rm -rf conftest* 1961 rm -rf conftest*
2012 CPP="${CC-cc} -E -traditional-cpp" 1962 CPP="${CC-cc} -E -traditional-cpp"
2013 cat > conftest.$ac_ext <<EOF 1963 cat > conftest.$ac_ext <<EOF
2014 #line 2015 "configure" 1964 #line 1965 "configure"
2015 #include "confdefs.h" 1965 #include "confdefs.h"
2016 #include <assert.h> 1966 #include <assert.h>
2017 Syntax Error 1967 Syntax Error
2018 EOF 1968 EOF
2019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2020 { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1970 { (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1971 ac_err=`grep -v '^ *+' conftest.out`
2022 if test -z "$ac_err"; then 1972 if test -z "$ac_err"; then
2023 : 1973 :
2024 else 1974 else
2025 echo "$ac_err" >&5 1975 echo "$ac_err" >&5
2026 echo "configure: failed program was:" >&5 1976 echo "configure: failed program was:" >&5
2027 cat conftest.$ac_ext >&5 1977 cat conftest.$ac_ext >&5
2028 rm -rf conftest* 1978 rm -rf conftest*
2029 CPP="${CC-cc} -nologo -E"
2030 cat > conftest.$ac_ext <<EOF
2031 #line 2032 "configure"
2032 #include "confdefs.h"
2033 #include <assert.h>
2034 Syntax Error
2035 EOF
2036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2037 { (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2039 if test -z "$ac_err"; then
2040 :
2041 else
2042 echo "$ac_err" >&5
2043 echo "configure: failed program was:" >&5
2044 cat conftest.$ac_ext >&5
2045 rm -rf conftest*
2046 CPP=/lib/cpp 1979 CPP=/lib/cpp
2047 fi
2048 rm -f conftest*
2049 fi 1980 fi
2050 rm -f conftest* 1981 rm -f conftest*
2051 fi 1982 fi
2052 rm -f conftest* 1983 rm -f conftest*
2053 ac_cv_prog_CPP="$CPP" 1984 ac_cv_prog_CPP="$CPP"
2063 # incompatible versions: 1994 # incompatible versions:
2064 # SysV /etc/install, /usr/sbin/install 1995 # SysV /etc/install, /usr/sbin/install
2065 # SunOS /usr/etc/install 1996 # SunOS /usr/etc/install
2066 # IRIX /sbin/install 1997 # IRIX /sbin/install
2067 # AIX /bin/install 1998 # AIX /bin/install
2068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1999 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2000 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2071 # ./install, which can be erroneously created by make from ./install.sh. 2001 # ./install, which can be erroneously created by make from ./install.sh.
2072 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2002 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2073 echo "configure:2074: checking for a BSD compatible install" >&5 2003 echo "configure:2004: checking for a BSD compatible install" >&5
2074 if test -z "$INSTALL"; then 2004 if test -z "$INSTALL"; then
2075 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2005 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2076 echo $ac_n "(cached) $ac_c" 1>&6 2006 echo $ac_n "(cached) $ac_c" 1>&6
2077 else 2007 else
2078 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 2008 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2079 for ac_dir in $PATH; do 2009 for ac_dir in $PATH; do
2080 # Account for people who put trailing slashes in PATH elements. 2010 # Account for people who put trailing slashes in PATH elements.
2081 case "$ac_dir/" in 2011 case "$ac_dir/" in
2082 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 2012 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
2083 *) 2013 *)
2084 # OSF1 and SCO ODT 3.0 have their own names for install. 2014 # OSF1 and SCO ODT 3.0 have their own names for install.
2085 # Don't use installbsd from OSF since it installs stuff as root 2015 for ac_prog in ginstall installbsd scoinst install; do
2086 # by default.
2087 for ac_prog in ginstall scoinst install; do
2088 if test -f $ac_dir/$ac_prog; then 2016 if test -f $ac_dir/$ac_prog; then
2089 if test $ac_prog = install && 2017 if test $ac_prog = install &&
2090 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 2018 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2091 # AIX install. It has an incompatible calling convention. 2019 # AIX install. It has an incompatible calling convention.
2020 # OSF/1 installbsd also uses dspmsg, but is usable.
2092 : 2021 :
2093 else 2022 else
2094 ac_cv_path_install="$ac_dir/$ac_prog -c" 2023 ac_cv_path_install="$ac_dir/$ac_prog -c"
2095 break 2 2024 break 2
2096 fi 2025 fi
2116 2045
2117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2046 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2118 # It thinks the first close brace ends the variable substitution. 2047 # It thinks the first close brace ends the variable substitution.
2119 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2048 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2120 2049
2121 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2122
2123 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2124 2051
2125 for ac_prog in 'bison -y' byacc 2052 for ac_prog in 'bison -y' byacc
2126 do 2053 do
2127 # Extract the first word of "$ac_prog", so it can be a program name with args. 2054 # Extract the first word of "$ac_prog", so it can be a program name with args.
2128 set dummy $ac_prog; ac_word=$2 2055 set dummy $ac_prog; ac_word=$2
2129 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2130 echo "configure:2131: checking for $ac_word" >&5 2057 echo "configure:2058: checking for $ac_word" >&5
2131 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2058 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2132 echo $ac_n "(cached) $ac_c" 1>&6 2059 echo $ac_n "(cached) $ac_c" 1>&6
2133 else 2060 else
2134 if test -n "$YACC"; then 2061 if test -n "$YACC"; then
2135 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2062 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2136 else 2063 else
2137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2138 ac_dummy="$PATH" 2065 for ac_dir in $PATH; do
2139 for ac_dir in $ac_dummy; do
2140 test -z "$ac_dir" && ac_dir=. 2066 test -z "$ac_dir" && ac_dir=.
2141 if test -f $ac_dir/$ac_word; then 2067 if test -f $ac_dir/$ac_word; then
2142 ac_cv_prog_YACC="$ac_prog" 2068 ac_cv_prog_YACC="$ac_prog"
2143 break 2069 break
2144 fi 2070 fi
2157 done 2083 done
2158 test -n "$YACC" || YACC="yacc" 2084 test -n "$YACC" || YACC="yacc"
2159 2085
2160 2086
2161 echo $ac_n "checking for AIX""... $ac_c" 1>&6 2087 echo $ac_n "checking for AIX""... $ac_c" 1>&6
2162 echo "configure:2163: checking for AIX" >&5 2088 echo "configure:2089: checking for AIX" >&5
2163 cat > conftest.$ac_ext <<EOF 2089 cat > conftest.$ac_ext <<EOF
2164 #line 2165 "configure" 2090 #line 2091 "configure"
2165 #include "confdefs.h" 2091 #include "confdefs.h"
2166 #ifdef _AIX 2092 #ifdef _AIX
2167 yes 2093 yes
2168 #endif 2094 #endif
2169 2095
2186 # Sound support for GNU/Linux and the free BSDs. 2112 # Sound support for GNU/Linux and the free BSDs.
2187 for ac_hdr in machine/soundcard.h sys/soundcard.h 2113 for ac_hdr in machine/soundcard.h sys/soundcard.h
2188 do 2114 do
2189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2191 echo "configure:2192: checking for $ac_hdr" >&5 2117 echo "configure:2118: checking for $ac_hdr" >&5
2192 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2118 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2193 echo $ac_n "(cached) $ac_c" 1>&6 2119 echo $ac_n "(cached) $ac_c" 1>&6
2194 else 2120 else
2195 cat > conftest.$ac_ext <<EOF 2121 cat > conftest.$ac_ext <<EOF
2196 #line 2197 "configure" 2122 #line 2123 "configure"
2197 #include "confdefs.h" 2123 #include "confdefs.h"
2198 #include <$ac_hdr> 2124 #include <$ac_hdr>
2199 EOF 2125 EOF
2200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2201 { (eval echo configure:2202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2127 { (eval echo configure:2128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2128 ac_err=`grep -v '^ *+' conftest.out`
2203 if test -z "$ac_err"; then 2129 if test -z "$ac_err"; then
2204 rm -rf conftest* 2130 rm -rf conftest*
2205 eval "ac_cv_header_$ac_safe=yes" 2131 eval "ac_cv_header_$ac_safe=yes"
2206 else 2132 else
2207 echo "$ac_err" >&5 2133 echo "$ac_err" >&5
2229 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 2155 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
2230 termcap.h stdio_ext.h 2156 termcap.h stdio_ext.h
2231 do 2157 do
2232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2234 echo "configure:2235: checking for $ac_hdr" >&5 2160 echo "configure:2161: checking for $ac_hdr" >&5
2235 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2161 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2236 echo $ac_n "(cached) $ac_c" 1>&6 2162 echo $ac_n "(cached) $ac_c" 1>&6
2237 else 2163 else
2238 cat > conftest.$ac_ext <<EOF 2164 cat > conftest.$ac_ext <<EOF
2239 #line 2240 "configure" 2165 #line 2166 "configure"
2240 #include "confdefs.h" 2166 #include "confdefs.h"
2241 #include <$ac_hdr> 2167 #include <$ac_hdr>
2242 EOF 2168 EOF
2243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2244 { (eval echo configure:2245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2170 { (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2171 ac_err=`grep -v '^ *+' conftest.out`
2246 if test -z "$ac_err"; then 2172 if test -z "$ac_err"; then
2247 rm -rf conftest* 2173 rm -rf conftest*
2248 eval "ac_cv_header_$ac_safe=yes" 2174 eval "ac_cv_header_$ac_safe=yes"
2249 else 2175 else
2250 echo "$ac_err" >&5 2176 echo "$ac_err" >&5
2266 echo "$ac_t""no" 1>&6 2192 echo "$ac_t""no" 1>&6
2267 fi 2193 fi
2268 done 2194 done
2269 2195
2270 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2196 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2271 echo "configure:2272: checking for ANSI C header files" >&5 2197 echo "configure:2198: checking for ANSI C header files" >&5
2272 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2198 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2273 echo $ac_n "(cached) $ac_c" 1>&6 2199 echo $ac_n "(cached) $ac_c" 1>&6
2274 else 2200 else
2275 cat > conftest.$ac_ext <<EOF 2201 cat > conftest.$ac_ext <<EOF
2276 #line 2277 "configure" 2202 #line 2203 "configure"
2277 #include "confdefs.h" 2203 #include "confdefs.h"
2278 #include <stdlib.h> 2204 #include <stdlib.h>
2279 #include <stdarg.h> 2205 #include <stdarg.h>
2280 #include <string.h> 2206 #include <string.h>
2281 #include <float.h> 2207 #include <float.h>
2282 EOF 2208 EOF
2283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2284 { (eval echo configure:2285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2210 { (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2211 ac_err=`grep -v '^ *+' conftest.out`
2286 if test -z "$ac_err"; then 2212 if test -z "$ac_err"; then
2287 rm -rf conftest* 2213 rm -rf conftest*
2288 ac_cv_header_stdc=yes 2214 ac_cv_header_stdc=yes
2289 else 2215 else
2290 echo "$ac_err" >&5 2216 echo "$ac_err" >&5
2296 rm -f conftest* 2222 rm -f conftest*
2297 2223
2298 if test $ac_cv_header_stdc = yes; then 2224 if test $ac_cv_header_stdc = yes; then
2299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2300 cat > conftest.$ac_ext <<EOF 2226 cat > conftest.$ac_ext <<EOF
2301 #line 2302 "configure" 2227 #line 2228 "configure"
2302 #include "confdefs.h" 2228 #include "confdefs.h"
2303 #include <string.h> 2229 #include <string.h>
2304 EOF 2230 EOF
2305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2306 egrep "memchr" >/dev/null 2>&1; then 2232 egrep "memchr" >/dev/null 2>&1; then
2314 fi 2240 fi
2315 2241
2316 if test $ac_cv_header_stdc = yes; then 2242 if test $ac_cv_header_stdc = yes; then
2317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2318 cat > conftest.$ac_ext <<EOF 2244 cat > conftest.$ac_ext <<EOF
2319 #line 2320 "configure" 2245 #line 2246 "configure"
2320 #include "confdefs.h" 2246 #include "confdefs.h"
2321 #include <stdlib.h> 2247 #include <stdlib.h>
2322 EOF 2248 EOF
2323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2324 egrep "free" >/dev/null 2>&1; then 2250 egrep "free" >/dev/null 2>&1; then
2335 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2261 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2336 if test "$cross_compiling" = yes; then 2262 if test "$cross_compiling" = yes; then
2337 : 2263 :
2338 else 2264 else
2339 cat > conftest.$ac_ext <<EOF 2265 cat > conftest.$ac_ext <<EOF
2340 #line 2341 "configure" 2266 #line 2267 "configure"
2341 #include "confdefs.h" 2267 #include "confdefs.h"
2342 #include <ctype.h> 2268 #include <ctype.h>
2343 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2269 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2344 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2270 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2345 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2271 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2346 int main () { int i; for (i = 0; i < 256; i++) 2272 int main () { int i; for (i = 0; i < 256; i++)
2347 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2273 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2348 exit (0); } 2274 exit (0); }
2349 2275
2350 EOF 2276 EOF
2351 if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2277 if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2352 then 2278 then
2353 : 2279 :
2354 else 2280 else
2355 echo "configure: failed program was:" >&5 2281 echo "configure: failed program was:" >&5
2356 cat conftest.$ac_ext >&5 2282 cat conftest.$ac_ext >&5
2370 EOF 2296 EOF
2371 2297
2372 fi 2298 fi
2373 2299
2374 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2300 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2375 echo "configure:2376: checking whether time.h and sys/time.h may both be included" >&5 2301 echo "configure:2302: checking whether time.h and sys/time.h may both be included" >&5
2376 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2302 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2377 echo $ac_n "(cached) $ac_c" 1>&6 2303 echo $ac_n "(cached) $ac_c" 1>&6
2378 else 2304 else
2379 cat > conftest.$ac_ext <<EOF 2305 cat > conftest.$ac_ext <<EOF
2380 #line 2381 "configure" 2306 #line 2307 "configure"
2381 #include "confdefs.h" 2307 #include "confdefs.h"
2382 #include <sys/types.h> 2308 #include <sys/types.h>
2383 #include <sys/time.h> 2309 #include <sys/time.h>
2384 #include <time.h> 2310 #include <time.h>
2385 int main() { 2311 int main() {
2386 struct tm *tp; 2312 struct tm *tp;
2387 ; return 0; } 2313 ; return 0; }
2388 EOF 2314 EOF
2389 if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2315 if { (eval echo configure:2316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2390 rm -rf conftest* 2316 rm -rf conftest*
2391 ac_cv_header_time=yes 2317 ac_cv_header_time=yes
2392 else 2318 else
2393 echo "configure: failed program was:" >&5 2319 echo "configure: failed program was:" >&5
2394 cat conftest.$ac_ext >&5 2320 cat conftest.$ac_ext >&5
2405 EOF 2331 EOF
2406 2332
2407 fi 2333 fi
2408 2334
2409 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2335 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2410 echo "configure:2411: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2336 echo "configure:2337: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2411 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2337 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2412 echo $ac_n "(cached) $ac_c" 1>&6 2338 echo $ac_n "(cached) $ac_c" 1>&6
2413 else 2339 else
2414 cat > conftest.$ac_ext <<EOF 2340 cat > conftest.$ac_ext <<EOF
2415 #line 2416 "configure" 2341 #line 2342 "configure"
2416 #include "confdefs.h" 2342 #include "confdefs.h"
2417 #include <sys/types.h> 2343 #include <sys/types.h>
2418 #include <signal.h> 2344 #include <signal.h>
2419 /* NetBSD declares sys_siglist in unistd.h. */ 2345 /* NetBSD declares sys_siglist in unistd.h. */
2420 #ifdef HAVE_UNISTD_H 2346 #ifdef HAVE_UNISTD_H
2422 #endif 2348 #endif
2423 int main() { 2349 int main() {
2424 char *msg = *(sys_siglist + 1); 2350 char *msg = *(sys_siglist + 1);
2425 ; return 0; } 2351 ; return 0; }
2426 EOF 2352 EOF
2427 if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2353 if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2428 rm -rf conftest* 2354 rm -rf conftest*
2429 ac_cv_decl_sys_siglist=yes 2355 ac_cv_decl_sys_siglist=yes
2430 else 2356 else
2431 echo "configure: failed program was:" >&5 2357 echo "configure: failed program was:" >&5
2432 cat conftest.$ac_ext >&5 2358 cat conftest.$ac_ext >&5
2444 2370
2445 fi 2371 fi
2446 2372
2447 2373
2448 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2374 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2449 echo "configure:2450: checking for struct utimbuf" >&5 2375 echo "configure:2376: checking for struct utimbuf" >&5
2450 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2376 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2451 echo $ac_n "(cached) $ac_c" 1>&6 2377 echo $ac_n "(cached) $ac_c" 1>&6
2452 else 2378 else
2453 cat > conftest.$ac_ext <<EOF 2379 cat > conftest.$ac_ext <<EOF
2454 #line 2455 "configure" 2380 #line 2381 "configure"
2455 #include "confdefs.h" 2381 #include "confdefs.h"
2456 #ifdef TIME_WITH_SYS_TIME 2382 #ifdef TIME_WITH_SYS_TIME
2457 #include <sys/time.h> 2383 #include <sys/time.h>
2458 #include <time.h> 2384 #include <time.h>
2459 #else 2385 #else
2468 #endif 2394 #endif
2469 int main() { 2395 int main() {
2470 static struct utimbuf x; x.actime = x.modtime; 2396 static struct utimbuf x; x.actime = x.modtime;
2471 ; return 0; } 2397 ; return 0; }
2472 EOF 2398 EOF
2473 if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2399 if { (eval echo configure:2400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2474 rm -rf conftest* 2400 rm -rf conftest*
2475 emacs_cv_struct_utimbuf=yes 2401 emacs_cv_struct_utimbuf=yes
2476 else 2402 else
2477 echo "configure: failed program was:" >&5 2403 echo "configure: failed program was:" >&5
2478 cat conftest.$ac_ext >&5 2404 cat conftest.$ac_ext >&5
2489 EOF 2415 EOF
2490 2416
2491 fi 2417 fi
2492 2418
2493 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2419 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2494 echo "configure:2495: checking return type of signal handlers" >&5 2420 echo "configure:2421: checking return type of signal handlers" >&5
2495 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2421 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2496 echo $ac_n "(cached) $ac_c" 1>&6 2422 echo $ac_n "(cached) $ac_c" 1>&6
2497 else 2423 else
2498 cat > conftest.$ac_ext <<EOF 2424 cat > conftest.$ac_ext <<EOF
2499 #line 2500 "configure" 2425 #line 2426 "configure"
2500 #include "confdefs.h" 2426 #include "confdefs.h"
2501 #include <sys/types.h> 2427 #include <sys/types.h>
2502 #include <signal.h> 2428 #include <signal.h>
2503 #ifdef signal 2429 #ifdef signal
2504 #undef signal 2430 #undef signal
2511 2437
2512 int main() { 2438 int main() {
2513 int i; 2439 int i;
2514 ; return 0; } 2440 ; return 0; }
2515 EOF 2441 EOF
2516 if { (eval echo configure:2517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2442 if { (eval echo configure:2443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2517 rm -rf conftest* 2443 rm -rf conftest*
2518 ac_cv_type_signal=void 2444 ac_cv_type_signal=void
2519 else 2445 else
2520 echo "configure: failed program was:" >&5 2446 echo "configure: failed program was:" >&5
2521 cat conftest.$ac_ext >&5 2447 cat conftest.$ac_ext >&5
2531 EOF 2457 EOF
2532 2458
2533 2459
2534 2460
2535 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2461 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2536 echo "configure:2537: checking for struct timeval" >&5 2462 echo "configure:2463: checking for struct timeval" >&5
2537 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2463 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2538 echo $ac_n "(cached) $ac_c" 1>&6 2464 echo $ac_n "(cached) $ac_c" 1>&6
2539 else 2465 else
2540 cat > conftest.$ac_ext <<EOF 2466 cat > conftest.$ac_ext <<EOF
2541 #line 2542 "configure" 2467 #line 2468 "configure"
2542 #include "confdefs.h" 2468 #include "confdefs.h"
2543 #ifdef TIME_WITH_SYS_TIME 2469 #ifdef TIME_WITH_SYS_TIME
2544 #include <sys/time.h> 2470 #include <sys/time.h>
2545 #include <time.h> 2471 #include <time.h>
2546 #else 2472 #else
2552 #endif 2478 #endif
2553 int main() { 2479 int main() {
2554 static struct timeval x; x.tv_sec = x.tv_usec; 2480 static struct timeval x; x.tv_sec = x.tv_usec;
2555 ; return 0; } 2481 ; return 0; }
2556 EOF 2482 EOF
2557 if { (eval echo configure:2558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2483 if { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2558 rm -rf conftest* 2484 rm -rf conftest*
2559 emacs_cv_struct_timeval=yes 2485 emacs_cv_struct_timeval=yes
2560 else 2486 else
2561 echo "configure: failed program was:" >&5 2487 echo "configure: failed program was:" >&5
2562 cat conftest.$ac_ext >&5 2488 cat conftest.$ac_ext >&5
2574 EOF 2500 EOF
2575 2501
2576 fi 2502 fi
2577 2503
2578 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2504 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2579 echo "configure:2580: checking whether struct tm is in sys/time.h or time.h" >&5 2505 echo "configure:2506: checking whether struct tm is in sys/time.h or time.h" >&5
2580 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2506 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2581 echo $ac_n "(cached) $ac_c" 1>&6 2507 echo $ac_n "(cached) $ac_c" 1>&6
2582 else 2508 else
2583 cat > conftest.$ac_ext <<EOF 2509 cat > conftest.$ac_ext <<EOF
2584 #line 2585 "configure" 2510 #line 2511 "configure"
2585 #include "confdefs.h" 2511 #include "confdefs.h"
2586 #include <sys/types.h> 2512 #include <sys/types.h>
2587 #include <time.h> 2513 #include <time.h>
2588 int main() { 2514 int main() {
2589 struct tm *tp; tp->tm_sec; 2515 struct tm *tp; tp->tm_sec;
2590 ; return 0; } 2516 ; return 0; }
2591 EOF 2517 EOF
2592 if { (eval echo configure:2593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2518 if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2593 rm -rf conftest* 2519 rm -rf conftest*
2594 ac_cv_struct_tm=time.h 2520 ac_cv_struct_tm=time.h
2595 else 2521 else
2596 echo "configure: failed program was:" >&5 2522 echo "configure: failed program was:" >&5
2597 cat conftest.$ac_ext >&5 2523 cat conftest.$ac_ext >&5
2608 EOF 2534 EOF
2609 2535
2610 fi 2536 fi
2611 2537
2612 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2538 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2613 echo "configure:2614: checking for tm_zone in struct tm" >&5 2539 echo "configure:2540: checking for tm_zone in struct tm" >&5
2614 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2540 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2615 echo $ac_n "(cached) $ac_c" 1>&6 2541 echo $ac_n "(cached) $ac_c" 1>&6
2616 else 2542 else
2617 cat > conftest.$ac_ext <<EOF 2543 cat > conftest.$ac_ext <<EOF
2618 #line 2619 "configure" 2544 #line 2545 "configure"
2619 #include "confdefs.h" 2545 #include "confdefs.h"
2620 #include <sys/types.h> 2546 #include <sys/types.h>
2621 #include <$ac_cv_struct_tm> 2547 #include <$ac_cv_struct_tm>
2622 int main() { 2548 int main() {
2623 struct tm tm; tm.tm_zone; 2549 struct tm tm; tm.tm_zone;
2624 ; return 0; } 2550 ; return 0; }
2625 EOF 2551 EOF
2626 if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2552 if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2627 rm -rf conftest* 2553 rm -rf conftest*
2628 ac_cv_struct_tm_zone=yes 2554 ac_cv_struct_tm_zone=yes
2629 else 2555 else
2630 echo "configure: failed program was:" >&5 2556 echo "configure: failed program was:" >&5
2631 cat conftest.$ac_ext >&5 2557 cat conftest.$ac_ext >&5
2641 #define HAVE_TM_ZONE 1 2567 #define HAVE_TM_ZONE 1
2642 EOF 2568 EOF
2643 2569
2644 else 2570 else
2645 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2571 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2646 echo "configure:2647: checking for tzname" >&5 2572 echo "configure:2573: checking for tzname" >&5
2647 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2573 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2648 echo $ac_n "(cached) $ac_c" 1>&6 2574 echo $ac_n "(cached) $ac_c" 1>&6
2649 else 2575 else
2650 cat > conftest.$ac_ext <<EOF 2576 cat > conftest.$ac_ext <<EOF
2651 #line 2652 "configure" 2577 #line 2578 "configure"
2652 #include "confdefs.h" 2578 #include "confdefs.h"
2653 #include <time.h> 2579 #include <time.h>
2654 #ifndef tzname /* For SGI. */ 2580 #ifndef tzname /* For SGI. */
2655 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 2581 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
2656 #endif 2582 #endif
2657 int main() { 2583 int main() {
2658 atoi(*tzname); 2584 atoi(*tzname);
2659 ; return 0; } 2585 ; return 0; }
2660 EOF 2586 EOF
2661 if { (eval echo configure:2662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2587 if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2662 rm -rf conftest* 2588 rm -rf conftest*
2663 ac_cv_var_tzname=yes 2589 ac_cv_var_tzname=yes
2664 else 2590 else
2665 echo "configure: failed program was:" >&5 2591 echo "configure: failed program was:" >&5
2666 cat conftest.$ac_ext >&5 2592 cat conftest.$ac_ext >&5
2678 2604
2679 fi 2605 fi
2680 fi 2606 fi
2681 2607
2682 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2608 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2683 echo "configure:2684: checking for tm_gmtoff in struct tm" >&5 2609 echo "configure:2610: checking for tm_gmtoff in struct tm" >&5
2684 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2610 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2685 echo $ac_n "(cached) $ac_c" 1>&6 2611 echo $ac_n "(cached) $ac_c" 1>&6
2686 else 2612 else
2687 cat > conftest.$ac_ext <<EOF 2613 cat > conftest.$ac_ext <<EOF
2688 #line 2689 "configure" 2614 #line 2615 "configure"
2689 #include "confdefs.h" 2615 #include "confdefs.h"
2690 #include <time.h> 2616 #include <time.h>
2691 int main() { 2617 int main() {
2692 struct tm t; t.tm_gmtoff = 0 2618 struct tm t; t.tm_gmtoff = 0
2693 ; return 0; } 2619 ; return 0; }
2694 EOF 2620 EOF
2695 if { (eval echo configure:2696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2621 if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2696 rm -rf conftest* 2622 rm -rf conftest*
2697 emacs_cv_tm_gmtoff=yes 2623 emacs_cv_tm_gmtoff=yes
2698 else 2624 else
2699 echo "configure: failed program was:" >&5 2625 echo "configure: failed program was:" >&5
2700 cat conftest.$ac_ext >&5 2626 cat conftest.$ac_ext >&5
2711 EOF 2637 EOF
2712 2638
2713 fi 2639 fi
2714 2640
2715 echo $ac_n "checking for working const""... $ac_c" 1>&6 2641 echo $ac_n "checking for working const""... $ac_c" 1>&6
2716 echo "configure:2717: checking for working const" >&5 2642 echo "configure:2643: checking for working const" >&5
2717 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2643 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2718 echo $ac_n "(cached) $ac_c" 1>&6 2644 echo $ac_n "(cached) $ac_c" 1>&6
2719 else 2645 else
2720 cat > conftest.$ac_ext <<EOF 2646 cat > conftest.$ac_ext <<EOF
2721 #line 2722 "configure" 2647 #line 2648 "configure"
2722 #include "confdefs.h" 2648 #include "confdefs.h"
2723 2649
2724 int main() { 2650 int main() {
2725 2651
2726 /* Ultrix mips cc rejects this. */ 2652 /* Ultrix mips cc rejects this. */
2765 const int foo = 10; 2691 const int foo = 10;
2766 } 2692 }
2767 2693
2768 ; return 0; } 2694 ; return 0; }
2769 EOF 2695 EOF
2770 if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2696 if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2771 rm -rf conftest* 2697 rm -rf conftest*
2772 ac_cv_c_const=yes 2698 ac_cv_c_const=yes
2773 else 2699 else
2774 echo "configure: failed program was:" >&5 2700 echo "configure: failed program was:" >&5
2775 cat conftest.$ac_ext >&5 2701 cat conftest.$ac_ext >&5
2787 2713
2788 fi 2714 fi
2789 2715
2790 2716
2791 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2717 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2792 echo "configure:2793: checking whether ${MAKE-make} sets \${MAKE}" >&5 2718 echo "configure:2719: checking whether ${MAKE-make} sets \${MAKE}" >&5
2793 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2719 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2794 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2720 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2795 echo $ac_n "(cached) $ac_c" 1>&6 2721 echo $ac_n "(cached) $ac_c" 1>&6
2796 else 2722 else
2797 cat > conftestmake <<\EOF 2723 cat > conftestmake <<\EOF
2815 SET_MAKE="MAKE=${MAKE-make}" 2741 SET_MAKE="MAKE=${MAKE-make}"
2816 fi 2742 fi
2817 2743
2818 2744
2819 echo $ac_n "checking for long file names""... $ac_c" 1>&6 2745 echo $ac_n "checking for long file names""... $ac_c" 1>&6
2820 echo "configure:2821: checking for long file names" >&5 2746 echo "configure:2747: checking for long file names" >&5
2821 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 2747 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2822 echo $ac_n "(cached) $ac_c" 1>&6 2748 echo $ac_n "(cached) $ac_c" 1>&6
2823 else 2749 else
2824 ac_cv_sys_long_file_names=yes 2750 ac_cv_sys_long_file_names=yes
2825 # Test for long file names in all the places we know might matter: 2751 # Test for long file names in all the places we know might matter:
2866 # If we find X, set shell vars x_includes and x_libraries to the 2792 # If we find X, set shell vars x_includes and x_libraries to the
2867 # paths, otherwise set no_x=yes. 2793 # paths, otherwise set no_x=yes.
2868 # Uses ac_ vars as temps to allow command line to override cache and checks. 2794 # Uses ac_ vars as temps to allow command line to override cache and checks.
2869 # --without-x overrides everything else, but does not touch the cache. 2795 # --without-x overrides everything else, but does not touch the cache.
2870 echo $ac_n "checking for X""... $ac_c" 1>&6 2796 echo $ac_n "checking for X""... $ac_c" 1>&6
2871 echo "configure:2872: checking for X" >&5 2797 echo "configure:2798: checking for X" >&5
2872 2798
2873 # Check whether --with-x or --without-x was given. 2799 # Check whether --with-x or --without-x was given.
2874 if test "${with_x+set}" = set; then 2800 if test "${with_x+set}" = set; then
2875 withval="$with_x" 2801 withval="$with_x"
2876 : 2802 :
2928 # Guess where to find include files, by looking for this one X11 .h file. 2854 # Guess where to find include files, by looking for this one X11 .h file.
2929 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 2855 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
2930 2856
2931 # First, try using that file with no special directory specified. 2857 # First, try using that file with no special directory specified.
2932 cat > conftest.$ac_ext <<EOF 2858 cat > conftest.$ac_ext <<EOF
2933 #line 2934 "configure" 2859 #line 2860 "configure"
2934 #include "confdefs.h" 2860 #include "confdefs.h"
2935 #include <$x_direct_test_include> 2861 #include <$x_direct_test_include>
2936 EOF 2862 EOF
2937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2938 { (eval echo configure:2939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2864 { (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2865 ac_err=`grep -v '^ *+' conftest.out`
2940 if test -z "$ac_err"; then 2866 if test -z "$ac_err"; then
2941 rm -rf conftest* 2867 rm -rf conftest*
2942 # We can compile using X headers with no special include directory. 2868 # We can compile using X headers with no special include directory.
2943 ac_x_includes= 2869 ac_x_includes=
2944 else 2870 else
3002 # See if we find them without any special options. 2928 # See if we find them without any special options.
3003 # Don't add to $LIBS permanently. 2929 # Don't add to $LIBS permanently.
3004 ac_save_LIBS="$LIBS" 2930 ac_save_LIBS="$LIBS"
3005 LIBS="-l$x_direct_test_library $LIBS" 2931 LIBS="-l$x_direct_test_library $LIBS"
3006 cat > conftest.$ac_ext <<EOF 2932 cat > conftest.$ac_ext <<EOF
3007 #line 3008 "configure" 2933 #line 2934 "configure"
3008 #include "confdefs.h" 2934 #include "confdefs.h"
3009 2935
3010 int main() { 2936 int main() {
3011 ${x_direct_test_function}() 2937 ${x_direct_test_function}()
3012 ; return 0; } 2938 ; return 0; }
3013 EOF 2939 EOF
3014 if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3015 rm -rf conftest* 2941 rm -rf conftest*
3016 LIBS="$ac_save_LIBS" 2942 LIBS="$ac_save_LIBS"
3017 # We can link X programs with no special library path. 2943 # We can link X programs with no special library path.
3018 ac_x_libraries= 2944 ac_x_libraries=
3019 else 2945 else
3184 #### Extract some information from the operating system and machine files. 3110 #### Extract some information from the operating system and machine files.
3185 3111
3186 echo "checking the machine- and system-dependent files to find out 3112 echo "checking the machine- and system-dependent files to find out
3187 - which libraries the lib-src programs will want, and 3113 - which libraries the lib-src programs will want, and
3188 - whether the GNU malloc routines are usable" 1>&6 3114 - whether the GNU malloc routines are usable" 1>&6
3189 echo "configure:3190: checking the machine- and system-dependent files to find out 3115 echo "configure:3116: checking the machine- and system-dependent files to find out
3190 - which libraries the lib-src programs will want, and 3116 - which libraries the lib-src programs will want, and
3191 - whether the GNU malloc routines are usable" >&5 3117 - whether the GNU malloc routines are usable" >&5
3192 3118
3193 ### First figure out CFLAGS (which we use for running the compiler here) 3119 ### First figure out CFLAGS (which we use for running the compiler here)
3194 ### and REAL_CFLAGS (which we use for real compilation). 3120 ### and REAL_CFLAGS (which we use for real compilation).
3314 # Do the opsystem or machine files prohibit the use of the GNU malloc? 3240 # Do the opsystem or machine files prohibit the use of the GNU malloc?
3315 # Assume not, until told otherwise. 3241 # Assume not, until told otherwise.
3316 GNU_MALLOC=yes 3242 GNU_MALLOC=yes
3317 doug_lea_malloc=yes 3243 doug_lea_malloc=yes
3318 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3244 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3319 echo "configure:3320: checking for malloc_get_state" >&5 3245 echo "configure:3246: checking for malloc_get_state" >&5
3320 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3246 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3321 echo $ac_n "(cached) $ac_c" 1>&6 3247 echo $ac_n "(cached) $ac_c" 1>&6
3322 else 3248 else
3323 cat > conftest.$ac_ext <<EOF 3249 cat > conftest.$ac_ext <<EOF
3324 #line 3325 "configure" 3250 #line 3251 "configure"
3325 #include "confdefs.h" 3251 #include "confdefs.h"
3326 /* System header to define __stub macros and hopefully few prototypes, 3252 /* System header to define __stub macros and hopefully few prototypes,
3327 which can conflict with char malloc_get_state(); below. */ 3253 which can conflict with char malloc_get_state(); below. */
3328 #include <assert.h> 3254 #include <assert.h>
3329 /* Override any gcc2 internal prototype to avoid an error. */ 3255 /* Override any gcc2 internal prototype to avoid an error. */
3342 malloc_get_state(); 3268 malloc_get_state();
3343 #endif 3269 #endif
3344 3270
3345 ; return 0; } 3271 ; return 0; }
3346 EOF 3272 EOF
3347 if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3273 if { (eval echo configure:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3348 rm -rf conftest* 3274 rm -rf conftest*
3349 eval "ac_cv_func_malloc_get_state=yes" 3275 eval "ac_cv_func_malloc_get_state=yes"
3350 else 3276 else
3351 echo "configure: failed program was:" >&5 3277 echo "configure: failed program was:" >&5
3352 cat conftest.$ac_ext >&5 3278 cat conftest.$ac_ext >&5
3363 echo "$ac_t""no" 1>&6 3289 echo "$ac_t""no" 1>&6
3364 doug_lea_malloc=no 3290 doug_lea_malloc=no
3365 fi 3291 fi
3366 3292
3367 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3293 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3368 echo "configure:3369: checking for malloc_set_state" >&5 3294 echo "configure:3295: checking for malloc_set_state" >&5
3369 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3295 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3370 echo $ac_n "(cached) $ac_c" 1>&6 3296 echo $ac_n "(cached) $ac_c" 1>&6
3371 else 3297 else
3372 cat > conftest.$ac_ext <<EOF 3298 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure" 3299 #line 3300 "configure"
3374 #include "confdefs.h" 3300 #include "confdefs.h"
3375 /* System header to define __stub macros and hopefully few prototypes, 3301 /* System header to define __stub macros and hopefully few prototypes,
3376 which can conflict with char malloc_set_state(); below. */ 3302 which can conflict with char malloc_set_state(); below. */
3377 #include <assert.h> 3303 #include <assert.h>
3378 /* Override any gcc2 internal prototype to avoid an error. */ 3304 /* Override any gcc2 internal prototype to avoid an error. */
3391 malloc_set_state(); 3317 malloc_set_state();
3392 #endif 3318 #endif
3393 3319
3394 ; return 0; } 3320 ; return 0; }
3395 EOF 3321 EOF
3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3322 if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3397 rm -rf conftest* 3323 rm -rf conftest*
3398 eval "ac_cv_func_malloc_set_state=yes" 3324 eval "ac_cv_func_malloc_set_state=yes"
3399 else 3325 else
3400 echo "configure: failed program was:" >&5 3326 echo "configure: failed program was:" >&5
3401 cat conftest.$ac_ext >&5 3327 cat conftest.$ac_ext >&5
3412 echo "$ac_t""no" 1>&6 3338 echo "$ac_t""no" 1>&6
3413 doug_lea_malloc=no 3339 doug_lea_malloc=no
3414 fi 3340 fi
3415 3341
3416 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3342 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3417 echo "configure:3418: checking whether __after_morecore_hook exists" >&5 3343 echo "configure:3344: checking whether __after_morecore_hook exists" >&5
3418 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3344 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3419 echo $ac_n "(cached) $ac_c" 1>&6 3345 echo $ac_n "(cached) $ac_c" 1>&6
3420 else 3346 else
3421 cat > conftest.$ac_ext <<EOF 3347 cat > conftest.$ac_ext <<EOF
3422 #line 3423 "configure" 3348 #line 3349 "configure"
3423 #include "confdefs.h" 3349 #include "confdefs.h"
3424 extern void (* __after_morecore_hook)(); 3350 extern void (* __after_morecore_hook)();
3425 int main() { 3351 int main() {
3426 __after_morecore_hook = 0 3352 __after_morecore_hook = 0
3427 ; return 0; } 3353 ; return 0; }
3428 EOF 3354 EOF
3429 if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3355 if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3430 rm -rf conftest* 3356 rm -rf conftest*
3431 emacs_cv_var___after_morecore_hook=yes 3357 emacs_cv_var___after_morecore_hook=yes
3432 else 3358 else
3433 echo "configure: failed program was:" >&5 3359 echo "configure: failed program was:" >&5
3434 cat conftest.$ac_ext >&5 3360 cat conftest.$ac_ext >&5
3474 fi 3400 fi
3475 3401
3476 LIBS="$libsrc_libs $LIBS" 3402 LIBS="$libsrc_libs $LIBS"
3477 3403
3478 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3404 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3479 echo "configure:3480: checking for dnet_ntoa in -ldnet" >&5 3405 echo "configure:3406: checking for dnet_ntoa in -ldnet" >&5
3480 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3406 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3481 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3482 echo $ac_n "(cached) $ac_c" 1>&6 3408 echo $ac_n "(cached) $ac_c" 1>&6
3483 else 3409 else
3484 ac_save_LIBS="$LIBS" 3410 ac_save_LIBS="$LIBS"
3485 LIBS="-ldnet $LIBS" 3411 LIBS="-ldnet $LIBS"
3486 cat > conftest.$ac_ext <<EOF 3412 cat > conftest.$ac_ext <<EOF
3487 #line 3488 "configure" 3413 #line 3414 "configure"
3488 #include "confdefs.h" 3414 #include "confdefs.h"
3489 /* Override any gcc2 internal prototype to avoid an error. */ 3415 /* Override any gcc2 internal prototype to avoid an error. */
3490 /* We use char because int might match the return type of a gcc2 3416 /* We use char because int might match the return type of a gcc2
3491 builtin and then its argument prototype would still apply. */ 3417 builtin and then its argument prototype would still apply. */
3492 char dnet_ntoa(); 3418 char dnet_ntoa();
3493 3419
3494 int main() { 3420 int main() {
3495 dnet_ntoa() 3421 dnet_ntoa()
3496 ; return 0; } 3422 ; return 0; }
3497 EOF 3423 EOF
3498 if { (eval echo configure:3499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3424 if { (eval echo configure:3425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3499 rm -rf conftest* 3425 rm -rf conftest*
3500 eval "ac_cv_lib_$ac_lib_var=yes" 3426 eval "ac_cv_lib_$ac_lib_var=yes"
3501 else 3427 else
3502 echo "configure: failed program was:" >&5 3428 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5 3429 cat conftest.$ac_ext >&5
3522 echo "$ac_t""no" 1>&6 3448 echo "$ac_t""no" 1>&6
3523 fi 3449 fi
3524 3450
3525 3451
3526 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3452 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3527 echo "configure:3528: checking for main in -lXbsd" >&5 3453 echo "configure:3454: checking for main in -lXbsd" >&5
3528 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3454 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3530 echo $ac_n "(cached) $ac_c" 1>&6 3456 echo $ac_n "(cached) $ac_c" 1>&6
3531 else 3457 else
3532 ac_save_LIBS="$LIBS" 3458 ac_save_LIBS="$LIBS"
3533 LIBS="-lXbsd $LIBS" 3459 LIBS="-lXbsd $LIBS"
3534 cat > conftest.$ac_ext <<EOF 3460 cat > conftest.$ac_ext <<EOF
3535 #line 3536 "configure" 3461 #line 3462 "configure"
3536 #include "confdefs.h" 3462 #include "confdefs.h"
3537 3463
3538 int main() { 3464 int main() {
3539 main() 3465 main()
3540 ; return 0; } 3466 ; return 0; }
3541 EOF 3467 EOF
3542 if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3468 if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3543 rm -rf conftest* 3469 rm -rf conftest*
3544 eval "ac_cv_lib_$ac_lib_var=yes" 3470 eval "ac_cv_lib_$ac_lib_var=yes"
3545 else 3471 else
3546 echo "configure: failed program was:" >&5 3472 echo "configure: failed program was:" >&5
3547 cat conftest.$ac_ext >&5 3473 cat conftest.$ac_ext >&5
3559 echo "$ac_t""no" 1>&6 3485 echo "$ac_t""no" 1>&6
3560 fi 3486 fi
3561 3487
3562 3488
3563 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3489 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3564 echo "configure:3565: checking for cma_open in -lpthreads" >&5 3490 echo "configure:3491: checking for cma_open in -lpthreads" >&5
3565 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3491 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3567 echo $ac_n "(cached) $ac_c" 1>&6 3493 echo $ac_n "(cached) $ac_c" 1>&6
3568 else 3494 else
3569 ac_save_LIBS="$LIBS" 3495 ac_save_LIBS="$LIBS"
3570 LIBS="-lpthreads $LIBS" 3496 LIBS="-lpthreads $LIBS"
3571 cat > conftest.$ac_ext <<EOF 3497 cat > conftest.$ac_ext <<EOF
3572 #line 3573 "configure" 3498 #line 3499 "configure"
3573 #include "confdefs.h" 3499 #include "confdefs.h"
3574 /* Override any gcc2 internal prototype to avoid an error. */ 3500 /* Override any gcc2 internal prototype to avoid an error. */
3575 /* We use char because int might match the return type of a gcc2 3501 /* We use char because int might match the return type of a gcc2
3576 builtin and then its argument prototype would still apply. */ 3502 builtin and then its argument prototype would still apply. */
3577 char cma_open(); 3503 char cma_open();
3578 3504
3579 int main() { 3505 int main() {
3580 cma_open() 3506 cma_open()
3581 ; return 0; } 3507 ; return 0; }
3582 EOF 3508 EOF
3583 if { (eval echo configure:3584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3509 if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3584 rm -rf conftest* 3510 rm -rf conftest*
3585 eval "ac_cv_lib_$ac_lib_var=yes" 3511 eval "ac_cv_lib_$ac_lib_var=yes"
3586 else 3512 else
3587 echo "configure: failed program was:" >&5 3513 echo "configure: failed program was:" >&5
3588 cat conftest.$ac_ext >&5 3514 cat conftest.$ac_ext >&5
3607 echo "$ac_t""no" 1>&6 3533 echo "$ac_t""no" 1>&6
3608 fi 3534 fi
3609 3535
3610 3536
3611 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3537 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3612 echo "configure:3613: checking for XFree86 in /usr/X386" >&5 3538 echo "configure:3539: checking for XFree86 in /usr/X386" >&5
3613 if test -d /usr/X386/include; then 3539 if test -d /usr/X386/include; then
3614 HAVE_XFREE386=yes 3540 HAVE_XFREE386=yes
3615 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3541 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
3616 else 3542 else
3617 HAVE_XFREE386=no 3543 HAVE_XFREE386=no
3636 export LD_RUN_PATH 3562 export LD_RUN_PATH
3637 fi 3563 fi
3638 3564
3639 if test "${opsys}" = "gnu-linux"; then 3565 if test "${opsys}" = "gnu-linux"; then
3640 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3566 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3641 echo "configure:3642: checking whether X on GNU/Linux needs -b to link" >&5 3567 echo "configure:3568: checking whether X on GNU/Linux needs -b to link" >&5
3642 cat > conftest.$ac_ext <<EOF 3568 cat > conftest.$ac_ext <<EOF
3643 #line 3644 "configure" 3569 #line 3570 "configure"
3644 #include "confdefs.h" 3570 #include "confdefs.h"
3645 3571
3646 int main() { 3572 int main() {
3647 XOpenDisplay ("foo"); 3573 XOpenDisplay ("foo");
3648 ; return 0; } 3574 ; return 0; }
3649 EOF 3575 EOF
3650 if { (eval echo configure:3651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3576 if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3651 rm -rf conftest* 3577 rm -rf conftest*
3652 xlinux_first_failure=no 3578 xlinux_first_failure=no
3653 else 3579 else
3654 echo "configure: failed program was:" >&5 3580 echo "configure: failed program was:" >&5
3655 cat conftest.$ac_ext >&5 3581 cat conftest.$ac_ext >&5
3665 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 3591 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
3666 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 3592 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
3667 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3593 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3668 LIBS="$LIBS -b i486-linuxaout" 3594 LIBS="$LIBS -b i486-linuxaout"
3669 cat > conftest.$ac_ext <<EOF 3595 cat > conftest.$ac_ext <<EOF
3670 #line 3671 "configure" 3596 #line 3597 "configure"
3671 #include "confdefs.h" 3597 #include "confdefs.h"
3672 3598
3673 int main() { 3599 int main() {
3674 XOpenDisplay ("foo"); 3600 XOpenDisplay ("foo");
3675 ; return 0; } 3601 ; return 0; }
3676 EOF 3602 EOF
3677 if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3603 if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3678 rm -rf conftest* 3604 rm -rf conftest*
3679 xlinux_second_failure=no 3605 xlinux_second_failure=no
3680 else 3606 else
3681 echo "configure: failed program was:" >&5 3607 echo "configure: failed program was:" >&5
3682 cat conftest.$ac_ext >&5 3608 cat conftest.$ac_ext >&5
3702 3628
3703 for ac_func in XrmSetDatabase XScreenResourceString \ 3629 for ac_func in XrmSetDatabase XScreenResourceString \
3704 XScreenNumberOfScreen XSetWMProtocols 3630 XScreenNumberOfScreen XSetWMProtocols
3705 do 3631 do
3706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3707 echo "configure:3708: checking for $ac_func" >&5 3633 echo "configure:3634: checking for $ac_func" >&5
3708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3709 echo $ac_n "(cached) $ac_c" 1>&6 3635 echo $ac_n "(cached) $ac_c" 1>&6
3710 else 3636 else
3711 cat > conftest.$ac_ext <<EOF 3637 cat > conftest.$ac_ext <<EOF
3712 #line 3713 "configure" 3638 #line 3639 "configure"
3713 #include "confdefs.h" 3639 #include "confdefs.h"
3714 /* System header to define __stub macros and hopefully few prototypes, 3640 /* System header to define __stub macros and hopefully few prototypes,
3715 which can conflict with char $ac_func(); below. */ 3641 which can conflict with char $ac_func(); below. */
3716 #include <assert.h> 3642 #include <assert.h>
3717 /* Override any gcc2 internal prototype to avoid an error. */ 3643 /* Override any gcc2 internal prototype to avoid an error. */
3730 $ac_func(); 3656 $ac_func();
3731 #endif 3657 #endif
3732 3658
3733 ; return 0; } 3659 ; return 0; }
3734 EOF 3660 EOF
3735 if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3661 if { (eval echo configure:3662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3736 rm -rf conftest* 3662 rm -rf conftest*
3737 eval "ac_cv_func_$ac_func=yes" 3663 eval "ac_cv_func_$ac_func=yes"
3738 else 3664 else
3739 echo "configure: failed program was:" >&5 3665 echo "configure: failed program was:" >&5
3740 cat conftest.$ac_ext >&5 3666 cat conftest.$ac_ext >&5
3758 3684
3759 fi 3685 fi
3760 3686
3761 if test "${window_system}" = "x11"; then 3687 if test "${window_system}" = "x11"; then
3762 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3688 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3763 echo "configure:3764: checking X11 version 6" >&5 3689 echo "configure:3690: checking X11 version 6" >&5
3764 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3690 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3765 echo $ac_n "(cached) $ac_c" 1>&6 3691 echo $ac_n "(cached) $ac_c" 1>&6
3766 else 3692 else
3767 cat > conftest.$ac_ext <<EOF 3693 cat > conftest.$ac_ext <<EOF
3768 #line 3769 "configure" 3694 #line 3695 "configure"
3769 #include "confdefs.h" 3695 #include "confdefs.h"
3770 #include <X11/Xlib.h> 3696 #include <X11/Xlib.h>
3771 int main() { 3697 int main() {
3772 #if XlibSpecificationRelease < 6 3698 #if XlibSpecificationRelease < 6
3773 fail; 3699 fail;
3774 #endif 3700 #endif
3775 3701
3776 ; return 0; } 3702 ; return 0; }
3777 EOF 3703 EOF
3778 if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3704 if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3779 rm -rf conftest* 3705 rm -rf conftest*
3780 emacs_cv_x11_version_6=yes 3706 emacs_cv_x11_version_6=yes
3781 else 3707 else
3782 echo "configure: failed program was:" >&5 3708 echo "configure: failed program was:" >&5
3783 cat conftest.$ac_ext >&5 3709 cat conftest.$ac_ext >&5
3798 fi 3724 fi
3799 fi 3725 fi
3800 3726
3801 if test "${window_system}" = "x11"; then 3727 if test "${window_system}" = "x11"; then
3802 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 3728 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
3803 echo "configure:3804: checking X11 version 5" >&5 3729 echo "configure:3730: checking X11 version 5" >&5
3804 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 3730 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
3805 echo $ac_n "(cached) $ac_c" 1>&6 3731 echo $ac_n "(cached) $ac_c" 1>&6
3806 else 3732 else
3807 cat > conftest.$ac_ext <<EOF 3733 cat > conftest.$ac_ext <<EOF
3808 #line 3809 "configure" 3734 #line 3735 "configure"
3809 #include "confdefs.h" 3735 #include "confdefs.h"
3810 #include <X11/Xlib.h> 3736 #include <X11/Xlib.h>
3811 int main() { 3737 int main() {
3812 #if XlibSpecificationRelease < 5 3738 #if XlibSpecificationRelease < 5
3813 fail; 3739 fail;
3814 #endif 3740 #endif
3815 3741
3816 ; return 0; } 3742 ; return 0; }
3817 EOF 3743 EOF
3818 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3819 rm -rf conftest* 3745 rm -rf conftest*
3820 emacs_cv_x11_version_5=yes 3746 emacs_cv_x11_version_5=yes
3821 else 3747 else
3822 echo "configure: failed program was:" >&5 3748 echo "configure: failed program was:" >&5
3823 cat conftest.$ac_ext >&5 3749 cat conftest.$ac_ext >&5
3841 fi 3767 fi
3842 3768
3843 if test x"${USE_X_TOOLKIT}" = xmaybe; then 3769 if test x"${USE_X_TOOLKIT}" = xmaybe; then
3844 if test x"${HAVE_X11R5}" = xyes; then 3770 if test x"${HAVE_X11R5}" = xyes; then
3845 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 3771 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
3846 echo "configure:3847: checking X11 version 5 with Xaw" >&5 3772 echo "configure:3773: checking X11 version 5 with Xaw" >&5
3847 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 3773 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
3848 echo $ac_n "(cached) $ac_c" 1>&6 3774 echo $ac_n "(cached) $ac_c" 1>&6
3849 else 3775 else
3850 cat > conftest.$ac_ext <<EOF 3776 cat > conftest.$ac_ext <<EOF
3851 #line 3852 "configure" 3777 #line 3778 "configure"
3852 #include "confdefs.h" 3778 #include "confdefs.h"
3853 3779
3854 #include <X11/Intrinsic.h> 3780 #include <X11/Intrinsic.h>
3855 #include <X11/Xaw/Simple.h> 3781 #include <X11/Xaw/Simple.h>
3856 int main() { 3782 int main() {
3857 3783
3858 ; return 0; } 3784 ; return 0; }
3859 EOF 3785 EOF
3860 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3786 if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3861 rm -rf conftest* 3787 rm -rf conftest*
3862 emacs_cv_x11_version_5_with_xaw=yes 3788 emacs_cv_x11_version_5_with_xaw=yes
3863 else 3789 else
3864 echo "configure: failed program was:" >&5 3790 echo "configure: failed program was:" >&5
3865 cat conftest.$ac_ext >&5 3791 cat conftest.$ac_ext >&5
3883 3809
3884 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 3810 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
3885 3811
3886 if test "${USE_X_TOOLKIT}" != "none"; then 3812 if test "${USE_X_TOOLKIT}" != "none"; then
3887 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 3813 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
3888 echo "configure:3889: checking X11 toolkit version" >&5 3814 echo "configure:3815: checking X11 toolkit version" >&5
3889 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 3815 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
3890 echo $ac_n "(cached) $ac_c" 1>&6 3816 echo $ac_n "(cached) $ac_c" 1>&6
3891 else 3817 else
3892 cat > conftest.$ac_ext <<EOF 3818 cat > conftest.$ac_ext <<EOF
3893 #line 3894 "configure" 3819 #line 3820 "configure"
3894 #include "confdefs.h" 3820 #include "confdefs.h"
3895 #include <X11/Intrinsic.h> 3821 #include <X11/Intrinsic.h>
3896 int main() { 3822 int main() {
3897 #if XtSpecificationRelease < 6 3823 #if XtSpecificationRelease < 6
3898 fail; 3824 fail;
3899 #endif 3825 #endif
3900 3826
3901 ; return 0; } 3827 ; return 0; }
3902 EOF 3828 EOF
3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3829 if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3904 rm -rf conftest* 3830 rm -rf conftest*
3905 emacs_cv_x11_toolkit_version_6=yes 3831 emacs_cv_x11_toolkit_version_6=yes
3906 else 3832 else
3907 echo "configure: failed program was:" >&5 3833 echo "configure: failed program was:" >&5
3908 cat conftest.$ac_ext >&5 3834 cat conftest.$ac_ext >&5
3928 LIBS="-lXt -lSM -lICE $LIBS" 3854 LIBS="-lXt -lSM -lICE $LIBS"
3929 else 3855 else
3930 LIBS="-lXt $LIBS" 3856 LIBS="-lXt $LIBS"
3931 fi 3857 fi
3932 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 3858 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
3933 echo "configure:3934: checking for XmuConvertStandardSelection in -lXmu" >&5 3859 echo "configure:3860: checking for XmuConvertStandardSelection in -lXmu" >&5
3934 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 3860 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
3935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3936 echo $ac_n "(cached) $ac_c" 1>&6 3862 echo $ac_n "(cached) $ac_c" 1>&6
3937 else 3863 else
3938 ac_save_LIBS="$LIBS" 3864 ac_save_LIBS="$LIBS"
3939 LIBS="-lXmu $LIBS" 3865 LIBS="-lXmu $LIBS"
3940 cat > conftest.$ac_ext <<EOF 3866 cat > conftest.$ac_ext <<EOF
3941 #line 3942 "configure" 3867 #line 3868 "configure"
3942 #include "confdefs.h" 3868 #include "confdefs.h"
3943 /* Override any gcc2 internal prototype to avoid an error. */ 3869 /* Override any gcc2 internal prototype to avoid an error. */
3944 /* We use char because int might match the return type of a gcc2 3870 /* We use char because int might match the return type of a gcc2
3945 builtin and then its argument prototype would still apply. */ 3871 builtin and then its argument prototype would still apply. */
3946 char XmuConvertStandardSelection(); 3872 char XmuConvertStandardSelection();
3947 3873
3948 int main() { 3874 int main() {
3949 XmuConvertStandardSelection() 3875 XmuConvertStandardSelection()
3950 ; return 0; } 3876 ; return 0; }
3951 EOF 3877 EOF
3952 if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3878 if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3953 rm -rf conftest* 3879 rm -rf conftest*
3954 eval "ac_cv_lib_$ac_lib_var=yes" 3880 eval "ac_cv_lib_$ac_lib_var=yes"
3955 else 3881 else
3956 echo "configure: failed program was:" >&5 3882 echo "configure: failed program was:" >&5
3957 cat conftest.$ac_ext >&5 3883 cat conftest.$ac_ext >&5
3979 LIBS="$OLDLIBS" 3905 LIBS="$OLDLIBS"
3980 fi 3906 fi
3981 3907
3982 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 3908 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
3983 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 3909 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
3984 echo "configure:3985: checking for Motif version 2.1" >&5 3910 echo "configure:3911: checking for Motif version 2.1" >&5
3985 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 3911 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
3986 echo $ac_n "(cached) $ac_c" 1>&6 3912 echo $ac_n "(cached) $ac_c" 1>&6
3987 else 3913 else
3988 cat > conftest.$ac_ext <<EOF 3914 cat > conftest.$ac_ext <<EOF
3989 #line 3990 "configure" 3915 #line 3916 "configure"
3990 #include "confdefs.h" 3916 #include "confdefs.h"
3991 #include <Xm/Xm.h> 3917 #include <Xm/Xm.h>
3992 int main() { 3918 int main() {
3993 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) 3919 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
3994 int x = 5; 3920 int x = 5;
3995 #else 3921 #else
3996 Motif version prior to 2.1. 3922 Motif version prior to 2.1.
3997 #endif 3923 #endif
3998 ; return 0; } 3924 ; return 0; }
3999 EOF 3925 EOF
4000 if { (eval echo configure:4001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3926 if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4001 rm -rf conftest* 3927 rm -rf conftest*
4002 emacs_cv_motif_version_2_1=yes 3928 emacs_cv_motif_version_2_1=yes
4003 else 3929 else
4004 echo "configure: failed program was:" >&5 3930 echo "configure: failed program was:" >&5
4005 cat conftest.$ac_ext >&5 3931 cat conftest.$ac_ext >&5
4015 cat >> confdefs.h <<\EOF 3941 cat >> confdefs.h <<\EOF
4016 #define HAVE_MOTIF_2_1 1 3942 #define HAVE_MOTIF_2_1 1
4017 EOF 3943 EOF
4018 3944
4019 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 3945 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4020 echo "configure:4021: checking for XpCreateContext in -lXp" >&5 3946 echo "configure:3947: checking for XpCreateContext in -lXp" >&5
4021 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 3947 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4023 echo $ac_n "(cached) $ac_c" 1>&6 3949 echo $ac_n "(cached) $ac_c" 1>&6
4024 else 3950 else
4025 ac_save_LIBS="$LIBS" 3951 ac_save_LIBS="$LIBS"
4026 LIBS="-lXp $LIBS" 3952 LIBS="-lXp $LIBS"
4027 cat > conftest.$ac_ext <<EOF 3953 cat > conftest.$ac_ext <<EOF
4028 #line 4029 "configure" 3954 #line 3955 "configure"
4029 #include "confdefs.h" 3955 #include "confdefs.h"
4030 /* Override any gcc2 internal prototype to avoid an error. */ 3956 /* Override any gcc2 internal prototype to avoid an error. */
4031 /* We use char because int might match the return type of a gcc2 3957 /* We use char because int might match the return type of a gcc2
4032 builtin and then its argument prototype would still apply. */ 3958 builtin and then its argument prototype would still apply. */
4033 char XpCreateContext(); 3959 char XpCreateContext();
4034 3960
4035 int main() { 3961 int main() {
4036 XpCreateContext() 3962 XpCreateContext()
4037 ; return 0; } 3963 ; return 0; }
4038 EOF 3964 EOF
4039 if { (eval echo configure:4040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3965 if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4040 rm -rf conftest* 3966 rm -rf conftest*
4041 eval "ac_cv_lib_$ac_lib_var=yes" 3967 eval "ac_cv_lib_$ac_lib_var=yes"
4042 else 3968 else
4043 echo "configure: failed program was:" >&5 3969 echo "configure: failed program was:" >&5
4044 cat conftest.$ac_ext >&5 3970 cat conftest.$ac_ext >&5
4072 if test "${USE_X_TOOLKIT}" != "none"; then 3998 if test "${USE_X_TOOLKIT}" != "none"; then
4073 old_c_flags="${CFLAGS}" 3999 old_c_flags="${CFLAGS}"
4074 CFLAGS="${LD_SWITCH_X_SITE}" 4000 CFLAGS="${LD_SWITCH_X_SITE}"
4075 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4001 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4076 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4002 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4077 echo "configure:4078: checking for X11/Xaw3d/Scrollbar.h" >&5 4003 echo "configure:4004: checking for X11/Xaw3d/Scrollbar.h" >&5
4078 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4079 echo $ac_n "(cached) $ac_c" 1>&6 4005 echo $ac_n "(cached) $ac_c" 1>&6
4080 else 4006 else
4081 cat > conftest.$ac_ext <<EOF 4007 cat > conftest.$ac_ext <<EOF
4082 #line 4083 "configure" 4008 #line 4009 "configure"
4083 #include "confdefs.h" 4009 #include "confdefs.h"
4084 #include <X11/Xaw3d/Scrollbar.h> 4010 #include <X11/Xaw3d/Scrollbar.h>
4085 EOF 4011 EOF
4086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4087 { (eval echo configure:4088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4013 { (eval echo configure:4014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4014 ac_err=`grep -v '^ *+' conftest.out`
4089 if test -z "$ac_err"; then 4015 if test -z "$ac_err"; then
4090 rm -rf conftest* 4016 rm -rf conftest*
4091 eval "ac_cv_header_$ac_safe=yes" 4017 eval "ac_cv_header_$ac_safe=yes"
4092 else 4018 else
4093 echo "$ac_err" >&5 4019 echo "$ac_err" >&5
4099 rm -f conftest* 4025 rm -f conftest*
4100 fi 4026 fi
4101 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4102 echo "$ac_t""yes" 1>&6 4028 echo "$ac_t""yes" 1>&6
4103 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4029 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4104 echo "configure:4105: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4030 echo "configure:4031: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4105 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4031 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4032 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4107 echo $ac_n "(cached) $ac_c" 1>&6 4033 echo $ac_n "(cached) $ac_c" 1>&6
4108 else 4034 else
4109 ac_save_LIBS="$LIBS" 4035 ac_save_LIBS="$LIBS"
4110 LIBS="-lXaw3d -lX11 $LIBS" 4036 LIBS="-lXaw3d -lX11 $LIBS"
4111 cat > conftest.$ac_ext <<EOF 4037 cat > conftest.$ac_ext <<EOF
4112 #line 4113 "configure" 4038 #line 4039 "configure"
4113 #include "confdefs.h" 4039 #include "confdefs.h"
4114 /* Override any gcc2 internal prototype to avoid an error. */ 4040 /* Override any gcc2 internal prototype to avoid an error. */
4115 /* We use char because int might match the return type of a gcc2 4041 /* We use char because int might match the return type of a gcc2
4116 builtin and then its argument prototype would still apply. */ 4042 builtin and then its argument prototype would still apply. */
4117 char XawScrollbarSetThumb(); 4043 char XawScrollbarSetThumb();
4118 4044
4119 int main() { 4045 int main() {
4120 XawScrollbarSetThumb() 4046 XawScrollbarSetThumb()
4121 ; return 0; } 4047 ; return 0; }
4122 EOF 4048 EOF
4123 if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4049 if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4124 rm -rf conftest* 4050 rm -rf conftest*
4125 eval "ac_cv_lib_$ac_lib_var=yes" 4051 eval "ac_cv_lib_$ac_lib_var=yes"
4126 else 4052 else
4127 echo "configure: failed program was:" >&5 4053 echo "configure: failed program was:" >&5
4128 cat conftest.$ac_ext >&5 4054 cat conftest.$ac_ext >&5
4182 if test "${with_xpm}" != "no"; then 4108 if test "${with_xpm}" != "no"; then
4183 old_c_flags="${CFLAGS}" 4109 old_c_flags="${CFLAGS}"
4184 CFLAGS="${LD_SWITCH_X_SITE}" 4110 CFLAGS="${LD_SWITCH_X_SITE}"
4185 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4111 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4186 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4112 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4187 echo "configure:4188: checking for X11/xpm.h" >&5 4113 echo "configure:4114: checking for X11/xpm.h" >&5
4188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4189 echo $ac_n "(cached) $ac_c" 1>&6 4115 echo $ac_n "(cached) $ac_c" 1>&6
4190 else 4116 else
4191 cat > conftest.$ac_ext <<EOF 4117 cat > conftest.$ac_ext <<EOF
4192 #line 4193 "configure" 4118 #line 4119 "configure"
4193 #include "confdefs.h" 4119 #include "confdefs.h"
4194 #include <X11/xpm.h> 4120 #include <X11/xpm.h>
4195 EOF 4121 EOF
4196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4197 { (eval echo configure:4198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4123 { (eval echo configure:4124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4124 ac_err=`grep -v '^ *+' conftest.out`
4199 if test -z "$ac_err"; then 4125 if test -z "$ac_err"; then
4200 rm -rf conftest* 4126 rm -rf conftest*
4201 eval "ac_cv_header_$ac_safe=yes" 4127 eval "ac_cv_header_$ac_safe=yes"
4202 else 4128 else
4203 echo "$ac_err" >&5 4129 echo "$ac_err" >&5
4209 rm -f conftest* 4135 rm -f conftest*
4210 fi 4136 fi
4211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4212 echo "$ac_t""yes" 1>&6 4138 echo "$ac_t""yes" 1>&6
4213 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4139 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4214 echo "configure:4215: checking for XpmReadFileToPixmap in -lXpm" >&5 4140 echo "configure:4141: checking for XpmReadFileToPixmap in -lXpm" >&5
4215 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4141 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4217 echo $ac_n "(cached) $ac_c" 1>&6 4143 echo $ac_n "(cached) $ac_c" 1>&6
4218 else 4144 else
4219 ac_save_LIBS="$LIBS" 4145 ac_save_LIBS="$LIBS"
4220 LIBS="-lXpm -lX11 $LIBS" 4146 LIBS="-lXpm -lX11 $LIBS"
4221 cat > conftest.$ac_ext <<EOF 4147 cat > conftest.$ac_ext <<EOF
4222 #line 4223 "configure" 4148 #line 4149 "configure"
4223 #include "confdefs.h" 4149 #include "confdefs.h"
4224 /* Override any gcc2 internal prototype to avoid an error. */ 4150 /* Override any gcc2 internal prototype to avoid an error. */
4225 /* We use char because int might match the return type of a gcc2 4151 /* We use char because int might match the return type of a gcc2
4226 builtin and then its argument prototype would still apply. */ 4152 builtin and then its argument prototype would still apply. */
4227 char XpmReadFileToPixmap(); 4153 char XpmReadFileToPixmap();
4228 4154
4229 int main() { 4155 int main() {
4230 XpmReadFileToPixmap() 4156 XpmReadFileToPixmap()
4231 ; return 0; } 4157 ; return 0; }
4232 EOF 4158 EOF
4233 if { (eval echo configure:4234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4159 if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4234 rm -rf conftest* 4160 rm -rf conftest*
4235 eval "ac_cv_lib_$ac_lib_var=yes" 4161 eval "ac_cv_lib_$ac_lib_var=yes"
4236 else 4162 else
4237 echo "configure: failed program was:" >&5 4163 echo "configure: failed program was:" >&5
4238 cat conftest.$ac_ext >&5 4164 cat conftest.$ac_ext >&5
4270 if test "${HAVE_X11}" = "yes"; then 4196 if test "${HAVE_X11}" = "yes"; then
4271 if test "${with_jpeg}" != "no"; then 4197 if test "${with_jpeg}" != "no"; then
4272 old_c_flags="${CFLAGS}" 4198 old_c_flags="${CFLAGS}"
4273 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4199 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4274 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4200 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4275 echo "configure:4276: checking for jpeg_destroy_compress in -ljpeg" >&5 4201 echo "configure:4202: checking for jpeg_destroy_compress in -ljpeg" >&5
4276 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4202 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4278 echo $ac_n "(cached) $ac_c" 1>&6 4204 echo $ac_n "(cached) $ac_c" 1>&6
4279 else 4205 else
4280 ac_save_LIBS="$LIBS" 4206 ac_save_LIBS="$LIBS"
4281 LIBS="-ljpeg -lX11 $LIBS" 4207 LIBS="-ljpeg -lX11 $LIBS"
4282 cat > conftest.$ac_ext <<EOF 4208 cat > conftest.$ac_ext <<EOF
4283 #line 4284 "configure" 4209 #line 4210 "configure"
4284 #include "confdefs.h" 4210 #include "confdefs.h"
4285 /* Override any gcc2 internal prototype to avoid an error. */ 4211 /* Override any gcc2 internal prototype to avoid an error. */
4286 /* We use char because int might match the return type of a gcc2 4212 /* We use char because int might match the return type of a gcc2
4287 builtin and then its argument prototype would still apply. */ 4213 builtin and then its argument prototype would still apply. */
4288 char jpeg_destroy_compress(); 4214 char jpeg_destroy_compress();
4289 4215
4290 int main() { 4216 int main() {
4291 jpeg_destroy_compress() 4217 jpeg_destroy_compress()
4292 ; return 0; } 4218 ; return 0; }
4293 EOF 4219 EOF
4294 if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4220 if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4295 rm -rf conftest* 4221 rm -rf conftest*
4296 eval "ac_cv_lib_$ac_lib_var=yes" 4222 eval "ac_cv_lib_$ac_lib_var=yes"
4297 else 4223 else
4298 echo "configure: failed program was:" >&5 4224 echo "configure: failed program was:" >&5
4299 cat conftest.$ac_ext >&5 4225 cat conftest.$ac_ext >&5
4328 if test "${with_png}" != "no"; then 4254 if test "${with_png}" != "no"; then
4329 old_c_flags="${CFLAGS}" 4255 old_c_flags="${CFLAGS}"
4330 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4256 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4331 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4257 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4332 echo $ac_n "checking for png.h""... $ac_c" 1>&6 4258 echo $ac_n "checking for png.h""... $ac_c" 1>&6
4333 echo "configure:4334: checking for png.h" >&5 4259 echo "configure:4260: checking for png.h" >&5
4334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4260 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4335 echo $ac_n "(cached) $ac_c" 1>&6 4261 echo $ac_n "(cached) $ac_c" 1>&6
4336 else 4262 else
4337 cat > conftest.$ac_ext <<EOF 4263 cat > conftest.$ac_ext <<EOF
4338 #line 4339 "configure" 4264 #line 4265 "configure"
4339 #include "confdefs.h" 4265 #include "confdefs.h"
4340 #include <png.h> 4266 #include <png.h>
4341 EOF 4267 EOF
4342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4343 { (eval echo configure:4344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4269 { (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4270 ac_err=`grep -v '^ *+' conftest.out`
4345 if test -z "$ac_err"; then 4271 if test -z "$ac_err"; then
4346 rm -rf conftest* 4272 rm -rf conftest*
4347 eval "ac_cv_header_$ac_safe=yes" 4273 eval "ac_cv_header_$ac_safe=yes"
4348 else 4274 else
4349 echo "$ac_err" >&5 4275 echo "$ac_err" >&5
4355 rm -f conftest* 4281 rm -f conftest*
4356 fi 4282 fi
4357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4283 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4358 echo "$ac_t""yes" 1>&6 4284 echo "$ac_t""yes" 1>&6
4359 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4285 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4360 echo "configure:4361: checking for png_set_expand in -lpng" >&5 4286 echo "configure:4287: checking for png_set_expand in -lpng" >&5
4361 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4287 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4363 echo $ac_n "(cached) $ac_c" 1>&6 4289 echo $ac_n "(cached) $ac_c" 1>&6
4364 else 4290 else
4365 ac_save_LIBS="$LIBS" 4291 ac_save_LIBS="$LIBS"
4366 LIBS="-lpng -lX11 -lz -lm $LIBS" 4292 LIBS="-lpng -lX11 -lz -lm $LIBS"
4367 cat > conftest.$ac_ext <<EOF 4293 cat > conftest.$ac_ext <<EOF
4368 #line 4369 "configure" 4294 #line 4295 "configure"
4369 #include "confdefs.h" 4295 #include "confdefs.h"
4370 /* Override any gcc2 internal prototype to avoid an error. */ 4296 /* Override any gcc2 internal prototype to avoid an error. */
4371 /* We use char because int might match the return type of a gcc2 4297 /* We use char because int might match the return type of a gcc2
4372 builtin and then its argument prototype would still apply. */ 4298 builtin and then its argument prototype would still apply. */
4373 char png_set_expand(); 4299 char png_set_expand();
4374 4300
4375 int main() { 4301 int main() {
4376 png_set_expand() 4302 png_set_expand()
4377 ; return 0; } 4303 ; return 0; }
4378 EOF 4304 EOF
4379 if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4305 if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4380 rm -rf conftest* 4306 rm -rf conftest*
4381 eval "ac_cv_lib_$ac_lib_var=yes" 4307 eval "ac_cv_lib_$ac_lib_var=yes"
4382 else 4308 else
4383 echo "configure: failed program was:" >&5 4309 echo "configure: failed program was:" >&5
4384 cat conftest.$ac_ext >&5 4310 cat conftest.$ac_ext >&5
4417 if test "${with_tiff}" != "no"; then 4343 if test "${with_tiff}" != "no"; then
4418 old_c_flags="${CFLAGS}" 4344 old_c_flags="${CFLAGS}"
4419 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4345 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4420 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4346 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4421 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4347 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4422 echo "configure:4423: checking for tiffio.h" >&5 4348 echo "configure:4349: checking for tiffio.h" >&5
4423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4349 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4424 echo $ac_n "(cached) $ac_c" 1>&6 4350 echo $ac_n "(cached) $ac_c" 1>&6
4425 else 4351 else
4426 cat > conftest.$ac_ext <<EOF 4352 cat > conftest.$ac_ext <<EOF
4427 #line 4428 "configure" 4353 #line 4354 "configure"
4428 #include "confdefs.h" 4354 #include "confdefs.h"
4429 #include <tiffio.h> 4355 #include <tiffio.h>
4430 EOF 4356 EOF
4431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4432 { (eval echo configure:4433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4358 { (eval echo configure:4359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4359 ac_err=`grep -v '^ *+' conftest.out`
4434 if test -z "$ac_err"; then 4360 if test -z "$ac_err"; then
4435 rm -rf conftest* 4361 rm -rf conftest*
4436 eval "ac_cv_header_$ac_safe=yes" 4362 eval "ac_cv_header_$ac_safe=yes"
4437 else 4363 else
4438 echo "$ac_err" >&5 4364 echo "$ac_err" >&5
4444 rm -f conftest* 4370 rm -f conftest*
4445 fi 4371 fi
4446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4372 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4447 echo "$ac_t""yes" 1>&6 4373 echo "$ac_t""yes" 1>&6
4448 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4374 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4449 echo "configure:4450: checking for TIFFGetVersion in -ltiff" >&5 4375 echo "configure:4376: checking for TIFFGetVersion in -ltiff" >&5
4450 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4376 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4452 echo $ac_n "(cached) $ac_c" 1>&6 4378 echo $ac_n "(cached) $ac_c" 1>&6
4453 else 4379 else
4454 ac_save_LIBS="$LIBS" 4380 ac_save_LIBS="$LIBS"
4455 LIBS="-ltiff -lX11 -lm $LIBS" 4381 LIBS="-ltiff -lX11 -lm $LIBS"
4456 cat > conftest.$ac_ext <<EOF 4382 cat > conftest.$ac_ext <<EOF
4457 #line 4458 "configure" 4383 #line 4384 "configure"
4458 #include "confdefs.h" 4384 #include "confdefs.h"
4459 /* Override any gcc2 internal prototype to avoid an error. */ 4385 /* Override any gcc2 internal prototype to avoid an error. */
4460 /* We use char because int might match the return type of a gcc2 4386 /* We use char because int might match the return type of a gcc2
4461 builtin and then its argument prototype would still apply. */ 4387 builtin and then its argument prototype would still apply. */
4462 char TIFFGetVersion(); 4388 char TIFFGetVersion();
4463 4389
4464 int main() { 4390 int main() {
4465 TIFFGetVersion() 4391 TIFFGetVersion()
4466 ; return 0; } 4392 ; return 0; }
4467 EOF 4393 EOF
4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4469 rm -rf conftest* 4395 rm -rf conftest*
4470 eval "ac_cv_lib_$ac_lib_var=yes" 4396 eval "ac_cv_lib_$ac_lib_var=yes"
4471 else 4397 else
4472 echo "configure: failed program was:" >&5 4398 echo "configure: failed program was:" >&5
4473 cat conftest.$ac_ext >&5 4399 cat conftest.$ac_ext >&5
4506 if test "${with_gif}" != "no"; then 4432 if test "${with_gif}" != "no"; then
4507 old_c_flags="${CFLAGS}" 4433 old_c_flags="${CFLAGS}"
4508 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4434 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4509 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4435 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4510 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4436 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4511 echo "configure:4512: checking for gif_lib.h" >&5 4437 echo "configure:4438: checking for gif_lib.h" >&5
4512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4438 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4513 echo $ac_n "(cached) $ac_c" 1>&6 4439 echo $ac_n "(cached) $ac_c" 1>&6
4514 else 4440 else
4515 cat > conftest.$ac_ext <<EOF 4441 cat > conftest.$ac_ext <<EOF
4516 #line 4517 "configure" 4442 #line 4443 "configure"
4517 #include "confdefs.h" 4443 #include "confdefs.h"
4518 #include <gif_lib.h> 4444 #include <gif_lib.h>
4519 EOF 4445 EOF
4520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4521 { (eval echo configure:4522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4447 { (eval echo configure:4448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4448 ac_err=`grep -v '^ *+' conftest.out`
4523 if test -z "$ac_err"; then 4449 if test -z "$ac_err"; then
4524 rm -rf conftest* 4450 rm -rf conftest*
4525 eval "ac_cv_header_$ac_safe=yes" 4451 eval "ac_cv_header_$ac_safe=yes"
4526 else 4452 else
4527 echo "$ac_err" >&5 4453 echo "$ac_err" >&5
4533 rm -f conftest* 4459 rm -f conftest*
4534 fi 4460 fi
4535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4536 echo "$ac_t""yes" 1>&6 4462 echo "$ac_t""yes" 1>&6
4537 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 4463 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6
4538 echo "configure:4539: checking for DGifOpenFileName in -lungif" >&5 4464 echo "configure:4465: checking for DGifOpenFileName in -lungif" >&5
4539 ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` 4465 ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'`
4540 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4466 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4541 echo $ac_n "(cached) $ac_c" 1>&6 4467 echo $ac_n "(cached) $ac_c" 1>&6
4542 else 4468 else
4543 ac_save_LIBS="$LIBS" 4469 ac_save_LIBS="$LIBS"
4544 LIBS="-lungif -lX11 $LIBS" 4470 LIBS="-lungif -lX11 $LIBS"
4545 cat > conftest.$ac_ext <<EOF 4471 cat > conftest.$ac_ext <<EOF
4546 #line 4547 "configure" 4472 #line 4473 "configure"
4547 #include "confdefs.h" 4473 #include "confdefs.h"
4548 /* Override any gcc2 internal prototype to avoid an error. */ 4474 /* Override any gcc2 internal prototype to avoid an error. */
4549 /* We use char because int might match the return type of a gcc2 4475 /* We use char because int might match the return type of a gcc2
4550 builtin and then its argument prototype would still apply. */ 4476 builtin and then its argument prototype would still apply. */
4551 char DGifOpenFileName(); 4477 char DGifOpenFileName();
4552 4478
4553 int main() { 4479 int main() {
4554 DGifOpenFileName() 4480 DGifOpenFileName()
4555 ; return 0; } 4481 ; return 0; }
4556 EOF 4482 EOF
4557 if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4558 rm -rf conftest* 4484 rm -rf conftest*
4559 eval "ac_cv_lib_$ac_lib_var=yes" 4485 eval "ac_cv_lib_$ac_lib_var=yes"
4560 else 4486 else
4561 echo "configure: failed program was:" >&5 4487 echo "configure: failed program was:" >&5
4562 cat conftest.$ac_ext >&5 4488 cat conftest.$ac_ext >&5
4589 fi 4515 fi
4590 fi 4516 fi
4591 4517
4592 # If netdb.h doesn't declare h_errno, we must declare it by hand. 4518 # If netdb.h doesn't declare h_errno, we must declare it by hand.
4593 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4519 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4594 echo "configure:4595: checking whether netdb declares h_errno" >&5 4520 echo "configure:4521: checking whether netdb declares h_errno" >&5
4595 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4521 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4596 echo $ac_n "(cached) $ac_c" 1>&6 4522 echo $ac_n "(cached) $ac_c" 1>&6
4597 else 4523 else
4598 cat > conftest.$ac_ext <<EOF 4524 cat > conftest.$ac_ext <<EOF
4599 #line 4600 "configure" 4525 #line 4526 "configure"
4600 #include "confdefs.h" 4526 #include "confdefs.h"
4601 #include <netdb.h> 4527 #include <netdb.h>
4602 int main() { 4528 int main() {
4603 return h_errno; 4529 return h_errno;
4604 ; return 0; } 4530 ; return 0; }
4605 EOF 4531 EOF
4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4532 if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4607 rm -rf conftest* 4533 rm -rf conftest*
4608 emacs_cv_netdb_declares_h_errno=yes 4534 emacs_cv_netdb_declares_h_errno=yes
4609 else 4535 else
4610 echo "configure: failed program was:" >&5 4536 echo "configure: failed program was:" >&5
4611 cat conftest.$ac_ext >&5 4537 cat conftest.$ac_ext >&5
4624 fi 4550 fi
4625 4551
4626 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4552 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4627 # for constant arguments. Useless! 4553 # for constant arguments. Useless!
4628 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4554 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4629 echo "configure:4630: checking for working alloca.h" >&5 4555 echo "configure:4556: checking for working alloca.h" >&5
4630 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4556 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4631 echo $ac_n "(cached) $ac_c" 1>&6 4557 echo $ac_n "(cached) $ac_c" 1>&6
4632 else 4558 else
4633 cat > conftest.$ac_ext <<EOF 4559 cat > conftest.$ac_ext <<EOF
4634 #line 4635 "configure" 4560 #line 4561 "configure"
4635 #include "confdefs.h" 4561 #include "confdefs.h"
4636 #include <alloca.h> 4562 #include <alloca.h>
4637 int main() { 4563 int main() {
4638 char *p = alloca(2 * sizeof(int)); 4564 char *p = alloca(2 * sizeof(int));
4639 ; return 0; } 4565 ; return 0; }
4640 EOF 4566 EOF
4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4642 rm -rf conftest* 4568 rm -rf conftest*
4643 ac_cv_header_alloca_h=yes 4569 ac_cv_header_alloca_h=yes
4644 else 4570 else
4645 echo "configure: failed program was:" >&5 4571 echo "configure: failed program was:" >&5
4646 cat conftest.$ac_ext >&5 4572 cat conftest.$ac_ext >&5
4657 EOF 4583 EOF
4658 4584
4659 fi 4585 fi
4660 4586
4661 echo $ac_n "checking for alloca""... $ac_c" 1>&6 4587 echo $ac_n "checking for alloca""... $ac_c" 1>&6
4662 echo "configure:4663: checking for alloca" >&5 4588 echo "configure:4589: checking for alloca" >&5
4663 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4589 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4664 echo $ac_n "(cached) $ac_c" 1>&6 4590 echo $ac_n "(cached) $ac_c" 1>&6
4665 else 4591 else
4666 cat > conftest.$ac_ext <<EOF 4592 cat > conftest.$ac_ext <<EOF
4667 #line 4668 "configure" 4593 #line 4594 "configure"
4668 #include "confdefs.h" 4594 #include "confdefs.h"
4669 4595
4670 #ifdef __GNUC__ 4596 #ifdef __GNUC__
4671 # define alloca __builtin_alloca 4597 # define alloca __builtin_alloca
4672 #else 4598 #else
4673 # ifdef _MSC_VER 4599 # if HAVE_ALLOCA_H
4674 # include <malloc.h> 4600 # include <alloca.h>
4675 # define alloca _alloca
4676 # else 4601 # else
4677 # if HAVE_ALLOCA_H 4602 # ifdef _AIX
4678 # include <alloca.h> 4603 #pragma alloca
4679 # else 4604 # else
4680 # ifdef _AIX 4605 # ifndef alloca /* predefined by HP cc +Olibcalls */
4681 #pragma alloca
4682 # else
4683 # ifndef alloca /* predefined by HP cc +Olibcalls */
4684 char *alloca (); 4606 char *alloca ();
4685 # endif
4686 # endif 4607 # endif
4687 # endif 4608 # endif
4688 # endif 4609 # endif
4689 #endif 4610 #endif
4690 4611
4691 int main() { 4612 int main() {
4692 char *p = (char *) alloca(1); 4613 char *p = (char *) alloca(1);
4693 ; return 0; } 4614 ; return 0; }
4694 EOF 4615 EOF
4695 if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4616 if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4696 rm -rf conftest* 4617 rm -rf conftest*
4697 ac_cv_func_alloca_works=yes 4618 ac_cv_func_alloca_works=yes
4698 else 4619 else
4699 echo "configure: failed program was:" >&5 4620 echo "configure: failed program was:" >&5
4700 cat conftest.$ac_ext >&5 4621 cat conftest.$ac_ext >&5
4715 if test $ac_cv_func_alloca_works = no; then 4636 if test $ac_cv_func_alloca_works = no; then
4716 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 4637 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4717 # that cause trouble. Some versions do not even contain alloca or 4638 # that cause trouble. Some versions do not even contain alloca or
4718 # contain a buggy version. If you still want to use their alloca, 4639 # contain a buggy version. If you still want to use their alloca,
4719 # use ar to extract alloca.o from them instead of compiling alloca.c. 4640 # use ar to extract alloca.o from them instead of compiling alloca.c.
4720 ALLOCA=alloca.${ac_objext} 4641 ALLOCA=alloca.o
4721 cat >> confdefs.h <<\EOF 4642 cat >> confdefs.h <<\EOF
4722 #define C_ALLOCA 1 4643 #define C_ALLOCA 1
4723 EOF 4644 EOF
4724 4645
4725 4646
4726 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4647 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4727 echo "configure:4728: checking whether alloca needs Cray hooks" >&5 4648 echo "configure:4649: checking whether alloca needs Cray hooks" >&5
4728 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4649 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4729 echo $ac_n "(cached) $ac_c" 1>&6 4650 echo $ac_n "(cached) $ac_c" 1>&6
4730 else 4651 else
4731 cat > conftest.$ac_ext <<EOF 4652 cat > conftest.$ac_ext <<EOF
4732 #line 4733 "configure" 4653 #line 4654 "configure"
4733 #include "confdefs.h" 4654 #include "confdefs.h"
4734 #if defined(CRAY) && ! defined(CRAY2) 4655 #if defined(CRAY) && ! defined(CRAY2)
4735 webecray 4656 webecray
4736 #else 4657 #else
4737 wenotbecray 4658 wenotbecray
4752 4673
4753 echo "$ac_t""$ac_cv_os_cray" 1>&6 4674 echo "$ac_t""$ac_cv_os_cray" 1>&6
4754 if test $ac_cv_os_cray = yes; then 4675 if test $ac_cv_os_cray = yes; then
4755 for ac_func in _getb67 GETB67 getb67; do 4676 for ac_func in _getb67 GETB67 getb67; do
4756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4757 echo "configure:4758: checking for $ac_func" >&5 4678 echo "configure:4679: checking for $ac_func" >&5
4758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4759 echo $ac_n "(cached) $ac_c" 1>&6 4680 echo $ac_n "(cached) $ac_c" 1>&6
4760 else 4681 else
4761 cat > conftest.$ac_ext <<EOF 4682 cat > conftest.$ac_ext <<EOF
4762 #line 4763 "configure" 4683 #line 4684 "configure"
4763 #include "confdefs.h" 4684 #include "confdefs.h"
4764 /* System header to define __stub macros and hopefully few prototypes, 4685 /* System header to define __stub macros and hopefully few prototypes,
4765 which can conflict with char $ac_func(); below. */ 4686 which can conflict with char $ac_func(); below. */
4766 #include <assert.h> 4687 #include <assert.h>
4767 /* Override any gcc2 internal prototype to avoid an error. */ 4688 /* Override any gcc2 internal prototype to avoid an error. */
4780 $ac_func(); 4701 $ac_func();
4781 #endif 4702 #endif
4782 4703
4783 ; return 0; } 4704 ; return 0; }
4784 EOF 4705 EOF
4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4786 rm -rf conftest* 4707 rm -rf conftest*
4787 eval "ac_cv_func_$ac_func=yes" 4708 eval "ac_cv_func_$ac_func=yes"
4788 else 4709 else
4789 echo "configure: failed program was:" >&5 4710 echo "configure: failed program was:" >&5
4790 cat conftest.$ac_ext >&5 4711 cat conftest.$ac_ext >&5
4807 4728
4808 done 4729 done
4809 fi 4730 fi
4810 4731
4811 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4732 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4812 echo "configure:4813: checking stack direction for C alloca" >&5 4733 echo "configure:4734: checking stack direction for C alloca" >&5
4813 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4734 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4814 echo $ac_n "(cached) $ac_c" 1>&6 4735 echo $ac_n "(cached) $ac_c" 1>&6
4815 else 4736 else
4816 if test "$cross_compiling" = yes; then 4737 if test "$cross_compiling" = yes; then
4817 ac_cv_c_stack_direction=0 4738 ac_cv_c_stack_direction=0
4818 else 4739 else
4819 cat > conftest.$ac_ext <<EOF 4740 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure" 4741 #line 4742 "configure"
4821 #include "confdefs.h" 4742 #include "confdefs.h"
4822 find_stack_direction () 4743 find_stack_direction ()
4823 { 4744 {
4824 static char *addr = 0; 4745 static char *addr = 0;
4825 auto char dummy; 4746 auto char dummy;
4834 main () 4755 main ()
4835 { 4756 {
4836 exit (find_stack_direction() < 0); 4757 exit (find_stack_direction() < 0);
4837 } 4758 }
4838 EOF 4759 EOF
4839 if { (eval echo configure:4840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4760 if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
4840 then 4761 then
4841 ac_cv_c_stack_direction=1 4762 ac_cv_c_stack_direction=1
4842 else 4763 else
4843 echo "configure: failed program was:" >&5 4764 echo "configure: failed program was:" >&5
4844 cat conftest.$ac_ext >&5 4765 cat conftest.$ac_ext >&5
4859 4780
4860 4781
4861 # fmod, logb, and frexp are found in -lm on most systems. 4782 # fmod, logb, and frexp are found in -lm on most systems.
4862 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4783 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4863 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4784 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4864 echo "configure:4865: checking for sqrt in -lm" >&5 4785 echo "configure:4786: checking for sqrt in -lm" >&5
4865 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4786 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4867 echo $ac_n "(cached) $ac_c" 1>&6 4788 echo $ac_n "(cached) $ac_c" 1>&6
4868 else 4789 else
4869 ac_save_LIBS="$LIBS" 4790 ac_save_LIBS="$LIBS"
4870 LIBS="-lm $LIBS" 4791 LIBS="-lm $LIBS"
4871 cat > conftest.$ac_ext <<EOF 4792 cat > conftest.$ac_ext <<EOF
4872 #line 4873 "configure" 4793 #line 4794 "configure"
4873 #include "confdefs.h" 4794 #include "confdefs.h"
4874 /* Override any gcc2 internal prototype to avoid an error. */ 4795 /* Override any gcc2 internal prototype to avoid an error. */
4875 /* We use char because int might match the return type of a gcc2 4796 /* We use char because int might match the return type of a gcc2
4876 builtin and then its argument prototype would still apply. */ 4797 builtin and then its argument prototype would still apply. */
4877 char sqrt(); 4798 char sqrt();
4878 4799
4879 int main() { 4800 int main() {
4880 sqrt() 4801 sqrt()
4881 ; return 0; } 4802 ; return 0; }
4882 EOF 4803 EOF
4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4804 if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4884 rm -rf conftest* 4805 rm -rf conftest*
4885 eval "ac_cv_lib_$ac_lib_var=yes" 4806 eval "ac_cv_lib_$ac_lib_var=yes"
4886 else 4807 else
4887 echo "configure: failed program was:" >&5 4808 echo "configure: failed program was:" >&5
4888 cat conftest.$ac_ext >&5 4809 cat conftest.$ac_ext >&5
4908 fi 4829 fi
4909 4830
4910 4831
4911 # Check for mail-locking functions in a "mail" library 4832 # Check for mail-locking functions in a "mail" library
4912 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4833 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4913 echo "configure:4914: checking for maillock in -lmail" >&5 4834 echo "configure:4835: checking for maillock in -lmail" >&5
4914 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4835 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4915 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4836 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4916 echo $ac_n "(cached) $ac_c" 1>&6 4837 echo $ac_n "(cached) $ac_c" 1>&6
4917 else 4838 else
4918 ac_save_LIBS="$LIBS" 4839 ac_save_LIBS="$LIBS"
4919 LIBS="-lmail $LIBS" 4840 LIBS="-lmail $LIBS"
4920 cat > conftest.$ac_ext <<EOF 4841 cat > conftest.$ac_ext <<EOF
4921 #line 4922 "configure" 4842 #line 4843 "configure"
4922 #include "confdefs.h" 4843 #include "confdefs.h"
4923 /* Override any gcc2 internal prototype to avoid an error. */ 4844 /* Override any gcc2 internal prototype to avoid an error. */
4924 /* We use char because int might match the return type of a gcc2 4845 /* We use char because int might match the return type of a gcc2
4925 builtin and then its argument prototype would still apply. */ 4846 builtin and then its argument prototype would still apply. */
4926 char maillock(); 4847 char maillock();
4927 4848
4928 int main() { 4849 int main() {
4929 maillock() 4850 maillock()
4930 ; return 0; } 4851 ; return 0; }
4931 EOF 4852 EOF
4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4933 rm -rf conftest* 4854 rm -rf conftest*
4934 eval "ac_cv_lib_$ac_lib_var=yes" 4855 eval "ac_cv_lib_$ac_lib_var=yes"
4935 else 4856 else
4936 echo "configure: failed program was:" >&5 4857 echo "configure: failed program was:" >&5
4937 cat conftest.$ac_ext >&5 4858 cat conftest.$ac_ext >&5
4955 else 4876 else
4956 echo "$ac_t""no" 1>&6 4877 echo "$ac_t""no" 1>&6
4957 fi 4878 fi
4958 4879
4959 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 4880 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
4960 echo "configure:4961: checking for maillock in -llockfile" >&5 4881 echo "configure:4882: checking for maillock in -llockfile" >&5
4961 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 4882 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
4962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4963 echo $ac_n "(cached) $ac_c" 1>&6 4884 echo $ac_n "(cached) $ac_c" 1>&6
4964 else 4885 else
4965 ac_save_LIBS="$LIBS" 4886 ac_save_LIBS="$LIBS"
4966 LIBS="-llockfile $LIBS" 4887 LIBS="-llockfile $LIBS"
4967 cat > conftest.$ac_ext <<EOF 4888 cat > conftest.$ac_ext <<EOF
4968 #line 4969 "configure" 4889 #line 4890 "configure"
4969 #include "confdefs.h" 4890 #include "confdefs.h"
4970 /* Override any gcc2 internal prototype to avoid an error. */ 4891 /* Override any gcc2 internal prototype to avoid an error. */
4971 /* We use char because int might match the return type of a gcc2 4892 /* We use char because int might match the return type of a gcc2
4972 builtin and then its argument prototype would still apply. */ 4893 builtin and then its argument prototype would still apply. */
4973 char maillock(); 4894 char maillock();
4974 4895
4975 int main() { 4896 int main() {
4976 maillock() 4897 maillock()
4977 ; return 0; } 4898 ; return 0; }
4978 EOF 4899 EOF
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4980 rm -rf conftest* 4901 rm -rf conftest*
4981 eval "ac_cv_lib_$ac_lib_var=yes" 4902 eval "ac_cv_lib_$ac_lib_var=yes"
4982 else 4903 else
4983 echo "configure: failed program was:" >&5 4904 echo "configure: failed program was:" >&5
4984 cat conftest.$ac_ext >&5 4905 cat conftest.$ac_ext >&5
5008 # (no liblockfile.a installed), ensure that we don't need to. 4929 # (no liblockfile.a installed), ensure that we don't need to.
5009 if test "$ac_cv_lib_lockfile_maillock" = no; then 4930 if test "$ac_cv_lib_lockfile_maillock" = no; then
5010 # Extract the first word of "liblockfile.so", so it can be a program name with args. 4931 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5011 set dummy liblockfile.so; ac_word=$2 4932 set dummy liblockfile.so; ac_word=$2
5012 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5013 echo "configure:5014: checking for $ac_word" >&5 4934 echo "configure:4935: checking for $ac_word" >&5
5014 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 4935 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5015 echo $ac_n "(cached) $ac_c" 1>&6 4936 echo $ac_n "(cached) $ac_c" 1>&6
5016 else 4937 else
5017 if test -n "$liblockfile"; then 4938 if test -n "$liblockfile"; then
5018 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 4939 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
5019 else 4940 else
5020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5021 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" 4942 for ac_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH$ac_dummy; do
5022 for ac_dir in $ac_dummy; do
5023 test -z "$ac_dir" && ac_dir=. 4943 test -z "$ac_dir" && ac_dir=.
5024 if test -f $ac_dir/$ac_word; then 4944 if test -f $ac_dir/$ac_word; then
5025 ac_cv_prog_liblockfile="yes" 4945 ac_cv_prog_liblockfile="yes"
5026 break 4946 break
5027 fi 4947 fi
5049 else : 4969 else :
5050 fi 4970 fi
5051 for ac_func in touchlock 4971 for ac_func in touchlock
5052 do 4972 do
5053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5054 echo "configure:5055: checking for $ac_func" >&5 4974 echo "configure:4975: checking for $ac_func" >&5
5055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5056 echo $ac_n "(cached) $ac_c" 1>&6 4976 echo $ac_n "(cached) $ac_c" 1>&6
5057 else 4977 else
5058 cat > conftest.$ac_ext <<EOF 4978 cat > conftest.$ac_ext <<EOF
5059 #line 5060 "configure" 4979 #line 4980 "configure"
5060 #include "confdefs.h" 4980 #include "confdefs.h"
5061 /* System header to define __stub macros and hopefully few prototypes, 4981 /* System header to define __stub macros and hopefully few prototypes,
5062 which can conflict with char $ac_func(); below. */ 4982 which can conflict with char $ac_func(); below. */
5063 #include <assert.h> 4983 #include <assert.h>
5064 /* Override any gcc2 internal prototype to avoid an error. */ 4984 /* Override any gcc2 internal prototype to avoid an error. */
5077 $ac_func(); 4997 $ac_func();
5078 #endif 4998 #endif
5079 4999
5080 ; return 0; } 5000 ; return 0; }
5081 EOF 5001 EOF
5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5002 if { (eval echo configure:5003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5083 rm -rf conftest* 5003 rm -rf conftest*
5084 eval "ac_cv_func_$ac_func=yes" 5004 eval "ac_cv_func_$ac_func=yes"
5085 else 5005 else
5086 echo "configure: failed program was:" >&5 5006 echo "configure: failed program was:" >&5
5087 cat conftest.$ac_ext >&5 5007 cat conftest.$ac_ext >&5
5105 5025
5106 for ac_hdr in maillock.h 5026 for ac_hdr in maillock.h
5107 do 5027 do
5108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5110 echo "configure:5111: checking for $ac_hdr" >&5 5030 echo "configure:5031: checking for $ac_hdr" >&5
5111 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5112 echo $ac_n "(cached) $ac_c" 1>&6 5032 echo $ac_n "(cached) $ac_c" 1>&6
5113 else 5033 else
5114 cat > conftest.$ac_ext <<EOF 5034 cat > conftest.$ac_ext <<EOF
5115 #line 5116 "configure" 5035 #line 5036 "configure"
5116 #include "confdefs.h" 5036 #include "confdefs.h"
5117 #include <$ac_hdr> 5037 #include <$ac_hdr>
5118 EOF 5038 EOF
5119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5120 { (eval echo configure:5121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5040 { (eval echo configure:5041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5041 ac_err=`grep -v '^ *+' conftest.out`
5122 if test -z "$ac_err"; then 5042 if test -z "$ac_err"; then
5123 rm -rf conftest* 5043 rm -rf conftest*
5124 eval "ac_cv_header_$ac_safe=yes" 5044 eval "ac_cv_header_$ac_safe=yes"
5125 else 5045 else
5126 echo "$ac_err" >&5 5046 echo "$ac_err" >&5
5147 for ac_func in gettimeofday gethostname getdomainname dup2 \ 5067 for ac_func in gettimeofday gethostname getdomainname dup2 \
5148 rename closedir mkdir rmdir sysinfo \ 5068 rename closedir mkdir rmdir sysinfo \
5149 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 5069 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
5150 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 5070 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5151 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 5071 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5152 __fpending ftello getloadavg mblen mbrlen strsignal 5072 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5153 do 5073 do
5154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5155 echo "configure:5156: checking for $ac_func" >&5 5075 echo "configure:5076: checking for $ac_func" >&5
5156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5157 echo $ac_n "(cached) $ac_c" 1>&6 5077 echo $ac_n "(cached) $ac_c" 1>&6
5158 else 5078 else
5159 cat > conftest.$ac_ext <<EOF 5079 cat > conftest.$ac_ext <<EOF
5160 #line 5161 "configure" 5080 #line 5081 "configure"
5161 #include "confdefs.h" 5081 #include "confdefs.h"
5162 /* System header to define __stub macros and hopefully few prototypes, 5082 /* System header to define __stub macros and hopefully few prototypes,
5163 which can conflict with char $ac_func(); below. */ 5083 which can conflict with char $ac_func(); below. */
5164 #include <assert.h> 5084 #include <assert.h>
5165 /* Override any gcc2 internal prototype to avoid an error. */ 5085 /* Override any gcc2 internal prototype to avoid an error. */
5178 $ac_func(); 5098 $ac_func();
5179 #endif 5099 #endif
5180 5100
5181 ; return 0; } 5101 ; return 0; }
5182 EOF 5102 EOF
5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5103 if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5184 rm -rf conftest* 5104 rm -rf conftest*
5185 eval "ac_cv_func_$ac_func=yes" 5105 eval "ac_cv_func_$ac_func=yes"
5186 else 5106 else
5187 echo "configure: failed program was:" >&5 5107 echo "configure: failed program was:" >&5
5188 cat conftest.$ac_ext >&5 5108 cat conftest.$ac_ext >&5
5208 # Check this now, so that we will NOT find the above functions in ncurses. 5128 # Check this now, so that we will NOT find the above functions in ncurses.
5209 # That is because we have not set up to link ncurses in lib-src. 5129 # That is because we have not set up to link ncurses in lib-src.
5210 # It's better to believe a function is not available 5130 # It's better to believe a function is not available
5211 # than to expect to find it in ncurses. 5131 # than to expect to find it in ncurses.
5212 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5132 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5213 echo "configure:5214: checking for tparm in -lncurses" >&5 5133 echo "configure:5134: checking for tparm in -lncurses" >&5
5214 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5134 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5216 echo $ac_n "(cached) $ac_c" 1>&6 5136 echo $ac_n "(cached) $ac_c" 1>&6
5217 else 5137 else
5218 ac_save_LIBS="$LIBS" 5138 ac_save_LIBS="$LIBS"
5219 LIBS="-lncurses $LIBS" 5139 LIBS="-lncurses $LIBS"
5220 cat > conftest.$ac_ext <<EOF 5140 cat > conftest.$ac_ext <<EOF
5221 #line 5222 "configure" 5141 #line 5142 "configure"
5222 #include "confdefs.h" 5142 #include "confdefs.h"
5223 /* Override any gcc2 internal prototype to avoid an error. */ 5143 /* Override any gcc2 internal prototype to avoid an error. */
5224 /* We use char because int might match the return type of a gcc2 5144 /* We use char because int might match the return type of a gcc2
5225 builtin and then its argument prototype would still apply. */ 5145 builtin and then its argument prototype would still apply. */
5226 char tparm(); 5146 char tparm();
5227 5147
5228 int main() { 5148 int main() {
5229 tparm() 5149 tparm()
5230 ; return 0; } 5150 ; return 0; }
5231 EOF 5151 EOF
5232 if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5152 if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5233 rm -rf conftest* 5153 rm -rf conftest*
5234 eval "ac_cv_lib_$ac_lib_var=yes" 5154 eval "ac_cv_lib_$ac_lib_var=yes"
5235 else 5155 else
5236 echo "configure: failed program was:" >&5 5156 echo "configure: failed program was:" >&5
5237 cat conftest.$ac_ext >&5 5157 cat conftest.$ac_ext >&5
5258 5178
5259 5179
5260 # These tell us which Kerberos-related libraries to use. 5180 # These tell us which Kerberos-related libraries to use.
5261 if test "${with_kerberos+set}" = set; then 5181 if test "${with_kerberos+set}" = set; then
5262 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5182 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5263 echo "configure:5264: checking for com_err in -lcom_err" >&5 5183 echo "configure:5184: checking for com_err in -lcom_err" >&5
5264 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5184 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5266 echo $ac_n "(cached) $ac_c" 1>&6 5186 echo $ac_n "(cached) $ac_c" 1>&6
5267 else 5187 else
5268 ac_save_LIBS="$LIBS" 5188 ac_save_LIBS="$LIBS"
5269 LIBS="-lcom_err $LIBS" 5189 LIBS="-lcom_err $LIBS"
5270 cat > conftest.$ac_ext <<EOF 5190 cat > conftest.$ac_ext <<EOF
5271 #line 5272 "configure" 5191 #line 5192 "configure"
5272 #include "confdefs.h" 5192 #include "confdefs.h"
5273 /* Override any gcc2 internal prototype to avoid an error. */ 5193 /* Override any gcc2 internal prototype to avoid an error. */
5274 /* We use char because int might match the return type of a gcc2 5194 /* We use char because int might match the return type of a gcc2
5275 builtin and then its argument prototype would still apply. */ 5195 builtin and then its argument prototype would still apply. */
5276 char com_err(); 5196 char com_err();
5277 5197
5278 int main() { 5198 int main() {
5279 com_err() 5199 com_err()
5280 ; return 0; } 5200 ; return 0; }
5281 EOF 5201 EOF
5282 if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5202 if { (eval echo configure:5203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5283 rm -rf conftest* 5203 rm -rf conftest*
5284 eval "ac_cv_lib_$ac_lib_var=yes" 5204 eval "ac_cv_lib_$ac_lib_var=yes"
5285 else 5205 else
5286 echo "configure: failed program was:" >&5 5206 echo "configure: failed program was:" >&5
5287 cat conftest.$ac_ext >&5 5207 cat conftest.$ac_ext >&5
5305 else 5225 else
5306 echo "$ac_t""no" 1>&6 5226 echo "$ac_t""no" 1>&6
5307 fi 5227 fi
5308 5228
5309 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5229 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5310 echo "configure:5311: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5230 echo "configure:5231: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5311 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5231 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5313 echo $ac_n "(cached) $ac_c" 1>&6 5233 echo $ac_n "(cached) $ac_c" 1>&6
5314 else 5234 else
5315 ac_save_LIBS="$LIBS" 5235 ac_save_LIBS="$LIBS"
5316 LIBS="-lk5crypto $LIBS" 5236 LIBS="-lk5crypto $LIBS"
5317 cat > conftest.$ac_ext <<EOF 5237 cat > conftest.$ac_ext <<EOF
5318 #line 5319 "configure" 5238 #line 5239 "configure"
5319 #include "confdefs.h" 5239 #include "confdefs.h"
5320 /* Override any gcc2 internal prototype to avoid an error. */ 5240 /* Override any gcc2 internal prototype to avoid an error. */
5321 /* We use char because int might match the return type of a gcc2 5241 /* We use char because int might match the return type of a gcc2
5322 builtin and then its argument prototype would still apply. */ 5242 builtin and then its argument prototype would still apply. */
5323 char mit_des_cbc_encrypt(); 5243 char mit_des_cbc_encrypt();
5324 5244
5325 int main() { 5245 int main() {
5326 mit_des_cbc_encrypt() 5246 mit_des_cbc_encrypt()
5327 ; return 0; } 5247 ; return 0; }
5328 EOF 5248 EOF
5329 if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5330 rm -rf conftest* 5250 rm -rf conftest*
5331 eval "ac_cv_lib_$ac_lib_var=yes" 5251 eval "ac_cv_lib_$ac_lib_var=yes"
5332 else 5252 else
5333 echo "configure: failed program was:" >&5 5253 echo "configure: failed program was:" >&5
5334 cat conftest.$ac_ext >&5 5254 cat conftest.$ac_ext >&5
5352 else 5272 else
5353 echo "$ac_t""no" 1>&6 5273 echo "$ac_t""no" 1>&6
5354 fi 5274 fi
5355 5275
5356 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5276 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5357 echo "configure:5358: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5277 echo "configure:5278: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5358 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5278 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5360 echo $ac_n "(cached) $ac_c" 1>&6 5280 echo $ac_n "(cached) $ac_c" 1>&6
5361 else 5281 else
5362 ac_save_LIBS="$LIBS" 5282 ac_save_LIBS="$LIBS"
5363 LIBS="-lcrypto $LIBS" 5283 LIBS="-lcrypto $LIBS"
5364 cat > conftest.$ac_ext <<EOF 5284 cat > conftest.$ac_ext <<EOF
5365 #line 5366 "configure" 5285 #line 5286 "configure"
5366 #include "confdefs.h" 5286 #include "confdefs.h"
5367 /* Override any gcc2 internal prototype to avoid an error. */ 5287 /* Override any gcc2 internal prototype to avoid an error. */
5368 /* We use char because int might match the return type of a gcc2 5288 /* We use char because int might match the return type of a gcc2
5369 builtin and then its argument prototype would still apply. */ 5289 builtin and then its argument prototype would still apply. */
5370 char mit_des_cbc_encrypt(); 5290 char mit_des_cbc_encrypt();
5371 5291
5372 int main() { 5292 int main() {
5373 mit_des_cbc_encrypt() 5293 mit_des_cbc_encrypt()
5374 ; return 0; } 5294 ; return 0; }
5375 EOF 5295 EOF
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5296 if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5377 rm -rf conftest* 5297 rm -rf conftest*
5378 eval "ac_cv_lib_$ac_lib_var=yes" 5298 eval "ac_cv_lib_$ac_lib_var=yes"
5379 else 5299 else
5380 echo "configure: failed program was:" >&5 5300 echo "configure: failed program was:" >&5
5381 cat conftest.$ac_ext >&5 5301 cat conftest.$ac_ext >&5
5399 else 5319 else
5400 echo "$ac_t""no" 1>&6 5320 echo "$ac_t""no" 1>&6
5401 fi 5321 fi
5402 5322
5403 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5323 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5404 echo "configure:5405: checking for krb5_init_context in -lkrb5" >&5 5324 echo "configure:5325: checking for krb5_init_context in -lkrb5" >&5
5405 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5325 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5407 echo $ac_n "(cached) $ac_c" 1>&6 5327 echo $ac_n "(cached) $ac_c" 1>&6
5408 else 5328 else
5409 ac_save_LIBS="$LIBS" 5329 ac_save_LIBS="$LIBS"
5410 LIBS="-lkrb5 $LIBS" 5330 LIBS="-lkrb5 $LIBS"
5411 cat > conftest.$ac_ext <<EOF 5331 cat > conftest.$ac_ext <<EOF
5412 #line 5413 "configure" 5332 #line 5333 "configure"
5413 #include "confdefs.h" 5333 #include "confdefs.h"
5414 /* Override any gcc2 internal prototype to avoid an error. */ 5334 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2 5335 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */ 5336 builtin and then its argument prototype would still apply. */
5417 char krb5_init_context(); 5337 char krb5_init_context();
5418 5338
5419 int main() { 5339 int main() {
5420 krb5_init_context() 5340 krb5_init_context()
5421 ; return 0; } 5341 ; return 0; }
5422 EOF 5342 EOF
5423 if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5424 rm -rf conftest* 5344 rm -rf conftest*
5425 eval "ac_cv_lib_$ac_lib_var=yes" 5345 eval "ac_cv_lib_$ac_lib_var=yes"
5426 else 5346 else
5427 echo "configure: failed program was:" >&5 5347 echo "configure: failed program was:" >&5
5428 cat conftest.$ac_ext >&5 5348 cat conftest.$ac_ext >&5
5447 echo "$ac_t""no" 1>&6 5367 echo "$ac_t""no" 1>&6
5448 fi 5368 fi
5449 5369
5450 if test "${with_kerberos5+set}" != set; then 5370 if test "${with_kerberos5+set}" != set; then
5451 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5371 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5452 echo "configure:5453: checking for des_cbc_encrypt in -ldes425" >&5 5372 echo "configure:5373: checking for des_cbc_encrypt in -ldes425" >&5
5453 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5373 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5455 echo $ac_n "(cached) $ac_c" 1>&6 5375 echo $ac_n "(cached) $ac_c" 1>&6
5456 else 5376 else
5457 ac_save_LIBS="$LIBS" 5377 ac_save_LIBS="$LIBS"
5458 LIBS="-ldes425 $LIBS" 5378 LIBS="-ldes425 $LIBS"
5459 cat > conftest.$ac_ext <<EOF 5379 cat > conftest.$ac_ext <<EOF
5460 #line 5461 "configure" 5380 #line 5381 "configure"
5461 #include "confdefs.h" 5381 #include "confdefs.h"
5462 /* Override any gcc2 internal prototype to avoid an error. */ 5382 /* Override any gcc2 internal prototype to avoid an error. */
5463 /* We use char because int might match the return type of a gcc2 5383 /* We use char because int might match the return type of a gcc2
5464 builtin and then its argument prototype would still apply. */ 5384 builtin and then its argument prototype would still apply. */
5465 char des_cbc_encrypt(); 5385 char des_cbc_encrypt();
5466 5386
5467 int main() { 5387 int main() {
5468 des_cbc_encrypt() 5388 des_cbc_encrypt()
5469 ; return 0; } 5389 ; return 0; }
5470 EOF 5390 EOF
5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5391 if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5472 rm -rf conftest* 5392 rm -rf conftest*
5473 eval "ac_cv_lib_$ac_lib_var=yes" 5393 eval "ac_cv_lib_$ac_lib_var=yes"
5474 else 5394 else
5475 echo "configure: failed program was:" >&5 5395 echo "configure: failed program was:" >&5
5476 cat conftest.$ac_ext >&5 5396 cat conftest.$ac_ext >&5
5492 LIBS="-ldes425 $LIBS" 5412 LIBS="-ldes425 $LIBS"
5493 5413
5494 else 5414 else
5495 echo "$ac_t""no" 1>&6 5415 echo "$ac_t""no" 1>&6
5496 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5416 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5497 echo "configure:5498: checking for des_cbc_encrypt in -ldes" >&5 5417 echo "configure:5418: checking for des_cbc_encrypt in -ldes" >&5
5498 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5418 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5499 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5500 echo $ac_n "(cached) $ac_c" 1>&6 5420 echo $ac_n "(cached) $ac_c" 1>&6
5501 else 5421 else
5502 ac_save_LIBS="$LIBS" 5422 ac_save_LIBS="$LIBS"
5503 LIBS="-ldes $LIBS" 5423 LIBS="-ldes $LIBS"
5504 cat > conftest.$ac_ext <<EOF 5424 cat > conftest.$ac_ext <<EOF
5505 #line 5506 "configure" 5425 #line 5426 "configure"
5506 #include "confdefs.h" 5426 #include "confdefs.h"
5507 /* Override any gcc2 internal prototype to avoid an error. */ 5427 /* Override any gcc2 internal prototype to avoid an error. */
5508 /* We use char because int might match the return type of a gcc2 5428 /* We use char because int might match the return type of a gcc2
5509 builtin and then its argument prototype would still apply. */ 5429 builtin and then its argument prototype would still apply. */
5510 char des_cbc_encrypt(); 5430 char des_cbc_encrypt();
5511 5431
5512 int main() { 5432 int main() {
5513 des_cbc_encrypt() 5433 des_cbc_encrypt()
5514 ; return 0; } 5434 ; return 0; }
5515 EOF 5435 EOF
5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5436 if { (eval echo configure:5437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5517 rm -rf conftest* 5437 rm -rf conftest*
5518 eval "ac_cv_lib_$ac_lib_var=yes" 5438 eval "ac_cv_lib_$ac_lib_var=yes"
5519 else 5439 else
5520 echo "configure: failed program was:" >&5 5440 echo "configure: failed program was:" >&5
5521 cat conftest.$ac_ext >&5 5441 cat conftest.$ac_ext >&5
5541 fi 5461 fi
5542 5462
5543 fi 5463 fi
5544 5464
5545 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5465 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5546 echo "configure:5547: checking for krb_get_cred in -lkrb4" >&5 5466 echo "configure:5467: checking for krb_get_cred in -lkrb4" >&5
5547 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5467 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5549 echo $ac_n "(cached) $ac_c" 1>&6 5469 echo $ac_n "(cached) $ac_c" 1>&6
5550 else 5470 else
5551 ac_save_LIBS="$LIBS" 5471 ac_save_LIBS="$LIBS"
5552 LIBS="-lkrb4 $LIBS" 5472 LIBS="-lkrb4 $LIBS"
5553 cat > conftest.$ac_ext <<EOF 5473 cat > conftest.$ac_ext <<EOF
5554 #line 5555 "configure" 5474 #line 5475 "configure"
5555 #include "confdefs.h" 5475 #include "confdefs.h"
5556 /* Override any gcc2 internal prototype to avoid an error. */ 5476 /* Override any gcc2 internal prototype to avoid an error. */
5557 /* We use char because int might match the return type of a gcc2 5477 /* We use char because int might match the return type of a gcc2
5558 builtin and then its argument prototype would still apply. */ 5478 builtin and then its argument prototype would still apply. */
5559 char krb_get_cred(); 5479 char krb_get_cred();
5560 5480
5561 int main() { 5481 int main() {
5562 krb_get_cred() 5482 krb_get_cred()
5563 ; return 0; } 5483 ; return 0; }
5564 EOF 5484 EOF
5565 if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5566 rm -rf conftest* 5486 rm -rf conftest*
5567 eval "ac_cv_lib_$ac_lib_var=yes" 5487 eval "ac_cv_lib_$ac_lib_var=yes"
5568 else 5488 else
5569 echo "configure: failed program was:" >&5 5489 echo "configure: failed program was:" >&5
5570 cat conftest.$ac_ext >&5 5490 cat conftest.$ac_ext >&5
5586 LIBS="-lkrb4 $LIBS" 5506 LIBS="-lkrb4 $LIBS"
5587 5507
5588 else 5508 else
5589 echo "$ac_t""no" 1>&6 5509 echo "$ac_t""no" 1>&6
5590 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5510 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5591 echo "configure:5592: checking for krb_get_cred in -lkrb" >&5 5511 echo "configure:5512: checking for krb_get_cred in -lkrb" >&5
5592 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5512 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5594 echo $ac_n "(cached) $ac_c" 1>&6 5514 echo $ac_n "(cached) $ac_c" 1>&6
5595 else 5515 else
5596 ac_save_LIBS="$LIBS" 5516 ac_save_LIBS="$LIBS"
5597 LIBS="-lkrb $LIBS" 5517 LIBS="-lkrb $LIBS"
5598 cat > conftest.$ac_ext <<EOF 5518 cat > conftest.$ac_ext <<EOF
5599 #line 5600 "configure" 5519 #line 5520 "configure"
5600 #include "confdefs.h" 5520 #include "confdefs.h"
5601 /* Override any gcc2 internal prototype to avoid an error. */ 5521 /* Override any gcc2 internal prototype to avoid an error. */
5602 /* We use char because int might match the return type of a gcc2 5522 /* We use char because int might match the return type of a gcc2
5603 builtin and then its argument prototype would still apply. */ 5523 builtin and then its argument prototype would still apply. */
5604 char krb_get_cred(); 5524 char krb_get_cred();
5605 5525
5606 int main() { 5526 int main() {
5607 krb_get_cred() 5527 krb_get_cred()
5608 ; return 0; } 5528 ; return 0; }
5609 EOF 5529 EOF
5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5611 rm -rf conftest* 5531 rm -rf conftest*
5612 eval "ac_cv_lib_$ac_lib_var=yes" 5532 eval "ac_cv_lib_$ac_lib_var=yes"
5613 else 5533 else
5614 echo "configure: failed program was:" >&5 5534 echo "configure: failed program was:" >&5
5615 cat conftest.$ac_ext >&5 5535 cat conftest.$ac_ext >&5
5641 if test "${with_kerberos5+set}" = set; then 5561 if test "${with_kerberos5+set}" = set; then
5642 for ac_hdr in krb5.h 5562 for ac_hdr in krb5.h
5643 do 5563 do
5644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5646 echo "configure:5647: checking for $ac_hdr" >&5 5566 echo "configure:5567: checking for $ac_hdr" >&5
5647 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5648 echo $ac_n "(cached) $ac_c" 1>&6 5568 echo $ac_n "(cached) $ac_c" 1>&6
5649 else 5569 else
5650 cat > conftest.$ac_ext <<EOF 5570 cat > conftest.$ac_ext <<EOF
5651 #line 5652 "configure" 5571 #line 5572 "configure"
5652 #include "confdefs.h" 5572 #include "confdefs.h"
5653 #include <$ac_hdr> 5573 #include <$ac_hdr>
5654 EOF 5574 EOF
5655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5656 { (eval echo configure:5657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5576 { (eval echo configure:5577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5577 ac_err=`grep -v '^ *+' conftest.out`
5658 if test -z "$ac_err"; then 5578 if test -z "$ac_err"; then
5659 rm -rf conftest* 5579 rm -rf conftest*
5660 eval "ac_cv_header_$ac_safe=yes" 5580 eval "ac_cv_header_$ac_safe=yes"
5661 else 5581 else
5662 echo "$ac_err" >&5 5582 echo "$ac_err" >&5
5682 else 5602 else
5683 for ac_hdr in des.h 5603 for ac_hdr in des.h
5684 do 5604 do
5685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5687 echo "configure:5688: checking for $ac_hdr" >&5 5607 echo "configure:5608: checking for $ac_hdr" >&5
5688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5689 echo $ac_n "(cached) $ac_c" 1>&6 5609 echo $ac_n "(cached) $ac_c" 1>&6
5690 else 5610 else
5691 cat > conftest.$ac_ext <<EOF 5611 cat > conftest.$ac_ext <<EOF
5692 #line 5693 "configure" 5612 #line 5613 "configure"
5693 #include "confdefs.h" 5613 #include "confdefs.h"
5694 #include <$ac_hdr> 5614 #include <$ac_hdr>
5695 EOF 5615 EOF
5696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5697 { (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5617 { (eval echo configure:5618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5618 ac_err=`grep -v '^ *+' conftest.out`
5699 if test -z "$ac_err"; then 5619 if test -z "$ac_err"; then
5700 rm -rf conftest* 5620 rm -rf conftest*
5701 eval "ac_cv_header_$ac_safe=yes" 5621 eval "ac_cv_header_$ac_safe=yes"
5702 else 5622 else
5703 echo "$ac_err" >&5 5623 echo "$ac_err" >&5
5719 echo "$ac_t""no" 1>&6 5639 echo "$ac_t""no" 1>&6
5720 for ac_hdr in kerberosIV/des.h 5640 for ac_hdr in kerberosIV/des.h
5721 do 5641 do
5722 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5642 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5724 echo "configure:5725: checking for $ac_hdr" >&5 5644 echo "configure:5645: checking for $ac_hdr" >&5
5725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5726 echo $ac_n "(cached) $ac_c" 1>&6 5646 echo $ac_n "(cached) $ac_c" 1>&6
5727 else 5647 else
5728 cat > conftest.$ac_ext <<EOF 5648 cat > conftest.$ac_ext <<EOF
5729 #line 5730 "configure" 5649 #line 5650 "configure"
5730 #include "confdefs.h" 5650 #include "confdefs.h"
5731 #include <$ac_hdr> 5651 #include <$ac_hdr>
5732 EOF 5652 EOF
5733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5734 { (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5655 ac_err=`grep -v '^ *+' conftest.out`
5736 if test -z "$ac_err"; then 5656 if test -z "$ac_err"; then
5737 rm -rf conftest* 5657 rm -rf conftest*
5738 eval "ac_cv_header_$ac_safe=yes" 5658 eval "ac_cv_header_$ac_safe=yes"
5739 else 5659 else
5740 echo "$ac_err" >&5 5660 echo "$ac_err" >&5
5756 echo "$ac_t""no" 1>&6 5676 echo "$ac_t""no" 1>&6
5757 for ac_hdr in kerberos/des.h 5677 for ac_hdr in kerberos/des.h
5758 do 5678 do
5759 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5679 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5760 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5680 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5761 echo "configure:5762: checking for $ac_hdr" >&5 5681 echo "configure:5682: checking for $ac_hdr" >&5
5762 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5763 echo $ac_n "(cached) $ac_c" 1>&6 5683 echo $ac_n "(cached) $ac_c" 1>&6
5764 else 5684 else
5765 cat > conftest.$ac_ext <<EOF 5685 cat > conftest.$ac_ext <<EOF
5766 #line 5767 "configure" 5686 #line 5687 "configure"
5767 #include "confdefs.h" 5687 #include "confdefs.h"
5768 #include <$ac_hdr> 5688 #include <$ac_hdr>
5769 EOF 5689 EOF
5770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5771 { (eval echo configure:5772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5691 { (eval echo configure:5692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5692 ac_err=`grep -v '^ *+' conftest.out`
5773 if test -z "$ac_err"; then 5693 if test -z "$ac_err"; then
5774 rm -rf conftest* 5694 rm -rf conftest*
5775 eval "ac_cv_header_$ac_safe=yes" 5695 eval "ac_cv_header_$ac_safe=yes"
5776 else 5696 else
5777 echo "$ac_err" >&5 5697 echo "$ac_err" >&5
5802 5722
5803 for ac_hdr in krb.h 5723 for ac_hdr in krb.h
5804 do 5724 do
5805 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5725 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5807 echo "configure:5808: checking for $ac_hdr" >&5 5727 echo "configure:5728: checking for $ac_hdr" >&5
5808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5809 echo $ac_n "(cached) $ac_c" 1>&6 5729 echo $ac_n "(cached) $ac_c" 1>&6
5810 else 5730 else
5811 cat > conftest.$ac_ext <<EOF 5731 cat > conftest.$ac_ext <<EOF
5812 #line 5813 "configure" 5732 #line 5733 "configure"
5813 #include "confdefs.h" 5733 #include "confdefs.h"
5814 #include <$ac_hdr> 5734 #include <$ac_hdr>
5815 EOF 5735 EOF
5816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5817 { (eval echo configure:5818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5737 { (eval echo configure:5738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5738 ac_err=`grep -v '^ *+' conftest.out`
5819 if test -z "$ac_err"; then 5739 if test -z "$ac_err"; then
5820 rm -rf conftest* 5740 rm -rf conftest*
5821 eval "ac_cv_header_$ac_safe=yes" 5741 eval "ac_cv_header_$ac_safe=yes"
5822 else 5742 else
5823 echo "$ac_err" >&5 5743 echo "$ac_err" >&5
5839 echo "$ac_t""no" 1>&6 5759 echo "$ac_t""no" 1>&6
5840 for ac_hdr in kerberosIV/krb.h 5760 for ac_hdr in kerberosIV/krb.h
5841 do 5761 do
5842 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5762 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5844 echo "configure:5845: checking for $ac_hdr" >&5 5764 echo "configure:5765: checking for $ac_hdr" >&5
5845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5846 echo $ac_n "(cached) $ac_c" 1>&6 5766 echo $ac_n "(cached) $ac_c" 1>&6
5847 else 5767 else
5848 cat > conftest.$ac_ext <<EOF 5768 cat > conftest.$ac_ext <<EOF
5849 #line 5850 "configure" 5769 #line 5770 "configure"
5850 #include "confdefs.h" 5770 #include "confdefs.h"
5851 #include <$ac_hdr> 5771 #include <$ac_hdr>
5852 EOF 5772 EOF
5853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5854 { (eval echo configure:5855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5774 { (eval echo configure:5775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5855 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5775 ac_err=`grep -v '^ *+' conftest.out`
5856 if test -z "$ac_err"; then 5776 if test -z "$ac_err"; then
5857 rm -rf conftest* 5777 rm -rf conftest*
5858 eval "ac_cv_header_$ac_safe=yes" 5778 eval "ac_cv_header_$ac_safe=yes"
5859 else 5779 else
5860 echo "$ac_err" >&5 5780 echo "$ac_err" >&5
5876 echo "$ac_t""no" 1>&6 5796 echo "$ac_t""no" 1>&6
5877 for ac_hdr in kerberos/krb.h 5797 for ac_hdr in kerberos/krb.h
5878 do 5798 do
5879 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5881 echo "configure:5882: checking for $ac_hdr" >&5 5801 echo "configure:5802: checking for $ac_hdr" >&5
5882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5883 echo $ac_n "(cached) $ac_c" 1>&6 5803 echo $ac_n "(cached) $ac_c" 1>&6
5884 else 5804 else
5885 cat > conftest.$ac_ext <<EOF 5805 cat > conftest.$ac_ext <<EOF
5886 #line 5887 "configure" 5806 #line 5807 "configure"
5887 #include "confdefs.h" 5807 #include "confdefs.h"
5888 #include <$ac_hdr> 5808 #include <$ac_hdr>
5889 EOF 5809 EOF
5890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5891 { (eval echo configure:5892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5811 { (eval echo configure:5812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5812 ac_err=`grep -v '^ *+' conftest.out`
5893 if test -z "$ac_err"; then 5813 if test -z "$ac_err"; then
5894 rm -rf conftest* 5814 rm -rf conftest*
5895 eval "ac_cv_header_$ac_safe=yes" 5815 eval "ac_cv_header_$ac_safe=yes"
5896 else 5816 else
5897 echo "$ac_err" >&5 5817 echo "$ac_err" >&5
5923 fi 5843 fi
5924 for ac_hdr in com_err.h 5844 for ac_hdr in com_err.h
5925 do 5845 do
5926 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5846 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5927 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5847 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5928 echo "configure:5929: checking for $ac_hdr" >&5 5848 echo "configure:5849: checking for $ac_hdr" >&5
5929 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5930 echo $ac_n "(cached) $ac_c" 1>&6 5850 echo $ac_n "(cached) $ac_c" 1>&6
5931 else 5851 else
5932 cat > conftest.$ac_ext <<EOF 5852 cat > conftest.$ac_ext <<EOF
5933 #line 5934 "configure" 5853 #line 5854 "configure"
5934 #include "confdefs.h" 5854 #include "confdefs.h"
5935 #include <$ac_hdr> 5855 #include <$ac_hdr>
5936 EOF 5856 EOF
5937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5938 { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5858 { (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5859 ac_err=`grep -v '^ *+' conftest.out`
5940 if test -z "$ac_err"; then 5860 if test -z "$ac_err"; then
5941 rm -rf conftest* 5861 rm -rf conftest*
5942 eval "ac_cv_header_$ac_safe=yes" 5862 eval "ac_cv_header_$ac_safe=yes"
5943 else 5863 else
5944 echo "$ac_err" >&5 5864 echo "$ac_err" >&5
5964 fi 5884 fi
5965 5885
5966 # Solaris requires -lintl if you want strerror (which calls dgettext) 5886 # Solaris requires -lintl if you want strerror (which calls dgettext)
5967 # to return localized messages. 5887 # to return localized messages.
5968 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 5888 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
5969 echo "configure:5970: checking for dgettext in -lintl" >&5 5889 echo "configure:5890: checking for dgettext in -lintl" >&5
5970 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 5890 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
5971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5972 echo $ac_n "(cached) $ac_c" 1>&6 5892 echo $ac_n "(cached) $ac_c" 1>&6
5973 else 5893 else
5974 ac_save_LIBS="$LIBS" 5894 ac_save_LIBS="$LIBS"
5975 LIBS="-lintl $LIBS" 5895 LIBS="-lintl $LIBS"
5976 cat > conftest.$ac_ext <<EOF 5896 cat > conftest.$ac_ext <<EOF
5977 #line 5978 "configure" 5897 #line 5898 "configure"
5978 #include "confdefs.h" 5898 #include "confdefs.h"
5979 /* Override any gcc2 internal prototype to avoid an error. */ 5899 /* Override any gcc2 internal prototype to avoid an error. */
5980 /* We use char because int might match the return type of a gcc2 5900 /* We use char because int might match the return type of a gcc2
5981 builtin and then its argument prototype would still apply. */ 5901 builtin and then its argument prototype would still apply. */
5982 char dgettext(); 5902 char dgettext();
5983 5903
5984 int main() { 5904 int main() {
5985 dgettext() 5905 dgettext()
5986 ; return 0; } 5906 ; return 0; }
5987 EOF 5907 EOF
5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5908 if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5989 rm -rf conftest* 5909 rm -rf conftest*
5990 eval "ac_cv_lib_$ac_lib_var=yes" 5910 eval "ac_cv_lib_$ac_lib_var=yes"
5991 else 5911 else
5992 echo "configure: failed program was:" >&5 5912 echo "configure: failed program was:" >&5
5993 cat conftest.$ac_ext >&5 5913 cat conftest.$ac_ext >&5
6012 echo "$ac_t""no" 1>&6 5932 echo "$ac_t""no" 1>&6
6013 fi 5933 fi
6014 5934
6015 5935
6016 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 5936 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6017 echo "configure:6018: checking whether localtime caches TZ" >&5 5937 echo "configure:5938: checking whether localtime caches TZ" >&5
6018 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 5938 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6019 echo $ac_n "(cached) $ac_c" 1>&6 5939 echo $ac_n "(cached) $ac_c" 1>&6
6020 else 5940 else
6021 if test x$ac_cv_func_tzset = xyes; then 5941 if test x$ac_cv_func_tzset = xyes; then
6022 if test "$cross_compiling" = yes; then 5942 if test "$cross_compiling" = yes; then
6023 # If we have tzset, assume the worst when cross-compiling. 5943 # If we have tzset, assume the worst when cross-compiling.
6024 emacs_cv_localtime_cache=yes 5944 emacs_cv_localtime_cache=yes
6025 else 5945 else
6026 cat > conftest.$ac_ext <<EOF 5946 cat > conftest.$ac_ext <<EOF
6027 #line 6028 "configure" 5947 #line 5948 "configure"
6028 #include "confdefs.h" 5948 #include "confdefs.h"
6029 #include <time.h> 5949 #include <time.h>
6030 extern char **environ; 5950 extern char **environ;
6031 unset_TZ () 5951 unset_TZ ()
6032 { 5952 {
6054 if (localtime (&now)->tm_hour != hour_unset) 5974 if (localtime (&now)->tm_hour != hour_unset)
6055 exit (1); 5975 exit (1);
6056 exit (0); 5976 exit (0);
6057 } 5977 }
6058 EOF 5978 EOF
6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
6060 then 5980 then
6061 emacs_cv_localtime_cache=no 5981 emacs_cv_localtime_cache=no
6062 else 5982 else
6063 echo "configure: failed program was:" >&5 5983 echo "configure: failed program was:" >&5
6064 cat conftest.$ac_ext >&5 5984 cat conftest.$ac_ext >&5
6082 6002
6083 fi 6003 fi
6084 6004
6085 if test "x$HAVE_TIMEVAL" = xyes; then 6005 if test "x$HAVE_TIMEVAL" = xyes; then
6086 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6006 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6087 echo "configure:6088: checking whether gettimeofday can accept two arguments" >&5 6007 echo "configure:6008: checking whether gettimeofday can accept two arguments" >&5
6088 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6008 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6089 echo $ac_n "(cached) $ac_c" 1>&6 6009 echo $ac_n "(cached) $ac_c" 1>&6
6090 else 6010 else
6091 cat > conftest.$ac_ext <<EOF 6011 cat > conftest.$ac_ext <<EOF
6092 #line 6093 "configure" 6012 #line 6013 "configure"
6093 #include "confdefs.h" 6013 #include "confdefs.h"
6094 6014
6095 #ifdef TIME_WITH_SYS_TIME 6015 #ifdef TIME_WITH_SYS_TIME
6096 #include <sys/time.h> 6016 #include <sys/time.h>
6097 #include <time.h> 6017 #include <time.h>
6109 struct timezone dummy; 6029 struct timezone dummy;
6110 gettimeofday (&time, &dummy); 6030 gettimeofday (&time, &dummy);
6111 6031
6112 ; return 0; } 6032 ; return 0; }
6113 EOF 6033 EOF
6114 if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6115 rm -rf conftest* 6035 rm -rf conftest*
6116 emacs_cv_gettimeofday_two_arguments=yes 6036 emacs_cv_gettimeofday_two_arguments=yes
6117 else 6037 else
6118 echo "configure: failed program was:" >&5 6038 echo "configure: failed program was:" >&5
6119 cat conftest.$ac_ext >&5 6039 cat conftest.$ac_ext >&5
6132 fi 6052 fi
6133 fi 6053 fi
6134 6054
6135 ok_so_far=yes 6055 ok_so_far=yes
6136 echo $ac_n "checking for socket""... $ac_c" 1>&6 6056 echo $ac_n "checking for socket""... $ac_c" 1>&6
6137 echo "configure:6138: checking for socket" >&5 6057 echo "configure:6058: checking for socket" >&5
6138 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6058 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6139 echo $ac_n "(cached) $ac_c" 1>&6 6059 echo $ac_n "(cached) $ac_c" 1>&6
6140 else 6060 else
6141 cat > conftest.$ac_ext <<EOF 6061 cat > conftest.$ac_ext <<EOF
6142 #line 6143 "configure" 6062 #line 6063 "configure"
6143 #include "confdefs.h" 6063 #include "confdefs.h"
6144 /* System header to define __stub macros and hopefully few prototypes, 6064 /* System header to define __stub macros and hopefully few prototypes,
6145 which can conflict with char socket(); below. */ 6065 which can conflict with char socket(); below. */
6146 #include <assert.h> 6066 #include <assert.h>
6147 /* Override any gcc2 internal prototype to avoid an error. */ 6067 /* Override any gcc2 internal prototype to avoid an error. */
6160 socket(); 6080 socket();
6161 #endif 6081 #endif
6162 6082
6163 ; return 0; } 6083 ; return 0; }
6164 EOF 6084 EOF
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6166 rm -rf conftest* 6086 rm -rf conftest*
6167 eval "ac_cv_func_socket=yes" 6087 eval "ac_cv_func_socket=yes"
6168 else 6088 else
6169 echo "configure: failed program was:" >&5 6089 echo "configure: failed program was:" >&5
6170 cat conftest.$ac_ext >&5 6090 cat conftest.$ac_ext >&5
6183 fi 6103 fi
6184 6104
6185 if test $ok_so_far = yes; then 6105 if test $ok_so_far = yes; then
6186 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6106 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6187 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6107 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6188 echo "configure:6189: checking for netinet/in.h" >&5 6108 echo "configure:6109: checking for netinet/in.h" >&5
6189 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6190 echo $ac_n "(cached) $ac_c" 1>&6 6110 echo $ac_n "(cached) $ac_c" 1>&6
6191 else 6111 else
6192 cat > conftest.$ac_ext <<EOF 6112 cat > conftest.$ac_ext <<EOF
6193 #line 6194 "configure" 6113 #line 6114 "configure"
6194 #include "confdefs.h" 6114 #include "confdefs.h"
6195 #include <netinet/in.h> 6115 #include <netinet/in.h>
6196 EOF 6116 EOF
6197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6198 { (eval echo configure:6199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6118 { (eval echo configure:6119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6119 ac_err=`grep -v '^ *+' conftest.out`
6200 if test -z "$ac_err"; then 6120 if test -z "$ac_err"; then
6201 rm -rf conftest* 6121 rm -rf conftest*
6202 eval "ac_cv_header_$ac_safe=yes" 6122 eval "ac_cv_header_$ac_safe=yes"
6203 else 6123 else
6204 echo "$ac_err" >&5 6124 echo "$ac_err" >&5
6219 6139
6220 fi 6140 fi
6221 if test $ok_so_far = yes; then 6141 if test $ok_so_far = yes; then
6222 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6142 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6223 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6143 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6224 echo "configure:6225: checking for arpa/inet.h" >&5 6144 echo "configure:6145: checking for arpa/inet.h" >&5
6225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6226 echo $ac_n "(cached) $ac_c" 1>&6 6146 echo $ac_n "(cached) $ac_c" 1>&6
6227 else 6147 else
6228 cat > conftest.$ac_ext <<EOF 6148 cat > conftest.$ac_ext <<EOF
6229 #line 6230 "configure" 6149 #line 6150 "configure"
6230 #include "confdefs.h" 6150 #include "confdefs.h"
6231 #include <arpa/inet.h> 6151 #include <arpa/inet.h>
6232 EOF 6152 EOF
6233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6234 { (eval echo configure:6235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6154 { (eval echo configure:6155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6155 ac_err=`grep -v '^ *+' conftest.out`
6236 if test -z "$ac_err"; then 6156 if test -z "$ac_err"; then
6237 rm -rf conftest* 6157 rm -rf conftest*
6238 eval "ac_cv_header_$ac_safe=yes" 6158 eval "ac_cv_header_$ac_safe=yes"
6239 else 6159 else
6240 echo "$ac_err" >&5 6160 echo "$ac_err" >&5
6267 EOF 6187 EOF
6268 6188
6269 fi 6189 fi
6270 6190
6271 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6191 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6272 echo "configure:6273: checking whether system supports dynamic ptys" >&5 6192 echo "configure:6193: checking whether system supports dynamic ptys" >&5
6273 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6193 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6274 echo "$ac_t""yes" 1>&6 6194 echo "$ac_t""yes" 1>&6
6275 cat >> confdefs.h <<\EOF 6195 cat >> confdefs.h <<\EOF
6276 #define HAVE_DEV_PTMX 1 6196 #define HAVE_DEV_PTMX 1
6277 EOF 6197 EOF
6532 case "\$ac_option" in 6452 case "\$ac_option" in
6533 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6453 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6534 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 6454 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6535 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 6455 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6536 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 6456 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6537 echo "$CONFIG_STATUS generated by autoconf version 2.13" 6457 echo "$CONFIG_STATUS generated by autoconf version 2.12"
6538 exit 0 ;; 6458 exit 0 ;;
6539 -help | --help | --hel | --he | --h) 6459 -help | --help | --hel | --he | --h)
6540 echo "\$ac_cs_usage"; exit 0 ;; 6460 echo "\$ac_cs_usage"; exit 0 ;;
6541 *) echo "\$ac_cs_usage"; exit 1 ;; 6461 *) echo "\$ac_cs_usage"; exit 1 ;;
6542 esac 6462 esac
6554 # Protect against being on the right side of a sed subst in config.status. 6474 # Protect against being on the right side of a sed subst in config.status.
6555 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 6475 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6556 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 6476 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6557 $ac_vpsub 6477 $ac_vpsub
6558 $extrasub 6478 $extrasub
6559 s%@SHELL@%$SHELL%g
6560 s%@CFLAGS@%$CFLAGS%g 6479 s%@CFLAGS@%$CFLAGS%g
6561 s%@CPPFLAGS@%$CPPFLAGS%g 6480 s%@CPPFLAGS@%$CPPFLAGS%g
6562 s%@CXXFLAGS@%$CXXFLAGS%g 6481 s%@CXXFLAGS@%$CXXFLAGS%g
6563 s%@FFLAGS@%$FFLAGS%g
6564 s%@DEFS@%$DEFS%g 6482 s%@DEFS@%$DEFS%g
6565 s%@LDFLAGS@%$LDFLAGS%g 6483 s%@LDFLAGS@%$LDFLAGS%g
6566 s%@LIBS@%$LIBS%g 6484 s%@LIBS@%$LIBS%g
6567 s%@exec_prefix@%$exec_prefix%g 6485 s%@exec_prefix@%$exec_prefix%g
6568 s%@prefix@%$prefix%g 6486 s%@prefix@%$prefix%g
6586 s%@host_os@%$host_os%g 6504 s%@host_os@%$host_os%g
6587 s%@CC@%$CC%g 6505 s%@CC@%$CC%g
6588 s%@LN_S@%$LN_S%g 6506 s%@LN_S@%$LN_S%g
6589 s%@CPP@%$CPP%g 6507 s%@CPP@%$CPP%g
6590 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 6508 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6591 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
6592 s%@INSTALL_DATA@%$INSTALL_DATA%g 6509 s%@INSTALL_DATA@%$INSTALL_DATA%g
6593 s%@YACC@%$YACC%g 6510 s%@YACC@%$YACC%g
6594 s%@SET_MAKE@%$SET_MAKE%g 6511 s%@SET_MAKE@%$SET_MAKE%g
6595 s%@ALLOCA@%$ALLOCA%g 6512 s%@ALLOCA@%$ALLOCA%g
6596 s%@liblockfile@%$liblockfile%g 6513 s%@liblockfile@%$liblockfile%g