comparison configure @ 111869:2b8673bc05c8

* configure.in: Don't double machfile in final message.
author Andreas Schwab <schwab@linux-m68k.org>
date Fri, 10 Dec 2010 18:29:54 +0100
parents 09135bc8aedb
children d21197a7fc63
comparison
equal deleted inserted replaced
111868:98f94116b751 111869:2b8673bc05c8
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for emacs 24.0.50. 3 # Generated by GNU Autoconf 2.68 for emacs 24.0.50.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc. 8 # Foundation, Inc.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.) 88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl" 89 IFS=" "" $as_nl"
90 90
91 # Find who we are. Look in the path if we contain no directory separator. 91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
92 case $0 in #(( 93 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH 96 for as_dir in $PATH
96 do 97 do
212 213
213 if test "x$CONFIG_SHELL" != x; then : 214 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a 215 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 216 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 219 BASH_ENV=/dev/null
218 ENV=/dev/null 220 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 222 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222 fi 230 fi
223 231
224 if test x$as_have_required = xno; then : 232 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 233 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 234 $as_echo "$0: the shells that I found on your system."
1252 *) 1260 *)
1253 # FIXME: should be removed in autoconf 3.0. 1261 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1258 ;; 1266 ;;
1259 1267
1260 esac 1268 esac
1261 done 1269 done
1262 1270
1623 1631
1624 test -n "$ac_init_help" && exit $ac_status 1632 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then 1633 if $ac_init_version; then
1626 cat <<\_ACEOF 1634 cat <<\_ACEOF
1627 emacs configure 24.0.50 1635 emacs configure 24.0.50
1628 generated by GNU Autoconf 2.67 1636 generated by GNU Autoconf 2.68
1629 1637
1630 Copyright (C) 2010 Free Software Foundation, Inc. 1638 Copyright (C) 2010 Free Software Foundation, Inc.
1631 This configure script is free software; the Free Software Foundation 1639 This configure script is free software; the Free Software Foundation
1632 gives unlimited permission to copy, distribute and modify it. 1640 gives unlimited permission to copy, distribute and modify it.
1633 _ACEOF 1641 _ACEOF
1669 $as_echo "$as_me: failed program was:" >&5 1677 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5 1678 sed 's/^/| /' conftest.$ac_ext >&5
1671 1679
1672 ac_retval=1 1680 ac_retval=1
1673 fi 1681 fi
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval 1683 as_fn_set_status $ac_retval
1676 1684
1677 } # ac_fn_c_try_compile 1685 } # ac_fn_c_try_compile
1678 1686
1679 # ac_fn_c_try_link LINENO 1687 # ac_fn_c_try_link LINENO
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is 1725 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions. 1726 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval 1729 as_fn_set_status $ac_retval
1722 1730
1723 } # ac_fn_c_try_link 1731 } # ac_fn_c_try_link
1724 1732
1725 # ac_fn_c_try_cpp LINENO 1733 # ac_fn_c_try_cpp LINENO
1752 $as_echo "$as_me: failed program was:" >&5 1760 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5 1761 sed 's/^/| /' conftest.$ac_ext >&5
1754 1762
1755 ac_retval=1 1763 ac_retval=1
1756 fi 1764 fi
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval 1766 as_fn_set_status $ac_retval
1759 1767
1760 } # ac_fn_c_try_cpp 1768 } # ac_fn_c_try_cpp
1761 1769
1762 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1765 # the include files in INCLUDES and setting the cache variable VAR 1773 # the include files in INCLUDES and setting the cache variable VAR
1766 # accordingly. 1774 # accordingly.
1767 ac_fn_c_check_header_mongrel () 1775 ac_fn_c_check_header_mongrel ()
1768 { 1776 {
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if eval "test \"\${$3+set}\"" = set; then : 1778 if eval \${$3+:} false; then :
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; } 1780 $as_echo_n "checking for $2... " >&6; }
1773 if eval "test \"\${$3+set}\"" = set; then : 1781 if eval \${$3+:} false; then :
1774 $as_echo_n "(cached) " >&6 1782 $as_echo_n "(cached) " >&6
1775 fi 1783 fi
1776 eval ac_res=\$$3 1784 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; } 1786 $as_echo "$ac_res" >&6; }
1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832 ;; 1840 ;;
1833 esac 1841 esac
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; } 1843 $as_echo_n "checking for $2... " >&6; }
1836 if eval "test \"\${$3+set}\"" = set; then : 1844 if eval \${$3+:} false; then :
1837 $as_echo_n "(cached) " >&6 1845 $as_echo_n "(cached) " >&6
1838 else 1846 else
1839 eval "$3=\$ac_header_compiler" 1847 eval "$3=\$ac_header_compiler"
1840 fi 1848 fi
1841 eval ac_res=\$$3 1849 eval ac_res=\$$3
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; } 1851 $as_echo "$ac_res" >&6; }
1844 fi 1852 fi
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 1854
1847 } # ac_fn_c_check_header_mongrel 1855 } # ac_fn_c_check_header_mongrel
1848 1856
1849 # ac_fn_c_try_run LINENO 1857 # ac_fn_c_try_run LINENO
1850 # ---------------------- 1858 # ----------------------
1881 sed 's/^/| /' conftest.$ac_ext >&5 1889 sed 's/^/| /' conftest.$ac_ext >&5
1882 1890
1883 ac_retval=$ac_status 1891 ac_retval=$ac_status
1884 fi 1892 fi
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval 1895 as_fn_set_status $ac_retval
1888 1896
1889 } # ac_fn_c_try_run 1897 } # ac_fn_c_try_run
1890 1898
1891 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1899 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1895 ac_fn_c_check_header_compile () 1903 ac_fn_c_check_header_compile ()
1896 { 1904 {
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; } 1907 $as_echo_n "checking for $2... " >&6; }
1900 if eval "test \"\${$3+set}\"" = set; then : 1908 if eval \${$3+:} false; then :
1901 $as_echo_n "(cached) " >&6 1909 $as_echo_n "(cached) " >&6
1902 else 1910 else
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */ 1912 /* end confdefs.h. */
1905 $4 1913 $4
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 fi 1922 fi
1915 eval ac_res=\$$3 1923 eval ac_res=\$$3
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; } 1925 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 1927
1920 } # ac_fn_c_check_header_compile 1928 } # ac_fn_c_check_header_compile
1921 1929
1922 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1930 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1923 # --------------------------------------------- 1931 # ---------------------------------------------
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 as_decl_name=`echo $2|sed 's/ *(.*//'` 1937 as_decl_name=`echo $2|sed 's/ *(.*//'`
1930 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1938 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1932 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1940 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1933 if eval "test \"\${$3+set}\"" = set; then : 1941 if eval \${$3+:} false; then :
1934 $as_echo_n "(cached) " >&6 1942 $as_echo_n "(cached) " >&6
1935 else 1943 else
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */ 1945 /* end confdefs.h. */
1938 $4 1946 $4
1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960 fi 1968 fi
1961 eval ac_res=\$$3 1969 eval ac_res=\$$3
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; } 1971 $as_echo "$ac_res" >&6; }
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 1973
1966 } # ac_fn_c_check_decl 1974 } # ac_fn_c_check_decl
1967 1975
1968 # ac_fn_c_check_header_preproc LINENO HEADER VAR 1976 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1969 # ---------------------------------------------- 1977 # ----------------------------------------------
1971 ac_fn_c_check_header_preproc () 1979 ac_fn_c_check_header_preproc ()
1972 { 1980 {
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; } 1983 $as_echo_n "checking for $2... " >&6; }
1976 if eval "test \"\${$3+set}\"" = set; then : 1984 if eval \${$3+:} false; then :
1977 $as_echo_n "(cached) " >&6 1985 $as_echo_n "(cached) " >&6
1978 else 1986 else
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */ 1988 /* end confdefs.h. */
1981 #include <$2> 1989 #include <$2>
1988 rm -f conftest.err conftest.i conftest.$ac_ext 1996 rm -f conftest.err conftest.i conftest.$ac_ext
1989 fi 1997 fi
1990 eval ac_res=\$$3 1998 eval ac_res=\$$3
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; } 2000 $as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994 2002
1995 } # ac_fn_c_check_header_preproc 2003 } # ac_fn_c_check_header_preproc
1996 2004
1997 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2005 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1998 # ---------------------------------------------------- 2006 # ----------------------------------------------------
2001 ac_fn_c_check_member () 2009 ac_fn_c_check_member ()
2002 { 2010 {
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2005 $as_echo_n "checking for $2.$3... " >&6; } 2013 $as_echo_n "checking for $2.$3... " >&6; }
2006 if eval "test \"\${$4+set}\"" = set; then : 2014 if eval \${$4+:} false; then :
2007 $as_echo_n "(cached) " >&6 2015 $as_echo_n "(cached) " >&6
2008 else 2016 else
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */ 2018 /* end confdefs.h. */
2011 $5 2019 $5
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 fi 2054 fi
2047 eval ac_res=\$$4 2055 eval ac_res=\$$4
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; } 2057 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 2059
2052 } # ac_fn_c_check_member 2060 } # ac_fn_c_check_member
2053 2061
2054 # ac_fn_c_check_func LINENO FUNC VAR 2062 # ac_fn_c_check_func LINENO FUNC VAR
2055 # ---------------------------------- 2063 # ----------------------------------
2057 ac_fn_c_check_func () 2065 ac_fn_c_check_func ()
2058 { 2066 {
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061 $as_echo_n "checking for $2... " >&6; } 2069 $as_echo_n "checking for $2... " >&6; }
2062 if eval "test \"\${$3+set}\"" = set; then : 2070 if eval \${$3+:} false; then :
2063 $as_echo_n "(cached) " >&6 2071 $as_echo_n "(cached) " >&6
2064 else 2072 else
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */ 2074 /* end confdefs.h. */
2067 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2112 conftest$ac_exeext conftest.$ac_ext 2120 conftest$ac_exeext conftest.$ac_ext
2113 fi 2121 fi
2114 eval ac_res=\$$3 2122 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; } 2124 $as_echo "$ac_res" >&6; }
2117 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 2126
2119 } # ac_fn_c_check_func 2127 } # ac_fn_c_check_func
2120 2128
2121 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2129 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2122 # ------------------------------------------- 2130 # -------------------------------------------
2125 ac_fn_c_check_type () 2133 ac_fn_c_check_type ()
2126 { 2134 {
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; } 2137 $as_echo_n "checking for $2... " >&6; }
2130 if eval "test \"\${$3+set}\"" = set; then : 2138 if eval \${$3+:} false; then :
2131 $as_echo_n "(cached) " >&6 2139 $as_echo_n "(cached) " >&6
2132 else 2140 else
2133 eval "$3=no" 2141 eval "$3=no"
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */ 2143 /* end confdefs.h. */
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 fi 2175 fi
2168 eval ac_res=\$$3 2176 eval ac_res=\$$3
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; } 2178 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2172 2180
2173 } # ac_fn_c_check_type 2181 } # ac_fn_c_check_type
2174 cat >config.log <<_ACEOF 2182 cat >config.log <<_ACEOF
2175 This file contains any messages produced by compilers while 2183 This file contains any messages produced by compilers while
2176 running configure, to aid debugging if configure makes a mistake. 2184 running configure, to aid debugging if configure makes a mistake.
2177 2185
2178 It was created by emacs $as_me 24.0.50, which was 2186 It was created by emacs $as_me 24.0.50, which was
2179 generated by GNU Autoconf 2.67. Invocation command line was 2187 generated by GNU Autoconf 2.68. Invocation command line was
2180 2188
2181 $ $0 $@ 2189 $ $0 $@
2182 2190
2183 _ACEOF 2191 _ACEOF
2184 exec 5>>config.log 2192 exec 5>>config.log
3138 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3146 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3139 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3147 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3140 3148
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3142 $as_echo_n "checking build system type... " >&6; } 3150 $as_echo_n "checking build system type... " >&6; }
3143 if test "${ac_cv_build+set}" = set; then : 3151 if ${ac_cv_build+:} false; then :
3144 $as_echo_n "(cached) " >&6 3152 $as_echo_n "(cached) " >&6
3145 else 3153 else
3146 ac_build_alias=$build_alias 3154 ac_build_alias=$build_alias
3147 test "x$ac_build_alias" = x && 3155 test "x$ac_build_alias" = x &&
3148 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3156 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3172 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3180 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3173 3181
3174 3182
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3176 $as_echo_n "checking host system type... " >&6; } 3184 $as_echo_n "checking host system type... " >&6; }
3177 if test "${ac_cv_host+set}" = set; then : 3185 if ${ac_cv_host+:} false; then :
3178 $as_echo_n "(cached) " >&6 3186 $as_echo_n "(cached) " >&6
3179 else 3187 else
3180 if test "x$host_alias" = x; then 3188 if test "x$host_alias" = x; then
3181 ac_cv_host=$ac_cv_build 3189 ac_cv_host=$ac_cv_build
3182 else 3190 else
3458 if test -n "$ac_tool_prefix"; then 3466 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3467 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3468 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3462 $as_echo_n "checking for $ac_word... " >&6; } 3470 $as_echo_n "checking for $ac_word... " >&6; }
3463 if test "${ac_cv_prog_CC+set}" = set; then : 3471 if ${ac_cv_prog_CC+:} false; then :
3464 $as_echo_n "(cached) " >&6 3472 $as_echo_n "(cached) " >&6
3465 else 3473 else
3466 if test -n "$CC"; then 3474 if test -n "$CC"; then
3467 ac_cv_prog_CC="$CC" # Let the user override the test. 3475 ac_cv_prog_CC="$CC" # Let the user override the test.
3468 else 3476 else
3498 ac_ct_CC=$CC 3506 ac_ct_CC=$CC
3499 # Extract the first word of "gcc", so it can be a program name with args. 3507 # Extract the first word of "gcc", so it can be a program name with args.
3500 set dummy gcc; ac_word=$2 3508 set dummy gcc; ac_word=$2
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502 $as_echo_n "checking for $ac_word... " >&6; } 3510 $as_echo_n "checking for $ac_word... " >&6; }
3503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3511 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3504 $as_echo_n "(cached) " >&6 3512 $as_echo_n "(cached) " >&6
3505 else 3513 else
3506 if test -n "$ac_ct_CC"; then 3514 if test -n "$ac_ct_CC"; then
3507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3515 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3508 else 3516 else
3551 if test -n "$ac_tool_prefix"; then 3559 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3560 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}cc; ac_word=$2 3561 set dummy ${ac_tool_prefix}cc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; } 3563 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then : 3564 if ${ac_cv_prog_CC+:} false; then :
3557 $as_echo_n "(cached) " >&6 3565 $as_echo_n "(cached) " >&6
3558 else 3566 else
3559 if test -n "$CC"; then 3567 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test. 3568 ac_cv_prog_CC="$CC" # Let the user override the test.
3561 else 3569 else
3591 if test -z "$CC"; then 3599 if test -z "$CC"; then
3592 # Extract the first word of "cc", so it can be a program name with args. 3600 # Extract the first word of "cc", so it can be a program name with args.
3593 set dummy cc; ac_word=$2 3601 set dummy cc; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; } 3603 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_CC+set}" = set; then : 3604 if ${ac_cv_prog_CC+:} false; then :
3597 $as_echo_n "(cached) " >&6 3605 $as_echo_n "(cached) " >&6
3598 else 3606 else
3599 if test -n "$CC"; then 3607 if test -n "$CC"; then
3600 ac_cv_prog_CC="$CC" # Let the user override the test. 3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3601 else 3609 else
3650 do 3658 do
3651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; } 3662 $as_echo_n "checking for $ac_word... " >&6; }
3655 if test "${ac_cv_prog_CC+set}" = set; then : 3663 if ${ac_cv_prog_CC+:} false; then :
3656 $as_echo_n "(cached) " >&6 3664 $as_echo_n "(cached) " >&6
3657 else 3665 else
3658 if test -n "$CC"; then 3666 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test. 3667 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else 3668 else
3694 do 3702 do
3695 # Extract the first word of "$ac_prog", so it can be a program name with args. 3703 # Extract the first word of "$ac_prog", so it can be a program name with args.
3696 set dummy $ac_prog; ac_word=$2 3704 set dummy $ac_prog; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; } 3706 $as_echo_n "checking for $ac_word... " >&6; }
3699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3707 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3700 $as_echo_n "(cached) " >&6 3708 $as_echo_n "(cached) " >&6
3701 else 3709 else
3702 if test -n "$ac_ct_CC"; then 3710 if test -n "$ac_ct_CC"; then
3703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3711 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3704 else 3712 else
3977 3985
3978 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3986 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3979 ac_clean_files=$ac_clean_files_save 3987 ac_clean_files=$ac_clean_files_save
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3981 $as_echo_n "checking for suffix of object files... " >&6; } 3989 $as_echo_n "checking for suffix of object files... " >&6; }
3982 if test "${ac_cv_objext+set}" = set; then : 3990 if ${ac_cv_objext+:} false; then :
3983 $as_echo_n "(cached) " >&6 3991 $as_echo_n "(cached) " >&6
3984 else 3992 else
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */ 3994 /* end confdefs.h. */
3987 3995
4028 $as_echo "$ac_cv_objext" >&6; } 4036 $as_echo "$ac_cv_objext" >&6; }
4029 OBJEXT=$ac_cv_objext 4037 OBJEXT=$ac_cv_objext
4030 ac_objext=$OBJEXT 4038 ac_objext=$OBJEXT
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4032 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4040 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4033 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4041 if ${ac_cv_c_compiler_gnu+:} false; then :
4034 $as_echo_n "(cached) " >&6 4042 $as_echo_n "(cached) " >&6
4035 else 4043 else
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */ 4045 /* end confdefs.h. */
4038 4046
4065 fi 4073 fi
4066 ac_test_CFLAGS=${CFLAGS+set} 4074 ac_test_CFLAGS=${CFLAGS+set}
4067 ac_save_CFLAGS=$CFLAGS 4075 ac_save_CFLAGS=$CFLAGS
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4069 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4077 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4070 if test "${ac_cv_prog_cc_g+set}" = set; then : 4078 if ${ac_cv_prog_cc_g+:} false; then :
4071 $as_echo_n "(cached) " >&6 4079 $as_echo_n "(cached) " >&6
4072 else 4080 else
4073 ac_save_c_werror_flag=$ac_c_werror_flag 4081 ac_save_c_werror_flag=$ac_c_werror_flag
4074 ac_c_werror_flag=yes 4082 ac_c_werror_flag=yes
4075 ac_cv_prog_cc_g=no 4083 ac_cv_prog_cc_g=no
4143 CFLAGS= 4151 CFLAGS=
4144 fi 4152 fi
4145 fi 4153 fi
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4147 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4155 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4148 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4156 if ${ac_cv_prog_cc_c89+:} false; then :
4149 $as_echo_n "(cached) " >&6 4157 $as_echo_n "(cached) " >&6
4150 else 4158 else
4151 ac_cv_prog_cc_c89=no 4159 ac_cv_prog_cc_c89=no
4152 ac_save_CC=$CC 4160 ac_save_CC=$CC
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 4259 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4252 test x"$CPP" = x; then 4260 test x"$CPP" = x; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
4254 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 4262 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4255 4263
4256 if test "${emacs_cv_sunpro_c+set}" = set; then : 4264 if ${emacs_cv_sunpro_c+:} false; then :
4257 $as_echo_n "(cached) " >&6 4265 $as_echo_n "(cached) " >&6
4258 else 4266 else
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */ 4268 /* end confdefs.h. */
4261 4269
4320 # On Suns, sometimes $CPP names a directory. 4328 # On Suns, sometimes $CPP names a directory.
4321 if test -n "$CPP" && test -d "$CPP"; then 4329 if test -n "$CPP" && test -d "$CPP"; then
4322 CPP= 4330 CPP=
4323 fi 4331 fi
4324 if test -z "$CPP"; then 4332 if test -z "$CPP"; then
4325 if test "${ac_cv_prog_CPP+set}" = set; then : 4333 if ${ac_cv_prog_CPP+:} false; then :
4326 $as_echo_n "(cached) " >&6 4334 $as_echo_n "(cached) " >&6
4327 else 4335 else
4328 # Double quotes because CPP needs to be expanded 4336 # Double quotes because CPP needs to be expanded
4329 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4337 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4330 do 4338 do
4448 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449 4457
4450 4458
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4452 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4460 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4453 if test "${ac_cv_path_GREP+set}" = set; then : 4461 if ${ac_cv_path_GREP+:} false; then :
4454 $as_echo_n "(cached) " >&6 4462 $as_echo_n "(cached) " >&6
4455 else 4463 else
4456 if test -z "$GREP"; then 4464 if test -z "$GREP"; then
4457 ac_path_GREP_found=false 4465 ac_path_GREP_found=false
4458 # Loop through the user's path and test for each of PROGNAME-LIST 4466 # Loop through the user's path and test for each of PROGNAME-LIST
4511 GREP="$ac_cv_path_GREP" 4519 GREP="$ac_cv_path_GREP"
4512 4520
4513 4521
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4515 $as_echo_n "checking for egrep... " >&6; } 4523 $as_echo_n "checking for egrep... " >&6; }
4516 if test "${ac_cv_path_EGREP+set}" = set; then : 4524 if ${ac_cv_path_EGREP+:} false; then :
4517 $as_echo_n "(cached) " >&6 4525 $as_echo_n "(cached) " >&6
4518 else 4526 else
4519 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4527 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4520 then ac_cv_path_EGREP="$GREP -E" 4528 then ac_cv_path_EGREP="$GREP -E"
4521 else 4529 else
4578 EGREP="$ac_cv_path_EGREP" 4586 EGREP="$ac_cv_path_EGREP"
4579 4587
4580 4588
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4582 $as_echo_n "checking for ANSI C header files... " >&6; } 4590 $as_echo_n "checking for ANSI C header files... " >&6; }
4583 if test "${ac_cv_header_stdc+set}" = set; then : 4591 if ${ac_cv_header_stdc+:} false; then :
4584 $as_echo_n "(cached) " >&6 4592 $as_echo_n "(cached) " >&6
4585 else 4593 else
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */ 4595 /* end confdefs.h. */
4588 #include <stdlib.h> 4596 #include <stdlib.h>
4707 done 4715 done
4708 4716
4709 4717
4710 4718
4711 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4719 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4712 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4720 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4713 MINIX=yes 4721 MINIX=yes
4714 else 4722 else
4715 MINIX= 4723 MINIX=
4716 fi 4724 fi
4717 4725
4729 fi 4737 fi
4730 4738
4731 4739
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4733 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4741 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4734 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4742 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4735 $as_echo_n "(cached) " >&6 4743 $as_echo_n "(cached) " >&6
4736 else 4744 else
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */ 4746 /* end confdefs.h. */
4739 4747
4909 # On Suns, sometimes $CPP names a directory. 4917 # On Suns, sometimes $CPP names a directory.
4910 if test -n "$CPP" && test -d "$CPP"; then 4918 if test -n "$CPP" && test -d "$CPP"; then
4911 CPP= 4919 CPP=
4912 fi 4920 fi
4913 if test -z "$CPP"; then 4921 if test -z "$CPP"; then
4914 if test "${ac_cv_prog_CPP+set}" = set; then : 4922 if ${ac_cv_prog_CPP+:} false; then :
4915 $as_echo_n "(cached) " >&6 4923 $as_echo_n "(cached) " >&6
4916 else 4924 else
4917 # Double quotes because CPP needs to be expanded 4925 # Double quotes because CPP needs to be expanded
4918 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4926 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4919 do 4927 do
5051 # ./install, which can be erroneously created by make from ./install.sh. 5059 # ./install, which can be erroneously created by make from ./install.sh.
5052 # Reject install programs that cannot install multiple files. 5060 # Reject install programs that cannot install multiple files.
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5054 $as_echo_n "checking for a BSD-compatible install... " >&6; } 5062 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5055 if test -z "$INSTALL"; then 5063 if test -z "$INSTALL"; then
5056 if test "${ac_cv_path_install+set}" = set; then : 5064 if ${ac_cv_path_install+:} false; then :
5057 $as_echo_n "(cached) " >&6 5065 $as_echo_n "(cached) " >&6
5058 else 5066 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH 5068 for as_dir in $PATH
5061 do 5069 do
5133 if test -n "$ac_tool_prefix"; then 5141 if test -n "$ac_tool_prefix"; then
5134 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5135 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; } 5145 $as_echo_n "checking for $ac_word... " >&6; }
5138 if test "${ac_cv_prog_RANLIB+set}" = set; then : 5146 if ${ac_cv_prog_RANLIB+:} false; then :
5139 $as_echo_n "(cached) " >&6 5147 $as_echo_n "(cached) " >&6
5140 else 5148 else
5141 if test -n "$RANLIB"; then 5149 if test -n "$RANLIB"; then
5142 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5143 else 5151 else
5173 ac_ct_RANLIB=$RANLIB 5181 ac_ct_RANLIB=$RANLIB
5174 # Extract the first word of "ranlib", so it can be a program name with args. 5182 # Extract the first word of "ranlib", so it can be a program name with args.
5175 set dummy ranlib; ac_word=$2 5183 set dummy ranlib; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; } 5185 $as_echo_n "checking for $ac_word... " >&6; }
5178 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5186 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5179 $as_echo_n "(cached) " >&6 5187 $as_echo_n "(cached) " >&6
5180 else 5188 else
5181 if test -n "$ac_ct_RANLIB"; then 5189 if test -n "$ac_ct_RANLIB"; then
5182 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5183 else 5191 else
5228 ## the x86 architecture. The user should probably have provided an 5236 ## the x86 architecture. The user should probably have provided an
5229 ## explicit --build to `configure', but if everything else than the kernel 5237 ## explicit --build to `configure', but if everything else than the kernel
5230 ## is running in i386 mode, we can help them out. 5238 ## is running in i386 mode, we can help them out.
5231 if test "$machine" = "amdx86-64"; then 5239 if test "$machine" = "amdx86-64"; then
5232 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 5240 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
5233 if test "x$ac_cv_have_decl_i386" = x""yes; then : 5241 if test "x$ac_cv_have_decl_i386" = xyes; then :
5234 5242
5235 fi 5243 fi
5236 5244
5237 if test "$ac_cv_have_decl_i386" = "yes"; then 5245 if test "$ac_cv_have_decl_i386" = "yes"; then
5238 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` 5246 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'`
5243 5251
5244 # Extract the first word of "install-info", so it can be a program name with args. 5252 # Extract the first word of "install-info", so it can be a program name with args.
5245 set dummy install-info; ac_word=$2 5253 set dummy install-info; ac_word=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; } 5255 $as_echo_n "checking for $ac_word... " >&6; }
5248 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5256 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5249 $as_echo_n "(cached) " >&6 5257 $as_echo_n "(cached) " >&6
5250 else 5258 else
5251 case $INSTALL_INFO in 5259 case $INSTALL_INFO in
5252 [\\/]* | ?:[\\/]*) 5260 [\\/]* | ?:[\\/]*)
5253 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5261 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5283 5291
5284 # Extract the first word of "install-info", so it can be a program name with args. 5292 # Extract the first word of "install-info", so it can be a program name with args.
5285 set dummy install-info; ac_word=$2 5293 set dummy install-info; ac_word=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; } 5295 $as_echo_n "checking for $ac_word... " >&6; }
5288 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5296 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5289 $as_echo_n "(cached) " >&6 5297 $as_echo_n "(cached) " >&6
5290 else 5298 else
5291 case $INSTALL_INFO in 5299 case $INSTALL_INFO in
5292 [\\/]* | ?:[\\/]*) 5300 [\\/]* | ?:[\\/]*)
5293 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5301 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5323 5331
5324 # Extract the first word of "install-info", so it can be a program name with args. 5332 # Extract the first word of "install-info", so it can be a program name with args.
5325 set dummy install-info; ac_word=$2 5333 set dummy install-info; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; } 5335 $as_echo_n "checking for $ac_word... " >&6; }
5328 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5336 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5329 $as_echo_n "(cached) " >&6 5337 $as_echo_n "(cached) " >&6
5330 else 5338 else
5331 case $INSTALL_INFO in 5339 case $INSTALL_INFO in
5332 [\\/]* | ?:[\\/]*) 5340 [\\/]* | ?:[\\/]*)
5333 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5341 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5364 5372
5365 # Extract the first word of "gzip", so it can be a program name with args. 5373 # Extract the first word of "gzip", so it can be a program name with args.
5366 set dummy gzip; ac_word=$2 5374 set dummy gzip; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; } 5376 $as_echo_n "checking for $ac_word... " >&6; }
5369 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5377 if ${ac_cv_path_GZIP_PROG+:} false; then :
5370 $as_echo_n "(cached) " >&6 5378 $as_echo_n "(cached) " >&6
5371 else 5379 else
5372 case $GZIP_PROG in 5380 case $GZIP_PROG in
5373 [\\/]* | ?:[\\/]*) 5381 [\\/]* | ?:[\\/]*)
5374 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 5382 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
5407 ## Need makeinfo >= 4.6 (?) to build the manuals. 5415 ## Need makeinfo >= 4.6 (?) to build the manuals.
5408 # Extract the first word of "makeinfo", so it can be a program name with args. 5416 # Extract the first word of "makeinfo", so it can be a program name with args.
5409 set dummy makeinfo; ac_word=$2 5417 set dummy makeinfo; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; } 5419 $as_echo_n "checking for $ac_word... " >&6; }
5412 if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5420 if ${ac_cv_path_MAKEINFO+:} false; then :
5413 $as_echo_n "(cached) " >&6 5421 $as_echo_n "(cached) " >&6
5414 else 5422 else
5415 case $MAKEINFO in 5423 case $MAKEINFO in
5416 [\\/]* | ?:[\\/]*) 5424 [\\/]* | ?:[\\/]*)
5417 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 5425 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
5608 5616
5609 5617
5610 C_SWITCH_MACHINE= 5618 C_SWITCH_MACHINE=
5611 if test "$machine" = "alpha"; then 5619 if test "$machine" = "alpha"; then
5612 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 5620 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
5613 if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 5621 if test "x$ac_cv_have_decl___ELF__" = xyes; then :
5614 5622
5615 fi 5623 fi
5616 5624
5617 if test "$ac_cv_have_decl___ELF__" = "yes"; then 5625 if test "$ac_cv_have_decl___ELF__" = "yes"; then
5618 ## With ELF, make sure that all common symbols get allocated to in the 5626 ## With ELF, make sure that all common symbols get allocated to in the
5678 5686
5679 if test "$enable_largefile" != no; then 5687 if test "$enable_largefile" != no; then
5680 5688
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5682 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5690 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5683 if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5691 if ${ac_cv_sys_largefile_CC+:} false; then :
5684 $as_echo_n "(cached) " >&6 5692 $as_echo_n "(cached) " >&6
5685 else 5693 else
5686 ac_cv_sys_largefile_CC=no 5694 ac_cv_sys_largefile_CC=no
5687 if test "$GCC" != yes; then 5695 if test "$GCC" != yes; then
5688 ac_save_CC=$CC 5696 ac_save_CC=$CC
5729 CC=$CC$ac_cv_sys_largefile_CC 5737 CC=$CC$ac_cv_sys_largefile_CC
5730 fi 5738 fi
5731 5739
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5733 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5741 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5734 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5742 if ${ac_cv_sys_file_offset_bits+:} false; then :
5735 $as_echo_n "(cached) " >&6 5743 $as_echo_n "(cached) " >&6
5736 else 5744 else
5737 while :; do 5745 while :; do
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */ 5747 /* end confdefs.h. */
5798 esac 5806 esac
5799 rm -rf conftest* 5807 rm -rf conftest*
5800 if test $ac_cv_sys_file_offset_bits = unknown; then 5808 if test $ac_cv_sys_file_offset_bits = unknown; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5802 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5810 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5803 if test "${ac_cv_sys_large_files+set}" = set; then : 5811 if ${ac_cv_sys_large_files+:} false; then :
5804 $as_echo_n "(cached) " >&6 5812 $as_echo_n "(cached) " >&6
5805 else 5813 else
5806 while :; do 5814 while :; do
5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */ 5816 /* end confdefs.h. */
5966 done 5974 done
5967 5975
5968 # Emulation library used on NetBSD. 5976 # Emulation library used on NetBSD.
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5970 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 5978 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5971 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 5979 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5972 $as_echo_n "(cached) " >&6 5980 $as_echo_n "(cached) " >&6
5973 else 5981 else
5974 ac_check_lib_save_LIBS=$LIBS 5982 ac_check_lib_save_LIBS=$LIBS
5975 LIBS="-lossaudio $LIBS" 5983 LIBS="-lossaudio $LIBS"
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 conftest$ac_exeext conftest.$ac_ext 6008 conftest$ac_exeext conftest.$ac_ext
6001 LIBS=$ac_check_lib_save_LIBS 6009 LIBS=$ac_check_lib_save_LIBS
6002 fi 6010 fi
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6004 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6012 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6005 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6013 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6006 LIBSOUND=-lossaudio 6014 LIBSOUND=-lossaudio
6007 else 6015 else
6008 LIBSOUND= 6016 LIBSOUND=
6009 fi 6017 fi
6010 6018
6017 6025
6018 # Extract the first word of "pkg-config", so it can be a program name with args. 6026 # Extract the first word of "pkg-config", so it can be a program name with args.
6019 set dummy pkg-config; ac_word=$2 6027 set dummy pkg-config; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; } 6029 $as_echo_n "checking for $ac_word... " >&6; }
6022 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6030 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6023 $as_echo_n "(cached) " >&6 6031 $as_echo_n "(cached) " >&6
6024 else 6032 else
6025 case $PKG_CONFIG in 6033 case $PKG_CONFIG in
6026 [\\/]* | ?:[\\/]*) 6034 [\\/]* | ?:[\\/]*)
6027 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6221 fi 6229 fi
6222 6230
6223 for ac_header in term.h 6231 for ac_header in term.h
6224 do : 6232 do :
6225 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6233 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
6226 if test "x$ac_cv_header_term_h" = x""yes; then : 6234 if test "x$ac_cv_header_term_h" = xyes; then :
6227 cat >>confdefs.h <<_ACEOF 6235 cat >>confdefs.h <<_ACEOF
6228 #define HAVE_TERM_H 1 6236 #define HAVE_TERM_H 1
6229 _ACEOF 6237 _ACEOF
6230 6238
6231 fi 6239 fi
6232 6240
6233 done 6241 done
6234 6242
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6236 $as_echo_n "checking for ANSI C header files... " >&6; } 6244 $as_echo_n "checking for ANSI C header files... " >&6; }
6237 if test "${ac_cv_header_stdc+set}" = set; then : 6245 if ${ac_cv_header_stdc+:} false; then :
6238 $as_echo_n "(cached) " >&6 6246 $as_echo_n "(cached) " >&6
6239 else 6247 else
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */ 6249 /* end confdefs.h. */
6242 #include <stdlib.h> 6250 #include <stdlib.h>
6344 6352
6345 fi 6353 fi
6346 6354
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6348 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6356 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6349 if test "${ac_cv_header_time+set}" = set; then : 6357 if ${ac_cv_header_time+:} false; then :
6350 $as_echo_n "(cached) " >&6 6358 $as_echo_n "(cached) " >&6
6351 else 6359 else
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */ 6361 /* end confdefs.h. */
6354 #include <sys/types.h> 6362 #include <sys/types.h>
6378 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 6386 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6379 6387
6380 fi 6388 fi
6381 6389
6382 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 6390 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
6383 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 6391 if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
6384 ac_have_decl=1 6392 ac_have_decl=1
6385 else 6393 else
6386 ac_have_decl=0 6394 ac_have_decl=0
6387 fi 6395 fi
6388 6396
6391 _ACEOF 6399 _ACEOF
6392 6400
6393 if test $ac_cv_have_decl_sys_siglist != yes; then 6401 if test $ac_cv_have_decl_sys_siglist != yes; then
6394 # For Tru64, at least: 6402 # For Tru64, at least:
6395 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 6403 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
6396 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 6404 if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
6397 ac_have_decl=1 6405 ac_have_decl=1
6398 else 6406 else
6399 ac_have_decl=0 6407 ac_have_decl=0
6400 fi 6408 fi
6401 6409
6409 6417
6410 fi 6418 fi
6411 fi 6419 fi
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6413 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6421 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6414 if test "${ac_cv_header_sys_wait_h+set}" = set; then : 6422 if ${ac_cv_header_sys_wait_h+:} false; then :
6415 $as_echo_n "(cached) " >&6 6423 $as_echo_n "(cached) " >&6
6416 else 6424 else
6417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */ 6426 /* end confdefs.h. */
6419 #include <sys/types.h> 6427 #include <sys/types.h>
6451 fi 6459 fi
6452 6460
6453 6461
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
6455 $as_echo_n "checking for struct utimbuf... " >&6; } 6463 $as_echo_n "checking for struct utimbuf... " >&6; }
6456 if test "${emacs_cv_struct_utimbuf+set}" = set; then : 6464 if ${emacs_cv_struct_utimbuf+:} false; then :
6457 $as_echo_n "(cached) " >&6 6465 $as_echo_n "(cached) " >&6
6458 else 6466 else
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */ 6468 /* end confdefs.h. */
6461 #ifdef TIME_WITH_SYS_TIME 6469 #ifdef TIME_WITH_SYS_TIME
6494 6502
6495 fi 6503 fi
6496 6504
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6498 $as_echo_n "checking return type of signal handlers... " >&6; } 6506 $as_echo_n "checking return type of signal handlers... " >&6; }
6499 if test "${ac_cv_type_signal+set}" = set; then : 6507 if ${ac_cv_type_signal+:} false; then :
6500 $as_echo_n "(cached) " >&6 6508 $as_echo_n "(cached) " >&6
6501 else 6509 else
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */ 6511 /* end confdefs.h. */
6504 #include <sys/types.h> 6512 #include <sys/types.h>
6528 6536
6529 6537
6530 6538
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
6532 $as_echo_n "checking for speed_t... " >&6; } 6540 $as_echo_n "checking for speed_t... " >&6; }
6533 if test "${emacs_cv_speed_t+set}" = set; then : 6541 if ${emacs_cv_speed_t+:} false; then :
6534 $as_echo_n "(cached) " >&6 6542 $as_echo_n "(cached) " >&6
6535 else 6543 else
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */ 6545 /* end confdefs.h. */
6538 #include <termios.h> 6546 #include <termios.h>
6559 6567
6560 fi 6568 fi
6561 6569
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
6563 $as_echo_n "checking for struct timeval... " >&6; } 6571 $as_echo_n "checking for struct timeval... " >&6; }
6564 if test "${emacs_cv_struct_timeval+set}" = set; then : 6572 if ${emacs_cv_struct_timeval+:} false; then :
6565 $as_echo_n "(cached) " >&6 6573 $as_echo_n "(cached) " >&6
6566 else 6574 else
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */ 6576 /* end confdefs.h. */
6569 #ifdef TIME_WITH_SYS_TIME 6577 #ifdef TIME_WITH_SYS_TIME
6600 6608
6601 fi 6609 fi
6602 6610
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
6604 $as_echo_n "checking for struct exception... " >&6; } 6612 $as_echo_n "checking for struct exception... " >&6; }
6605 if test "${emacs_cv_struct_exception+set}" = set; then : 6613 if ${emacs_cv_struct_exception+:} false; then :
6606 $as_echo_n "(cached) " >&6 6614 $as_echo_n "(cached) " >&6
6607 else 6615 else
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */ 6617 /* end confdefs.h. */
6610 #include <math.h> 6618 #include <math.h>
6633 fi 6641 fi
6634 6642
6635 for ac_header in sys/socket.h 6643 for ac_header in sys/socket.h
6636 do : 6644 do :
6637 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 6645 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
6638 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 6646 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
6639 cat >>confdefs.h <<_ACEOF 6647 cat >>confdefs.h <<_ACEOF
6640 #define HAVE_SYS_SOCKET_H 1 6648 #define HAVE_SYS_SOCKET_H 1
6641 _ACEOF 6649 _ACEOF
6642 6650
6643 fi 6651 fi
6649 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 6657 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
6650 #if HAVE_SYS_SOCKET_H 6658 #if HAVE_SYS_SOCKET_H
6651 #include <sys/socket.h> 6659 #include <sys/socket.h>
6652 #endif 6660 #endif
6653 " 6661 "
6654 if test "x$ac_cv_header_net_if_h" = x""yes; then : 6662 if test "x$ac_cv_header_net_if_h" = xyes; then :
6655 cat >>confdefs.h <<_ACEOF 6663 cat >>confdefs.h <<_ACEOF
6656 #define HAVE_NET_IF_H 1 6664 #define HAVE_NET_IF_H 1
6657 _ACEOF 6665 _ACEOF
6658 6666
6659 fi 6667 fi
6661 done 6669 done
6662 6670
6663 6671
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6665 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6673 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6666 if test "${ac_cv_struct_tm+set}" = set; then : 6674 if ${ac_cv_struct_tm+:} false; then :
6667 $as_echo_n "(cached) " >&6 6675 $as_echo_n "(cached) " >&6
6668 else 6676 else
6669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */ 6678 /* end confdefs.h. */
6671 #include <sys/types.h> 6679 #include <sys/types.h>
6698 6706
6699 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 6707 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6700 #include <$ac_cv_struct_tm> 6708 #include <$ac_cv_struct_tm>
6701 6709
6702 " 6710 "
6703 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 6711 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
6704 6712
6705 cat >>confdefs.h <<_ACEOF 6713 cat >>confdefs.h <<_ACEOF
6706 #define HAVE_STRUCT_TM_TM_ZONE 1 6714 #define HAVE_STRUCT_TM_TM_ZONE 1
6707 _ACEOF 6715 _ACEOF
6708 6716
6714 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 6722 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6715 6723
6716 else 6724 else
6717 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 6725 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6718 " 6726 "
6719 if test "x$ac_cv_have_decl_tzname" = x""yes; then : 6727 if test "x$ac_cv_have_decl_tzname" = xyes; then :
6720 ac_have_decl=1 6728 ac_have_decl=1
6721 else 6729 else
6722 ac_have_decl=0 6730 ac_have_decl=0
6723 fi 6731 fi
6724 6732
6726 #define HAVE_DECL_TZNAME $ac_have_decl 6734 #define HAVE_DECL_TZNAME $ac_have_decl
6727 _ACEOF 6735 _ACEOF
6728 6736
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6730 $as_echo_n "checking for tzname... " >&6; } 6738 $as_echo_n "checking for tzname... " >&6; }
6731 if test "${ac_cv_var_tzname+set}" = set; then : 6739 if ${ac_cv_var_tzname+:} false; then :
6732 $as_echo_n "(cached) " >&6 6740 $as_echo_n "(cached) " >&6
6733 else 6741 else
6734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */ 6743 /* end confdefs.h. */
6736 #include <time.h> 6744 #include <time.h>
6763 fi 6771 fi
6764 fi 6772 fi
6765 6773
6766 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 6774 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
6767 " 6775 "
6768 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 6776 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
6769 6777
6770 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 6778 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
6771 6779
6772 fi 6780 fi
6773 6781
6777 #endif 6785 #endif
6778 #if HAVE_NET_IF_H 6786 #if HAVE_NET_IF_H
6779 #include <net/if.h> 6787 #include <net/if.h>
6780 #endif 6788 #endif
6781 " 6789 "
6782 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 6790 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
6783 6791
6784 cat >>confdefs.h <<_ACEOF 6792 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6793 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
6786 _ACEOF 6794 _ACEOF
6787 6795
6793 #endif 6801 #endif
6794 #if HAVE_NET_IF_H 6802 #if HAVE_NET_IF_H
6795 #include <net/if.h> 6803 #include <net/if.h>
6796 #endif 6804 #endif
6797 " 6805 "
6798 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 6806 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
6799 6807
6800 cat >>confdefs.h <<_ACEOF 6808 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6809 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
6802 _ACEOF 6810 _ACEOF
6803 6811
6809 #endif 6817 #endif
6810 #if HAVE_NET_IF_H 6818 #if HAVE_NET_IF_H
6811 #include <net/if.h> 6819 #include <net/if.h>
6812 #endif 6820 #endif
6813 " 6821 "
6814 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 6822 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
6815 6823
6816 cat >>confdefs.h <<_ACEOF 6824 cat >>confdefs.h <<_ACEOF
6817 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6825 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
6818 _ACEOF 6826 _ACEOF
6819 6827
6825 #endif 6833 #endif
6826 #if HAVE_NET_IF_H 6834 #if HAVE_NET_IF_H
6827 #include <net/if.h> 6835 #include <net/if.h>
6828 #endif 6836 #endif
6829 " 6837 "
6830 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 6838 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
6831 6839
6832 cat >>confdefs.h <<_ACEOF 6840 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6841 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
6834 _ACEOF 6842 _ACEOF
6835 6843
6841 #endif 6849 #endif
6842 #if HAVE_NET_IF_H 6850 #if HAVE_NET_IF_H
6843 #include <net/if.h> 6851 #include <net/if.h>
6844 #endif 6852 #endif
6845 " 6853 "
6846 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 6854 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
6847 6855
6848 cat >>confdefs.h <<_ACEOF 6856 cat >>confdefs.h <<_ACEOF
6849 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6857 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
6850 _ACEOF 6858 _ACEOF
6851 6859
6870 $as_echo "no" >&6; } 6878 $as_echo "no" >&6; }
6871 fi 6879 fi
6872 6880
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6874 $as_echo_n "checking for working volatile... " >&6; } 6882 $as_echo_n "checking for working volatile... " >&6; }
6875 if test "${ac_cv_c_volatile+set}" = set; then : 6883 if ${ac_cv_c_volatile+:} false; then :
6876 $as_echo_n "(cached) " >&6 6884 $as_echo_n "(cached) " >&6
6877 else 6885 else
6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */ 6887 /* end confdefs.h. */
6880 6888
6904 6912
6905 fi 6913 fi
6906 6914
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6908 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6916 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6909 if test "${ac_cv_c_const+set}" = set; then : 6917 if ${ac_cv_c_const+:} false; then :
6910 $as_echo_n "(cached) " >&6 6918 $as_echo_n "(cached) " >&6
6911 else 6919 else
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */ 6921 /* end confdefs.h. */
6914 6922
6984 6992
6985 fi 6993 fi
6986 6994
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
6988 $as_echo_n "checking for void * support... " >&6; } 6996 $as_echo_n "checking for void * support... " >&6; }
6989 if test "${emacs_cv_void_star+set}" = set; then : 6997 if ${emacs_cv_void_star+:} false; then :
6990 $as_echo_n "(cached) " >&6 6998 $as_echo_n "(cached) " >&6
6991 else 6999 else
6992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993 /* end confdefs.h. */ 7001 /* end confdefs.h. */
6994 7002
7017 7025
7018 fi 7026 fi
7019 7027
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7021 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7029 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7022 if test "${ac_cv_c_bigendian+set}" = set; then : 7030 if ${ac_cv_c_bigendian+:} false; then :
7023 $as_echo_n "(cached) " >&6 7031 $as_echo_n "(cached) " >&6
7024 else 7032 else
7025 ac_cv_c_bigendian=unknown 7033 ac_cv_c_bigendian=unknown
7026 # See if we're dealing with a universal compiler. 7034 # See if we're dealing with a universal compiler.
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 7252
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7246 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7254 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7247 set x ${MAKE-make} 7255 set x ${MAKE-make}
7248 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7256 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7249 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 7257 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
7250 $as_echo_n "(cached) " >&6 7258 $as_echo_n "(cached) " >&6
7251 else 7259 else
7252 cat >conftest.make <<\_ACEOF 7260 cat >conftest.make <<\_ACEOF
7253 SHELL = /bin/sh 7261 SHELL = /bin/sh
7254 all: 7262 all:
7332 7340
7333 7341
7334 7342
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
7336 $as_echo_n "checking for long file names... " >&6; } 7344 $as_echo_n "checking for long file names... " >&6; }
7337 if test "${ac_cv_sys_long_file_names+set}" = set; then : 7345 if ${ac_cv_sys_long_file_names+:} false; then :
7338 $as_echo_n "(cached) " >&6 7346 $as_echo_n "(cached) " >&6
7339 else 7347 else
7340 ac_cv_sys_long_file_names=yes 7348 ac_cv_sys_long_file_names=yes
7341 # Test for long file names in all the places we know might matter: 7349 # Test for long file names in all the places we know might matter:
7342 # . the current directory, where building will happen 7350 # . the current directory, where building will happen
7389 # The user explicitly disabled X. 7397 # The user explicitly disabled X.
7390 have_x=disabled 7398 have_x=disabled
7391 else 7399 else
7392 case $x_includes,$x_libraries in #( 7400 case $x_includes,$x_libraries in #(
7393 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 7401 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7394 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7402 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7395 $as_echo_n "(cached) " >&6 7403 $as_echo_n "(cached) " >&6
7396 else 7404 else
7397 # One or both of the vars are not set, and there is no cached value. 7405 # One or both of the vars are not set, and there is no cached value.
7398 ac_x_includes=no ac_x_libraries=no 7406 ac_x_includes=no ac_x_libraries=no
7399 rm -f -r conftest.dir 7407 rm -f -r conftest.dir
7672 LIB_STANDARD= 7680 LIB_STANDARD=
7673 START_FILES= 7681 START_FILES=
7674 TEMACS_LDFLAGS2= 7682 TEMACS_LDFLAGS2=
7675 fi 7683 fi
7676 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7684 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7677 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7685 if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
7678 HAVE_NS=yes 7686 HAVE_NS=yes
7679 else 7687 else
7680 as_fn_error $? "\`--with-ns' was specified, but the include 7688 as_fn_error $? "\`--with-ns' was specified, but the include
7681 files are missing or cannot be compiled." "$LINENO" 5 7689 files are missing or cannot be compiled." "$LINENO" 5
7682 fi 7690 fi
7754 if test "$window_system" = none && test "X$with_x" != "Xno"; then 7762 if test "$window_system" = none && test "X$with_x" != "Xno"; then
7755 # Extract the first word of "X", so it can be a program name with args. 7763 # Extract the first word of "X", so it can be a program name with args.
7756 set dummy X; ac_word=$2 7764 set dummy X; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; } 7766 $as_echo_n "checking for $ac_word... " >&6; }
7759 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 7767 if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
7760 $as_echo_n "(cached) " >&6 7768 $as_echo_n "(cached) " >&6
7761 else 7769 else
7762 if test -n "$HAVE_XSERVER"; then 7770 if test -n "$HAVE_XSERVER"; then
7763 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 7771 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
7764 else 7772 else
7813 # Do the opsystem or machine files prohibit the use of the GNU malloc? 7821 # Do the opsystem or machine files prohibit the use of the GNU malloc?
7814 # Assume not, until told otherwise. 7822 # Assume not, until told otherwise.
7815 GNU_MALLOC=yes 7823 GNU_MALLOC=yes
7816 doug_lea_malloc=yes 7824 doug_lea_malloc=yes
7817 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 7825 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
7818 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 7826 if test "x$ac_cv_func_malloc_get_state" = xyes; then :
7819 7827
7820 else 7828 else
7821 doug_lea_malloc=no 7829 doug_lea_malloc=no
7822 fi 7830 fi
7823 7831
7824 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 7832 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
7825 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 7833 if test "x$ac_cv_func_malloc_set_state" = xyes; then :
7826 7834
7827 else 7835 else
7828 doug_lea_malloc=no 7836 doug_lea_malloc=no
7829 fi 7837 fi
7830 7838
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
7832 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7840 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7833 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 7841 if ${emacs_cv_var___after_morecore_hook+:} false; then :
7834 $as_echo_n "(cached) " >&6 7842 $as_echo_n "(cached) " >&6
7835 else 7843 else
7836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h. */ 7845 /* end confdefs.h. */
7838 extern void (* __after_morecore_hook)(); 7846 extern void (* __after_morecore_hook)();
7933 7941
7934 7942
7935 for ac_func in getpagesize 7943 for ac_func in getpagesize
7936 do : 7944 do :
7937 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 7945 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7938 if test "x$ac_cv_func_getpagesize" = x""yes; then : 7946 if test "x$ac_cv_func_getpagesize" = xyes; then :
7939 cat >>confdefs.h <<_ACEOF 7947 cat >>confdefs.h <<_ACEOF
7940 #define HAVE_GETPAGESIZE 1 7948 #define HAVE_GETPAGESIZE 1
7941 _ACEOF 7949 _ACEOF
7942 7950
7943 fi 7951 fi
7944 done 7952 done
7945 7953
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7947 $as_echo_n "checking for working mmap... " >&6; } 7955 $as_echo_n "checking for working mmap... " >&6; }
7948 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 7956 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
7949 $as_echo_n "(cached) " >&6 7957 $as_echo_n "(cached) " >&6
7950 else 7958 else
7951 if test "$cross_compiling" = yes; then : 7959 if test "$cross_compiling" = yes; then :
7952 ac_cv_func_mmap_fixed_mapped=no 7960 ac_cv_func_mmap_fixed_mapped=no
7953 else 7961 else
8118 8126
8119 LIBS="$LIBS_SYSTEM $LIBS" 8127 LIBS="$LIBS_SYSTEM $LIBS"
8120 8128
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8122 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 8130 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8123 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 8131 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8124 $as_echo_n "(cached) " >&6 8132 $as_echo_n "(cached) " >&6
8125 else 8133 else
8126 ac_check_lib_save_LIBS=$LIBS 8134 ac_check_lib_save_LIBS=$LIBS
8127 LIBS="-ldnet $LIBS" 8135 LIBS="-ldnet $LIBS"
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 conftest$ac_exeext conftest.$ac_ext 8160 conftest$ac_exeext conftest.$ac_ext
8153 LIBS=$ac_check_lib_save_LIBS 8161 LIBS=$ac_check_lib_save_LIBS
8154 fi 8162 fi
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8156 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 8164 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8157 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 8165 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8158 cat >>confdefs.h <<_ACEOF 8166 cat >>confdefs.h <<_ACEOF
8159 #define HAVE_LIBDNET 1 8167 #define HAVE_LIBDNET 1
8160 _ACEOF 8168 _ACEOF
8161 8169
8162 LIBS="-ldnet $LIBS" 8170 LIBS="-ldnet $LIBS"
8164 fi 8172 fi
8165 8173
8166 8174
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
8168 $as_echo_n "checking for main in -lXbsd... " >&6; } 8176 $as_echo_n "checking for main in -lXbsd... " >&6; }
8169 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 8177 if ${ac_cv_lib_Xbsd_main+:} false; then :
8170 $as_echo_n "(cached) " >&6 8178 $as_echo_n "(cached) " >&6
8171 else 8179 else
8172 ac_check_lib_save_LIBS=$LIBS 8180 ac_check_lib_save_LIBS=$LIBS
8173 LIBS="-lXbsd $LIBS" 8181 LIBS="-lXbsd $LIBS"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 conftest$ac_exeext conftest.$ac_ext 8200 conftest$ac_exeext conftest.$ac_ext
8193 LIBS=$ac_check_lib_save_LIBS 8201 LIBS=$ac_check_lib_save_LIBS
8194 fi 8202 fi
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
8196 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 8204 $as_echo "$ac_cv_lib_Xbsd_main" >&6; }
8197 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 8205 if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
8198 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 8206 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
8199 fi 8207 fi
8200 8208
8201 8209
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
8203 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } 8211 $as_echo_n "checking for cma_open in -lpthreads... " >&6; }
8204 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 8212 if ${ac_cv_lib_pthreads_cma_open+:} false; then :
8205 $as_echo_n "(cached) " >&6 8213 $as_echo_n "(cached) " >&6
8206 else 8214 else
8207 ac_check_lib_save_LIBS=$LIBS 8215 ac_check_lib_save_LIBS=$LIBS
8208 LIBS="-lpthreads $LIBS" 8216 LIBS="-lpthreads $LIBS"
8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8233 conftest$ac_exeext conftest.$ac_ext 8241 conftest$ac_exeext conftest.$ac_ext
8234 LIBS=$ac_check_lib_save_LIBS 8242 LIBS=$ac_check_lib_save_LIBS
8235 fi 8243 fi
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
8237 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 8245 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
8238 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 8246 if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
8239 cat >>confdefs.h <<_ACEOF 8247 cat >>confdefs.h <<_ACEOF
8240 #define HAVE_LIBPTHREADS 1 8248 #define HAVE_LIBPTHREADS 1
8241 _ACEOF 8249 _ACEOF
8242 8250
8243 LIBS="-lpthreads $LIBS" 8251 LIBS="-lpthreads $LIBS"
8260 8268
8261 case ${host_os} in 8269 case ${host_os} in
8262 aix*) 8270 aix*)
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
8264 $as_echo_n "checking for -bbigtoc option... " >&6; } 8272 $as_echo_n "checking for -bbigtoc option... " >&6; }
8265 if test "${gdb_cv_bigtoc+set}" = set; then : 8273 if ${gdb_cv_bigtoc+:} false; then :
8266 $as_echo_n "(cached) " >&6 8274 $as_echo_n "(cached) " >&6
8267 else 8275 else
8268 8276
8269 case $GCC in 8277 case $GCC in
8270 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 8278 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
8434 fi 8442 fi
8435 8443
8436 if test "${window_system}" = "x11"; then 8444 if test "${window_system}" = "x11"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
8438 $as_echo_n "checking X11 version 6... " >&6; } 8446 $as_echo_n "checking X11 version 6... " >&6; }
8439 if test "${emacs_cv_x11_version_6+set}" = set; then : 8447 if ${emacs_cv_x11_version_6+:} false; then :
8440 $as_echo_n "(cached) " >&6 8448 $as_echo_n "(cached) " >&6
8441 else 8449 else
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */ 8451 /* end confdefs.h. */
8444 #include <X11/Xlib.h> 8452 #include <X11/Xlib.h>
8499 8507
8500 # Extract the first word of "pkg-config", so it can be a program name with args. 8508 # Extract the first word of "pkg-config", so it can be a program name with args.
8501 set dummy pkg-config; ac_word=$2 8509 set dummy pkg-config; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8503 $as_echo_n "checking for $ac_word... " >&6; } 8511 $as_echo_n "checking for $ac_word... " >&6; }
8504 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8512 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8505 $as_echo_n "(cached) " >&6 8513 $as_echo_n "(cached) " >&6
8506 else 8514 else
8507 case $PKG_CONFIG in 8515 case $PKG_CONFIG in
8508 [\\/]* | ?:[\\/]*) 8516 [\\/]* | ?:[\\/]*)
8509 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8610 8618
8611 # Extract the first word of "pkg-config", so it can be a program name with args. 8619 # Extract the first word of "pkg-config", so it can be a program name with args.
8612 set dummy pkg-config; ac_word=$2 8620 set dummy pkg-config; ac_word=$2
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8614 $as_echo_n "checking for $ac_word... " >&6; } 8622 $as_echo_n "checking for $ac_word... " >&6; }
8615 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8623 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8616 $as_echo_n "(cached) " >&6 8624 $as_echo_n "(cached) " >&6
8617 else 8625 else
8618 case $PKG_CONFIG in 8626 case $PKG_CONFIG in
8619 [\\/]* | ?:[\\/]*) 8627 [\\/]* | ?:[\\/]*)
8620 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8709 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" 8717 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
8710 LIBS="$IMAGEMAGICK_LIBS $LIBS" 8718 LIBS="$IMAGEMAGICK_LIBS $LIBS"
8711 for ac_func in MagickExportImagePixels 8719 for ac_func in MagickExportImagePixels
8712 do : 8720 do :
8713 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 8721 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
8714 if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 8722 if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
8715 cat >>confdefs.h <<_ACEOF 8723 cat >>confdefs.h <<_ACEOF
8716 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 8724 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1
8717 _ACEOF 8725 _ACEOF
8718 8726
8719 fi 8727 fi
8735 8743
8736 # Extract the first word of "pkg-config", so it can be a program name with args. 8744 # Extract the first word of "pkg-config", so it can be a program name with args.
8737 set dummy pkg-config; ac_word=$2 8745 set dummy pkg-config; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8739 $as_echo_n "checking for $ac_word... " >&6; } 8747 $as_echo_n "checking for $ac_word... " >&6; }
8740 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8748 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8741 $as_echo_n "(cached) " >&6 8749 $as_echo_n "(cached) " >&6
8742 else 8750 else
8743 case $PKG_CONFIG in 8751 case $PKG_CONFIG in
8744 [\\/]* | ?:[\\/]*) 8752 [\\/]* | ?:[\\/]*)
8745 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8753 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8841 8849
8842 # Extract the first word of "pkg-config", so it can be a program name with args. 8850 # Extract the first word of "pkg-config", so it can be a program name with args.
8843 set dummy pkg-config; ac_word=$2 8851 set dummy pkg-config; ac_word=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; } 8853 $as_echo_n "checking for $ac_word... " >&6; }
8846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8854 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8847 $as_echo_n "(cached) " >&6 8855 $as_echo_n "(cached) " >&6
8848 else 8856 else
8849 case $PKG_CONFIG in 8857 case $PKG_CONFIG in
8850 [\\/]* | ?:[\\/]*) 8858 [\\/]* | ?:[\\/]*)
8851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8946 LIBS="$GTK_LIBS $LIBS" 8954 LIBS="$GTK_LIBS $LIBS"
8947 GTK_COMPILES=no 8955 GTK_COMPILES=no
8948 for ac_func in gtk_main 8956 for ac_func in gtk_main
8949 do : 8957 do :
8950 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 8958 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
8951 if test "x$ac_cv_func_gtk_main" = x""yes; then : 8959 if test "x$ac_cv_func_gtk_main" = xyes; then :
8952 cat >>confdefs.h <<_ACEOF 8960 cat >>confdefs.h <<_ACEOF
8953 #define HAVE_GTK_MAIN 1 8961 #define HAVE_GTK_MAIN 1
8954 _ACEOF 8962 _ACEOF
8955 GTK_COMPILES=yes 8963 GTK_COMPILES=yes
8956 fi 8964 fi
8994 9002
8995 HAVE_GTK_FILE_SELECTION=no 9003 HAVE_GTK_FILE_SELECTION=no
8996 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 9004 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
8997 #include <gtk/gtk.h> 9005 #include <gtk/gtk.h>
8998 " 9006 "
8999 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 9007 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
9000 HAVE_GTK_FILE_SELECTION=yes 9008 HAVE_GTK_FILE_SELECTION=yes
9001 else 9009 else
9002 HAVE_GTK_FILE_SELECTION=no 9010 HAVE_GTK_FILE_SELECTION=no
9003 fi 9011 fi
9004 9012
9005 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 9013 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
9006 for ac_func in gtk_file_selection_new 9014 for ac_func in gtk_file_selection_new
9007 do : 9015 do :
9008 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 9016 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
9009 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 9017 if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
9010 cat >>confdefs.h <<_ACEOF 9018 cat >>confdefs.h <<_ACEOF
9011 #define HAVE_GTK_FILE_SELECTION_NEW 1 9019 #define HAVE_GTK_FILE_SELECTION_NEW 1
9012 _ACEOF 9020 _ACEOF
9013 9021
9014 fi 9022 fi
9018 9026
9019 HAVE_GTK_AND_PTHREAD=no 9027 HAVE_GTK_AND_PTHREAD=no
9020 for ac_header in pthread.h 9028 for ac_header in pthread.h
9021 do : 9029 do :
9022 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 9030 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9023 if test "x$ac_cv_header_pthread_h" = x""yes; then : 9031 if test "x$ac_cv_header_pthread_h" = xyes; then :
9024 cat >>confdefs.h <<_ACEOF 9032 cat >>confdefs.h <<_ACEOF
9025 #define HAVE_PTHREAD_H 1 9033 #define HAVE_PTHREAD_H 1
9026 _ACEOF 9034 _ACEOF
9027 9035
9028 fi 9036 fi
9030 done 9038 done
9031 9039
9032 if test "$ac_cv_header_pthread_h"; then 9040 if test "$ac_cv_header_pthread_h"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
9034 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } 9042 $as_echo_n "checking for pthread_self in -lpthread... " >&6; }
9035 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 9043 if ${ac_cv_lib_pthread_pthread_self+:} false; then :
9036 $as_echo_n "(cached) " >&6 9044 $as_echo_n "(cached) " >&6
9037 else 9045 else
9038 ac_check_lib_save_LIBS=$LIBS 9046 ac_check_lib_save_LIBS=$LIBS
9039 LIBS="-lpthread $LIBS" 9047 LIBS="-lpthread $LIBS"
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 conftest$ac_exeext conftest.$ac_ext 9072 conftest$ac_exeext conftest.$ac_ext
9065 LIBS=$ac_check_lib_save_LIBS 9073 LIBS=$ac_check_lib_save_LIBS
9066 fi 9074 fi
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
9068 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 9076 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
9069 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 9077 if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
9070 HAVE_GTK_AND_PTHREAD=yes 9078 HAVE_GTK_AND_PTHREAD=yes
9071 fi 9079 fi
9072 9080
9073 fi 9081 fi
9074 if test "$HAVE_GTK_AND_PTHREAD" = yes; then 9082 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
9107 9115
9108 # Extract the first word of "pkg-config", so it can be a program name with args. 9116 # Extract the first word of "pkg-config", so it can be a program name with args.
9109 set dummy pkg-config; ac_word=$2 9117 set dummy pkg-config; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9111 $as_echo_n "checking for $ac_word... " >&6; } 9119 $as_echo_n "checking for $ac_word... " >&6; }
9112 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9120 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9113 $as_echo_n "(cached) " >&6 9121 $as_echo_n "(cached) " >&6
9114 else 9122 else
9115 case $PKG_CONFIG in 9123 case $PKG_CONFIG in
9116 [\\/]* | ?:[\\/]*) 9124 [\\/]* | ?:[\\/]*)
9117 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9202 $as_echo "#define HAVE_DBUS 1" >>confdefs.h 9210 $as_echo "#define HAVE_DBUS 1" >>confdefs.h
9203 9211
9204 for ac_func in dbus_watch_get_unix_fd 9212 for ac_func in dbus_watch_get_unix_fd
9205 do : 9213 do :
9206 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 9214 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
9207 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 9215 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
9208 cat >>confdefs.h <<_ACEOF 9216 cat >>confdefs.h <<_ACEOF
9209 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 9217 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1
9210 _ACEOF 9218 _ACEOF
9211 9219
9212 fi 9220 fi
9224 9232
9225 # Extract the first word of "pkg-config", so it can be a program name with args. 9233 # Extract the first word of "pkg-config", so it can be a program name with args.
9226 set dummy pkg-config; ac_word=$2 9234 set dummy pkg-config; ac_word=$2
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9228 $as_echo_n "checking for $ac_word... " >&6; } 9236 $as_echo_n "checking for $ac_word... " >&6; }
9229 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9237 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9230 $as_echo_n "(cached) " >&6 9238 $as_echo_n "(cached) " >&6
9231 else 9239 else
9232 case $PKG_CONFIG in 9240 case $PKG_CONFIG in
9233 [\\/]* | ?:[\\/]*) 9241 [\\/]* | ?:[\\/]*)
9234 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9318 $as_echo "#define HAVE_GCONF 1" >>confdefs.h 9326 $as_echo "#define HAVE_GCONF 1" >>confdefs.h
9319 9327
9320 for ac_func in g_type_init 9328 for ac_func in g_type_init
9321 do : 9329 do :
9322 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 9330 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
9323 if test "x$ac_cv_func_g_type_init" = x""yes; then : 9331 if test "x$ac_cv_func_g_type_init" = xyes; then :
9324 cat >>confdefs.h <<_ACEOF 9332 cat >>confdefs.h <<_ACEOF
9325 #define HAVE_G_TYPE_INIT 1 9333 #define HAVE_G_TYPE_INIT 1
9326 _ACEOF 9334 _ACEOF
9327 9335
9328 fi 9336 fi
9334 HAVE_LIBSELINUX=no 9342 HAVE_LIBSELINUX=no
9335 LIBSELINUX_LIBS= 9343 LIBSELINUX_LIBS=
9336 if test "${with_selinux}" = "yes"; then 9344 if test "${with_selinux}" = "yes"; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
9338 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 9346 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
9339 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 9347 if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
9340 $as_echo_n "(cached) " >&6 9348 $as_echo_n "(cached) " >&6
9341 else 9349 else
9342 ac_check_lib_save_LIBS=$LIBS 9350 ac_check_lib_save_LIBS=$LIBS
9343 LIBS="-lselinux $LIBS" 9351 LIBS="-lselinux $LIBS"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 conftest$ac_exeext conftest.$ac_ext 9376 conftest$ac_exeext conftest.$ac_ext
9369 LIBS=$ac_check_lib_save_LIBS 9377 LIBS=$ac_check_lib_save_LIBS
9370 fi 9378 fi
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
9372 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 9380 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
9373 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 9381 if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
9374 HAVE_LIBSELINUX=yes 9382 HAVE_LIBSELINUX=yes
9375 else 9383 else
9376 HAVE_LIBSELINUX=no 9384 HAVE_LIBSELINUX=no
9377 fi 9385 fi
9378 9386
9392 9400
9393 # Extract the first word of "pkg-config", so it can be a program name with args. 9401 # Extract the first word of "pkg-config", so it can be a program name with args.
9394 set dummy pkg-config; ac_word=$2 9402 set dummy pkg-config; ac_word=$2
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9396 $as_echo_n "checking for $ac_word... " >&6; } 9404 $as_echo_n "checking for $ac_word... " >&6; }
9397 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9405 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9398 $as_echo_n "(cached) " >&6 9406 $as_echo_n "(cached) " >&6
9399 else 9407 else
9400 case $PKG_CONFIG in 9408 case $PKG_CONFIG in
9401 [\\/]* | ?:[\\/]*) 9409 [\\/]* | ?:[\\/]*)
9402 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9494 LUCID_LIBW= 9502 LUCID_LIBW=
9495 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 9503 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
9496 if test "$with_xaw3d" != no; then 9504 if test "$with_xaw3d" != no; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
9498 $as_echo_n "checking for xaw3d... " >&6; } 9506 $as_echo_n "checking for xaw3d... " >&6; }
9499 if test "${emacs_cv_xaw3d+set}" = set; then : 9507 if ${emacs_cv_xaw3d+:} false; then :
9500 $as_echo_n "(cached) " >&6 9508 $as_echo_n "(cached) " >&6
9501 else 9509 else
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */ 9511 /* end confdefs.h. */
9504 9512
9536 else 9544 else
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9538 $as_echo "no" >&6; } 9546 $as_echo "no" >&6; }
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
9540 $as_echo_n "checking for libXaw... " >&6; } 9548 $as_echo_n "checking for libXaw... " >&6; }
9541 if test "${emacs_cv_xaw+set}" = set; then : 9549 if ${emacs_cv_xaw+:} false; then :
9542 $as_echo_n "(cached) " >&6 9550 $as_echo_n "(cached) " >&6
9543 else 9551 else
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */ 9553 /* end confdefs.h. */
9546 9554
9582 9590
9583 LIBXTR6= 9591 LIBXTR6=
9584 if test "${USE_X_TOOLKIT}" != "none"; then 9592 if test "${USE_X_TOOLKIT}" != "none"; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
9586 $as_echo_n "checking X11 toolkit version... " >&6; } 9594 $as_echo_n "checking X11 toolkit version... " >&6; }
9587 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 9595 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
9588 $as_echo_n "(cached) " >&6 9596 $as_echo_n "(cached) " >&6
9589 else 9597 else
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */ 9599 /* end confdefs.h. */
9592 #include <X11/Intrinsic.h> 9600 #include <X11/Intrinsic.h>
9633 else 9641 else
9634 LIBS="-lXt $LIBS" 9642 LIBS="-lXt $LIBS"
9635 fi 9643 fi
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
9637 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 9645 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
9638 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 9646 if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
9639 $as_echo_n "(cached) " >&6 9647 $as_echo_n "(cached) " >&6
9640 else 9648 else
9641 ac_check_lib_save_LIBS=$LIBS 9649 ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lXmu $LIBS" 9650 LIBS="-lXmu $LIBS"
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 conftest$ac_exeext conftest.$ac_ext 9675 conftest$ac_exeext conftest.$ac_ext
9668 LIBS=$ac_check_lib_save_LIBS 9676 LIBS=$ac_check_lib_save_LIBS
9669 fi 9677 fi
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
9671 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 9679 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
9672 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 9680 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
9673 cat >>confdefs.h <<_ACEOF 9681 cat >>confdefs.h <<_ACEOF
9674 #define HAVE_LIBXMU 1 9682 #define HAVE_LIBXMU 1
9675 _ACEOF 9683 _ACEOF
9676 9684
9677 LIBS="-lXmu $LIBS" 9685 LIBS="-lXmu $LIBS"
9694 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 9702 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
9695 if test "${HAVE_X11}" = "yes"; then 9703 if test "${HAVE_X11}" = "yes"; then
9696 if test "${USE_X_TOOLKIT}" != "none"; then 9704 if test "${USE_X_TOOLKIT}" != "none"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9698 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 9706 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9699 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 9707 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9700 $as_echo_n "(cached) " >&6 9708 $as_echo_n "(cached) " >&6
9701 else 9709 else
9702 ac_check_lib_save_LIBS=$LIBS 9710 ac_check_lib_save_LIBS=$LIBS
9703 LIBS="-lXext $LIBS" 9711 LIBS="-lXext $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 conftest$ac_exeext conftest.$ac_ext 9736 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_lib_save_LIBS 9737 LIBS=$ac_check_lib_save_LIBS
9730 fi 9738 fi
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9732 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 9740 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9733 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 9741 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9734 cat >>confdefs.h <<_ACEOF 9742 cat >>confdefs.h <<_ACEOF
9735 #define HAVE_LIBXEXT 1 9743 #define HAVE_LIBXEXT 1
9736 _ACEOF 9744 _ACEOF
9737 9745
9738 LIBS="-lXext $LIBS" 9746 LIBS="-lXext $LIBS"
9744 9752
9745 LIBXP= 9753 LIBXP=
9746 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9754 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
9748 $as_echo_n "checking for Motif version 2.1... " >&6; } 9756 $as_echo_n "checking for Motif version 2.1... " >&6; }
9749 if test "${emacs_cv_motif_version_2_1+set}" = set; then : 9757 if ${emacs_cv_motif_version_2_1+:} false; then :
9750 $as_echo_n "(cached) " >&6 9758 $as_echo_n "(cached) " >&6
9751 else 9759 else
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */ 9761 /* end confdefs.h. */
9754 #include <Xm/Xm.h> 9762 #include <Xm/Xm.h>
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
9775 $as_echo "$emacs_cv_motif_version_2_1" >&6; } 9783 $as_echo "$emacs_cv_motif_version_2_1" >&6; }
9776 if test $emacs_cv_motif_version_2_1 = yes; then 9784 if test $emacs_cv_motif_version_2_1 = yes; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
9778 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 9786 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
9779 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 9787 if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
9780 $as_echo_n "(cached) " >&6 9788 $as_echo_n "(cached) " >&6
9781 else 9789 else
9782 ac_check_lib_save_LIBS=$LIBS 9790 ac_check_lib_save_LIBS=$LIBS
9783 LIBS="-lXp $LIBS" 9791 LIBS="-lXp $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 conftest$ac_exeext conftest.$ac_ext 9816 conftest$ac_exeext conftest.$ac_ext
9809 LIBS=$ac_check_lib_save_LIBS 9817 LIBS=$ac_check_lib_save_LIBS
9810 fi 9818 fi
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
9812 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 9820 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
9813 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 9821 if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
9814 LIBXP=-lXp 9822 LIBXP=-lXp
9815 fi 9823 fi
9816 9824
9817 else 9825 else
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
9819 $as_echo_n "checking for LessTif where some systems put it... " >&6; } 9827 $as_echo_n "checking for LessTif where some systems put it... " >&6; }
9820 if test "${emacs_cv_lesstif+set}" = set; then : 9828 if ${emacs_cv_lesstif+:} false; then :
9821 $as_echo_n "(cached) " >&6 9829 $as_echo_n "(cached) " >&6
9822 else 9830 else
9823 # We put this in CFLAGS temporarily to precede other -I options 9831 # We put this in CFLAGS temporarily to precede other -I options
9824 # that might be in CFLAGS temporarily. 9832 # that might be in CFLAGS temporarily.
9825 # We put this in CPPFLAGS where it precedes the other -I options. 9833 # We put this in CPPFLAGS where it precedes the other -I options.
9974 9982
9975 # Extract the first word of "pkg-config", so it can be a program name with args. 9983 # Extract the first word of "pkg-config", so it can be a program name with args.
9976 set dummy pkg-config; ac_word=$2 9984 set dummy pkg-config; ac_word=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; } 9986 $as_echo_n "checking for $ac_word... " >&6; }
9979 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9987 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9980 $as_echo_n "(cached) " >&6 9988 $as_echo_n "(cached) " >&6
9981 else 9989 else
9982 case $PKG_CONFIG in 9990 case $PKG_CONFIG in
9983 [\\/]* | ?:[\\/]*) 9991 [\\/]* | ?:[\\/]*)
9984 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9992 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10076 10084
10077 # Extract the first word of "pkg-config", so it can be a program name with args. 10085 # Extract the first word of "pkg-config", so it can be a program name with args.
10078 set dummy pkg-config; ac_word=$2 10086 set dummy pkg-config; ac_word=$2
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10080 $as_echo_n "checking for $ac_word... " >&6; } 10088 $as_echo_n "checking for $ac_word... " >&6; }
10081 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10089 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10082 $as_echo_n "(cached) " >&6 10090 $as_echo_n "(cached) " >&6
10083 else 10091 else
10084 case $PKG_CONFIG in 10092 case $PKG_CONFIG in
10085 [\\/]* | ?:[\\/]*) 10093 [\\/]* | ?:[\\/]*)
10086 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10094 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10168 ## Because xftfont.c uses XRenderQueryExtension, we also 10176 ## Because xftfont.c uses XRenderQueryExtension, we also
10169 ## need to link to -lXrender. 10177 ## need to link to -lXrender.
10170 HAVE_XRENDER=no 10178 HAVE_XRENDER=no
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
10172 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 10180 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
10173 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 10181 if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
10174 $as_echo_n "(cached) " >&6 10182 $as_echo_n "(cached) " >&6
10175 else 10183 else
10176 ac_check_lib_save_LIBS=$LIBS 10184 ac_check_lib_save_LIBS=$LIBS
10177 LIBS="-lXrender $LIBS" 10185 LIBS="-lXrender $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 conftest$ac_exeext conftest.$ac_ext 10210 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS 10211 LIBS=$ac_check_lib_save_LIBS
10204 fi 10212 fi
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
10206 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 10214 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
10207 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 10215 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
10208 HAVE_XRENDER=yes 10216 HAVE_XRENDER=yes
10209 fi 10217 fi
10210 10218
10211 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then 10219 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
10212 OLD_CPPFLAGS="$CPPFLAGS" 10220 OLD_CPPFLAGS="$CPPFLAGS"
10215 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 10223 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
10216 CFLAGS="$CFLAGS $XFT_CFLAGS" 10224 CFLAGS="$CFLAGS $XFT_CFLAGS"
10217 XFT_LIBS="-lXrender $XFT_LIBS" 10225 XFT_LIBS="-lXrender $XFT_LIBS"
10218 LIBS="$XFT_LIBS $LIBS" 10226 LIBS="$XFT_LIBS $LIBS"
10219 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 10227 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
10220 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 10228 if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
10222 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 10230 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
10223 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 10231 if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
10224 $as_echo_n "(cached) " >&6 10232 $as_echo_n "(cached) " >&6
10225 else 10233 else
10226 ac_check_lib_save_LIBS=$LIBS 10234 ac_check_lib_save_LIBS=$LIBS
10227 LIBS="-lXft $XFT_LIBS $LIBS" 10235 LIBS="-lXft $XFT_LIBS $LIBS"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 conftest$ac_exeext conftest.$ac_ext 10260 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_lib_save_LIBS 10261 LIBS=$ac_check_lib_save_LIBS
10254 fi 10262 fi
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
10256 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 10264 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
10257 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 10265 if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
10258 HAVE_XFT=yes 10266 HAVE_XFT=yes
10259 fi 10267 fi
10260 10268
10261 fi 10269 fi
10262 10270
10301 10309
10302 # Extract the first word of "pkg-config", so it can be a program name with args. 10310 # Extract the first word of "pkg-config", so it can be a program name with args.
10303 set dummy pkg-config; ac_word=$2 10311 set dummy pkg-config; ac_word=$2
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10305 $as_echo_n "checking for $ac_word... " >&6; } 10313 $as_echo_n "checking for $ac_word... " >&6; }
10306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10314 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10307 $as_echo_n "(cached) " >&6 10315 $as_echo_n "(cached) " >&6
10308 else 10316 else
10309 case $PKG_CONFIG in 10317 case $PKG_CONFIG in
10310 [\\/]* | ?:[\\/]*) 10318 [\\/]* | ?:[\\/]*)
10311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10319 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10394 10402
10395 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h 10403 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
10396 10404
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
10398 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 10406 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
10399 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 10407 if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
10400 $as_echo_n "(cached) " >&6 10408 $as_echo_n "(cached) " >&6
10401 else 10409 else
10402 ac_check_lib_save_LIBS=$LIBS 10410 ac_check_lib_save_LIBS=$LIBS
10403 LIBS="-lotf $LIBS" 10411 LIBS="-lotf $LIBS"
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 conftest$ac_exeext conftest.$ac_ext 10436 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_lib_save_LIBS 10437 LIBS=$ac_check_lib_save_LIBS
10430 fi 10438 fi
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
10432 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 10440 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
10433 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 10441 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
10434 HAVE_OTF_GET_VARIATION_GLYPHS=yes 10442 HAVE_OTF_GET_VARIATION_GLYPHS=yes
10435 else 10443 else
10436 HAVE_OTF_GET_VARIATION_GLYPHS=no 10444 HAVE_OTF_GET_VARIATION_GLYPHS=no
10437 fi 10445 fi
10438 10446
10453 10461
10454 # Extract the first word of "pkg-config", so it can be a program name with args. 10462 # Extract the first word of "pkg-config", so it can be a program name with args.
10455 set dummy pkg-config; ac_word=$2 10463 set dummy pkg-config; ac_word=$2
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 $as_echo_n "checking for $ac_word... " >&6; } 10465 $as_echo_n "checking for $ac_word... " >&6; }
10458 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10466 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10459 $as_echo_n "(cached) " >&6 10467 $as_echo_n "(cached) " >&6
10460 else 10468 else
10461 case $PKG_CONFIG in 10469 case $PKG_CONFIG in
10462 [\\/]* | ?:[\\/]*) 10470 [\\/]* | ?:[\\/]*)
10463 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10471 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10571 HAVE_XPM=no 10579 HAVE_XPM=no
10572 LIBXPM= 10580 LIBXPM=
10573 if test "${HAVE_X11}" = "yes"; then 10581 if test "${HAVE_X11}" = "yes"; then
10574 if test "${with_xpm}" != "no"; then 10582 if test "${with_xpm}" != "no"; then
10575 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 10583 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
10576 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 10584 if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
10578 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 10586 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
10579 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 10587 if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
10580 $as_echo_n "(cached) " >&6 10588 $as_echo_n "(cached) " >&6
10581 else 10589 else
10582 ac_check_lib_save_LIBS=$LIBS 10590 ac_check_lib_save_LIBS=$LIBS
10583 LIBS="-lXpm -lX11 $LIBS" 10591 LIBS="-lXpm -lX11 $LIBS"
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 conftest$ac_exeext conftest.$ac_ext 10616 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_lib_save_LIBS 10617 LIBS=$ac_check_lib_save_LIBS
10610 fi 10618 fi
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
10612 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 10620 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
10613 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 10621 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
10614 HAVE_XPM=yes 10622 HAVE_XPM=yes
10615 fi 10623 fi
10616 10624
10617 fi 10625 fi
10618 10626
10660 HAVE_JPEG=no 10668 HAVE_JPEG=no
10661 LIBJPEG= 10669 LIBJPEG=
10662 if test "${HAVE_X11}" = "yes"; then 10670 if test "${HAVE_X11}" = "yes"; then
10663 if test "${with_jpeg}" != "no"; then 10671 if test "${with_jpeg}" != "no"; then
10664 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 10672 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
10665 if test "x$ac_cv_header_jerror_h" = x""yes; then : 10673 if test "x$ac_cv_header_jerror_h" = xyes; then :
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
10667 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 10675 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
10668 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 10676 if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
10669 $as_echo_n "(cached) " >&6 10677 $as_echo_n "(cached) " >&6
10670 else 10678 else
10671 ac_check_lib_save_LIBS=$LIBS 10679 ac_check_lib_save_LIBS=$LIBS
10672 LIBS="-ljpeg $LIBS" 10680 LIBS="-ljpeg $LIBS"
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 conftest$ac_exeext conftest.$ac_ext 10705 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS 10706 LIBS=$ac_check_lib_save_LIBS
10699 fi 10707 fi
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
10701 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 10709 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
10702 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 10710 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
10703 HAVE_JPEG=yes 10711 HAVE_JPEG=yes
10704 fi 10712 fi
10705 10713
10706 fi 10714 fi
10707 10715
10756 done 10764 done
10757 10765
10758 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 10766 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
10760 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } 10768 $as_echo_n "checking for png_get_channels in -lpng... " >&6; }
10761 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 10769 if ${ac_cv_lib_png_png_get_channels+:} false; then :
10762 $as_echo_n "(cached) " >&6 10770 $as_echo_n "(cached) " >&6
10763 else 10771 else
10764 ac_check_lib_save_LIBS=$LIBS 10772 ac_check_lib_save_LIBS=$LIBS
10765 LIBS="-lpng -lz -lm $LIBS" 10773 LIBS="-lpng -lz -lm $LIBS"
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 conftest$ac_exeext conftest.$ac_ext 10798 conftest$ac_exeext conftest.$ac_ext
10791 LIBS=$ac_check_lib_save_LIBS 10799 LIBS=$ac_check_lib_save_LIBS
10792 fi 10800 fi
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
10794 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 10802 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
10795 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 10803 if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
10796 HAVE_PNG=yes 10804 HAVE_PNG=yes
10797 fi 10805 fi
10798 10806
10799 fi 10807 fi
10800 fi 10808 fi
10812 HAVE_TIFF=no 10820 HAVE_TIFF=no
10813 LIBTIFF= 10821 LIBTIFF=
10814 if test "${HAVE_X11}" = "yes"; then 10822 if test "${HAVE_X11}" = "yes"; then
10815 if test "${with_tiff}" != "no"; then 10823 if test "${with_tiff}" != "no"; then
10816 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 10824 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
10817 if test "x$ac_cv_header_tiffio_h" = x""yes; then : 10825 if test "x$ac_cv_header_tiffio_h" = xyes; then :
10818 tifflibs="-lz -lm" 10826 tifflibs="-lz -lm"
10819 # At least one tiff package requires the jpeg library. 10827 # At least one tiff package requires the jpeg library.
10820 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10828 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
10822 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10830 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
10823 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 10831 if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
10824 $as_echo_n "(cached) " >&6 10832 $as_echo_n "(cached) " >&6
10825 else 10833 else
10826 ac_check_lib_save_LIBS=$LIBS 10834 ac_check_lib_save_LIBS=$LIBS
10827 LIBS="-ltiff $tifflibs $LIBS" 10835 LIBS="-ltiff $tifflibs $LIBS"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 conftest$ac_exeext conftest.$ac_ext 10860 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_lib_save_LIBS 10861 LIBS=$ac_check_lib_save_LIBS
10854 fi 10862 fi
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
10856 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10864 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
10857 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 10865 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
10858 HAVE_TIFF=yes 10866 HAVE_TIFF=yes
10859 fi 10867 fi
10860 10868
10861 fi 10869 fi
10862 10870
10875 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 10883 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
10876 HAVE_GIF=no 10884 HAVE_GIF=no
10877 LIBGIF= 10885 LIBGIF=
10878 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10886 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
10879 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 10887 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
10880 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 10888 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
10881 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10889 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
10882 # Earlier versions can crash Emacs. 10890 # Earlier versions can crash Emacs.
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
10884 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10892 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
10885 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 10893 if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
10886 $as_echo_n "(cached) " >&6 10894 $as_echo_n "(cached) " >&6
10887 else 10895 else
10888 ac_check_lib_save_LIBS=$LIBS 10896 ac_check_lib_save_LIBS=$LIBS
10889 LIBS="-lgif $LIBS" 10897 LIBS="-lgif $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 conftest$ac_exeext conftest.$ac_ext 10922 conftest$ac_exeext conftest.$ac_ext
10915 LIBS=$ac_check_lib_save_LIBS 10923 LIBS=$ac_check_lib_save_LIBS
10916 fi 10924 fi
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
10918 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10926 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
10919 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 10927 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
10920 HAVE_GIF=yes 10928 HAVE_GIF=yes
10921 else 10929 else
10922 HAVE_GIF=maybe 10930 HAVE_GIF=maybe
10923 fi 10931 fi
10924 10932
10930 LIBGIF=-lgif 10938 LIBGIF=-lgif
10931 elif test "$HAVE_GIF" = maybe; then 10939 elif test "$HAVE_GIF" = maybe; then
10932 # If gif_lib.h but no libgif, try libungif. 10940 # If gif_lib.h but no libgif, try libungif.
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
10934 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10942 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
10935 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 10943 if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
10936 $as_echo_n "(cached) " >&6 10944 $as_echo_n "(cached) " >&6
10937 else 10945 else
10938 ac_check_lib_save_LIBS=$LIBS 10946 ac_check_lib_save_LIBS=$LIBS
10939 LIBS="-lungif $LIBS" 10947 LIBS="-lungif $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 conftest$ac_exeext conftest.$ac_ext 10972 conftest$ac_exeext conftest.$ac_ext
10965 LIBS=$ac_check_lib_save_LIBS 10973 LIBS=$ac_check_lib_save_LIBS
10966 fi 10974 fi
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
10968 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 10976 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
10969 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 10977 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
10970 HAVE_GIF=yes 10978 HAVE_GIF=yes
10971 else 10979 else
10972 HAVE_GIF=no 10980 HAVE_GIF=no
10973 fi 10981 fi
10974 10982
11011 HAVE_GPM=no 11019 HAVE_GPM=no
11012 LIBGPM= 11020 LIBGPM=
11013 MOUSE_SUPPORT= 11021 MOUSE_SUPPORT=
11014 if test "${with_gpm}" != "no"; then 11022 if test "${with_gpm}" != "no"; then
11015 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 11023 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
11016 if test "x$ac_cv_header_gpm_h" = x""yes; then : 11024 if test "x$ac_cv_header_gpm_h" = xyes; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
11018 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 11026 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
11019 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 11027 if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
11020 $as_echo_n "(cached) " >&6 11028 $as_echo_n "(cached) " >&6
11021 else 11029 else
11022 ac_check_lib_save_LIBS=$LIBS 11030 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-lgpm $LIBS" 11031 LIBS="-lgpm $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 conftest$ac_exeext conftest.$ac_ext 11056 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS 11057 LIBS=$ac_check_lib_save_LIBS
11050 fi 11058 fi
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
11052 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 11060 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
11053 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 11061 if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
11054 HAVE_GPM=yes 11062 HAVE_GPM=yes
11055 fi 11063 fi
11056 11064
11057 fi 11065 fi
11058 11066
11068 fi 11076 fi
11069 fi 11077 fi
11070 11078
11071 11079
11072 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 11080 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
11073 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 11081 if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
11074 11082
11075 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 11083 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
11076 11084
11077 fi 11085 fi
11078 11086
11113 ### Use session management (-lSM -lICE) if available 11121 ### Use session management (-lSM -lICE) if available
11114 HAVE_X_SM=no 11122 HAVE_X_SM=no
11115 LIBXSM= 11123 LIBXSM=
11116 if test "${HAVE_X11}" = "yes"; then 11124 if test "${HAVE_X11}" = "yes"; then
11117 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 11125 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
11118 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 11126 if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
11120 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 11128 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
11121 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 11129 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
11122 $as_echo_n "(cached) " >&6 11130 $as_echo_n "(cached) " >&6
11123 else 11131 else
11124 ac_check_lib_save_LIBS=$LIBS 11132 ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-lSM -lICE $LIBS" 11133 LIBS="-lSM -lICE $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 conftest$ac_exeext conftest.$ac_ext 11158 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS 11159 LIBS=$ac_check_lib_save_LIBS
11152 fi 11160 fi
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
11154 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 11162 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
11155 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 11163 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
11156 HAVE_X_SM=yes 11164 HAVE_X_SM=yes
11157 fi 11165 fi
11158 11166
11159 fi 11167 fi
11160 11168
11181 11189
11182 # Extract the first word of "pkg-config", so it can be a program name with args. 11190 # Extract the first word of "pkg-config", so it can be a program name with args.
11183 set dummy pkg-config; ac_word=$2 11191 set dummy pkg-config; ac_word=$2
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11185 $as_echo_n "checking for $ac_word... " >&6; } 11193 $as_echo_n "checking for $ac_word... " >&6; }
11186 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11194 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11187 $as_echo_n "(cached) " >&6 11195 $as_echo_n "(cached) " >&6
11188 else 11196 else
11189 case $PKG_CONFIG in 11197 case $PKG_CONFIG in
11190 [\\/]* | ?:[\\/]*) 11198 [\\/]* | ?:[\\/]*)
11191 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11199 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11272 11280
11273 if test "${HAVE_LIBXML2}" = "yes"; then 11281 if test "${HAVE_LIBXML2}" = "yes"; then
11274 LIBS="$LIBXML2_LIBS $LIBS" 11282 LIBS="$LIBXML2_LIBS $LIBS"
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
11276 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 11284 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
11277 if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 11285 if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
11278 $as_echo_n "(cached) " >&6 11286 $as_echo_n "(cached) " >&6
11279 else 11287 else
11280 ac_check_lib_save_LIBS=$LIBS 11288 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-lxml2 $LIBS" 11289 LIBS="-lxml2 $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 conftest$ac_exeext conftest.$ac_ext 11314 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS 11315 LIBS=$ac_check_lib_save_LIBS
11308 fi 11316 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
11310 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 11318 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
11311 if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 11319 if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
11312 HAVE_LIBXML2=yes 11320 HAVE_LIBXML2=yes
11313 else 11321 else
11314 HAVE_LIBXML2=no 11322 HAVE_LIBXML2=no
11315 fi 11323 fi
11316 11324
11328 11336
11329 11337
11330 # If netdb.h doesn't declare h_errno, we must declare it by hand. 11338 # If netdb.h doesn't declare h_errno, we must declare it by hand.
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
11332 $as_echo_n "checking whether netdb declares h_errno... " >&6; } 11340 $as_echo_n "checking whether netdb declares h_errno... " >&6; }
11333 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 11341 if ${emacs_cv_netdb_declares_h_errno+:} false; then :
11334 $as_echo_n "(cached) " >&6 11342 $as_echo_n "(cached) " >&6
11335 else 11343 else
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */ 11345 /* end confdefs.h. */
11338 #include <netdb.h> 11346 #include <netdb.h>
11358 11366
11359 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 11367 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
11360 11368
11361 fi 11369 fi
11362 11370
11371 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11372 if test "x$ac_cv_type_size_t" = xyes; then :
11373
11374 else
11375
11376 cat >>confdefs.h <<_ACEOF
11377 #define size_t unsigned int
11378 _ACEOF
11379
11380 fi
11381
11363 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11382 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11364 # for constant arguments. Useless! 11383 # for constant arguments. Useless!
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11366 $as_echo_n "checking for working alloca.h... " >&6; } 11385 $as_echo_n "checking for working alloca.h... " >&6; }
11367 if test "${ac_cv_working_alloca_h+set}" = set; then : 11386 if ${ac_cv_working_alloca_h+:} false; then :
11368 $as_echo_n "(cached) " >&6 11387 $as_echo_n "(cached) " >&6
11369 else 11388 else
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */ 11390 /* end confdefs.h. */
11372 #include <alloca.h> 11391 #include <alloca.h>
11395 11414
11396 fi 11415 fi
11397 11416
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11399 $as_echo_n "checking for alloca... " >&6; } 11418 $as_echo_n "checking for alloca... " >&6; }
11400 if test "${ac_cv_func_alloca_works+set}" = set; then : 11419 if ${ac_cv_func_alloca_works+:} false; then :
11401 $as_echo_n "(cached) " >&6 11420 $as_echo_n "(cached) " >&6
11402 else 11421 else
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */ 11423 /* end confdefs.h. */
11405 #ifdef __GNUC__ 11424 #ifdef __GNUC__
11414 # else 11433 # else
11415 # ifdef _AIX 11434 # ifdef _AIX
11416 #pragma alloca 11435 #pragma alloca
11417 # else 11436 # else
11418 # ifndef alloca /* predefined by HP cc +Olibcalls */ 11437 # ifndef alloca /* predefined by HP cc +Olibcalls */
11419 char *alloca (); 11438 void *alloca (size_t);
11420 # endif 11439 # endif
11421 # endif 11440 # endif
11422 # endif 11441 # endif
11423 # endif 11442 # endif
11424 #endif 11443 #endif
11458 $as_echo "#define C_ALLOCA 1" >>confdefs.h 11477 $as_echo "#define C_ALLOCA 1" >>confdefs.h
11459 11478
11460 11479
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11462 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 11481 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11463 if test "${ac_cv_os_cray+set}" = set; then : 11482 if ${ac_cv_os_cray+:} false; then :
11464 $as_echo_n "(cached) " >&6 11483 $as_echo_n "(cached) " >&6
11465 else 11484 else
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */ 11486 /* end confdefs.h. */
11468 #if defined CRAY && ! defined CRAY2 11487 #if defined CRAY && ! defined CRAY2
11499 done 11518 done
11500 fi 11519 fi
11501 11520
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11503 $as_echo_n "checking stack direction for C alloca... " >&6; } 11522 $as_echo_n "checking stack direction for C alloca... " >&6; }
11504 if test "${ac_cv_c_stack_direction+set}" = set; then : 11523 if ${ac_cv_c_stack_direction+:} false; then :
11505 $as_echo_n "(cached) " >&6 11524 $as_echo_n "(cached) " >&6
11506 else 11525 else
11507 if test "$cross_compiling" = yes; then : 11526 if test "$cross_compiling" = yes; then :
11508 ac_cv_c_stack_direction=0 11527 ac_cv_c_stack_direction=0
11509 else 11528 else
11556 11575
11557 # fmod, logb, and frexp are found in -lm on most systems. 11576 # fmod, logb, and frexp are found in -lm on most systems.
11558 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 11577 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11560 $as_echo_n "checking for sqrt in -lm... " >&6; } 11579 $as_echo_n "checking for sqrt in -lm... " >&6; }
11561 if test "${ac_cv_lib_m_sqrt+set}" = set; then : 11580 if ${ac_cv_lib_m_sqrt+:} false; then :
11562 $as_echo_n "(cached) " >&6 11581 $as_echo_n "(cached) " >&6
11563 else 11582 else
11564 ac_check_lib_save_LIBS=$LIBS 11583 ac_check_lib_save_LIBS=$LIBS
11565 LIBS="-lm $LIBS" 11584 LIBS="-lm $LIBS"
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 conftest$ac_exeext conftest.$ac_ext 11609 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_lib_save_LIBS 11610 LIBS=$ac_check_lib_save_LIBS
11592 fi 11611 fi
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
11594 $as_echo "$ac_cv_lib_m_sqrt" >&6; } 11613 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
11595 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 11614 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
11596 cat >>confdefs.h <<_ACEOF 11615 cat >>confdefs.h <<_ACEOF
11597 #define HAVE_LIBM 1 11616 #define HAVE_LIBM 1
11598 _ACEOF 11617 _ACEOF
11599 11618
11600 LIBS="-lm $LIBS" 11619 LIBS="-lm $LIBS"
11604 11623
11605 # Check for mail-locking functions in a "mail" library. Probably this should 11624 # Check for mail-locking functions in a "mail" library. Probably this should
11606 # have the same check as for liblockfile below. 11625 # have the same check as for liblockfile below.
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
11608 $as_echo_n "checking for maillock in -lmail... " >&6; } 11627 $as_echo_n "checking for maillock in -lmail... " >&6; }
11609 if test "${ac_cv_lib_mail_maillock+set}" = set; then : 11628 if ${ac_cv_lib_mail_maillock+:} false; then :
11610 $as_echo_n "(cached) " >&6 11629 $as_echo_n "(cached) " >&6
11611 else 11630 else
11612 ac_check_lib_save_LIBS=$LIBS 11631 ac_check_lib_save_LIBS=$LIBS
11613 LIBS="-lmail $LIBS" 11632 LIBS="-lmail $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 conftest$ac_exeext conftest.$ac_ext 11657 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS 11658 LIBS=$ac_check_lib_save_LIBS
11640 fi 11659 fi
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
11642 $as_echo "$ac_cv_lib_mail_maillock" >&6; } 11661 $as_echo "$ac_cv_lib_mail_maillock" >&6; }
11643 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 11662 if test "x$ac_cv_lib_mail_maillock" = xyes; then :
11644 have_mail=yes 11663 have_mail=yes
11645 else 11664 else
11646 have_mail=no 11665 have_mail=no
11647 fi 11666 fi
11648 11667
11655 else 11674 else
11656 LIBS_MAIL= 11675 LIBS_MAIL=
11657 fi 11676 fi
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
11659 $as_echo_n "checking for maillock in -llockfile... " >&6; } 11678 $as_echo_n "checking for maillock in -llockfile... " >&6; }
11660 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 11679 if ${ac_cv_lib_lockfile_maillock+:} false; then :
11661 $as_echo_n "(cached) " >&6 11680 $as_echo_n "(cached) " >&6
11662 else 11681 else
11663 ac_check_lib_save_LIBS=$LIBS 11682 ac_check_lib_save_LIBS=$LIBS
11664 LIBS="-llockfile $LIBS" 11683 LIBS="-llockfile $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 conftest$ac_exeext conftest.$ac_ext 11708 conftest$ac_exeext conftest.$ac_ext
11690 LIBS=$ac_check_lib_save_LIBS 11709 LIBS=$ac_check_lib_save_LIBS
11691 fi 11710 fi
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
11693 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 11712 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
11694 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 11713 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
11695 have_lockfile=yes 11714 have_lockfile=yes
11696 else 11715 else
11697 have_lockfile=no 11716 have_lockfile=no
11698 fi 11717 fi
11699 11718
11709 # (no liblockfile.a installed), ensure that we don't need to. 11728 # (no liblockfile.a installed), ensure that we don't need to.
11710 # Extract the first word of "liblockfile.so", so it can be a program name with args. 11729 # Extract the first word of "liblockfile.so", so it can be a program name with args.
11711 set dummy liblockfile.so; ac_word=$2 11730 set dummy liblockfile.so; ac_word=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; } 11732 $as_echo_n "checking for $ac_word... " >&6; }
11714 if test "${ac_cv_prog_liblockfile+set}" = set; then : 11733 if ${ac_cv_prog_liblockfile+:} false; then :
11715 $as_echo_n "(cached) " >&6 11734 $as_echo_n "(cached) " >&6
11716 else 11735 else
11717 if test -n "$liblockfile"; then 11736 if test -n "$liblockfile"; then
11718 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 11737 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
11719 else 11738 else
11753 fi 11772 fi
11754 fi 11773 fi
11755 for ac_func in touchlock 11774 for ac_func in touchlock
11756 do : 11775 do :
11757 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 11776 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
11758 if test "x$ac_cv_func_touchlock" = x""yes; then : 11777 if test "x$ac_cv_func_touchlock" = xyes; then :
11759 cat >>confdefs.h <<_ACEOF 11778 cat >>confdefs.h <<_ACEOF
11760 #define HAVE_TOUCHLOCK 1 11779 #define HAVE_TOUCHLOCK 1
11761 _ACEOF 11780 _ACEOF
11762 11781
11763 fi 11782 fi
11764 done 11783 done
11765 11784
11766 for ac_header in maillock.h 11785 for ac_header in maillock.h
11767 do : 11786 do :
11768 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 11787 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
11769 if test "x$ac_cv_header_maillock_h" = x""yes; then : 11788 if test "x$ac_cv_header_maillock_h" = xyes; then :
11770 cat >>confdefs.h <<_ACEOF 11789 cat >>confdefs.h <<_ACEOF
11771 #define HAVE_MAILLOCK_H 1 11790 #define HAVE_MAILLOCK_H 1
11772 _ACEOF 11791 _ACEOF
11773 11792
11774 fi 11793 fi
11846 11865
11847 11866
11848 for ac_header in sys/un.h 11867 for ac_header in sys/un.h
11849 do : 11868 do :
11850 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 11869 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
11851 if test "x$ac_cv_header_sys_un_h" = x""yes; then : 11870 if test "x$ac_cv_header_sys_un_h" = xyes; then :
11852 cat >>confdefs.h <<_ACEOF 11871 cat >>confdefs.h <<_ACEOF
11853 #define HAVE_SYS_UN_H 1 11872 #define HAVE_SYS_UN_H 1
11854 _ACEOF 11873 _ACEOF
11855 11874
11856 fi 11875 fi
11879 11898
11880 11899
11881 11900
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
11883 $as_echo_n "checking for working mktime... " >&6; } 11902 $as_echo_n "checking for working mktime... " >&6; }
11884 if test "${ac_cv_func_working_mktime+set}" = set; then : 11903 if ${ac_cv_func_working_mktime+:} false; then :
11885 $as_echo_n "(cached) " >&6 11904 $as_echo_n "(cached) " >&6
11886 else 11905 else
11887 if test "$cross_compiling" = yes; then : 11906 if test "$cross_compiling" = yes; then :
11888 ac_cv_func_working_mktime=no 11907 ac_cv_func_working_mktime=no
11889 else 11908 else
12116 12135
12117 ac_save_LIBS=$LIBS 12136 ac_save_LIBS=$LIBS
12118 12137
12119 # Check for getloadavg, but be sure not to touch the cache variable. 12138 # Check for getloadavg, but be sure not to touch the cache variable.
12120 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12139 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12121 if test "x$ac_cv_func_getloadavg" = x""yes; then : 12140 if test "x$ac_cv_func_getloadavg" = xyes; then :
12122 exit 0 12141 exit 0
12123 else 12142 else
12124 exit 1 12143 exit 1
12125 fi 12144 fi
12126 ) && ac_have_func=yes 12145 ) && ac_have_func=yes
12127 12146
12128 # On HPUX9, an unprivileged user can get load averages through this function. 12147 # On HPUX9, an unprivileged user can get load averages through this function.
12129 for ac_func in pstat_getdynamic 12148 for ac_func in pstat_getdynamic
12130 do : 12149 do :
12131 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 12150 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
12132 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 12151 if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
12133 cat >>confdefs.h <<_ACEOF 12152 cat >>confdefs.h <<_ACEOF
12134 #define HAVE_PSTAT_GETDYNAMIC 1 12153 #define HAVE_PSTAT_GETDYNAMIC 1
12135 _ACEOF 12154 _ACEOF
12136 12155
12137 fi 12156 fi
12139 12158
12140 12159
12141 # Solaris has libkstat which does not require root. 12160 # Solaris has libkstat which does not require root.
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12143 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 12162 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12144 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 12163 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12145 $as_echo_n "(cached) " >&6 12164 $as_echo_n "(cached) " >&6
12146 else 12165 else
12147 ac_check_lib_save_LIBS=$LIBS 12166 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lkstat $LIBS" 12167 LIBS="-lkstat $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 conftest$ac_exeext conftest.$ac_ext 12192 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS 12193 LIBS=$ac_check_lib_save_LIBS
12175 fi 12194 fi
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12177 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 12196 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12178 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 12197 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12179 cat >>confdefs.h <<_ACEOF 12198 cat >>confdefs.h <<_ACEOF
12180 #define HAVE_LIBKSTAT 1 12199 #define HAVE_LIBKSTAT 1
12181 _ACEOF 12200 _ACEOF
12182 12201
12183 LIBS="-lkstat $LIBS" 12202 LIBS="-lkstat $LIBS"
12191 # to get the right answer into the cache. 12210 # to get the right answer into the cache.
12192 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 12211 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
12193 if test $ac_have_func = no; then 12212 if test $ac_have_func = no; then
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
12195 $as_echo_n "checking for elf_begin in -lelf... " >&6; } 12214 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
12196 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 12215 if ${ac_cv_lib_elf_elf_begin+:} false; then :
12197 $as_echo_n "(cached) " >&6 12216 $as_echo_n "(cached) " >&6
12198 else 12217 else
12199 ac_check_lib_save_LIBS=$LIBS 12218 ac_check_lib_save_LIBS=$LIBS
12200 LIBS="-lelf $LIBS" 12219 LIBS="-lelf $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 conftest$ac_exeext conftest.$ac_ext 12244 conftest$ac_exeext conftest.$ac_ext
12226 LIBS=$ac_check_lib_save_LIBS 12245 LIBS=$ac_check_lib_save_LIBS
12227 fi 12246 fi
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
12229 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 12248 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
12230 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 12249 if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
12231 LIBS="-lelf $LIBS" 12250 LIBS="-lelf $LIBS"
12232 fi 12251 fi
12233 12252
12234 fi 12253 fi
12235 if test $ac_have_func = no; then 12254 if test $ac_have_func = no; then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
12237 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } 12256 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
12238 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 12257 if ${ac_cv_lib_kvm_kvm_open+:} false; then :
12239 $as_echo_n "(cached) " >&6 12258 $as_echo_n "(cached) " >&6
12240 else 12259 else
12241 ac_check_lib_save_LIBS=$LIBS 12260 ac_check_lib_save_LIBS=$LIBS
12242 LIBS="-lkvm $LIBS" 12261 LIBS="-lkvm $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 conftest$ac_exeext conftest.$ac_ext 12286 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_lib_save_LIBS 12287 LIBS=$ac_check_lib_save_LIBS
12269 fi 12288 fi
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
12271 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 12290 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
12272 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 12291 if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
12273 LIBS="-lkvm $LIBS" 12292 LIBS="-lkvm $LIBS"
12274 fi 12293 fi
12275 12294
12276 # Check for the 4.4BSD definition of getloadavg. 12295 # Check for the 4.4BSD definition of getloadavg.
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
12278 $as_echo_n "checking for getloadavg in -lutil... " >&6; } 12297 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
12279 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 12298 if ${ac_cv_lib_util_getloadavg+:} false; then :
12280 $as_echo_n "(cached) " >&6 12299 $as_echo_n "(cached) " >&6
12281 else 12300 else
12282 ac_check_lib_save_LIBS=$LIBS 12301 ac_check_lib_save_LIBS=$LIBS
12283 LIBS="-lutil $LIBS" 12302 LIBS="-lutil $LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 conftest$ac_exeext conftest.$ac_ext 12327 conftest$ac_exeext conftest.$ac_ext
12309 LIBS=$ac_check_lib_save_LIBS 12328 LIBS=$ac_check_lib_save_LIBS
12310 fi 12329 fi
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
12312 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } 12331 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
12313 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 12332 if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
12314 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 12333 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
12315 fi 12334 fi
12316 12335
12317 fi 12336 fi
12318 12337
12321 # Since it is not a standard part of AIX, it might be installed locally. 12340 # Since it is not a standard part of AIX, it might be installed locally.
12322 ac_getloadavg_LIBS=$LIBS 12341 ac_getloadavg_LIBS=$LIBS
12323 LIBS="-L/usr/local/lib $LIBS" 12342 LIBS="-L/usr/local/lib $LIBS"
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
12325 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 12344 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
12326 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 12345 if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
12327 $as_echo_n "(cached) " >&6 12346 $as_echo_n "(cached) " >&6
12328 else 12347 else
12329 ac_check_lib_save_LIBS=$LIBS 12348 ac_check_lib_save_LIBS=$LIBS
12330 LIBS="-lgetloadavg $LIBS" 12349 LIBS="-lgetloadavg $LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 conftest$ac_exeext conftest.$ac_ext 12374 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_lib_save_LIBS 12375 LIBS=$ac_check_lib_save_LIBS
12357 fi 12376 fi
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
12359 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 12378 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
12360 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 12379 if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
12361 LIBS="-lgetloadavg $LIBS" 12380 LIBS="-lgetloadavg $LIBS"
12362 else 12381 else
12363 LIBS=$ac_getloadavg_LIBS 12382 LIBS=$ac_getloadavg_LIBS
12364 fi 12383 fi
12365 12384
12368 # Make sure it is really in the library, if we think we found it, 12387 # Make sure it is really in the library, if we think we found it,
12369 # otherwise set up the replacement function. 12388 # otherwise set up the replacement function.
12370 for ac_func in getloadavg 12389 for ac_func in getloadavg
12371 do : 12390 do :
12372 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12391 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12373 if test "x$ac_cv_func_getloadavg" = x""yes; then : 12392 if test "x$ac_cv_func_getloadavg" = xyes; then :
12374 cat >>confdefs.h <<_ACEOF 12393 cat >>confdefs.h <<_ACEOF
12375 #define HAVE_GETLOADAVG 1 12394 #define HAVE_GETLOADAVG 1
12376 _ACEOF 12395 _ACEOF
12377 12396
12378 else 12397 else
12386 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h 12405 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
12387 12406
12388 # Figure out what our getloadavg.c needs. 12407 # Figure out what our getloadavg.c needs.
12389 ac_have_func=no 12408 ac_have_func=no
12390 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 12409 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
12391 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 12410 if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
12392 ac_have_func=yes 12411 ac_have_func=yes
12393 12412
12394 $as_echo "#define DGUX 1" >>confdefs.h 12413 $as_echo "#define DGUX 1" >>confdefs.h
12395 12414
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
12397 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 12416 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
12398 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 12417 if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
12399 $as_echo_n "(cached) " >&6 12418 $as_echo_n "(cached) " >&6
12400 else 12419 else
12401 ac_check_lib_save_LIBS=$LIBS 12420 ac_check_lib_save_LIBS=$LIBS
12402 LIBS="-ldgc $LIBS" 12421 LIBS="-ldgc $LIBS"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 conftest$ac_exeext conftest.$ac_ext 12446 conftest$ac_exeext conftest.$ac_ext
12428 LIBS=$ac_check_lib_save_LIBS 12447 LIBS=$ac_check_lib_save_LIBS
12429 fi 12448 fi
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
12431 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 12450 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
12432 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 12451 if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF 12452 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_LIBDGC 1 12453 #define HAVE_LIBDGC 1
12435 _ACEOF 12454 _ACEOF
12436 12455
12437 LIBS="-ldgc $LIBS" 12456 LIBS="-ldgc $LIBS"
12441 fi 12460 fi
12442 12461
12443 12462
12444 12463
12445 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12464 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12446 if test "x$ac_cv_header_locale_h" = x""yes; then : 12465 if test "x$ac_cv_header_locale_h" = xyes; then :
12447 12466
12448 fi 12467 fi
12449 12468
12450 12469
12451 for ac_func in setlocale 12470 for ac_func in setlocale
12452 do : 12471 do :
12453 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 12472 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
12454 if test "x$ac_cv_func_setlocale" = x""yes; then : 12473 if test "x$ac_cv_func_setlocale" = xyes; then :
12455 cat >>confdefs.h <<_ACEOF 12474 cat >>confdefs.h <<_ACEOF
12456 #define HAVE_SETLOCALE 1 12475 #define HAVE_SETLOCALE 1
12457 _ACEOF 12476 _ACEOF
12458 12477
12459 fi 12478 fi
12461 12480
12462 12481
12463 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 12482 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
12464 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because 12483 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
12465 # Irix 4.0.5F has the header but not the library. 12484 # Irix 4.0.5F has the header but not the library.
12466 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 12485 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \
12486 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
12467 ac_have_func=yes 12487 ac_have_func=yes
12468 12488
12469 $as_echo "#define SVR4 1" >>confdefs.h 12489 $as_echo "#define SVR4 1" >>confdefs.h
12470 12490
12471 fi 12491 fi
12472 12492
12473 if test $ac_have_func = no; then 12493 if test $ac_have_func = no; then
12474 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 12494 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
12475 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 12495 if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
12476 ac_have_func=yes 12496 ac_have_func=yes
12477 12497
12478 $as_echo "#define UMAX 1" >>confdefs.h 12498 $as_echo "#define UMAX 1" >>confdefs.h
12479 12499
12480 12500
12485 12505
12486 fi 12506 fi
12487 12507
12488 if test $ac_have_func = no; then 12508 if test $ac_have_func = no; then
12489 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 12509 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
12490 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 12510 if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
12491 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 12511 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
12492 12512
12493 fi 12513 fi
12494 12514
12495 12515
12497 12517
12498 if test $ac_have_func = no; then 12518 if test $ac_have_func = no; then
12499 for ac_header in mach/mach.h 12519 for ac_header in mach/mach.h
12500 do : 12520 do :
12501 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 12521 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
12502 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 12522 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
12503 cat >>confdefs.h <<_ACEOF 12523 cat >>confdefs.h <<_ACEOF
12504 #define HAVE_MACH_MACH_H 1 12524 #define HAVE_MACH_MACH_H 1
12505 _ACEOF 12525 _ACEOF
12506 12526
12507 fi 12527 fi
12511 fi 12531 fi
12512 12532
12513 for ac_header in nlist.h 12533 for ac_header in nlist.h
12514 do : 12534 do :
12515 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 12535 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
12516 if test "x$ac_cv_header_nlist_h" = x""yes; then : 12536 if test "x$ac_cv_header_nlist_h" = xyes; then :
12517 cat >>confdefs.h <<_ACEOF 12537 cat >>confdefs.h <<_ACEOF
12518 #define HAVE_NLIST_H 1 12538 #define HAVE_NLIST_H 1
12519 _ACEOF 12539 _ACEOF
12520 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 12540 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
12521 " 12541 "
12522 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 12542 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
12523 12543
12524 cat >>confdefs.h <<_ACEOF 12544 cat >>confdefs.h <<_ACEOF
12525 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12545 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
12526 _ACEOF 12546 _ACEOF
12527 12547
12540 12560
12541 12561
12542 # Some definitions of getloadavg require that the program be installed setgid. 12562 # Some definitions of getloadavg require that the program be installed setgid.
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
12544 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } 12564 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
12545 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 12565 if ${ac_cv_func_getloadavg_setgid+:} false; then :
12546 $as_echo_n "(cached) " >&6 12566 $as_echo_n "(cached) " >&6
12547 else 12567 else
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */ 12569 /* end confdefs.h. */
12550 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 12570 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
12573 fi 12593 fi
12574 12594
12575 if test $ac_cv_func_getloadavg_setgid = yes; then 12595 if test $ac_cv_func_getloadavg_setgid = yes; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
12577 $as_echo_n "checking group of /dev/kmem... " >&6; } 12597 $as_echo_n "checking group of /dev/kmem... " >&6; }
12578 if test "${ac_cv_group_kmem+set}" = set; then : 12598 if ${ac_cv_group_kmem+:} false; then :
12579 $as_echo_n "(cached) " >&6 12599 $as_echo_n "(cached) " >&6
12580 else 12600 else
12581 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 12601 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
12582 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 12602 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
12583 # If we got an error (system does not support symlinks), try without -L. 12603 # If we got an error (system does not support symlinks), try without -L.
12601 12621
12602 12622
12603 12623
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12605 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 12625 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12606 if test "${ac_cv_sys_largefile_source+set}" = set; then : 12626 if ${ac_cv_sys_largefile_source+:} false; then :
12607 $as_echo_n "(cached) " >&6 12627 $as_echo_n "(cached) " >&6
12608 else 12628 else
12609 while :; do 12629 while :; do
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */ 12631 /* end confdefs.h. */
12694 12714
12695 GETOPT_H= 12715 GETOPT_H=
12696 for ac_header in getopt.h 12716 for ac_header in getopt.h
12697 do : 12717 do :
12698 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 12718 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12699 if test "x$ac_cv_header_getopt_h" = x""yes; then : 12719 if test "x$ac_cv_header_getopt_h" = xyes; then :
12700 cat >>confdefs.h <<_ACEOF 12720 cat >>confdefs.h <<_ACEOF
12701 #define HAVE_GETOPT_H 1 12721 #define HAVE_GETOPT_H 1
12702 _ACEOF 12722 _ACEOF
12703 12723
12704 else 12724 else
12709 12729
12710 if test -z "$GETOPT_H"; then 12730 if test -z "$GETOPT_H"; then
12711 for ac_func in getopt_long_only 12731 for ac_func in getopt_long_only
12712 do : 12732 do :
12713 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 12733 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
12714 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 12734 if test "x$ac_cv_func_getopt_long_only" = xyes; then :
12715 cat >>confdefs.h <<_ACEOF 12735 cat >>confdefs.h <<_ACEOF
12716 #define HAVE_GETOPT_LONG_ONLY 1 12736 #define HAVE_GETOPT_LONG_ONLY 1
12717 _ACEOF 12737 _ACEOF
12718 12738
12719 else 12739 else
12724 fi 12744 fi
12725 12745
12726 if test -z "$GETOPT_H"; then 12746 if test -z "$GETOPT_H"; then
12727 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 12747 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
12728 " 12748 "
12729 if test "x$ac_cv_have_decl_optreset" = x""yes; then : 12749 if test "x$ac_cv_have_decl_optreset" = xyes; then :
12730 GETOPT_H=getopt.h 12750 GETOPT_H=getopt.h
12731 fi 12751 fi
12732 12752
12733 fi 12753 fi
12734 12754
12735 if test -z "$GETOPT_H"; then 12755 if test -z "$GETOPT_H"; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
12737 $as_echo_n "checking for working GNU getopt function... " >&6; } 12757 $as_echo_n "checking for working GNU getopt function... " >&6; }
12738 if test "${gl_cv_func_gnu_getopt+set}" = set; then : 12758 if ${gl_cv_func_gnu_getopt+:} false; then :
12739 $as_echo_n "(cached) " >&6 12759 $as_echo_n "(cached) " >&6
12740 else 12760 else
12741 if test "$cross_compiling" = yes; then : 12761 if test "$cross_compiling" = yes; then :
12742 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 12762 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
12743 " 12763 "
12744 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 12764 if test "x$ac_cv_have_decl_getopt_clip" = xyes; then :
12745 gl_cv_func_gnu_getopt=no 12765 gl_cv_func_gnu_getopt=no
12746 else 12766 else
12747 gl_cv_func_gnu_getopt=yes 12767 gl_cv_func_gnu_getopt=yes
12748 fi 12768 fi
12749 12769
12800 12820
12801 12821
12802 12822
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
12804 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12824 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
12805 if test "${ac_cv_func_getpgrp_void+set}" = set; then : 12825 if ${ac_cv_func_getpgrp_void+:} false; then :
12806 $as_echo_n "(cached) " >&6 12826 $as_echo_n "(cached) " >&6
12807 else 12827 else
12808 # Use it with a single arg. 12828 # Use it with a single arg.
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */ 12830 /* end confdefs.h. */
12835 12855
12836 12856
12837 for ac_func in strftime 12857 for ac_func in strftime
12838 do : 12858 do :
12839 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 12859 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12840 if test "x$ac_cv_func_strftime" = x""yes; then : 12860 if test "x$ac_cv_func_strftime" = xyes; then :
12841 cat >>confdefs.h <<_ACEOF 12861 cat >>confdefs.h <<_ACEOF
12842 #define HAVE_STRFTIME 1 12862 #define HAVE_STRFTIME 1
12843 _ACEOF 12863 _ACEOF
12844 12864
12845 else 12865 else
12846 # strftime is in -lintl on SCO UNIX. 12866 # strftime is in -lintl on SCO UNIX.
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12848 $as_echo_n "checking for strftime in -lintl... " >&6; } 12868 $as_echo_n "checking for strftime in -lintl... " >&6; }
12849 if test "${ac_cv_lib_intl_strftime+set}" = set; then : 12869 if ${ac_cv_lib_intl_strftime+:} false; then :
12850 $as_echo_n "(cached) " >&6 12870 $as_echo_n "(cached) " >&6
12851 else 12871 else
12852 ac_check_lib_save_LIBS=$LIBS 12872 ac_check_lib_save_LIBS=$LIBS
12853 LIBS="-lintl $LIBS" 12873 LIBS="-lintl $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 conftest$ac_exeext conftest.$ac_ext 12898 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_lib_save_LIBS 12899 LIBS=$ac_check_lib_save_LIBS
12880 fi 12900 fi
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12882 $as_echo "$ac_cv_lib_intl_strftime" >&6; } 12902 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12883 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 12903 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12884 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 12904 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12885 12905
12886 LIBS="-lintl $LIBS" 12906 LIBS="-lintl $LIBS"
12887 fi 12907 fi
12888 12908
12892 12912
12893 # UNIX98 PTYs. 12913 # UNIX98 PTYs.
12894 for ac_func in grantpt 12914 for ac_func in grantpt
12895 do : 12915 do :
12896 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 12916 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
12897 if test "x$ac_cv_func_grantpt" = x""yes; then : 12917 if test "x$ac_cv_func_grantpt" = xyes; then :
12898 cat >>confdefs.h <<_ACEOF 12918 cat >>confdefs.h <<_ACEOF
12899 #define HAVE_GRANTPT 1 12919 #define HAVE_GRANTPT 1
12900 _ACEOF 12920 _ACEOF
12901 12921
12902 fi 12922 fi
12905 12925
12906 # PTY-related GNU extensions. 12926 # PTY-related GNU extensions.
12907 for ac_func in getpt 12927 for ac_func in getpt
12908 do : 12928 do :
12909 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 12929 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
12910 if test "x$ac_cv_func_getpt" = x""yes; then : 12930 if test "x$ac_cv_func_getpt" = xyes; then :
12911 cat >>confdefs.h <<_ACEOF 12931 cat >>confdefs.h <<_ACEOF
12912 #define HAVE_GETPT 1 12932 #define HAVE_GETPT 1
12913 _ACEOF 12933 _ACEOF
12914 12934
12915 fi 12935 fi
12922 # than to expect to find it in ncurses. 12942 # than to expect to find it in ncurses.
12923 # Also we need tputs and friends to be able to build at all. 12943 # Also we need tputs and friends to be able to build at all.
12924 have_tputs_et_al=true 12944 have_tputs_et_al=true
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
12926 $as_echo_n "checking for library containing tputs... " >&6; } 12946 $as_echo_n "checking for library containing tputs... " >&6; }
12927 if test "${ac_cv_search_tputs+set}" = set; then : 12947 if ${ac_cv_search_tputs+:} false; then :
12928 $as_echo_n "(cached) " >&6 12948 $as_echo_n "(cached) " >&6
12929 else 12949 else
12930 ac_func_search_save_LIBS=$LIBS 12950 ac_func_search_save_LIBS=$LIBS
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */ 12952 /* end confdefs.h. */
12956 if ac_fn_c_try_link "$LINENO"; then : 12976 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_search_tputs=$ac_res 12977 ac_cv_search_tputs=$ac_res
12958 fi 12978 fi
12959 rm -f core conftest.err conftest.$ac_objext \ 12979 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext 12980 conftest$ac_exeext
12961 if test "${ac_cv_search_tputs+set}" = set; then : 12981 if ${ac_cv_search_tputs+:} false; then :
12962 break 12982 break
12963 fi 12983 fi
12964 done 12984 done
12965 if test "${ac_cv_search_tputs+set}" = set; then : 12985 if ${ac_cv_search_tputs+:} false; then :
12966 12986
12967 else 12987 else
12968 ac_cv_search_tputs=no 12988 ac_cv_search_tputs=no
12969 fi 12989 fi
12970 rm conftest.$ac_ext 12990 rm conftest.$ac_ext
13019 ;; 13039 ;;
13020 13040
13021 freebsd) 13041 freebsd)
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
13023 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 13043 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
13024 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 13044 if ${emacs_cv_freebsd_terminfo+:} false; then :
13025 $as_echo_n "(cached) " >&6 13045 $as_echo_n "(cached) " >&6
13026 else 13046 else
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */ 13048 /* end confdefs.h. */
13029 #include <osreldate.h> 13049 #include <osreldate.h>
13161 # Do we need the Hesiod library to provide the support routines? 13181 # Do we need the Hesiod library to provide the support routines?
13162 LIBHESIOD= 13182 LIBHESIOD=
13163 if test "$with_hesiod" != no ; then 13183 if test "$with_hesiod" != no ; then
13164 # Don't set $LIBS here -- see comments above. FIXME which comments? 13184 # Don't set $LIBS here -- see comments above. FIXME which comments?
13165 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 13185 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
13166 if test "x$ac_cv_func_res_send" = x""yes; then : 13186 if test "x$ac_cv_func_res_send" = xyes; then :
13167 13187
13168 else 13188 else
13169 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 13189 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
13170 if test "x$ac_cv_func___res_send" = x""yes; then : 13190 if test "x$ac_cv_func___res_send" = xyes; then :
13171 13191
13172 else 13192 else
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
13174 $as_echo_n "checking for res_send in -lresolv... " >&6; } 13194 $as_echo_n "checking for res_send in -lresolv... " >&6; }
13175 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 13195 if ${ac_cv_lib_resolv_res_send+:} false; then :
13176 $as_echo_n "(cached) " >&6 13196 $as_echo_n "(cached) " >&6
13177 else 13197 else
13178 ac_check_lib_save_LIBS=$LIBS 13198 ac_check_lib_save_LIBS=$LIBS
13179 LIBS="-lresolv $LIBS" 13199 LIBS="-lresolv $LIBS"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 conftest$ac_exeext conftest.$ac_ext 13224 conftest$ac_exeext conftest.$ac_ext
13205 LIBS=$ac_check_lib_save_LIBS 13225 LIBS=$ac_check_lib_save_LIBS
13206 fi 13226 fi
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
13208 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } 13228 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
13209 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 13229 if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
13210 resolv=yes 13230 resolv=yes
13211 else 13231 else
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
13213 $as_echo_n "checking for __res_send in -lresolv... " >&6; } 13233 $as_echo_n "checking for __res_send in -lresolv... " >&6; }
13214 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 13234 if ${ac_cv_lib_resolv___res_send+:} false; then :
13215 $as_echo_n "(cached) " >&6 13235 $as_echo_n "(cached) " >&6
13216 else 13236 else
13217 ac_check_lib_save_LIBS=$LIBS 13237 ac_check_lib_save_LIBS=$LIBS
13218 LIBS="-lresolv $LIBS" 13238 LIBS="-lresolv $LIBS"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 conftest$ac_exeext conftest.$ac_ext 13263 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_lib_save_LIBS 13264 LIBS=$ac_check_lib_save_LIBS
13245 fi 13265 fi
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
13247 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } 13267 $as_echo "$ac_cv_lib_resolv___res_send" >&6; }
13248 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 13268 if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
13249 resolv=yes 13269 resolv=yes
13250 fi 13270 fi
13251 13271
13252 fi 13272 fi
13253 13273
13259 RESOLVLIB=-lresolv 13279 RESOLVLIB=-lresolv
13260 else 13280 else
13261 RESOLVLIB= 13281 RESOLVLIB=
13262 fi 13282 fi
13263 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 13283 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
13264 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 13284 if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
13265 13285
13266 else 13286 else
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
13268 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 13288 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
13269 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 13289 if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
13270 $as_echo_n "(cached) " >&6 13290 $as_echo_n "(cached) " >&6
13271 else 13291 else
13272 ac_check_lib_save_LIBS=$LIBS 13292 ac_check_lib_save_LIBS=$LIBS
13273 LIBS="-lhesiod $RESOLVLIB $LIBS" 13293 LIBS="-lhesiod $RESOLVLIB $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 conftest$ac_exeext conftest.$ac_ext 13318 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_lib_save_LIBS 13319 LIBS=$ac_check_lib_save_LIBS
13300 fi 13320 fi
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
13302 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 13322 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
13303 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 13323 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
13304 hesiod=yes 13324 hesiod=yes
13305 else 13325 else
13306 : 13326 :
13307 fi 13327 fi
13308 13328
13337 KRB4LIB= 13357 KRB4LIB=
13338 13358
13339 if test "${with_kerberos}" != no; then 13359 if test "${with_kerberos}" != no; then
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13341 $as_echo_n "checking for com_err in -lcom_err... " >&6; } 13361 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
13342 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 13362 if ${ac_cv_lib_com_err_com_err+:} false; then :
13343 $as_echo_n "(cached) " >&6 13363 $as_echo_n "(cached) " >&6
13344 else 13364 else
13345 ac_check_lib_save_LIBS=$LIBS 13365 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-lcom_err $LIBS" 13366 LIBS="-lcom_err $LIBS"
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 conftest$ac_exeext conftest.$ac_ext 13391 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS 13392 LIBS=$ac_check_lib_save_LIBS
13373 fi 13393 fi
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13375 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } 13395 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13376 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 13396 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13377 have_com_err=yes 13397 have_com_err=yes
13378 else 13398 else
13379 have_com_err=no 13399 have_com_err=no
13380 fi 13400 fi
13381 13401
13386 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h 13406 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
13387 13407
13388 fi 13408 fi
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13390 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 13410 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
13391 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 13411 if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
13392 $as_echo_n "(cached) " >&6 13412 $as_echo_n "(cached) " >&6
13393 else 13413 else
13394 ac_check_lib_save_LIBS=$LIBS 13414 ac_check_lib_save_LIBS=$LIBS
13395 LIBS="-lcrypto $LIBS" 13415 LIBS="-lcrypto $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 conftest$ac_exeext conftest.$ac_ext 13440 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS 13441 LIBS=$ac_check_lib_save_LIBS
13422 fi 13442 fi
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
13424 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 13444 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
13425 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 13445 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
13426 have_crypto=yes 13446 have_crypto=yes
13427 else 13447 else
13428 have_crypto=no 13448 have_crypto=no
13429 fi 13449 fi
13430 13450
13435 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h 13455 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13436 13456
13437 fi 13457 fi
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13439 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 13459 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
13440 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 13460 if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
13441 $as_echo_n "(cached) " >&6 13461 $as_echo_n "(cached) " >&6
13442 else 13462 else
13443 ac_check_lib_save_LIBS=$LIBS 13463 ac_check_lib_save_LIBS=$LIBS
13444 LIBS="-lk5crypto $LIBS" 13464 LIBS="-lk5crypto $LIBS"
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469 conftest$ac_exeext conftest.$ac_ext 13489 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_lib_save_LIBS 13490 LIBS=$ac_check_lib_save_LIBS
13471 fi 13491 fi
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
13473 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 13493 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
13474 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 13494 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
13475 have_k5crypto=yes 13495 have_k5crypto=yes
13476 else 13496 else
13477 have_k5crypto=no 13497 have_k5crypto=no
13478 fi 13498 fi
13479 13499
13484 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h 13504 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
13485 13505
13486 fi 13506 fi
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13488 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 13508 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13489 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 13509 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13490 $as_echo_n "(cached) " >&6 13510 $as_echo_n "(cached) " >&6
13491 else 13511 else
13492 ac_check_lib_save_LIBS=$LIBS 13512 ac_check_lib_save_LIBS=$LIBS
13493 LIBS="-lkrb5 $LIBS" 13513 LIBS="-lkrb5 $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 conftest$ac_exeext conftest.$ac_ext 13538 conftest$ac_exeext conftest.$ac_ext
13519 LIBS=$ac_check_lib_save_LIBS 13539 LIBS=$ac_check_lib_save_LIBS
13520 fi 13540 fi
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13522 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 13542 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13523 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 13543 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13524 have_krb5=yes 13544 have_krb5=yes
13525 else 13545 else
13526 have_krb5=no 13546 have_krb5=no
13527 fi 13547 fi
13528 13548
13534 13554
13535 fi 13555 fi
13536 if test "${with_kerberos5}" = no; then 13556 if test "${with_kerberos5}" = no; then
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
13538 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 13558 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
13539 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 13559 if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
13540 $as_echo_n "(cached) " >&6 13560 $as_echo_n "(cached) " >&6
13541 else 13561 else
13542 ac_check_lib_save_LIBS=$LIBS 13562 ac_check_lib_save_LIBS=$LIBS
13543 LIBS="-ldes425 $LIBS" 13563 LIBS="-ldes425 $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 conftest$ac_exeext conftest.$ac_ext 13588 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_lib_save_LIBS 13589 LIBS=$ac_check_lib_save_LIBS
13570 fi 13590 fi
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
13572 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 13592 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
13573 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 13593 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
13574 have_des425=yes 13594 have_des425=yes
13575 else 13595 else
13576 have_des425=no 13596 have_des425=no
13577 fi 13597 fi
13578 13598
13583 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h 13603 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
13584 13604
13585 else 13605 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
13587 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 13607 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
13588 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 13608 if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
13589 $as_echo_n "(cached) " >&6 13609 $as_echo_n "(cached) " >&6
13590 else 13610 else
13591 ac_check_lib_save_LIBS=$LIBS 13611 ac_check_lib_save_LIBS=$LIBS
13592 LIBS="-ldes $LIBS" 13612 LIBS="-ldes $LIBS"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 conftest$ac_exeext conftest.$ac_ext 13637 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_lib_save_LIBS 13638 LIBS=$ac_check_lib_save_LIBS
13619 fi 13639 fi
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
13621 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 13641 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
13622 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 13642 if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
13623 have_des=yes 13643 have_des=yes
13624 else 13644 else
13625 have_des=no 13645 have_des=no
13626 fi 13646 fi
13627 13647
13633 13653
13634 fi 13654 fi
13635 fi 13655 fi
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
13637 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 13657 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
13638 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 13658 if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
13639 $as_echo_n "(cached) " >&6 13659 $as_echo_n "(cached) " >&6
13640 else 13660 else
13641 ac_check_lib_save_LIBS=$LIBS 13661 ac_check_lib_save_LIBS=$LIBS
13642 LIBS="-lkrb4 $LIBS" 13662 LIBS="-lkrb4 $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 conftest$ac_exeext conftest.$ac_ext 13687 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_lib_save_LIBS 13688 LIBS=$ac_check_lib_save_LIBS
13669 fi 13689 fi
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
13671 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 13691 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
13672 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 13692 if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
13673 have_krb4=yes 13693 have_krb4=yes
13674 else 13694 else
13675 have_krb4=no 13695 have_krb4=no
13676 fi 13696 fi
13677 13697
13682 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h 13702 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
13683 13703
13684 else 13704 else
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
13686 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 13706 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
13687 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 13707 if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
13688 $as_echo_n "(cached) " >&6 13708 $as_echo_n "(cached) " >&6
13689 else 13709 else
13690 ac_check_lib_save_LIBS=$LIBS 13710 ac_check_lib_save_LIBS=$LIBS
13691 LIBS="-lkrb $LIBS" 13711 LIBS="-lkrb $LIBS"
13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 conftest$ac_exeext conftest.$ac_ext 13736 conftest$ac_exeext conftest.$ac_ext
13717 LIBS=$ac_check_lib_save_LIBS 13737 LIBS=$ac_check_lib_save_LIBS
13718 fi 13738 fi
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
13720 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 13740 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
13721 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 13741 if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
13722 have_krb=yes 13742 have_krb=yes
13723 else 13743 else
13724 have_krb=no 13744 have_krb=no
13725 fi 13745 fi
13726 13746
13736 13756
13737 if test "${with_kerberos5}" != no; then 13757 if test "${with_kerberos5}" != no; then
13738 for ac_header in krb5.h 13758 for ac_header in krb5.h
13739 do : 13759 do :
13740 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 13760 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
13741 if test "x$ac_cv_header_krb5_h" = x""yes; then : 13761 if test "x$ac_cv_header_krb5_h" = xyes; then :
13742 cat >>confdefs.h <<_ACEOF 13762 cat >>confdefs.h <<_ACEOF
13743 #define HAVE_KRB5_H 1 13763 #define HAVE_KRB5_H 1
13744 _ACEOF 13764 _ACEOF
13745 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 13765 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
13746 " 13766 "
13747 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 13767 if test "x$ac_cv_member_krb5_error_text" = xyes; then :
13748 13768
13749 cat >>confdefs.h <<_ACEOF 13769 cat >>confdefs.h <<_ACEOF
13750 #define HAVE_KRB5_ERROR_TEXT 1 13770 #define HAVE_KRB5_ERROR_TEXT 1
13751 _ACEOF 13771 _ACEOF
13752 13772
13753 13773
13754 fi 13774 fi
13755 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 13775 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
13756 " 13776 "
13757 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 13777 if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
13758 13778
13759 cat >>confdefs.h <<_ACEOF 13779 cat >>confdefs.h <<_ACEOF
13760 #define HAVE_KRB5_ERROR_E_TEXT 1 13780 #define HAVE_KRB5_ERROR_E_TEXT 1
13761 _ACEOF 13781 _ACEOF
13762 13782
13769 13789
13770 else 13790 else
13771 for ac_header in des.h 13791 for ac_header in des.h
13772 do : 13792 do :
13773 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 13793 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
13774 if test "x$ac_cv_header_des_h" = x""yes; then : 13794 if test "x$ac_cv_header_des_h" = xyes; then :
13775 cat >>confdefs.h <<_ACEOF 13795 cat >>confdefs.h <<_ACEOF
13776 #define HAVE_DES_H 1 13796 #define HAVE_DES_H 1
13777 _ACEOF 13797 _ACEOF
13778 13798
13779 else 13799 else
13780 for ac_header in kerberosIV/des.h 13800 for ac_header in kerberosIV/des.h
13781 do : 13801 do :
13782 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 13802 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
13783 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 13803 if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
13784 cat >>confdefs.h <<_ACEOF 13804 cat >>confdefs.h <<_ACEOF
13785 #define HAVE_KERBEROSIV_DES_H 1 13805 #define HAVE_KERBEROSIV_DES_H 1
13786 _ACEOF 13806 _ACEOF
13787 13807
13788 else 13808 else
13789 for ac_header in kerberos/des.h 13809 for ac_header in kerberos/des.h
13790 do : 13810 do :
13791 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 13811 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
13792 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 13812 if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
13793 cat >>confdefs.h <<_ACEOF 13813 cat >>confdefs.h <<_ACEOF
13794 #define HAVE_KERBEROS_DES_H 1 13814 #define HAVE_KERBEROS_DES_H 1
13795 _ACEOF 13815 _ACEOF
13796 13816
13797 fi 13817 fi
13807 done 13827 done
13808 13828
13809 for ac_header in krb.h 13829 for ac_header in krb.h
13810 do : 13830 do :
13811 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 13831 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
13812 if test "x$ac_cv_header_krb_h" = x""yes; then : 13832 if test "x$ac_cv_header_krb_h" = xyes; then :
13813 cat >>confdefs.h <<_ACEOF 13833 cat >>confdefs.h <<_ACEOF
13814 #define HAVE_KRB_H 1 13834 #define HAVE_KRB_H 1
13815 _ACEOF 13835 _ACEOF
13816 13836
13817 else 13837 else
13818 for ac_header in kerberosIV/krb.h 13838 for ac_header in kerberosIV/krb.h
13819 do : 13839 do :
13820 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 13840 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
13821 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 13841 if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
13822 cat >>confdefs.h <<_ACEOF 13842 cat >>confdefs.h <<_ACEOF
13823 #define HAVE_KERBEROSIV_KRB_H 1 13843 #define HAVE_KERBEROSIV_KRB_H 1
13824 _ACEOF 13844 _ACEOF
13825 13845
13826 else 13846 else
13827 for ac_header in kerberos/krb.h 13847 for ac_header in kerberos/krb.h
13828 do : 13848 do :
13829 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 13849 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
13830 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 13850 if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
13831 cat >>confdefs.h <<_ACEOF 13851 cat >>confdefs.h <<_ACEOF
13832 #define HAVE_KERBEROS_KRB_H 1 13852 #define HAVE_KERBEROS_KRB_H 1
13833 _ACEOF 13853 _ACEOF
13834 13854
13835 fi 13855 fi
13846 13866
13847 fi 13867 fi
13848 for ac_header in com_err.h 13868 for ac_header in com_err.h
13849 do : 13869 do :
13850 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 13870 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
13851 if test "x$ac_cv_header_com_err_h" = x""yes; then : 13871 if test "x$ac_cv_header_com_err_h" = xyes; then :
13852 cat >>confdefs.h <<_ACEOF 13872 cat >>confdefs.h <<_ACEOF
13853 #define HAVE_COM_ERR_H 1 13873 #define HAVE_COM_ERR_H 1
13854 _ACEOF 13874 _ACEOF
13855 13875
13856 fi 13876 fi
13867 13887
13868 # Solaris requires -lintl if you want strerror (which calls dgettext) 13888 # Solaris requires -lintl if you want strerror (which calls dgettext)
13869 # to return localized messages. 13889 # to return localized messages.
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13871 $as_echo_n "checking for dgettext in -lintl... " >&6; } 13891 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13872 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 13892 if ${ac_cv_lib_intl_dgettext+:} false; then :
13873 $as_echo_n "(cached) " >&6 13893 $as_echo_n "(cached) " >&6
13874 else 13894 else
13875 ac_check_lib_save_LIBS=$LIBS 13895 ac_check_lib_save_LIBS=$LIBS
13876 LIBS="-lintl $LIBS" 13896 LIBS="-lintl $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 conftest$ac_exeext conftest.$ac_ext 13921 conftest$ac_exeext conftest.$ac_ext
13902 LIBS=$ac_check_lib_save_LIBS 13922 LIBS=$ac_check_lib_save_LIBS
13903 fi 13923 fi
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13905 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } 13925 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13906 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 13926 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13907 cat >>confdefs.h <<_ACEOF 13927 cat >>confdefs.h <<_ACEOF
13908 #define HAVE_LIBINTL 1 13928 #define HAVE_LIBINTL 1
13909 _ACEOF 13929 _ACEOF
13910 13930
13911 LIBS="-lintl $LIBS" 13931 LIBS="-lintl $LIBS"
13913 fi 13933 fi
13914 13934
13915 13935
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
13917 $as_echo_n "checking whether localtime caches TZ... " >&6; } 13937 $as_echo_n "checking whether localtime caches TZ... " >&6; }
13918 if test "${emacs_cv_localtime_cache+set}" = set; then : 13938 if ${emacs_cv_localtime_cache+:} false; then :
13919 $as_echo_n "(cached) " >&6 13939 $as_echo_n "(cached) " >&6
13920 else 13940 else
13921 if test x$ac_cv_func_tzset = xyes; then 13941 if test x$ac_cv_func_tzset = xyes; then
13922 if test "$cross_compiling" = yes; then : 13942 if test "$cross_compiling" = yes; then :
13923 # If we have tzset, assume the worst when cross-compiling. 13943 # If we have tzset, assume the worst when cross-compiling.
13972 13992
13973 if test "x$HAVE_TIMEVAL" = xyes; then 13993 if test "x$HAVE_TIMEVAL" = xyes; then
13974 for ac_func in gettimeofday 13994 for ac_func in gettimeofday
13975 do : 13995 do :
13976 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 13996 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13977 if test "x$ac_cv_func_gettimeofday" = x""yes; then : 13997 if test "x$ac_cv_func_gettimeofday" = xyes; then :
13978 cat >>confdefs.h <<_ACEOF 13998 cat >>confdefs.h <<_ACEOF
13979 #define HAVE_GETTIMEOFDAY 1 13999 #define HAVE_GETTIMEOFDAY 1
13980 _ACEOF 14000 _ACEOF
13981 14001
13982 fi 14002 fi
13983 done 14003 done
13984 14004
13985 if test $ac_cv_func_gettimeofday = yes; then 14005 if test $ac_cv_func_gettimeofday = yes; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
13987 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 14007 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
13988 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 14008 if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
13989 $as_echo_n "(cached) " >&6 14009 $as_echo_n "(cached) " >&6
13990 else 14010 else
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */ 14012 /* end confdefs.h. */
13993 14013
14027 fi 14047 fi
14028 fi 14048 fi
14029 14049
14030 ok_so_far=yes 14050 ok_so_far=yes
14031 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 14051 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
14032 if test "x$ac_cv_func_socket" = x""yes; then : 14052 if test "x$ac_cv_func_socket" = xyes; then :
14033 14053
14034 else 14054 else
14035 ok_so_far=no 14055 ok_so_far=no
14036 fi 14056 fi
14037 14057
14038 if test $ok_so_far = yes; then 14058 if test $ok_so_far = yes; then
14039 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 14059 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14040 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 14060 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14041 14061
14042 else 14062 else
14043 ok_so_far=no 14063 ok_so_far=no
14044 fi 14064 fi
14045 14065
14046 14066
14047 fi 14067 fi
14048 if test $ok_so_far = yes; then 14068 if test $ok_so_far = yes; then
14049 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 14069 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
14050 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 14070 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14051 14071
14052 else 14072 else
14053 ok_so_far=no 14073 ok_so_far=no
14054 fi 14074 fi
14055 14075
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; } 14100 $as_echo "no" >&6; }
14081 fi 14101 fi
14082 14102
14083 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 14103 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14084 if test "x$ac_cv_type_pid_t" = x""yes; then : 14104 if test "x$ac_cv_type_pid_t" = xyes; then :
14085 14105
14086 else 14106 else
14087 14107
14088 cat >>confdefs.h <<_ACEOF 14108 cat >>confdefs.h <<_ACEOF
14089 #define pid_t int 14109 #define pid_t int
14092 fi 14112 fi
14093 14113
14094 for ac_header in vfork.h 14114 for ac_header in vfork.h
14095 do : 14115 do :
14096 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 14116 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14097 if test "x$ac_cv_header_vfork_h" = x""yes; then : 14117 if test "x$ac_cv_header_vfork_h" = xyes; then :
14098 cat >>confdefs.h <<_ACEOF 14118 cat >>confdefs.h <<_ACEOF
14099 #define HAVE_VFORK_H 1 14119 #define HAVE_VFORK_H 1
14100 _ACEOF 14120 _ACEOF
14101 14121
14102 fi 14122 fi
14116 done 14136 done
14117 14137
14118 if test "x$ac_cv_func_fork" = xyes; then 14138 if test "x$ac_cv_func_fork" = xyes; then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14120 $as_echo_n "checking for working fork... " >&6; } 14140 $as_echo_n "checking for working fork... " >&6; }
14121 if test "${ac_cv_func_fork_works+set}" = set; then : 14141 if ${ac_cv_func_fork_works+:} false; then :
14122 $as_echo_n "(cached) " >&6 14142 $as_echo_n "(cached) " >&6
14123 else 14143 else
14124 if test "$cross_compiling" = yes; then : 14144 if test "$cross_compiling" = yes; then :
14125 ac_cv_func_fork_works=cross 14145 ac_cv_func_fork_works=cross
14126 else 14146 else
14169 fi 14189 fi
14170 ac_cv_func_vfork_works=$ac_cv_func_vfork 14190 ac_cv_func_vfork_works=$ac_cv_func_vfork
14171 if test "x$ac_cv_func_vfork" = xyes; then 14191 if test "x$ac_cv_func_vfork" = xyes; then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14173 $as_echo_n "checking for working vfork... " >&6; } 14193 $as_echo_n "checking for working vfork... " >&6; }
14174 if test "${ac_cv_func_vfork_works+set}" = set; then : 14194 if ${ac_cv_func_vfork_works+:} false; then :
14175 $as_echo_n "(cached) " >&6 14195 $as_echo_n "(cached) " >&6
14176 else 14196 else
14177 if test "$cross_compiling" = yes; then : 14197 if test "$cross_compiling" = yes; then :
14178 ac_cv_func_vfork_works=cross 14198 ac_cv_func_vfork_works=cross
14179 else 14199 else
14305 fi 14325 fi
14306 14326
14307 14327
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14309 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 14329 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14310 if test "${emacs_cv_langinfo_codeset+set}" = set; then : 14330 if ${emacs_cv_langinfo_codeset+:} false; then :
14311 $as_echo_n "(cached) " >&6 14331 $as_echo_n "(cached) " >&6
14312 else 14332 else
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */ 14334 /* end confdefs.h. */
14315 #include <langinfo.h> 14335 #include <langinfo.h>
14337 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 14357 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14338 14358
14339 fi 14359 fi
14340 14360
14341 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 14361 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14342 if test "x$ac_cv_type_size_t" = x""yes; then : 14362 if test "x$ac_cv_type_size_t" = xyes; then :
14343 14363
14344 cat >>confdefs.h <<_ACEOF 14364 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_SIZE_T 1 14365 #define HAVE_SIZE_T 1
14346 _ACEOF 14366 _ACEOF
14347 14367
14349 fi 14369 fi
14350 14370
14351 14371
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
14353 $as_echo_n "checking for mbstate_t... " >&6; } 14373 $as_echo_n "checking for mbstate_t... " >&6; }
14354 if test "${ac_cv_type_mbstate_t+set}" = set; then : 14374 if ${ac_cv_type_mbstate_t+:} false; then :
14355 $as_echo_n "(cached) " >&6 14375 $as_echo_n "(cached) " >&6
14356 else 14376 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */ 14378 /* end confdefs.h. */
14359 $ac_includes_default 14379 $ac_includes_default
14385 14405
14386 fi 14406 fi
14387 14407
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
14389 $as_echo_n "checking for C restrict keyword... " >&6; } 14409 $as_echo_n "checking for C restrict keyword... " >&6; }
14390 if test "${emacs_cv_c_restrict+set}" = set; then : 14410 if ${emacs_cv_c_restrict+:} false; then :
14391 $as_echo_n "(cached) " >&6 14411 $as_echo_n "(cached) " >&6
14392 else 14412 else
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */ 14414 /* end confdefs.h. */
14395 void fred (int *restrict x); 14415 void fred (int *restrict x);
14439 14459
14440 fi 14460 fi
14441 14461
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
14443 $as_echo_n "checking for C restricted array declarations... " >&6; } 14463 $as_echo_n "checking for C restricted array declarations... " >&6; }
14444 if test "${emacs_cv_c_restrict_arr+set}" = set; then : 14464 if ${emacs_cv_c_restrict_arr+:} false; then :
14445 $as_echo_n "(cached) " >&6 14465 $as_echo_n "(cached) " >&6
14446 else 14466 else
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */ 14468 /* end confdefs.h. */
14449 void fred (int x[__restrict]); 14469 void fred (int x[__restrict]);
14893 echo " 14913 echo "
14894 Configured for \`${canonical}'. 14914 Configured for \`${canonical}'.
14895 14915
14896 Where should the build process find the source code? ${srcdir} 14916 Where should the build process find the source code? ${srcdir}
14897 What operating system and machine description files should Emacs use? 14917 What operating system and machine description files should Emacs use?
14898 \`${opsysfile}' and \`${machfile:+${machfile}}${machfile:-none}' 14918 \`${opsysfile}'${machfile:+ and \`${machfile}'}
14899 What compiler should emacs be built with? ${CC} ${CFLAGS} 14919 What compiler should emacs be built with? ${CC} ${CFLAGS}
14900 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 14920 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
14901 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} 14921 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
14902 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers 14922 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
14903 What window system should Emacs use? ${window_system} 14923 What window system should Emacs use? ${window_system}
15033 t end 15053 t end
15034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15035 :end' >>confcache 15055 :end' >>confcache
15036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15037 if test -w "$cache_file"; then 15057 if test -w "$cache_file"; then
15038 test "x$cache_file" != "x/dev/null" && 15058 if test "x$cache_file" != "x/dev/null"; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15059 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15040 $as_echo "$as_me: updating cache $cache_file" >&6;} 15060 $as_echo "$as_me: updating cache $cache_file" >&6;}
15041 cat confcache >$cache_file 15061 if test ! -f "$cache_file" || test -h "$cache_file"; then
15062 cat confcache >"$cache_file"
15063 else
15064 case $cache_file in #(
15065 */* | ?:*)
15066 mv -f confcache "$cache_file"$$ &&
15067 mv -f "$cache_file"$$ "$cache_file" ;; #(
15068 *)
15069 mv -f confcache "$cache_file" ;;
15070 esac
15071 fi
15072 fi
15042 else 15073 else
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15074 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15044 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15075 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15045 fi 15076 fi
15046 fi 15077 fi
15069 LTLIBOBJS=$ac_ltlibobjs 15100 LTLIBOBJS=$ac_ltlibobjs
15070 15101
15071 15102
15072 15103
15073 15104
15074 : ${CONFIG_STATUS=./config.status} 15105 : "${CONFIG_STATUS=./config.status}"
15075 ac_write_fail=0 15106 ac_write_fail=0
15076 ac_clean_files_save=$ac_clean_files 15107 ac_clean_files_save=$ac_clean_files
15077 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15108 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15110 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15201 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15171 # splitting by setting IFS to empty value.) 15202 # splitting by setting IFS to empty value.)
15172 IFS=" "" $as_nl" 15203 IFS=" "" $as_nl"
15173 15204
15174 # Find who we are. Look in the path if we contain no directory separator. 15205 # Find who we are. Look in the path if we contain no directory separator.
15206 as_myself=
15175 case $0 in #(( 15207 case $0 in #((
15176 *[\\/]* ) as_myself=$0 ;; 15208 *[\\/]* ) as_myself=$0 ;;
15177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15209 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15178 for as_dir in $PATH 15210 for as_dir in $PATH
15179 do 15211 do
15477 # Save the log message, to keep $0 and so on meaningful, and to 15509 # Save the log message, to keep $0 and so on meaningful, and to
15478 # report actual input values of CONFIG_FILES etc. instead of their 15510 # report actual input values of CONFIG_FILES etc. instead of their
15479 # values after options handling. 15511 # values after options handling.
15480 ac_log=" 15512 ac_log="
15481 This file was extended by emacs $as_me 24.0.50, which was 15513 This file was extended by emacs $as_me 24.0.50, which was
15482 generated by GNU Autoconf 2.67. Invocation command line was 15514 generated by GNU Autoconf 2.68. Invocation command line was
15483 15515
15484 CONFIG_FILES = $CONFIG_FILES 15516 CONFIG_FILES = $CONFIG_FILES
15485 CONFIG_HEADERS = $CONFIG_HEADERS 15517 CONFIG_HEADERS = $CONFIG_HEADERS
15486 CONFIG_LINKS = $CONFIG_LINKS 15518 CONFIG_LINKS = $CONFIG_LINKS
15487 CONFIG_COMMANDS = $CONFIG_COMMANDS 15519 CONFIG_COMMANDS = $CONFIG_COMMANDS
15543 _ACEOF 15575 _ACEOF
15544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15545 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15577 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15546 ac_cs_version="\\ 15578 ac_cs_version="\\
15547 emacs config.status 24.0.50 15579 emacs config.status 24.0.50
15548 configured by $0, generated by GNU Autoconf 2.67, 15580 configured by $0, generated by GNU Autoconf 2.68,
15549 with options \\"\$ac_cs_config\\" 15581 with options \\"\$ac_cs_config\\"
15550 15582
15551 Copyright (C) 2010 Free Software Foundation, Inc. 15583 Copyright (C) 2010 Free Software Foundation, Inc.
15552 This config.status script is free software; the Free Software Foundation 15584 This config.status script is free software; the Free Software Foundation
15553 gives unlimited permission to copy, distribute and modify it." 15585 gives unlimited permission to copy, distribute and modify it."
15706 # Hook for its removal unless debugging. 15738 # Hook for its removal unless debugging.
15707 # Note that there is a small window in which the directory will not be cleaned: 15739 # Note that there is a small window in which the directory will not be cleaned:
15708 # after its creation but before its name has been assigned to `$tmp'. 15740 # after its creation but before its name has been assigned to `$tmp'.
15709 $debug || 15741 $debug ||
15710 { 15742 {
15711 tmp= 15743 tmp= ac_tmp=
15712 trap 'exit_status=$? 15744 trap 'exit_status=$?
15713 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15745 : "${ac_tmp:=$tmp}"
15746 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15714 ' 0 15747 ' 0
15715 trap 'as_fn_exit 1' 1 2 13 15 15748 trap 'as_fn_exit 1' 1 2 13 15
15716 } 15749 }
15717 # Create a (secure) tmp directory for tmp files. 15750 # Create a (secure) tmp directory for tmp files.
15718 15751
15719 { 15752 {
15720 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15753 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15721 test -n "$tmp" && test -d "$tmp" 15754 test -d "$tmp"
15722 } || 15755 } ||
15723 { 15756 {
15724 tmp=./conf$$-$RANDOM 15757 tmp=./conf$$-$RANDOM
15725 (umask 077 && mkdir "$tmp") 15758 (umask 077 && mkdir "$tmp")
15726 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15759 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15760 ac_tmp=$tmp
15727 15761
15728 # Set up the scripts for CONFIG_FILES section. 15762 # Set up the scripts for CONFIG_FILES section.
15729 # No need to generate them if there are no CONFIG_FILES. 15763 # No need to generate them if there are no CONFIG_FILES.
15730 # This happens for instance with `./config.status config.h'. 15764 # This happens for instance with `./config.status config.h'.
15731 if test -n "$CONFIG_FILES"; then 15765 if test -n "$CONFIG_FILES"; then
15760 ac_cs_awk_cr='\\r' 15794 ac_cs_awk_cr='\\r'
15761 else 15795 else
15762 ac_cs_awk_cr=$ac_cr 15796 ac_cs_awk_cr=$ac_cr
15763 fi 15797 fi
15764 15798
15765 echo 'BEGIN {' >"$tmp/subs1.awk" && 15799 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15766 _ACEOF 15800 _ACEOF
15767 15801
15768 # Create commands to substitute file output variables. 15802 # Create commands to substitute file output variables.
15769 { 15803 {
15770 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 15804 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15771 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 15805 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15772 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15806 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15773 echo "_ACAWK" && 15807 echo "_ACAWK" &&
15774 echo "_ACEOF" 15808 echo "_ACEOF"
15775 } >conf$$files.sh && 15809 } >conf$$files.sh &&
15776 . ./conf$$files.sh || 15810 . ./conf$$files.sh ||
15799 fi 15833 fi
15800 done 15834 done
15801 rm -f conf$$subs.sh 15835 rm -f conf$$subs.sh
15802 15836
15803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15804 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15838 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15805 _ACEOF 15839 _ACEOF
15806 sed -n ' 15840 sed -n '
15807 h 15841 h
15808 s/^/S["/; s/!.*/"]=/ 15842 s/^/S["/; s/!.*/"]=/
15809 p 15843 p
15847 } 15881 }
15848 ' >>$CONFIG_STATUS || ac_write_fail=1 15882 ' >>$CONFIG_STATUS || ac_write_fail=1
15849 rm -f conf$$subs.awk 15883 rm -f conf$$subs.awk
15850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15851 _ACAWK 15885 _ACAWK
15852 cat >>"\$tmp/subs1.awk" <<_ACAWK && 15886 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15853 for (key in S) S_is_set[key] = 1 15887 for (key in S) S_is_set[key] = 1
15854 FS = "" 15888 FS = ""
15855 \$ac_cs_awk_pipe_init 15889 \$ac_cs_awk_pipe_init
15856 } 15890 }
15857 { 15891 {
15885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15886 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15920 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15887 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15921 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15888 else 15922 else
15889 cat 15923 cat
15890 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15924 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15891 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15925 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15892 _ACEOF 15926 _ACEOF
15893 15927
15894 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15928 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15895 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15929 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15919 15953
15920 # Set up the scripts for CONFIG_HEADERS section. 15954 # Set up the scripts for CONFIG_HEADERS section.
15921 # No need to generate them if there are no CONFIG_HEADERS. 15955 # No need to generate them if there are no CONFIG_HEADERS.
15922 # This happens for instance with `./config.status Makefile'. 15956 # This happens for instance with `./config.status Makefile'.
15923 if test -n "$CONFIG_HEADERS"; then 15957 if test -n "$CONFIG_HEADERS"; then
15924 cat >"$tmp/defines.awk" <<\_ACAWK || 15958 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15925 BEGIN { 15959 BEGIN {
15926 _ACEOF 15960 _ACEOF
15927 15961
15928 # Transform confdefs.h into an awk script `defines.awk', embedded as 15962 # Transform confdefs.h into an awk script `defines.awk', embedded as
15929 # here-document in config.status, that substitutes the proper values into 15963 # here-document in config.status, that substitutes the proper values into
15931 15965
15932 # Create a delimiter string that does not exist in confdefs.h, to ease 15966 # Create a delimiter string that does not exist in confdefs.h, to ease
15933 # handling of long lines. 15967 # handling of long lines.
15934 ac_delim='%!_!# ' 15968 ac_delim='%!_!# '
15935 for ac_last_try in false false :; do 15969 for ac_last_try in false false :; do
15936 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15970 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15937 if test -z "$ac_t"; then 15971 if test -z "$ac_tt"; then
15938 break 15972 break
15939 elif $ac_last_try; then 15973 elif $ac_last_try; then
15940 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15974 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15941 else 15975 else
15942 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15976 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16052 :[FH]) 16086 :[FH])
16053 ac_file_inputs= 16087 ac_file_inputs=
16054 for ac_f 16088 for ac_f
16055 do 16089 do
16056 case $ac_f in 16090 case $ac_f in
16057 -) ac_f="$tmp/stdin";; 16091 -) ac_f="$ac_tmp/stdin";;
16058 *) # Look for the file first in the build tree, then in the source tree 16092 *) # Look for the file first in the build tree, then in the source tree
16059 # (if the path is not absolute). The absolute path cannot be DOS-style, 16093 # (if the path is not absolute). The absolute path cannot be DOS-style,
16060 # because $ac_f cannot contain `:'. 16094 # because $ac_f cannot contain `:'.
16061 test -f "$ac_f" || 16095 test -f "$ac_f" ||
16062 case $ac_f in 16096 case $ac_f in
16087 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16121 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16088 *) ac_sed_conf_input=$configure_input;; 16122 *) ac_sed_conf_input=$configure_input;;
16089 esac 16123 esac
16090 16124
16091 case $ac_tag in 16125 case $ac_tag in
16092 *:-:* | *:-) cat >"$tmp/stdin" \ 16126 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16094 esac 16128 esac
16095 ;; 16129 ;;
16096 esac 16130 esac
16097 16131
16220 s&@INSTALL@&$ac_INSTALL&;t t 16254 s&@INSTALL@&$ac_INSTALL&;t t
16221 $ac_datarootdir_hack 16255 $ac_datarootdir_hack
16222 " 16256 "
16223 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 16257 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16224 if $ac_cs_awk_getline; then 16258 if $ac_cs_awk_getline; then
16225 $AWK -f "$tmp/subs.awk" 16259 $AWK -f "$ac_tmp/subs.awk"
16226 else 16260 else
16227 $AWK -f "$tmp/subs.awk" | $SHELL 16261 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16228 fi >$tmp/out \ 16262 fi \
16229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16263 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16230 16264
16231 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16265 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16232 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16266 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16233 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16268 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16235 which seems to be undefined. Please make sure it is defined" >&5 16270 which seems to be undefined. Please make sure it is defined" >&5
16236 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16271 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16237 which seems to be undefined. Please make sure it is defined" >&2;} 16272 which seems to be undefined. Please make sure it is defined" >&2;}
16238 16273
16239 rm -f "$tmp/stdin" 16274 rm -f "$ac_tmp/stdin"
16240 case $ac_file in 16275 case $ac_file in
16241 -) cat "$tmp/out" && rm -f "$tmp/out";; 16276 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16242 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16277 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16243 esac \ 16278 esac \
16244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16245 ;; 16280 ;;
16246 :H) 16281 :H)
16247 # 16282 #
16248 # CONFIG_HEADER 16283 # CONFIG_HEADER
16249 # 16284 #
16250 if test x"$ac_file" != x-; then 16285 if test x"$ac_file" != x-; then
16251 { 16286 {
16252 $as_echo "/* $configure_input */" \ 16287 $as_echo "/* $configure_input */" \
16253 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16288 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16254 } >"$tmp/config.h" \ 16289 } >"$ac_tmp/config.h" \
16255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16256 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16291 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16292 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16258 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16293 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16259 else 16294 else
16260 rm -f "$ac_file" 16295 rm -f "$ac_file"
16261 mv "$tmp/config.h" "$ac_file" \ 16296 mv "$ac_tmp/config.h" "$ac_file" \
16262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16263 fi 16298 fi
16264 else 16299 else
16265 $as_echo "/* $configure_input */" \ 16300 $as_echo "/* $configure_input */" \
16266 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16301 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16267 || as_fn_error $? "could not create -" "$LINENO" 5 16302 || as_fn_error $? "could not create -" "$LINENO" 5
16268 fi 16303 fi
16269 ;; 16304 ;;
16270 16305
16271 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16306 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5