comparison configure @ 112450:16ddab338c43

Remove HAVE_RAW_DECL_CHOWN etc. from config.h
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 23 Jan 2011 20:53:39 -0800
parents 3c76e72abd5d
children
comparison
equal deleted inserted replaced
112447:bcecab2ad22d 112450:16ddab338c43
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."
1030 CFLAGS 1038 CFLAGS
1031 LDFLAGS 1039 LDFLAGS
1032 LIBS 1040 LIBS
1033 CPPFLAGS 1041 CPPFLAGS
1034 CPP 1042 CPP
1043 CPPFLAGS
1044 CPP
1045 CPPFLAGS
1035 XMKMF' 1046 XMKMF'
1036 1047
1037 1048
1038 # Initialize some variables set by options. 1049 # Initialize some variables set by options.
1039 ac_init_help= 1050 ac_init_help=
1435 *) 1446 *)
1436 # FIXME: should be removed in autoconf 3.0. 1447 # FIXME: should be removed in autoconf 3.0.
1437 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1448 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1438 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1439 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1450 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1440 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1451 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1441 ;; 1452 ;;
1442 1453
1443 esac 1454 esac
1444 done 1455 done
1445 1456
1809 1820
1810 test -n "$ac_init_help" && exit $ac_status 1821 test -n "$ac_init_help" && exit $ac_status
1811 if $ac_init_version; then 1822 if $ac_init_version; then
1812 cat <<\_ACEOF 1823 cat <<\_ACEOF
1813 emacs configure 24.0.50 1824 emacs configure 24.0.50
1814 generated by GNU Autoconf 2.67 1825 generated by GNU Autoconf 2.68
1815 1826
1816 Copyright (C) 2010 Free Software Foundation, Inc. 1827 Copyright (C) 2010 Free Software Foundation, Inc.
1817 This configure script is free software; the Free Software Foundation 1828 This configure script is free software; the Free Software Foundation
1818 gives unlimited permission to copy, distribute and modify it. 1829 gives unlimited permission to copy, distribute and modify it.
1819 _ACEOF 1830 _ACEOF
1855 $as_echo "$as_me: failed program was:" >&5 1866 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5 1867 sed 's/^/| /' conftest.$ac_ext >&5
1857 1868
1858 ac_retval=1 1869 ac_retval=1
1859 fi 1870 fi
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval 1872 as_fn_set_status $ac_retval
1862 1873
1863 } # ac_fn_c_try_compile 1874 } # ac_fn_c_try_compile
1864 1875
1865 # ac_fn_c_try_cpp LINENO 1876 # ac_fn_c_try_cpp LINENO
1892 $as_echo "$as_me: failed program was:" >&5 1903 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5 1904 sed 's/^/| /' conftest.$ac_ext >&5
1894 1905
1895 ac_retval=1 1906 ac_retval=1
1896 fi 1907 fi
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 as_fn_set_status $ac_retval 1909 as_fn_set_status $ac_retval
1899 1910
1900 } # ac_fn_c_try_cpp 1911 } # ac_fn_c_try_cpp
1901 1912
1902 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1913 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1905 # the include files in INCLUDES and setting the cache variable VAR 1916 # the include files in INCLUDES and setting the cache variable VAR
1906 # accordingly. 1917 # accordingly.
1907 ac_fn_c_check_header_mongrel () 1918 ac_fn_c_check_header_mongrel ()
1908 { 1919 {
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 if eval "test \"\${$3+set}\"" = set; then : 1921 if eval \${$3+:} false; then :
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; } 1923 $as_echo_n "checking for $2... " >&6; }
1913 if eval "test \"\${$3+set}\"" = set; then : 1924 if eval \${$3+:} false; then :
1914 $as_echo_n "(cached) " >&6 1925 $as_echo_n "(cached) " >&6
1915 fi 1926 fi
1916 eval ac_res=\$$3 1927 eval ac_res=\$$3
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; } 1929 $as_echo "$ac_res" >&6; }
1971 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 ;; 1983 ;;
1973 esac 1984 esac
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; } 1986 $as_echo_n "checking for $2... " >&6; }
1976 if eval "test \"\${$3+set}\"" = set; then : 1987 if eval \${$3+:} false; then :
1977 $as_echo_n "(cached) " >&6 1988 $as_echo_n "(cached) " >&6
1978 else 1989 else
1979 eval "$3=\$ac_header_compiler" 1990 eval "$3=\$ac_header_compiler"
1980 fi 1991 fi
1981 eval ac_res=\$$3 1992 eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; } 1994 $as_echo "$ac_res" >&6; }
1984 fi 1995 fi
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 1997
1987 } # ac_fn_c_check_header_mongrel 1998 } # ac_fn_c_check_header_mongrel
1988 1999
1989 # ac_fn_c_try_run LINENO 2000 # ac_fn_c_try_run LINENO
1990 # ---------------------- 2001 # ----------------------
2021 sed 's/^/| /' conftest.$ac_ext >&5 2032 sed 's/^/| /' conftest.$ac_ext >&5
2022 2033
2023 ac_retval=$ac_status 2034 ac_retval=$ac_status
2024 fi 2035 fi
2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2036 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 as_fn_set_status $ac_retval 2038 as_fn_set_status $ac_retval
2028 2039
2029 } # ac_fn_c_try_run 2040 } # ac_fn_c_try_run
2030 2041
2031 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2042 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2035 ac_fn_c_check_header_compile () 2046 ac_fn_c_check_header_compile ()
2036 { 2047 {
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; } 2050 $as_echo_n "checking for $2... " >&6; }
2040 if eval "test \"\${$3+set}\"" = set; then : 2051 if eval \${$3+:} false; then :
2041 $as_echo_n "(cached) " >&6 2052 $as_echo_n "(cached) " >&6
2042 else 2053 else
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */ 2055 /* end confdefs.h. */
2045 $4 2056 $4
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 fi 2065 fi
2055 eval ac_res=\$$3 2066 eval ac_res=\$$3
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; } 2068 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 2070
2060 } # ac_fn_c_check_header_compile 2071 } # ac_fn_c_check_header_compile
2061 2072
2062 # ac_fn_c_try_link LINENO 2073 # ac_fn_c_try_link LINENO
2063 # ----------------------- 2074 # -----------------------
2098 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2109 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2099 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2110 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2100 # interfere with the next link command; also delete a directory that is 2111 # interfere with the next link command; also delete a directory that is
2101 # left behind by Apple's compiler. We do this before executing the actions. 2112 # left behind by Apple's compiler. We do this before executing the actions.
2102 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2113 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104 as_fn_set_status $ac_retval 2115 as_fn_set_status $ac_retval
2105 2116
2106 } # ac_fn_c_try_link 2117 } # ac_fn_c_try_link
2107 2118
2108 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2119 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 as_decl_name=`echo $2|sed 's/ *(.*//'` 2126 as_decl_name=`echo $2|sed 's/ *(.*//'`
2116 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2127 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2118 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2129 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2119 if eval "test \"\${$3+set}\"" = set; then : 2130 if eval \${$3+:} false; then :
2120 $as_echo_n "(cached) " >&6 2131 $as_echo_n "(cached) " >&6
2121 else 2132 else
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */ 2134 /* end confdefs.h. */
2124 $4 2135 $4
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146 fi 2157 fi
2147 eval ac_res=\$$3 2158 eval ac_res=\$$3
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149 $as_echo "$ac_res" >&6; } 2160 $as_echo "$ac_res" >&6; }
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151 2162
2152 } # ac_fn_c_check_decl 2163 } # ac_fn_c_check_decl
2153 2164
2154 # ac_fn_c_check_header_preproc LINENO HEADER VAR 2165 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2155 # ---------------------------------------------- 2166 # ----------------------------------------------
2157 ac_fn_c_check_header_preproc () 2168 ac_fn_c_check_header_preproc ()
2158 { 2169 {
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; } 2172 $as_echo_n "checking for $2... " >&6; }
2162 if eval "test \"\${$3+set}\"" = set; then : 2173 if eval \${$3+:} false; then :
2163 $as_echo_n "(cached) " >&6 2174 $as_echo_n "(cached) " >&6
2164 else 2175 else
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */ 2177 /* end confdefs.h. */
2167 #include <$2> 2178 #include <$2>
2174 rm -f conftest.err conftest.i conftest.$ac_ext 2185 rm -f conftest.err conftest.i conftest.$ac_ext
2175 fi 2186 fi
2176 eval ac_res=\$$3 2187 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; } 2189 $as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2180 2191
2181 } # ac_fn_c_check_header_preproc 2192 } # ac_fn_c_check_header_preproc
2182 2193
2183 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2184 # ---------------------------------------------------- 2195 # ----------------------------------------------------
2187 ac_fn_c_check_member () 2198 ac_fn_c_check_member ()
2188 { 2199 {
2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2191 $as_echo_n "checking for $2.$3... " >&6; } 2202 $as_echo_n "checking for $2.$3... " >&6; }
2192 if eval "test \"\${$4+set}\"" = set; then : 2203 if eval \${$4+:} false; then :
2193 $as_echo_n "(cached) " >&6 2204 $as_echo_n "(cached) " >&6
2194 else 2205 else
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */ 2207 /* end confdefs.h. */
2197 $5 2208 $5
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 fi 2243 fi
2233 eval ac_res=\$$4 2244 eval ac_res=\$$4
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; } 2246 $as_echo "$ac_res" >&6; }
2236 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2247 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 2248
2238 } # ac_fn_c_check_member 2249 } # ac_fn_c_check_member
2239 2250
2240 # ac_fn_c_check_func LINENO FUNC VAR 2251 # ac_fn_c_check_func LINENO FUNC VAR
2241 # ---------------------------------- 2252 # ----------------------------------
2243 ac_fn_c_check_func () 2254 ac_fn_c_check_func ()
2244 { 2255 {
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2247 $as_echo_n "checking for $2... " >&6; } 2258 $as_echo_n "checking for $2... " >&6; }
2248 if eval "test \"\${$3+set}\"" = set; then : 2259 if eval \${$3+:} false; then :
2249 $as_echo_n "(cached) " >&6 2260 $as_echo_n "(cached) " >&6
2250 else 2261 else
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */ 2263 /* end confdefs.h. */
2253 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2264 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2298 conftest$ac_exeext conftest.$ac_ext 2309 conftest$ac_exeext conftest.$ac_ext
2299 fi 2310 fi
2300 eval ac_res=\$$3 2311 eval ac_res=\$$3
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2302 $as_echo "$ac_res" >&6; } 2313 $as_echo "$ac_res" >&6; }
2303 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304 2315
2305 } # ac_fn_c_check_func 2316 } # ac_fn_c_check_func
2306 2317
2307 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2318 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2308 # ------------------------------------------- 2319 # -------------------------------------------
2311 ac_fn_c_check_type () 2322 ac_fn_c_check_type ()
2312 { 2323 {
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2315 $as_echo_n "checking for $2... " >&6; } 2326 $as_echo_n "checking for $2... " >&6; }
2316 if eval "test \"\${$3+set}\"" = set; then : 2327 if eval \${$3+:} false; then :
2317 $as_echo_n "(cached) " >&6 2328 $as_echo_n "(cached) " >&6
2318 else 2329 else
2319 eval "$3=no" 2330 eval "$3=no"
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */ 2332 /* end confdefs.h. */
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 fi 2364 fi
2354 eval ac_res=\$$3 2365 eval ac_res=\$$3
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; } 2367 $as_echo "$ac_res" >&6; }
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 2369
2359 } # ac_fn_c_check_type 2370 } # ac_fn_c_check_type
2360 cat >config.log <<_ACEOF 2371 cat >config.log <<_ACEOF
2361 This file contains any messages produced by compilers while 2372 This file contains any messages produced by compilers while
2362 running configure, to aid debugging if configure makes a mistake. 2373 running configure, to aid debugging if configure makes a mistake.
2363 2374
2364 It was created by emacs $as_me 24.0.50, which was 2375 It was created by emacs $as_me 24.0.50, which was
2365 generated by GNU Autoconf 2.67. Invocation command line was 2376 generated by GNU Autoconf 2.68. Invocation command line was
2366 2377
2367 $ $0 $@ 2378 $ $0 $@
2368 2379
2369 _ACEOF 2380 _ACEOF
2370 exec 5>>config.log 2381 exec 5>>config.log
2618 sed 's/^/| /' "$ac_site_file" >&5 2629 sed 's/^/| /' "$ac_site_file" >&5
2619 . "$ac_site_file" \ 2630 . "$ac_site_file" \
2620 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2631 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2622 as_fn_error $? "failed to load site script $ac_site_file 2633 as_fn_error $? "failed to load site script $ac_site_file
2623 See \`config.log' for more details" "$LINENO" 5 ; } 2634 See \`config.log' for more details" "$LINENO" 5; }
2624 fi 2635 fi
2625 done 2636 done
2626 2637
2627 if test -r "$cache_file"; then 2638 if test -r "$cache_file"; then
2628 # Some versions of bash will fail to source /dev/null (special files 2639 # Some versions of bash will fail to source /dev/null (special files
2766 # ./install, which can be erroneously created by make from ./install.sh. 2777 # ./install, which can be erroneously created by make from ./install.sh.
2767 # Reject install programs that cannot install multiple files. 2778 # Reject install programs that cannot install multiple files.
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2769 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2780 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2770 if test -z "$INSTALL"; then 2781 if test -z "$INSTALL"; then
2771 if test "${ac_cv_path_install+set}" = set; then : 2782 if ${ac_cv_path_install+:} false; then :
2772 $as_echo_n "(cached) " >&6 2783 $as_echo_n "(cached) " >&6
2773 else 2784 else
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 for as_dir in $PATH 2786 for as_dir in $PATH
2776 do 2787 do
2853 # name. Accept space and tab only in the latter. 2864 # name. Accept space and tab only in the latter.
2854 am_lf=' 2865 am_lf='
2855 ' 2866 '
2856 case `pwd` in 2867 case `pwd` in
2857 *[\\\"\#\$\&\'\`$am_lf]*) 2868 *[\\\"\#\$\&\'\`$am_lf]*)
2858 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2869 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2859 esac 2870 esac
2860 case $srcdir in 2871 case $srcdir in
2861 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2872 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2862 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2873 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2863 esac 2874 esac
2864 2875
2865 # Do `set' in a subshell so we don't clobber the current shell's 2876 # Do `set' in a subshell so we don't clobber the current shell's
2866 # arguments. Must try -L first in case configure is actually a 2877 # arguments. Must try -L first in case configure is actually a
2867 # symlink; some systems play weird games with the mod time of symlinks 2878 # symlink; some systems play weird games with the mod time of symlinks
2943 if test -n "$ac_tool_prefix"; then 2954 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2955 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2945 set dummy ${ac_tool_prefix}strip; ac_word=$2 2956 set dummy ${ac_tool_prefix}strip; ac_word=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; } 2958 $as_echo_n "checking for $ac_word... " >&6; }
2948 if test "${ac_cv_prog_STRIP+set}" = set; then : 2959 if ${ac_cv_prog_STRIP+:} false; then :
2949 $as_echo_n "(cached) " >&6 2960 $as_echo_n "(cached) " >&6
2950 else 2961 else
2951 if test -n "$STRIP"; then 2962 if test -n "$STRIP"; then
2952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2963 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2953 else 2964 else
2983 ac_ct_STRIP=$STRIP 2994 ac_ct_STRIP=$STRIP
2984 # Extract the first word of "strip", so it can be a program name with args. 2995 # Extract the first word of "strip", so it can be a program name with args.
2985 set dummy strip; ac_word=$2 2996 set dummy strip; ac_word=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; } 2998 $as_echo_n "checking for $ac_word... " >&6; }
2988 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2999 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2989 $as_echo_n "(cached) " >&6 3000 $as_echo_n "(cached) " >&6
2990 else 3001 else
2991 if test -n "$ac_ct_STRIP"; then 3002 if test -n "$ac_ct_STRIP"; then
2992 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3003 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2993 else 3004 else
3036 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3047 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3037 3048
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3039 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3050 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3040 if test -z "$MKDIR_P"; then 3051 if test -z "$MKDIR_P"; then
3041 if test "${ac_cv_path_mkdir+set}" = set; then : 3052 if ${ac_cv_path_mkdir+:} false; then :
3042 $as_echo_n "(cached) " >&6 3053 $as_echo_n "(cached) " >&6
3043 else 3054 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3056 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3046 do 3057 do
3088 do 3099 do
3089 # Extract the first word of "$ac_prog", so it can be a program name with args. 3100 # Extract the first word of "$ac_prog", so it can be a program name with args.
3090 set dummy $ac_prog; ac_word=$2 3101 set dummy $ac_prog; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; } 3103 $as_echo_n "checking for $ac_word... " >&6; }
3093 if test "${ac_cv_prog_AWK+set}" = set; then : 3104 if ${ac_cv_prog_AWK+:} false; then :
3094 $as_echo_n "(cached) " >&6 3105 $as_echo_n "(cached) " >&6
3095 else 3106 else
3096 if test -n "$AWK"; then 3107 if test -n "$AWK"; then
3097 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3108 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3098 else 3109 else
3128 3139
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3130 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3141 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3131 set x ${MAKE-make} 3142 set x ${MAKE-make}
3132 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3143 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3133 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3144 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3134 $as_echo_n "(cached) " >&6 3145 $as_echo_n "(cached) " >&6
3135 else 3146 else
3136 cat >conftest.make <<\_ACEOF 3147 cat >conftest.make <<\_ACEOF
3137 SHELL = /bin/sh 3148 SHELL = /bin/sh
3138 all: 3149 all:
3686 stringbytes) ac_gc_check_stringbytes=1 ;; 3697 stringbytes) ac_gc_check_stringbytes=1 ;;
3687 stringoverrun) ac_gc_check_string_overrun=1 ;; 3698 stringoverrun) ac_gc_check_string_overrun=1 ;;
3688 stringfreelist) ac_gc_check_string_free_list=1 ;; 3699 stringfreelist) ac_gc_check_string_free_list=1 ;;
3689 xmallocoverrun) ac_xmalloc_overrun=1 ;; 3700 xmallocoverrun) ac_xmalloc_overrun=1 ;;
3690 conslist) ac_gc_check_cons_list=1 ;; 3701 conslist) ac_gc_check_cons_list=1 ;;
3691 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; 3702 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
3692 esac 3703 esac
3693 done 3704 done
3694 IFS="$ac_save_IFS" 3705 IFS="$ac_save_IFS"
3695 3706
3696 if test x$ac_enable_checking != x ; then 3707 if test x$ac_enable_checking != x ; then
3805 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3816 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3806 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3817 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3807 3818
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3809 $as_echo_n "checking build system type... " >&6; } 3820 $as_echo_n "checking build system type... " >&6; }
3810 if test "${ac_cv_build+set}" = set; then : 3821 if ${ac_cv_build+:} false; then :
3811 $as_echo_n "(cached) " >&6 3822 $as_echo_n "(cached) " >&6
3812 else 3823 else
3813 ac_build_alias=$build_alias 3824 ac_build_alias=$build_alias
3814 test "x$ac_build_alias" = x && 3825 test "x$ac_build_alias" = x &&
3815 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3826 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3821 fi 3832 fi
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3823 $as_echo "$ac_cv_build" >&6; } 3834 $as_echo "$ac_cv_build" >&6; }
3824 case $ac_cv_build in 3835 case $ac_cv_build in
3825 *-*-*) ;; 3836 *-*-*) ;;
3826 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 3837 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3827 esac 3838 esac
3828 build=$ac_cv_build 3839 build=$ac_cv_build
3829 ac_save_IFS=$IFS; IFS='-' 3840 ac_save_IFS=$IFS; IFS='-'
3830 set x $ac_cv_build 3841 set x $ac_cv_build
3831 shift 3842 shift
3839 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3850 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3840 3851
3841 3852
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3843 $as_echo_n "checking host system type... " >&6; } 3854 $as_echo_n "checking host system type... " >&6; }
3844 if test "${ac_cv_host+set}" = set; then : 3855 if ${ac_cv_host+:} false; then :
3845 $as_echo_n "(cached) " >&6 3856 $as_echo_n "(cached) " >&6
3846 else 3857 else
3847 if test "x$host_alias" = x; then 3858 if test "x$host_alias" = x; then
3848 ac_cv_host=$ac_cv_build 3859 ac_cv_host=$ac_cv_build
3849 else 3860 else
3854 fi 3865 fi
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3856 $as_echo "$ac_cv_host" >&6; } 3867 $as_echo "$ac_cv_host" >&6; }
3857 case $ac_cv_host in 3868 case $ac_cv_host in
3858 *-*-*) ;; 3869 *-*-*) ;;
3859 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 3870 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3860 esac 3871 esac
3861 host=$ac_cv_host 3872 host=$ac_cv_host
3862 ac_save_IFS=$IFS; IFS='-' 3873 ac_save_IFS=$IFS; IFS='-'
3863 set x $ac_cv_host 3874 set x $ac_cv_host
3864 shift 3875 shift
4125 if test -n "$ac_tool_prefix"; then 4136 if test -n "$ac_tool_prefix"; then
4126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4127 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; } 4140 $as_echo_n "checking for $ac_word... " >&6; }
4130 if test "${ac_cv_prog_CC+set}" = set; then : 4141 if ${ac_cv_prog_CC+:} false; then :
4131 $as_echo_n "(cached) " >&6 4142 $as_echo_n "(cached) " >&6
4132 else 4143 else
4133 if test -n "$CC"; then 4144 if test -n "$CC"; then
4134 ac_cv_prog_CC="$CC" # Let the user override the test. 4145 ac_cv_prog_CC="$CC" # Let the user override the test.
4135 else 4146 else
4165 ac_ct_CC=$CC 4176 ac_ct_CC=$CC
4166 # Extract the first word of "gcc", so it can be a program name with args. 4177 # Extract the first word of "gcc", so it can be a program name with args.
4167 set dummy gcc; ac_word=$2 4178 set dummy gcc; ac_word=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; } 4180 $as_echo_n "checking for $ac_word... " >&6; }
4170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4171 $as_echo_n "(cached) " >&6 4182 $as_echo_n "(cached) " >&6
4172 else 4183 else
4173 if test -n "$ac_ct_CC"; then 4184 if test -n "$ac_ct_CC"; then
4174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4175 else 4186 else
4218 if test -n "$ac_tool_prefix"; then 4229 if test -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4230 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4220 set dummy ${ac_tool_prefix}cc; ac_word=$2 4231 set dummy ${ac_tool_prefix}cc; ac_word=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; } 4233 $as_echo_n "checking for $ac_word... " >&6; }
4223 if test "${ac_cv_prog_CC+set}" = set; then : 4234 if ${ac_cv_prog_CC+:} false; then :
4224 $as_echo_n "(cached) " >&6 4235 $as_echo_n "(cached) " >&6
4225 else 4236 else
4226 if test -n "$CC"; then 4237 if test -n "$CC"; then
4227 ac_cv_prog_CC="$CC" # Let the user override the test. 4238 ac_cv_prog_CC="$CC" # Let the user override the test.
4228 else 4239 else
4258 if test -z "$CC"; then 4269 if test -z "$CC"; then
4259 # Extract the first word of "cc", so it can be a program name with args. 4270 # Extract the first word of "cc", so it can be a program name with args.
4260 set dummy cc; ac_word=$2 4271 set dummy cc; ac_word=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; } 4273 $as_echo_n "checking for $ac_word... " >&6; }
4263 if test "${ac_cv_prog_CC+set}" = set; then : 4274 if ${ac_cv_prog_CC+:} false; then :
4264 $as_echo_n "(cached) " >&6 4275 $as_echo_n "(cached) " >&6
4265 else 4276 else
4266 if test -n "$CC"; then 4277 if test -n "$CC"; then
4267 ac_cv_prog_CC="$CC" # Let the user override the test. 4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4268 else 4279 else
4317 do 4328 do
4318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; } 4332 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_CC+set}" = set; then : 4333 if ${ac_cv_prog_CC+:} false; then :
4323 $as_echo_n "(cached) " >&6 4334 $as_echo_n "(cached) " >&6
4324 else 4335 else
4325 if test -n "$CC"; then 4336 if test -n "$CC"; then
4326 ac_cv_prog_CC="$CC" # Let the user override the test. 4337 ac_cv_prog_CC="$CC" # Let the user override the test.
4327 else 4338 else
4361 do 4372 do
4362 # Extract the first word of "$ac_prog", so it can be a program name with args. 4373 # Extract the first word of "$ac_prog", so it can be a program name with args.
4363 set dummy $ac_prog; ac_word=$2 4374 set dummy $ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; } 4376 $as_echo_n "checking for $ac_word... " >&6; }
4366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4367 $as_echo_n "(cached) " >&6 4378 $as_echo_n "(cached) " >&6
4368 else 4379 else
4369 if test -n "$ac_ct_CC"; then 4380 if test -n "$ac_ct_CC"; then
4370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4371 else 4382 else
4416 4427
4417 4428
4418 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4429 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 as_fn_error $? "no acceptable C compiler found in \$PATH 4431 as_fn_error $? "no acceptable C compiler found in \$PATH
4421 See \`config.log' for more details" "$LINENO" 5 ; } 4432 See \`config.log' for more details" "$LINENO" 5; }
4422 4433
4423 # Provide some information about the compiler. 4434 # Provide some information about the compiler.
4424 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4425 set X $ac_compile 4436 set X $ac_compile
4426 ac_compiler=$2 4437 ac_compiler=$2
4531 sed 's/^/| /' conftest.$ac_ext >&5 4542 sed 's/^/| /' conftest.$ac_ext >&5
4532 4543
4533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error 77 "C compiler cannot create executables 4546 as_fn_error 77 "C compiler cannot create executables
4536 See \`config.log' for more details" "$LINENO" 5 ; } 4547 See \`config.log' for more details" "$LINENO" 5; }
4537 else 4548 else
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4539 $as_echo "yes" >&6; } 4550 $as_echo "yes" >&6; }
4540 fi 4551 fi
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4574 done 4585 done
4575 else 4586 else
4576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4578 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4589 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4579 See \`config.log' for more details" "$LINENO" 5 ; } 4590 See \`config.log' for more details" "$LINENO" 5; }
4580 fi 4591 fi
4581 rm -f conftest conftest$ac_cv_exeext 4592 rm -f conftest conftest$ac_cv_exeext
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4583 $as_echo "$ac_cv_exeext" >&6; } 4594 $as_echo "$ac_cv_exeext" >&6; }
4584 4595
4633 else 4644 else
4634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4636 as_fn_error $? "cannot run C compiled programs. 4647 as_fn_error $? "cannot run C compiled programs.
4637 If you meant to cross compile, use \`--host'. 4648 If you meant to cross compile, use \`--host'.
4638 See \`config.log' for more details" "$LINENO" 5 ; } 4649 See \`config.log' for more details" "$LINENO" 5; }
4639 fi 4650 fi
4640 fi 4651 fi
4641 fi 4652 fi
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4643 $as_echo "$cross_compiling" >&6; } 4654 $as_echo "$cross_compiling" >&6; }
4644 4655
4645 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4656 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4646 ac_clean_files=$ac_clean_files_save 4657 ac_clean_files=$ac_clean_files_save
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4648 $as_echo_n "checking for suffix of object files... " >&6; } 4659 $as_echo_n "checking for suffix of object files... " >&6; }
4649 if test "${ac_cv_objext+set}" = set; then : 4660 if ${ac_cv_objext+:} false; then :
4650 $as_echo_n "(cached) " >&6 4661 $as_echo_n "(cached) " >&6
4651 else 4662 else
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */ 4664 /* end confdefs.h. */
4654 4665
4685 sed 's/^/| /' conftest.$ac_ext >&5 4696 sed 's/^/| /' conftest.$ac_ext >&5
4686 4697
4687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4689 as_fn_error $? "cannot compute suffix of object files: cannot compile 4700 as_fn_error $? "cannot compute suffix of object files: cannot compile
4690 See \`config.log' for more details" "$LINENO" 5 ; } 4701 See \`config.log' for more details" "$LINENO" 5; }
4691 fi 4702 fi
4692 rm -f conftest.$ac_cv_objext conftest.$ac_ext 4703 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4693 fi 4704 fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4695 $as_echo "$ac_cv_objext" >&6; } 4706 $as_echo "$ac_cv_objext" >&6; }
4696 OBJEXT=$ac_cv_objext 4707 OBJEXT=$ac_cv_objext
4697 ac_objext=$OBJEXT 4708 ac_objext=$OBJEXT
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4699 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4710 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4700 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4711 if ${ac_cv_c_compiler_gnu+:} false; then :
4701 $as_echo_n "(cached) " >&6 4712 $as_echo_n "(cached) " >&6
4702 else 4713 else
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */ 4715 /* end confdefs.h. */
4705 4716
4732 fi 4743 fi
4733 ac_test_CFLAGS=${CFLAGS+set} 4744 ac_test_CFLAGS=${CFLAGS+set}
4734 ac_save_CFLAGS=$CFLAGS 4745 ac_save_CFLAGS=$CFLAGS
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4736 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4747 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4737 if test "${ac_cv_prog_cc_g+set}" = set; then : 4748 if ${ac_cv_prog_cc_g+:} false; then :
4738 $as_echo_n "(cached) " >&6 4749 $as_echo_n "(cached) " >&6
4739 else 4750 else
4740 ac_save_c_werror_flag=$ac_c_werror_flag 4751 ac_save_c_werror_flag=$ac_c_werror_flag
4741 ac_c_werror_flag=yes 4752 ac_c_werror_flag=yes
4742 ac_cv_prog_cc_g=no 4753 ac_cv_prog_cc_g=no
4810 CFLAGS= 4821 CFLAGS=
4811 fi 4822 fi
4812 fi 4823 fi
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4814 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4825 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4815 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4826 if ${ac_cv_prog_cc_c89+:} false; then :
4816 $as_echo_n "(cached) " >&6 4827 $as_echo_n "(cached) " >&6
4817 else 4828 else
4818 ac_cv_prog_cc_c89=no 4829 ac_cv_prog_cc_c89=no
4819 ac_save_CC=$CC 4830 ac_save_CC=$CC
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 4982
4972 depcc="$CC" am_compiler_list= 4983 depcc="$CC" am_compiler_list=
4973 4984
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4975 $as_echo_n "checking dependency style of $depcc... " >&6; } 4986 $as_echo_n "checking dependency style of $depcc... " >&6; }
4976 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4987 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4977 $as_echo_n "(cached) " >&6 4988 $as_echo_n "(cached) " >&6
4978 else 4989 else
4979 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4980 # We make a subdir and do the tests there. Otherwise we can end up 4991 # We make a subdir and do the tests there. Otherwise we can end up
4981 # making bogus files that we don't know about and never remove. For 4992 # making bogus files that we don't know about and never remove. For
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5104 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } 5115 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5105 fi 5116 fi
5106 set dummy $CC; ac_cc=`$as_echo "$2" | 5117 set dummy $CC; ac_cc=`$as_echo "$2" |
5107 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5118 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5108 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : 5119 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5109 $as_echo_n "(cached) " >&6 5120 $as_echo_n "(cached) " >&6
5110 else 5121 else
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */ 5123 /* end confdefs.h. */
5113 5124
5227 if test -n "$ac_tool_prefix"; then 5238 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5239 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5240 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; } 5242 $as_echo_n "checking for $ac_word... " >&6; }
5232 if test "${ac_cv_prog_RANLIB+set}" = set; then : 5243 if ${ac_cv_prog_RANLIB+:} false; then :
5233 $as_echo_n "(cached) " >&6 5244 $as_echo_n "(cached) " >&6
5234 else 5245 else
5235 if test -n "$RANLIB"; then 5246 if test -n "$RANLIB"; then
5236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5247 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5237 else 5248 else
5267 ac_ct_RANLIB=$RANLIB 5278 ac_ct_RANLIB=$RANLIB
5268 # Extract the first word of "ranlib", so it can be a program name with args. 5279 # Extract the first word of "ranlib", so it can be a program name with args.
5269 set dummy ranlib; ac_word=$2 5280 set dummy ranlib; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; } 5282 $as_echo_n "checking for $ac_word... " >&6; }
5272 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5283 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5273 $as_echo_n "(cached) " >&6 5284 $as_echo_n "(cached) " >&6
5274 else 5285 else
5275 if test -n "$ac_ct_RANLIB"; then 5286 if test -n "$ac_ct_RANLIB"; then
5276 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5287 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5277 else 5288 else
5327 # On Suns, sometimes $CPP names a directory. 5338 # On Suns, sometimes $CPP names a directory.
5328 if test -n "$CPP" && test -d "$CPP"; then 5339 if test -n "$CPP" && test -d "$CPP"; then
5329 CPP= 5340 CPP=
5330 fi 5341 fi
5331 if test -z "$CPP"; then 5342 if test -z "$CPP"; then
5332 if test "${ac_cv_prog_CPP+set}" = set; then : 5343 if ${ac_cv_prog_CPP+:} false; then :
5333 $as_echo_n "(cached) " >&6 5344 $as_echo_n "(cached) " >&6
5334 else 5345 else
5335 # Double quotes because CPP needs to be expanded 5346 # Double quotes because CPP needs to be expanded
5336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5347 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5337 do 5348 do
5443 5454
5444 else 5455 else
5445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5447 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5458 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5448 See \`config.log' for more details" "$LINENO" 5 ; } 5459 See \`config.log' for more details" "$LINENO" 5; }
5449 fi 5460 fi
5450 5461
5451 ac_ext=c 5462 ac_ext=c
5452 ac_cpp='$CPP $CPPFLAGS' 5463 ac_cpp='$CPP $CPPFLAGS'
5453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5456 5467
5457 5468
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5459 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5470 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5460 if test "${ac_cv_path_GREP+set}" = set; then : 5471 if ${ac_cv_path_GREP+:} false; then :
5461 $as_echo_n "(cached) " >&6 5472 $as_echo_n "(cached) " >&6
5462 else 5473 else
5463 if test -z "$GREP"; then 5474 if test -z "$GREP"; then
5464 ac_path_GREP_found=false 5475 ac_path_GREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST 5476 # Loop through the user's path and test for each of PROGNAME-LIST
5518 GREP="$ac_cv_path_GREP" 5529 GREP="$ac_cv_path_GREP"
5519 5530
5520 5531
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5522 $as_echo_n "checking for egrep... " >&6; } 5533 $as_echo_n "checking for egrep... " >&6; }
5523 if test "${ac_cv_path_EGREP+set}" = set; then : 5534 if ${ac_cv_path_EGREP+:} false; then :
5524 $as_echo_n "(cached) " >&6 5535 $as_echo_n "(cached) " >&6
5525 else 5536 else
5526 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5537 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5527 then ac_cv_path_EGREP="$GREP -E" 5538 then ac_cv_path_EGREP="$GREP -E"
5528 else 5539 else
5585 EGREP="$ac_cv_path_EGREP" 5596 EGREP="$ac_cv_path_EGREP"
5586 5597
5587 5598
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5589 $as_echo_n "checking for ANSI C header files... " >&6; } 5600 $as_echo_n "checking for ANSI C header files... " >&6; }
5590 if test "${ac_cv_header_stdc+set}" = set; then : 5601 if ${ac_cv_header_stdc+:} false; then :
5591 $as_echo_n "(cached) " >&6 5602 $as_echo_n "(cached) " >&6
5592 else 5603 else
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */ 5605 /* end confdefs.h. */
5595 #include <stdlib.h> 5606 #include <stdlib.h>
5716 5727
5717 5728
5718 5729
5719 5730
5720 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5731 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5721 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 5732 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5722 MINIX=yes 5733 MINIX=yes
5723 else 5734 else
5724 MINIX= 5735 MINIX=
5725 fi 5736 fi
5726 5737
5746 esac 5757 esac
5747 5758
5748 5759
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5750 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5761 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5751 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 5762 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5752 $as_echo_n "(cached) " >&6 5763 $as_echo_n "(cached) " >&6
5753 else 5764 else
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */ 5766 /* end confdefs.h. */
5756 5767
5821 ## using a Sun compiler, which needs -Xs to prevent whitespace. 5832 ## using a Sun compiler, which needs -Xs to prevent whitespace.
5822 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 5833 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
5823 test x"$CPP" = x; then 5834 test x"$CPP" = x; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
5825 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 5836 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
5826 if test "${emacs_cv_sunpro_c+set}" = set; then : 5837 if ${emacs_cv_sunpro_c+:} false; then :
5827 $as_echo_n "(cached) " >&6 5838 $as_echo_n "(cached) " >&6
5828 else 5839 else
5829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */ 5841 /* end confdefs.h. */
5831 5842
6020 # On Suns, sometimes $CPP names a directory. 6031 # On Suns, sometimes $CPP names a directory.
6021 if test -n "$CPP" && test -d "$CPP"; then 6032 if test -n "$CPP" && test -d "$CPP"; then
6022 CPP= 6033 CPP=
6023 fi 6034 fi
6024 if test -z "$CPP"; then 6035 if test -z "$CPP"; then
6025 if test "${ac_cv_prog_CPP+set}" = set; then : 6036 if ${ac_cv_prog_CPP+:} false; then :
6026 $as_echo_n "(cached) " >&6 6037 $as_echo_n "(cached) " >&6
6027 else 6038 else
6028 # Double quotes because CPP needs to be expanded 6039 # Double quotes because CPP needs to be expanded
6029 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6040 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6030 do 6041 do
6136 6147
6137 else 6148 else
6138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6140 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6151 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6141 See \`config.log' for more details" "$LINENO" 5 ; } 6152 See \`config.log' for more details" "$LINENO" 5; }
6142 fi 6153 fi
6143 6154
6144 ac_ext=c 6155 ac_ext=c
6145 ac_cpp='$CPP $CPPFLAGS' 6156 ac_cpp='$CPP $CPPFLAGS'
6146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6152 if test -n "$ac_tool_prefix"; then 6163 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6154 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 $as_echo_n "checking for $ac_word... " >&6; } 6167 $as_echo_n "checking for $ac_word... " >&6; }
6157 if test "${ac_cv_prog_RANLIB+set}" = set; then : 6168 if ${ac_cv_prog_RANLIB+:} false; then :
6158 $as_echo_n "(cached) " >&6 6169 $as_echo_n "(cached) " >&6
6159 else 6170 else
6160 if test -n "$RANLIB"; then 6171 if test -n "$RANLIB"; then
6161 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6162 else 6173 else
6192 ac_ct_RANLIB=$RANLIB 6203 ac_ct_RANLIB=$RANLIB
6193 # Extract the first word of "ranlib", so it can be a program name with args. 6204 # Extract the first word of "ranlib", so it can be a program name with args.
6194 set dummy ranlib; ac_word=$2 6205 set dummy ranlib; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; } 6207 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6198 $as_echo_n "(cached) " >&6 6209 $as_echo_n "(cached) " >&6
6199 else 6210 else
6200 if test -n "$ac_ct_RANLIB"; then 6211 if test -n "$ac_ct_RANLIB"; then
6201 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6202 else 6213 else
6247 ## the x86 architecture. The user should probably have provided an 6258 ## the x86 architecture. The user should probably have provided an
6248 ## explicit --build to `configure', but if everything else than the kernel 6259 ## explicit --build to `configure', but if everything else than the kernel
6249 ## is running in i386 mode, we can help them out. 6260 ## is running in i386 mode, we can help them out.
6250 if test "$machine" = "amdx86-64"; then 6261 if test "$machine" = "amdx86-64"; then
6251 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 6262 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
6252 if test "x$ac_cv_have_decl_i386" = x""yes; then : 6263 if test "x$ac_cv_have_decl_i386" = xyes; then :
6253 6264
6254 fi 6265 fi
6255 6266
6256 if test "$ac_cv_have_decl_i386" = "yes"; then 6267 if test "$ac_cv_have_decl_i386" = "yes"; then
6257 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` 6268 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'`
6262 6273
6263 # Extract the first word of "install-info", so it can be a program name with args. 6274 # Extract the first word of "install-info", so it can be a program name with args.
6264 set dummy install-info; ac_word=$2 6275 set dummy install-info; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; } 6277 $as_echo_n "checking for $ac_word... " >&6; }
6267 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6278 if ${ac_cv_path_INSTALL_INFO+:} false; then :
6268 $as_echo_n "(cached) " >&6 6279 $as_echo_n "(cached) " >&6
6269 else 6280 else
6270 case $INSTALL_INFO in 6281 case $INSTALL_INFO in
6271 [\\/]* | ?:[\\/]*) 6282 [\\/]* | ?:[\\/]*)
6272 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 6283 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
6302 6313
6303 # Extract the first word of "install-info", so it can be a program name with args. 6314 # Extract the first word of "install-info", so it can be a program name with args.
6304 set dummy install-info; ac_word=$2 6315 set dummy install-info; ac_word=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; } 6317 $as_echo_n "checking for $ac_word... " >&6; }
6307 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6318 if ${ac_cv_path_INSTALL_INFO+:} false; then :
6308 $as_echo_n "(cached) " >&6 6319 $as_echo_n "(cached) " >&6
6309 else 6320 else
6310 case $INSTALL_INFO in 6321 case $INSTALL_INFO in
6311 [\\/]* | ?:[\\/]*) 6322 [\\/]* | ?:[\\/]*)
6312 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 6323 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
6342 6353
6343 # Extract the first word of "install-info", so it can be a program name with args. 6354 # Extract the first word of "install-info", so it can be a program name with args.
6344 set dummy install-info; ac_word=$2 6355 set dummy install-info; ac_word=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346 $as_echo_n "checking for $ac_word... " >&6; } 6357 $as_echo_n "checking for $ac_word... " >&6; }
6347 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 6358 if ${ac_cv_path_INSTALL_INFO+:} false; then :
6348 $as_echo_n "(cached) " >&6 6359 $as_echo_n "(cached) " >&6
6349 else 6360 else
6350 case $INSTALL_INFO in 6361 case $INSTALL_INFO in
6351 [\\/]* | ?:[\\/]*) 6362 [\\/]* | ?:[\\/]*)
6352 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 6363 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
6383 6394
6384 # Extract the first word of "gzip", so it can be a program name with args. 6395 # Extract the first word of "gzip", so it can be a program name with args.
6385 set dummy gzip; ac_word=$2 6396 set dummy gzip; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; } 6398 $as_echo_n "checking for $ac_word... " >&6; }
6388 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 6399 if ${ac_cv_path_GZIP_PROG+:} false; then :
6389 $as_echo_n "(cached) " >&6 6400 $as_echo_n "(cached) " >&6
6390 else 6401 else
6391 case $GZIP_PROG in 6402 case $GZIP_PROG in
6392 [\\/]* | ?:[\\/]*) 6403 [\\/]* | ?:[\\/]*)
6393 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 6404 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
6426 ## Need makeinfo >= 4.6 (?) to build the manuals. 6437 ## Need makeinfo >= 4.6 (?) to build the manuals.
6427 # Extract the first word of "makeinfo", so it can be a program name with args. 6438 # Extract the first word of "makeinfo", so it can be a program name with args.
6428 set dummy makeinfo; ac_word=$2 6439 set dummy makeinfo; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; } 6441 $as_echo_n "checking for $ac_word... " >&6; }
6431 if test "${ac_cv_path_MAKEINFO+set}" = set; then : 6442 if ${ac_cv_path_MAKEINFO+:} false; then :
6432 $as_echo_n "(cached) " >&6 6443 $as_echo_n "(cached) " >&6
6433 else 6444 else
6434 case $MAKEINFO in 6445 case $MAKEINFO in
6435 [\\/]* | ?:[\\/]*) 6446 [\\/]* | ?:[\\/]*)
6436 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 6447 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
6631 6642
6632 6643
6633 C_SWITCH_MACHINE= 6644 C_SWITCH_MACHINE=
6634 if test "$machine" = "alpha"; then 6645 if test "$machine" = "alpha"; then
6635 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 6646 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
6636 if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 6647 if test "x$ac_cv_have_decl___ELF__" = xyes; then :
6637 6648
6638 fi 6649 fi
6639 6650
6640 if test "$ac_cv_have_decl___ELF__" = "yes"; then 6651 if test "$ac_cv_have_decl___ELF__" = "yes"; then
6641 ## With ELF, make sure that all common symbols get allocated to in the 6652 ## With ELF, make sure that all common symbols get allocated to in the
6701 6712
6702 if test "$enable_largefile" != no; then 6713 if test "$enable_largefile" != no; then
6703 6714
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6705 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 6716 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6706 if test "${ac_cv_sys_largefile_CC+set}" = set; then : 6717 if ${ac_cv_sys_largefile_CC+:} false; then :
6707 $as_echo_n "(cached) " >&6 6718 $as_echo_n "(cached) " >&6
6708 else 6719 else
6709 ac_cv_sys_largefile_CC=no 6720 ac_cv_sys_largefile_CC=no
6710 if test "$GCC" != yes; then 6721 if test "$GCC" != yes; then
6711 ac_save_CC=$CC 6722 ac_save_CC=$CC
6752 CC=$CC$ac_cv_sys_largefile_CC 6763 CC=$CC$ac_cv_sys_largefile_CC
6753 fi 6764 fi
6754 6765
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6756 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 6767 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6757 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 6768 if ${ac_cv_sys_file_offset_bits+:} false; then :
6758 $as_echo_n "(cached) " >&6 6769 $as_echo_n "(cached) " >&6
6759 else 6770 else
6760 while :; do 6771 while :; do
6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */ 6773 /* end confdefs.h. */
6821 esac 6832 esac
6822 rm -rf conftest* 6833 rm -rf conftest*
6823 if test $ac_cv_sys_file_offset_bits = unknown; then 6834 if test $ac_cv_sys_file_offset_bits = unknown; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6825 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 6836 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6826 if test "${ac_cv_sys_large_files+set}" = set; then : 6837 if ${ac_cv_sys_large_files+:} false; then :
6827 $as_echo_n "(cached) " >&6 6838 $as_echo_n "(cached) " >&6
6828 else 6839 else
6829 while :; do 6840 while :; do
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */ 6842 /* end confdefs.h. */
6989 done 7000 done
6990 7001
6991 # Emulation library used on NetBSD. 7002 # Emulation library used on NetBSD.
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6993 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 7004 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6994 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 7005 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6995 $as_echo_n "(cached) " >&6 7006 $as_echo_n "(cached) " >&6
6996 else 7007 else
6997 ac_check_lib_save_LIBS=$LIBS 7008 ac_check_lib_save_LIBS=$LIBS
6998 LIBS="-lossaudio $LIBS" 7009 LIBS="-lossaudio $LIBS"
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 conftest$ac_exeext conftest.$ac_ext 7034 conftest$ac_exeext conftest.$ac_ext
7024 LIBS=$ac_check_lib_save_LIBS 7035 LIBS=$ac_check_lib_save_LIBS
7025 fi 7036 fi
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7027 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 7038 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7028 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 7039 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
7029 LIBSOUND=-lossaudio 7040 LIBSOUND=-lossaudio
7030 else 7041 else
7031 LIBSOUND= 7042 LIBSOUND=
7032 fi 7043 fi
7033 7044
7040 7051
7041 # Extract the first word of "pkg-config", so it can be a program name with args. 7052 # Extract the first word of "pkg-config", so it can be a program name with args.
7042 set dummy pkg-config; ac_word=$2 7053 set dummy pkg-config; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; } 7055 $as_echo_n "checking for $ac_word... " >&6; }
7045 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 7056 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7046 $as_echo_n "(cached) " >&6 7057 $as_echo_n "(cached) " >&6
7047 else 7058 else
7048 case $PKG_CONFIG in 7059 case $PKG_CONFIG in
7049 [\\/]* | ?:[\\/]*) 7060 [\\/]* | ?:[\\/]*)
7050 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7061 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7244 fi 7255 fi
7245 7256
7246 for ac_header in term.h 7257 for ac_header in term.h
7247 do : 7258 do :
7248 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 7259 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
7249 if test "x$ac_cv_header_term_h" = x""yes; then : 7260 if test "x$ac_cv_header_term_h" = xyes; then :
7250 cat >>confdefs.h <<_ACEOF 7261 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_TERM_H 1 7262 #define HAVE_TERM_H 1
7252 _ACEOF 7263 _ACEOF
7253 7264
7254 fi 7265 fi
7255 7266
7256 done 7267 done
7257 7268
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7259 $as_echo_n "checking for ANSI C header files... " >&6; } 7270 $as_echo_n "checking for ANSI C header files... " >&6; }
7260 if test "${ac_cv_header_stdc+set}" = set; then : 7271 if ${ac_cv_header_stdc+:} false; then :
7261 $as_echo_n "(cached) " >&6 7272 $as_echo_n "(cached) " >&6
7262 else 7273 else
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */ 7275 /* end confdefs.h. */
7265 #include <stdlib.h> 7276 #include <stdlib.h>
7367 7378
7368 fi 7379 fi
7369 7380
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7371 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7382 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7372 if test "${ac_cv_header_time+set}" = set; then : 7383 if ${ac_cv_header_time+:} false; then :
7373 $as_echo_n "(cached) " >&6 7384 $as_echo_n "(cached) " >&6
7374 else 7385 else
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */ 7387 /* end confdefs.h. */
7377 #include <sys/types.h> 7388 #include <sys/types.h>
7401 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 7412 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7402 7413
7403 fi 7414 fi
7404 7415
7405 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 7416 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
7406 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 7417 if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
7407 ac_have_decl=1 7418 ac_have_decl=1
7408 else 7419 else
7409 ac_have_decl=0 7420 ac_have_decl=0
7410 fi 7421 fi
7411 7422
7414 _ACEOF 7425 _ACEOF
7415 7426
7416 if test $ac_cv_have_decl_sys_siglist != yes; then 7427 if test $ac_cv_have_decl_sys_siglist != yes; then
7417 # For Tru64, at least: 7428 # For Tru64, at least:
7418 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 7429 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
7419 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 7430 if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
7420 ac_have_decl=1 7431 ac_have_decl=1
7421 else 7432 else
7422 ac_have_decl=0 7433 ac_have_decl=0
7423 fi 7434 fi
7424 7435
7432 7443
7433 fi 7444 fi
7434 fi 7445 fi
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7436 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 7447 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7437 if test "${ac_cv_header_sys_wait_h+set}" = set; then : 7448 if ${ac_cv_header_sys_wait_h+:} false; then :
7438 $as_echo_n "(cached) " >&6 7449 $as_echo_n "(cached) " >&6
7439 else 7450 else
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */ 7452 /* end confdefs.h. */
7442 #include <sys/types.h> 7453 #include <sys/types.h>
7474 fi 7485 fi
7475 7486
7476 7487
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
7478 $as_echo_n "checking for struct utimbuf... " >&6; } 7489 $as_echo_n "checking for struct utimbuf... " >&6; }
7479 if test "${emacs_cv_struct_utimbuf+set}" = set; then : 7490 if ${emacs_cv_struct_utimbuf+:} false; then :
7480 $as_echo_n "(cached) " >&6 7491 $as_echo_n "(cached) " >&6
7481 else 7492 else
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */ 7494 /* end confdefs.h. */
7484 #ifdef TIME_WITH_SYS_TIME 7495 #ifdef TIME_WITH_SYS_TIME
7517 7528
7518 fi 7529 fi
7519 7530
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7521 $as_echo_n "checking return type of signal handlers... " >&6; } 7532 $as_echo_n "checking return type of signal handlers... " >&6; }
7522 if test "${ac_cv_type_signal+set}" = set; then : 7533 if ${ac_cv_type_signal+:} false; then :
7523 $as_echo_n "(cached) " >&6 7534 $as_echo_n "(cached) " >&6
7524 else 7535 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */ 7537 /* end confdefs.h. */
7527 #include <sys/types.h> 7538 #include <sys/types.h>
7551 7562
7552 7563
7553 7564
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
7555 $as_echo_n "checking for speed_t... " >&6; } 7566 $as_echo_n "checking for speed_t... " >&6; }
7556 if test "${emacs_cv_speed_t+set}" = set; then : 7567 if ${emacs_cv_speed_t+:} false; then :
7557 $as_echo_n "(cached) " >&6 7568 $as_echo_n "(cached) " >&6
7558 else 7569 else
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */ 7571 /* end confdefs.h. */
7561 #include <termios.h> 7572 #include <termios.h>
7582 7593
7583 fi 7594 fi
7584 7595
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
7586 $as_echo_n "checking for struct timeval... " >&6; } 7597 $as_echo_n "checking for struct timeval... " >&6; }
7587 if test "${emacs_cv_struct_timeval+set}" = set; then : 7598 if ${emacs_cv_struct_timeval+:} false; then :
7588 $as_echo_n "(cached) " >&6 7599 $as_echo_n "(cached) " >&6
7589 else 7600 else
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */ 7602 /* end confdefs.h. */
7592 #ifdef TIME_WITH_SYS_TIME 7603 #ifdef TIME_WITH_SYS_TIME
7623 7634
7624 fi 7635 fi
7625 7636
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
7627 $as_echo_n "checking for struct exception... " >&6; } 7638 $as_echo_n "checking for struct exception... " >&6; }
7628 if test "${emacs_cv_struct_exception+set}" = set; then : 7639 if ${emacs_cv_struct_exception+:} false; then :
7629 $as_echo_n "(cached) " >&6 7640 $as_echo_n "(cached) " >&6
7630 else 7641 else
7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h. */ 7643 /* end confdefs.h. */
7633 #include <math.h> 7644 #include <math.h>
7656 fi 7667 fi
7657 7668
7658 for ac_header in sys/socket.h 7669 for ac_header in sys/socket.h
7659 do : 7670 do :
7660 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 7671 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
7661 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 7672 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
7662 cat >>confdefs.h <<_ACEOF 7673 cat >>confdefs.h <<_ACEOF
7663 #define HAVE_SYS_SOCKET_H 1 7674 #define HAVE_SYS_SOCKET_H 1
7664 _ACEOF 7675 _ACEOF
7665 7676
7666 fi 7677 fi
7672 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 7683 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
7673 #if HAVE_SYS_SOCKET_H 7684 #if HAVE_SYS_SOCKET_H
7674 #include <sys/socket.h> 7685 #include <sys/socket.h>
7675 #endif 7686 #endif
7676 " 7687 "
7677 if test "x$ac_cv_header_net_if_h" = x""yes; then : 7688 if test "x$ac_cv_header_net_if_h" = xyes; then :
7678 cat >>confdefs.h <<_ACEOF 7689 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_NET_IF_H 1 7690 #define HAVE_NET_IF_H 1
7680 _ACEOF 7691 _ACEOF
7681 7692
7682 fi 7693 fi
7684 done 7695 done
7685 7696
7686 7697
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7688 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7699 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7689 if test "${ac_cv_struct_tm+set}" = set; then : 7700 if ${ac_cv_struct_tm+:} false; then :
7690 $as_echo_n "(cached) " >&6 7701 $as_echo_n "(cached) " >&6
7691 else 7702 else
7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */ 7704 /* end confdefs.h. */
7694 #include <sys/types.h> 7705 #include <sys/types.h>
7721 7732
7722 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 7733 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7723 #include <$ac_cv_struct_tm> 7734 #include <$ac_cv_struct_tm>
7724 7735
7725 " 7736 "
7726 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 7737 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
7727 7738
7728 cat >>confdefs.h <<_ACEOF 7739 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_STRUCT_TM_TM_ZONE 1 7740 #define HAVE_STRUCT_TM_TM_ZONE 1
7730 _ACEOF 7741 _ACEOF
7731 7742
7737 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 7748 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7738 7749
7739 else 7750 else
7740 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 7751 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7741 " 7752 "
7742 if test "x$ac_cv_have_decl_tzname" = x""yes; then : 7753 if test "x$ac_cv_have_decl_tzname" = xyes; then :
7743 ac_have_decl=1 7754 ac_have_decl=1
7744 else 7755 else
7745 ac_have_decl=0 7756 ac_have_decl=0
7746 fi 7757 fi
7747 7758
7749 #define HAVE_DECL_TZNAME $ac_have_decl 7760 #define HAVE_DECL_TZNAME $ac_have_decl
7750 _ACEOF 7761 _ACEOF
7751 7762
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7753 $as_echo_n "checking for tzname... " >&6; } 7764 $as_echo_n "checking for tzname... " >&6; }
7754 if test "${ac_cv_var_tzname+set}" = set; then : 7765 if ${ac_cv_var_tzname+:} false; then :
7755 $as_echo_n "(cached) " >&6 7766 $as_echo_n "(cached) " >&6
7756 else 7767 else
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */ 7769 /* end confdefs.h. */
7759 #include <time.h> 7770 #include <time.h>
7786 fi 7797 fi
7787 fi 7798 fi
7788 7799
7789 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 7800 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
7790 " 7801 "
7791 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 7802 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
7792 7803
7793 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 7804 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
7794 7805
7795 fi 7806 fi
7796 7807
7800 #endif 7811 #endif
7801 #if HAVE_NET_IF_H 7812 #if HAVE_NET_IF_H
7802 #include <net/if.h> 7813 #include <net/if.h>
7803 #endif 7814 #endif
7804 " 7815 "
7805 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 7816 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
7806 7817
7807 cat >>confdefs.h <<_ACEOF 7818 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 7819 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7809 _ACEOF 7820 _ACEOF
7810 7821
7816 #endif 7827 #endif
7817 #if HAVE_NET_IF_H 7828 #if HAVE_NET_IF_H
7818 #include <net/if.h> 7829 #include <net/if.h>
7819 #endif 7830 #endif
7820 " 7831 "
7821 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 7832 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
7822 7833
7823 cat >>confdefs.h <<_ACEOF 7834 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 7835 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7825 _ACEOF 7836 _ACEOF
7826 7837
7832 #endif 7843 #endif
7833 #if HAVE_NET_IF_H 7844 #if HAVE_NET_IF_H
7834 #include <net/if.h> 7845 #include <net/if.h>
7835 #endif 7846 #endif
7836 " 7847 "
7837 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 7848 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
7838 7849
7839 cat >>confdefs.h <<_ACEOF 7850 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 7851 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7841 _ACEOF 7852 _ACEOF
7842 7853
7848 #endif 7859 #endif
7849 #if HAVE_NET_IF_H 7860 #if HAVE_NET_IF_H
7850 #include <net/if.h> 7861 #include <net/if.h>
7851 #endif 7862 #endif
7852 " 7863 "
7853 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 7864 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
7854 7865
7855 cat >>confdefs.h <<_ACEOF 7866 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 7867 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7857 _ACEOF 7868 _ACEOF
7858 7869
7864 #endif 7875 #endif
7865 #if HAVE_NET_IF_H 7876 #if HAVE_NET_IF_H
7866 #include <net/if.h> 7877 #include <net/if.h>
7867 #endif 7878 #endif
7868 " 7879 "
7869 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 7880 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
7870 7881
7871 cat >>confdefs.h <<_ACEOF 7882 cat >>confdefs.h <<_ACEOF
7872 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 7883 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7873 _ACEOF 7884 _ACEOF
7874 7885
7893 $as_echo "no" >&6; } 7904 $as_echo "no" >&6; }
7894 fi 7905 fi
7895 7906
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
7897 $as_echo_n "checking for working volatile... " >&6; } 7908 $as_echo_n "checking for working volatile... " >&6; }
7898 if test "${ac_cv_c_volatile+set}" = set; then : 7909 if ${ac_cv_c_volatile+:} false; then :
7899 $as_echo_n "(cached) " >&6 7910 $as_echo_n "(cached) " >&6
7900 else 7911 else
7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */ 7913 /* end confdefs.h. */
7903 7914
7927 7938
7928 fi 7939 fi
7929 7940
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7931 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7942 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7932 if test "${ac_cv_c_const+set}" = set; then : 7943 if ${ac_cv_c_const+:} false; then :
7933 $as_echo_n "(cached) " >&6 7944 $as_echo_n "(cached) " >&6
7934 else 7945 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */ 7947 /* end confdefs.h. */
7937 7948
8007 8018
8008 fi 8019 fi
8009 8020
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
8011 $as_echo_n "checking for void * support... " >&6; } 8022 $as_echo_n "checking for void * support... " >&6; }
8012 if test "${emacs_cv_void_star+set}" = set; then : 8023 if ${emacs_cv_void_star+:} false; then :
8013 $as_echo_n "(cached) " >&6 8024 $as_echo_n "(cached) " >&6
8014 else 8025 else
8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */ 8027 /* end confdefs.h. */
8017 8028
8040 8051
8041 fi 8052 fi
8042 8053
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
8044 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8055 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
8045 if test "${ac_cv_c_bigendian+set}" = set; then : 8056 if ${ac_cv_c_bigendian+:} false; then :
8046 $as_echo_n "(cached) " >&6 8057 $as_echo_n "(cached) " >&6
8047 else 8058 else
8048 ac_cv_c_bigendian=unknown 8059 ac_cv_c_bigendian=unknown
8049 # See if we're dealing with a universal compiler. 8060 # See if we're dealing with a universal compiler.
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8270 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
8260 8271
8261 ;; #( 8272 ;; #(
8262 *) 8273 *)
8263 as_fn_error $? "unknown endianness 8274 as_fn_error $? "unknown endianness
8264 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8275 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8265 esac 8276 esac
8266 8277
8267 8278
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5 8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5
8269 $as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; } 8280 $as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; }
8270 if test "${emacs_cv_attribute_aligned+set}" = set; then : 8281 if ${emacs_cv_attribute_aligned+:} false; then :
8271 $as_echo_n "(cached) " >&6 8282 $as_echo_n "(cached) " >&6
8272 else 8283 else
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */ 8285 /* end confdefs.h. */
8275 char __attribute__ ((__aligned__ (1 << 3))) c; 8286 char __attribute__ ((__aligned__ (1 << 3))) c;
8298 8309
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 8311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8301 set x ${MAKE-make} 8312 set x ${MAKE-make}
8302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 8313 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8303 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 8314 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
8304 $as_echo_n "(cached) " >&6 8315 $as_echo_n "(cached) " >&6
8305 else 8316 else
8306 cat >conftest.make <<\_ACEOF 8317 cat >conftest.make <<\_ACEOF
8307 SHELL = /bin/sh 8318 SHELL = /bin/sh
8308 all: 8319 all:
8386 8397
8387 8398
8388 8399
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
8390 $as_echo_n "checking for long file names... " >&6; } 8401 $as_echo_n "checking for long file names... " >&6; }
8391 if test "${ac_cv_sys_long_file_names+set}" = set; then : 8402 if ${ac_cv_sys_long_file_names+:} false; then :
8392 $as_echo_n "(cached) " >&6 8403 $as_echo_n "(cached) " >&6
8393 else 8404 else
8394 ac_cv_sys_long_file_names=yes 8405 ac_cv_sys_long_file_names=yes
8395 # Test for long file names in all the places we know might matter: 8406 # Test for long file names in all the places we know might matter:
8396 # . the current directory, where building will happen 8407 # . the current directory, where building will happen
8442 if test "x$with_x" = xno; then 8453 if test "x$with_x" = xno; then
8443 # The user explicitly disabled X. 8454 # The user explicitly disabled X.
8444 have_x=disabled 8455 have_x=disabled
8445 else 8456 else
8446 case $x_includes,$x_libraries in #( 8457 case $x_includes,$x_libraries in #(
8447 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 8458 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8448 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 8459 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8449 $as_echo_n "(cached) " >&6 8460 $as_echo_n "(cached) " >&6
8450 else 8461 else
8451 # One or both of the vars are not set, and there is no cached value. 8462 # One or both of the vars are not set, and there is no cached value.
8452 ac_x_includes=no ac_x_libraries=no 8463 ac_x_includes=no ac_x_libraries=no
8453 rm -f -r conftest.dir 8464 rm -f -r conftest.dir
8726 LIB_STANDARD= 8737 LIB_STANDARD=
8727 START_FILES= 8738 START_FILES=
8728 TEMACS_LDFLAGS2= 8739 TEMACS_LDFLAGS2=
8729 fi 8740 fi
8730 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 8741 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
8731 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 8742 if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
8732 HAVE_NS=yes 8743 HAVE_NS=yes
8733 else 8744 else
8734 as_fn_error $? "\`--with-ns' was specified, but the include 8745 as_fn_error $? "\`--with-ns' was specified, but the include
8735 files are missing or cannot be compiled." "$LINENO" 5 8746 files are missing or cannot be compiled." "$LINENO" 5
8736 fi 8747 fi
8808 if test "$window_system" = none && test "X$with_x" != "Xno"; then 8819 if test "$window_system" = none && test "X$with_x" != "Xno"; then
8809 # Extract the first word of "X", so it can be a program name with args. 8820 # Extract the first word of "X", so it can be a program name with args.
8810 set dummy X; ac_word=$2 8821 set dummy X; ac_word=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; } 8823 $as_echo_n "checking for $ac_word... " >&6; }
8813 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 8824 if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
8814 $as_echo_n "(cached) " >&6 8825 $as_echo_n "(cached) " >&6
8815 else 8826 else
8816 if test -n "$HAVE_XSERVER"; then 8827 if test -n "$HAVE_XSERVER"; then
8817 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 8828 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
8818 else 8829 else
8867 # Do the opsystem or machine files prohibit the use of the GNU malloc? 8878 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8868 # Assume not, until told otherwise. 8879 # Assume not, until told otherwise.
8869 GNU_MALLOC=yes 8880 GNU_MALLOC=yes
8870 doug_lea_malloc=yes 8881 doug_lea_malloc=yes
8871 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 8882 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
8872 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 8883 if test "x$ac_cv_func_malloc_get_state" = xyes; then :
8873 8884
8874 else 8885 else
8875 doug_lea_malloc=no 8886 doug_lea_malloc=no
8876 fi 8887 fi
8877 8888
8878 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 8889 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
8879 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 8890 if test "x$ac_cv_func_malloc_set_state" = xyes; then :
8880 8891
8881 else 8892 else
8882 doug_lea_malloc=no 8893 doug_lea_malloc=no
8883 fi 8894 fi
8884 8895
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
8886 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 8897 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
8887 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 8898 if ${emacs_cv_var___after_morecore_hook+:} false; then :
8888 $as_echo_n "(cached) " >&6 8899 $as_echo_n "(cached) " >&6
8889 else 8900 else
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */ 8902 /* end confdefs.h. */
8892 extern void (* __after_morecore_hook)(); 8903 extern void (* __after_morecore_hook)();
8987 8998
8988 8999
8989 for ac_func in getpagesize 9000 for ac_func in getpagesize
8990 do : 9001 do :
8991 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 9002 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
8992 if test "x$ac_cv_func_getpagesize" = x""yes; then : 9003 if test "x$ac_cv_func_getpagesize" = xyes; then :
8993 cat >>confdefs.h <<_ACEOF 9004 cat >>confdefs.h <<_ACEOF
8994 #define HAVE_GETPAGESIZE 1 9005 #define HAVE_GETPAGESIZE 1
8995 _ACEOF 9006 _ACEOF
8996 9007
8997 fi 9008 fi
8998 done 9009 done
8999 9010
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
9001 $as_echo_n "checking for working mmap... " >&6; } 9012 $as_echo_n "checking for working mmap... " >&6; }
9002 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 9013 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
9003 $as_echo_n "(cached) " >&6 9014 $as_echo_n "(cached) " >&6
9004 else 9015 else
9005 if test "$cross_compiling" = yes; then : 9016 if test "$cross_compiling" = yes; then :
9006 ac_cv_func_mmap_fixed_mapped=no 9017 ac_cv_func_mmap_fixed_mapped=no
9007 else 9018 else
9172 9183
9173 LIBS="$LIBS_SYSTEM $LIBS" 9184 LIBS="$LIBS_SYSTEM $LIBS"
9174 9185
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9176 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 9187 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9177 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 9188 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9178 $as_echo_n "(cached) " >&6 9189 $as_echo_n "(cached) " >&6
9179 else 9190 else
9180 ac_check_lib_save_LIBS=$LIBS 9191 ac_check_lib_save_LIBS=$LIBS
9181 LIBS="-ldnet $LIBS" 9192 LIBS="-ldnet $LIBS"
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206 conftest$ac_exeext conftest.$ac_ext 9217 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_lib_save_LIBS 9218 LIBS=$ac_check_lib_save_LIBS
9208 fi 9219 fi
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9210 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 9221 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9211 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 9222 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9212 cat >>confdefs.h <<_ACEOF 9223 cat >>confdefs.h <<_ACEOF
9213 #define HAVE_LIBDNET 1 9224 #define HAVE_LIBDNET 1
9214 _ACEOF 9225 _ACEOF
9215 9226
9216 LIBS="-ldnet $LIBS" 9227 LIBS="-ldnet $LIBS"
9218 fi 9229 fi
9219 9230
9220 9231
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
9222 $as_echo_n "checking for main in -lXbsd... " >&6; } 9233 $as_echo_n "checking for main in -lXbsd... " >&6; }
9223 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 9234 if ${ac_cv_lib_Xbsd_main+:} false; then :
9224 $as_echo_n "(cached) " >&6 9235 $as_echo_n "(cached) " >&6
9225 else 9236 else
9226 ac_check_lib_save_LIBS=$LIBS 9237 ac_check_lib_save_LIBS=$LIBS
9227 LIBS="-lXbsd $LIBS" 9238 LIBS="-lXbsd $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 conftest$ac_exeext conftest.$ac_ext 9257 conftest$ac_exeext conftest.$ac_ext
9247 LIBS=$ac_check_lib_save_LIBS 9258 LIBS=$ac_check_lib_save_LIBS
9248 fi 9259 fi
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
9250 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 9261 $as_echo "$ac_cv_lib_Xbsd_main" >&6; }
9251 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 9262 if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
9252 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 9263 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
9253 fi 9264 fi
9254 9265
9255 9266
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
9257 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } 9268 $as_echo_n "checking for cma_open in -lpthreads... " >&6; }
9258 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 9269 if ${ac_cv_lib_pthreads_cma_open+:} false; then :
9259 $as_echo_n "(cached) " >&6 9270 $as_echo_n "(cached) " >&6
9260 else 9271 else
9261 ac_check_lib_save_LIBS=$LIBS 9272 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-lpthreads $LIBS" 9273 LIBS="-lpthreads $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 conftest$ac_exeext conftest.$ac_ext 9298 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS 9299 LIBS=$ac_check_lib_save_LIBS
9289 fi 9300 fi
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
9291 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 9302 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
9292 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 9303 if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
9293 cat >>confdefs.h <<_ACEOF 9304 cat >>confdefs.h <<_ACEOF
9294 #define HAVE_LIBPTHREADS 1 9305 #define HAVE_LIBPTHREADS 1
9295 _ACEOF 9306 _ACEOF
9296 9307
9297 LIBS="-lpthreads $LIBS" 9308 LIBS="-lpthreads $LIBS"
9314 9325
9315 case ${host_os} in 9326 case ${host_os} in
9316 aix*) 9327 aix*)
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
9318 $as_echo_n "checking for -bbigtoc option... " >&6; } 9329 $as_echo_n "checking for -bbigtoc option... " >&6; }
9319 if test "${gdb_cv_bigtoc+set}" = set; then : 9330 if ${gdb_cv_bigtoc+:} false; then :
9320 $as_echo_n "(cached) " >&6 9331 $as_echo_n "(cached) " >&6
9321 else 9332 else
9322 9333
9323 case $GCC in 9334 case $GCC in
9324 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 9335 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
9488 fi 9499 fi
9489 9500
9490 if test "${window_system}" = "x11"; then 9501 if test "${window_system}" = "x11"; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
9492 $as_echo_n "checking X11 version 6... " >&6; } 9503 $as_echo_n "checking X11 version 6... " >&6; }
9493 if test "${emacs_cv_x11_version_6+set}" = set; then : 9504 if ${emacs_cv_x11_version_6+:} false; then :
9494 $as_echo_n "(cached) " >&6 9505 $as_echo_n "(cached) " >&6
9495 else 9506 else
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */ 9508 /* end confdefs.h. */
9498 #include <X11/Xlib.h> 9509 #include <X11/Xlib.h>
9553 9564
9554 # Extract the first word of "pkg-config", so it can be a program name with args. 9565 # Extract the first word of "pkg-config", so it can be a program name with args.
9555 set dummy pkg-config; ac_word=$2 9566 set dummy pkg-config; ac_word=$2
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9557 $as_echo_n "checking for $ac_word... " >&6; } 9568 $as_echo_n "checking for $ac_word... " >&6; }
9558 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9569 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9559 $as_echo_n "(cached) " >&6 9570 $as_echo_n "(cached) " >&6
9560 else 9571 else
9561 case $PKG_CONFIG in 9572 case $PKG_CONFIG in
9562 [\\/]* | ?:[\\/]*) 9573 [\\/]* | ?:[\\/]*)
9563 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9574 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9664 9675
9665 # Extract the first word of "pkg-config", so it can be a program name with args. 9676 # Extract the first word of "pkg-config", so it can be a program name with args.
9666 set dummy pkg-config; ac_word=$2 9677 set dummy pkg-config; ac_word=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; } 9679 $as_echo_n "checking for $ac_word... " >&6; }
9669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9680 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9670 $as_echo_n "(cached) " >&6 9681 $as_echo_n "(cached) " >&6
9671 else 9682 else
9672 case $PKG_CONFIG in 9683 case $PKG_CONFIG in
9673 [\\/]* | ?:[\\/]*) 9684 [\\/]* | ?:[\\/]*)
9674 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9685 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9763 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" 9774 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
9764 LIBS="$IMAGEMAGICK_LIBS $LIBS" 9775 LIBS="$IMAGEMAGICK_LIBS $LIBS"
9765 for ac_func in MagickExportImagePixels 9776 for ac_func in MagickExportImagePixels
9766 do : 9777 do :
9767 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 9778 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
9768 if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 9779 if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
9769 cat >>confdefs.h <<_ACEOF 9780 cat >>confdefs.h <<_ACEOF
9770 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 9781 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1
9771 _ACEOF 9782 _ACEOF
9772 9783
9773 fi 9784 fi
9789 9800
9790 # Extract the first word of "pkg-config", so it can be a program name with args. 9801 # Extract the first word of "pkg-config", so it can be a program name with args.
9791 set dummy pkg-config; ac_word=$2 9802 set dummy pkg-config; ac_word=$2
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9793 $as_echo_n "checking for $ac_word... " >&6; } 9804 $as_echo_n "checking for $ac_word... " >&6; }
9794 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9805 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9795 $as_echo_n "(cached) " >&6 9806 $as_echo_n "(cached) " >&6
9796 else 9807 else
9797 case $PKG_CONFIG in 9808 case $PKG_CONFIG in
9798 [\\/]* | ?:[\\/]*) 9809 [\\/]* | ?:[\\/]*)
9799 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9895 9906
9896 # Extract the first word of "pkg-config", so it can be a program name with args. 9907 # Extract the first word of "pkg-config", so it can be a program name with args.
9897 set dummy pkg-config; ac_word=$2 9908 set dummy pkg-config; ac_word=$2
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9899 $as_echo_n "checking for $ac_word... " >&6; } 9910 $as_echo_n "checking for $ac_word... " >&6; }
9900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 9911 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9901 $as_echo_n "(cached) " >&6 9912 $as_echo_n "(cached) " >&6
9902 else 9913 else
9903 case $PKG_CONFIG in 9914 case $PKG_CONFIG in
9904 [\\/]* | ?:[\\/]*) 9915 [\\/]* | ?:[\\/]*)
9905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9916 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10000 LIBS="$GTK_LIBS $LIBS" 10011 LIBS="$GTK_LIBS $LIBS"
10001 GTK_COMPILES=no 10012 GTK_COMPILES=no
10002 for ac_func in gtk_main 10013 for ac_func in gtk_main
10003 do : 10014 do :
10004 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 10015 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
10005 if test "x$ac_cv_func_gtk_main" = x""yes; then : 10016 if test "x$ac_cv_func_gtk_main" = xyes; then :
10006 cat >>confdefs.h <<_ACEOF 10017 cat >>confdefs.h <<_ACEOF
10007 #define HAVE_GTK_MAIN 1 10018 #define HAVE_GTK_MAIN 1
10008 _ACEOF 10019 _ACEOF
10009 GTK_COMPILES=yes 10020 GTK_COMPILES=yes
10010 fi 10021 fi
10011 done 10022 done
10012 10023
10013 if test "${GTK_COMPILES}" != "yes"; then 10024 if test "${GTK_COMPILES}" != "yes"; then
10014 if test "$USE_X_TOOLKIT" != "maybe"; then 10025 if test "$USE_X_TOOLKIT" != "maybe"; then
10015 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5 ; 10026 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
10016 fi 10027 fi
10017 else 10028 else
10018 HAVE_GTK=yes 10029 HAVE_GTK=yes
10019 10030
10020 $as_echo "#define USE_GTK 1" >>confdefs.h 10031 $as_echo "#define USE_GTK 1" >>confdefs.h
10048 10059
10049 HAVE_GTK_FILE_SELECTION=no 10060 HAVE_GTK_FILE_SELECTION=no
10050 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 10061 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
10051 #include <gtk/gtk.h> 10062 #include <gtk/gtk.h>
10052 " 10063 "
10053 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 10064 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
10054 HAVE_GTK_FILE_SELECTION=yes 10065 HAVE_GTK_FILE_SELECTION=yes
10055 else 10066 else
10056 HAVE_GTK_FILE_SELECTION=no 10067 HAVE_GTK_FILE_SELECTION=no
10057 fi 10068 fi
10058 10069
10059 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 10070 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
10060 for ac_func in gtk_file_selection_new 10071 for ac_func in gtk_file_selection_new
10061 do : 10072 do :
10062 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 10073 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
10063 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 10074 if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
10064 cat >>confdefs.h <<_ACEOF 10075 cat >>confdefs.h <<_ACEOF
10065 #define HAVE_GTK_FILE_SELECTION_NEW 1 10076 #define HAVE_GTK_FILE_SELECTION_NEW 1
10066 _ACEOF 10077 _ACEOF
10067 10078
10068 fi 10079 fi
10072 10083
10073 HAVE_GTK_AND_PTHREAD=no 10084 HAVE_GTK_AND_PTHREAD=no
10074 for ac_header in pthread.h 10085 for ac_header in pthread.h
10075 do : 10086 do :
10076 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 10087 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
10077 if test "x$ac_cv_header_pthread_h" = x""yes; then : 10088 if test "x$ac_cv_header_pthread_h" = xyes; then :
10078 cat >>confdefs.h <<_ACEOF 10089 cat >>confdefs.h <<_ACEOF
10079 #define HAVE_PTHREAD_H 1 10090 #define HAVE_PTHREAD_H 1
10080 _ACEOF 10091 _ACEOF
10081 10092
10082 fi 10093 fi
10084 done 10095 done
10085 10096
10086 if test "$ac_cv_header_pthread_h"; then 10097 if test "$ac_cv_header_pthread_h"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
10088 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } 10099 $as_echo_n "checking for pthread_self in -lpthread... " >&6; }
10089 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 10100 if ${ac_cv_lib_pthread_pthread_self+:} false; then :
10090 $as_echo_n "(cached) " >&6 10101 $as_echo_n "(cached) " >&6
10091 else 10102 else
10092 ac_check_lib_save_LIBS=$LIBS 10103 ac_check_lib_save_LIBS=$LIBS
10093 LIBS="-lpthread $LIBS" 10104 LIBS="-lpthread $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 conftest$ac_exeext conftest.$ac_ext 10129 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_lib_save_LIBS 10130 LIBS=$ac_check_lib_save_LIBS
10120 fi 10131 fi
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
10122 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 10133 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
10123 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 10134 if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
10124 HAVE_GTK_AND_PTHREAD=yes 10135 HAVE_GTK_AND_PTHREAD=yes
10125 fi 10136 fi
10126 10137
10127 fi 10138 fi
10128 if test "$HAVE_GTK_AND_PTHREAD" = yes; then 10139 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10161 10172
10162 # Extract the first word of "pkg-config", so it can be a program name with args. 10173 # Extract the first word of "pkg-config", so it can be a program name with args.
10163 set dummy pkg-config; ac_word=$2 10174 set dummy pkg-config; ac_word=$2
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10165 $as_echo_n "checking for $ac_word... " >&6; } 10176 $as_echo_n "checking for $ac_word... " >&6; }
10166 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10177 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10167 $as_echo_n "(cached) " >&6 10178 $as_echo_n "(cached) " >&6
10168 else 10179 else
10169 case $PKG_CONFIG in 10180 case $PKG_CONFIG in
10170 [\\/]* | ?:[\\/]*) 10181 [\\/]* | ?:[\\/]*)
10171 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10182 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10256 $as_echo "#define HAVE_DBUS 1" >>confdefs.h 10267 $as_echo "#define HAVE_DBUS 1" >>confdefs.h
10257 10268
10258 for ac_func in dbus_watch_get_unix_fd 10269 for ac_func in dbus_watch_get_unix_fd
10259 do : 10270 do :
10260 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 10271 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
10261 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 10272 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
10262 cat >>confdefs.h <<_ACEOF 10273 cat >>confdefs.h <<_ACEOF
10263 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 10274 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1
10264 _ACEOF 10275 _ACEOF
10265 10276
10266 fi 10277 fi
10278 10289
10279 # Extract the first word of "pkg-config", so it can be a program name with args. 10290 # Extract the first word of "pkg-config", so it can be a program name with args.
10280 set dummy pkg-config; ac_word=$2 10291 set dummy pkg-config; ac_word=$2
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10282 $as_echo_n "checking for $ac_word... " >&6; } 10293 $as_echo_n "checking for $ac_word... " >&6; }
10283 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10294 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10284 $as_echo_n "(cached) " >&6 10295 $as_echo_n "(cached) " >&6
10285 else 10296 else
10286 case $PKG_CONFIG in 10297 case $PKG_CONFIG in
10287 [\\/]* | ?:[\\/]*) 10298 [\\/]* | ?:[\\/]*)
10288 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10299 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10372 $as_echo "#define HAVE_GCONF 1" >>confdefs.h 10383 $as_echo "#define HAVE_GCONF 1" >>confdefs.h
10373 10384
10374 for ac_func in g_type_init 10385 for ac_func in g_type_init
10375 do : 10386 do :
10376 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 10387 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
10377 if test "x$ac_cv_func_g_type_init" = x""yes; then : 10388 if test "x$ac_cv_func_g_type_init" = xyes; then :
10378 cat >>confdefs.h <<_ACEOF 10389 cat >>confdefs.h <<_ACEOF
10379 #define HAVE_G_TYPE_INIT 1 10390 #define HAVE_G_TYPE_INIT 1
10380 _ACEOF 10391 _ACEOF
10381 10392
10382 fi 10393 fi
10388 HAVE_LIBSELINUX=no 10399 HAVE_LIBSELINUX=no
10389 LIBSELINUX_LIBS= 10400 LIBSELINUX_LIBS=
10390 if test "${with_selinux}" = "yes"; then 10401 if test "${with_selinux}" = "yes"; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
10392 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 10403 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
10393 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 10404 if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
10394 $as_echo_n "(cached) " >&6 10405 $as_echo_n "(cached) " >&6
10395 else 10406 else
10396 ac_check_lib_save_LIBS=$LIBS 10407 ac_check_lib_save_LIBS=$LIBS
10397 LIBS="-lselinux $LIBS" 10408 LIBS="-lselinux $LIBS"
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 conftest$ac_exeext conftest.$ac_ext 10433 conftest$ac_exeext conftest.$ac_ext
10423 LIBS=$ac_check_lib_save_LIBS 10434 LIBS=$ac_check_lib_save_LIBS
10424 fi 10435 fi
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
10426 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 10437 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
10427 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 10438 if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
10428 HAVE_LIBSELINUX=yes 10439 HAVE_LIBSELINUX=yes
10429 else 10440 else
10430 HAVE_LIBSELINUX=no 10441 HAVE_LIBSELINUX=no
10431 fi 10442 fi
10432 10443
10446 10457
10447 # Extract the first word of "pkg-config", so it can be a program name with args. 10458 # Extract the first word of "pkg-config", so it can be a program name with args.
10448 set dummy pkg-config; ac_word=$2 10459 set dummy pkg-config; ac_word=$2
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10450 $as_echo_n "checking for $ac_word... " >&6; } 10461 $as_echo_n "checking for $ac_word... " >&6; }
10451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10462 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10452 $as_echo_n "(cached) " >&6 10463 $as_echo_n "(cached) " >&6
10453 else 10464 else
10454 case $PKG_CONFIG in 10465 case $PKG_CONFIG in
10455 [\\/]* | ?:[\\/]*) 10466 [\\/]* | ?:[\\/]*)
10456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10467 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10548 LUCID_LIBW= 10559 LUCID_LIBW=
10549 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 10560 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
10550 if test "$with_xaw3d" != no; then 10561 if test "$with_xaw3d" != no; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
10552 $as_echo_n "checking for xaw3d... " >&6; } 10563 $as_echo_n "checking for xaw3d... " >&6; }
10553 if test "${emacs_cv_xaw3d+set}" = set; then : 10564 if ${emacs_cv_xaw3d+:} false; then :
10554 $as_echo_n "(cached) " >&6 10565 $as_echo_n "(cached) " >&6
10555 else 10566 else
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */ 10568 /* end confdefs.h. */
10558 10569
10590 else 10601 else
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 $as_echo "no" >&6; } 10603 $as_echo "no" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
10594 $as_echo_n "checking for libXaw... " >&6; } 10605 $as_echo_n "checking for libXaw... " >&6; }
10595 if test "${emacs_cv_xaw+set}" = set; then : 10606 if ${emacs_cv_xaw+:} false; then :
10596 $as_echo_n "(cached) " >&6 10607 $as_echo_n "(cached) " >&6
10597 else 10608 else
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */ 10610 /* end confdefs.h. */
10600 10611
10636 10647
10637 LIBXTR6= 10648 LIBXTR6=
10638 if test "${USE_X_TOOLKIT}" != "none"; then 10649 if test "${USE_X_TOOLKIT}" != "none"; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
10640 $as_echo_n "checking X11 toolkit version... " >&6; } 10651 $as_echo_n "checking X11 toolkit version... " >&6; }
10641 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 10652 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
10642 $as_echo_n "(cached) " >&6 10653 $as_echo_n "(cached) " >&6
10643 else 10654 else
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */ 10656 /* end confdefs.h. */
10646 #include <X11/Intrinsic.h> 10657 #include <X11/Intrinsic.h>
10687 else 10698 else
10688 LIBS="-lXt $LIBS" 10699 LIBS="-lXt $LIBS"
10689 fi 10700 fi
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
10691 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 10702 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
10692 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 10703 if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
10693 $as_echo_n "(cached) " >&6 10704 $as_echo_n "(cached) " >&6
10694 else 10705 else
10695 ac_check_lib_save_LIBS=$LIBS 10706 ac_check_lib_save_LIBS=$LIBS
10696 LIBS="-lXmu $LIBS" 10707 LIBS="-lXmu $LIBS"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 conftest$ac_exeext conftest.$ac_ext 10732 conftest$ac_exeext conftest.$ac_ext
10722 LIBS=$ac_check_lib_save_LIBS 10733 LIBS=$ac_check_lib_save_LIBS
10723 fi 10734 fi
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10725 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 10736 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
10726 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 10737 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
10727 cat >>confdefs.h <<_ACEOF 10738 cat >>confdefs.h <<_ACEOF
10728 #define HAVE_LIBXMU 1 10739 #define HAVE_LIBXMU 1
10729 _ACEOF 10740 _ACEOF
10730 10741
10731 LIBS="-lXmu $LIBS" 10742 LIBS="-lXmu $LIBS"
10748 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 10759 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10749 if test "${HAVE_X11}" = "yes"; then 10760 if test "${HAVE_X11}" = "yes"; then
10750 if test "${USE_X_TOOLKIT}" != "none"; then 10761 if test "${USE_X_TOOLKIT}" != "none"; then
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10752 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 10763 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10753 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 10764 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10754 $as_echo_n "(cached) " >&6 10765 $as_echo_n "(cached) " >&6
10755 else 10766 else
10756 ac_check_lib_save_LIBS=$LIBS 10767 ac_check_lib_save_LIBS=$LIBS
10757 LIBS="-lXext $LIBS" 10768 LIBS="-lXext $LIBS"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 conftest$ac_exeext conftest.$ac_ext 10793 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS 10794 LIBS=$ac_check_lib_save_LIBS
10784 fi 10795 fi
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10786 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 10797 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10787 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 10798 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10788 cat >>confdefs.h <<_ACEOF 10799 cat >>confdefs.h <<_ACEOF
10789 #define HAVE_LIBXEXT 1 10800 #define HAVE_LIBXEXT 1
10790 _ACEOF 10801 _ACEOF
10791 10802
10792 LIBS="-lXext $LIBS" 10803 LIBS="-lXext $LIBS"
10798 10809
10799 LIBXP= 10810 LIBXP=
10800 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 10811 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
10802 $as_echo_n "checking for Motif version 2.1... " >&6; } 10813 $as_echo_n "checking for Motif version 2.1... " >&6; }
10803 if test "${emacs_cv_motif_version_2_1+set}" = set; then : 10814 if ${emacs_cv_motif_version_2_1+:} false; then :
10804 $as_echo_n "(cached) " >&6 10815 $as_echo_n "(cached) " >&6
10805 else 10816 else
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */ 10818 /* end confdefs.h. */
10808 #include <Xm/Xm.h> 10819 #include <Xm/Xm.h>
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
10829 $as_echo "$emacs_cv_motif_version_2_1" >&6; } 10840 $as_echo "$emacs_cv_motif_version_2_1" >&6; }
10830 if test $emacs_cv_motif_version_2_1 = yes; then 10841 if test $emacs_cv_motif_version_2_1 = yes; then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
10832 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 10843 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
10833 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 10844 if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
10834 $as_echo_n "(cached) " >&6 10845 $as_echo_n "(cached) " >&6
10835 else 10846 else
10836 ac_check_lib_save_LIBS=$LIBS 10847 ac_check_lib_save_LIBS=$LIBS
10837 LIBS="-lXp $LIBS" 10848 LIBS="-lXp $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 conftest$ac_exeext conftest.$ac_ext 10873 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_lib_save_LIBS 10874 LIBS=$ac_check_lib_save_LIBS
10864 fi 10875 fi
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10866 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 10877 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
10867 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 10878 if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
10868 LIBXP=-lXp 10879 LIBXP=-lXp
10869 fi 10880 fi
10870 10881
10871 else 10882 else
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
10873 $as_echo_n "checking for LessTif where some systems put it... " >&6; } 10884 $as_echo_n "checking for LessTif where some systems put it... " >&6; }
10874 if test "${emacs_cv_lesstif+set}" = set; then : 10885 if ${emacs_cv_lesstif+:} false; then :
10875 $as_echo_n "(cached) " >&6 10886 $as_echo_n "(cached) " >&6
10876 else 10887 else
10877 # We put this in CFLAGS temporarily to precede other -I options 10888 # We put this in CFLAGS temporarily to precede other -I options
10878 # that might be in CFLAGS temporarily. 10889 # that might be in CFLAGS temporarily.
10879 # We put this in CPPFLAGS where it precedes the other -I options. 10890 # We put this in CPPFLAGS where it precedes the other -I options.
11028 11039
11029 # Extract the first word of "pkg-config", so it can be a program name with args. 11040 # Extract the first word of "pkg-config", so it can be a program name with args.
11030 set dummy pkg-config; ac_word=$2 11041 set dummy pkg-config; ac_word=$2
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11032 $as_echo_n "checking for $ac_word... " >&6; } 11043 $as_echo_n "checking for $ac_word... " >&6; }
11033 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11044 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11034 $as_echo_n "(cached) " >&6 11045 $as_echo_n "(cached) " >&6
11035 else 11046 else
11036 case $PKG_CONFIG in 11047 case $PKG_CONFIG in
11037 [\\/]* | ?:[\\/]*) 11048 [\\/]* | ?:[\\/]*)
11038 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11049 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11130 11141
11131 # Extract the first word of "pkg-config", so it can be a program name with args. 11142 # Extract the first word of "pkg-config", so it can be a program name with args.
11132 set dummy pkg-config; ac_word=$2 11143 set dummy pkg-config; ac_word=$2
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11134 $as_echo_n "checking for $ac_word... " >&6; } 11145 $as_echo_n "checking for $ac_word... " >&6; }
11135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11146 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11136 $as_echo_n "(cached) " >&6 11147 $as_echo_n "(cached) " >&6
11137 else 11148 else
11138 case $PKG_CONFIG in 11149 case $PKG_CONFIG in
11139 [\\/]* | ?:[\\/]*) 11150 [\\/]* | ?:[\\/]*)
11140 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11151 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11222 ## Because xftfont.c uses XRenderQueryExtension, we also 11233 ## Because xftfont.c uses XRenderQueryExtension, we also
11223 ## need to link to -lXrender. 11234 ## need to link to -lXrender.
11224 HAVE_XRENDER=no 11235 HAVE_XRENDER=no
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
11226 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 11237 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
11227 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 11238 if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
11228 $as_echo_n "(cached) " >&6 11239 $as_echo_n "(cached) " >&6
11229 else 11240 else
11230 ac_check_lib_save_LIBS=$LIBS 11241 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lXrender $LIBS" 11242 LIBS="-lXrender $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 conftest$ac_exeext conftest.$ac_ext 11267 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS 11268 LIBS=$ac_check_lib_save_LIBS
11258 fi 11269 fi
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11260 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 11271 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
11261 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 11272 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
11262 HAVE_XRENDER=yes 11273 HAVE_XRENDER=yes
11263 fi 11274 fi
11264 11275
11265 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then 11276 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
11266 OLD_CPPFLAGS="$CPPFLAGS" 11277 OLD_CPPFLAGS="$CPPFLAGS"
11269 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 11280 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
11270 CFLAGS="$CFLAGS $XFT_CFLAGS" 11281 CFLAGS="$CFLAGS $XFT_CFLAGS"
11271 XFT_LIBS="-lXrender $XFT_LIBS" 11282 XFT_LIBS="-lXrender $XFT_LIBS"
11272 LIBS="$XFT_LIBS $LIBS" 11283 LIBS="$XFT_LIBS $LIBS"
11273 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 11284 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
11274 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 11285 if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
11276 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 11287 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
11277 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 11288 if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
11278 $as_echo_n "(cached) " >&6 11289 $as_echo_n "(cached) " >&6
11279 else 11290 else
11280 ac_check_lib_save_LIBS=$LIBS 11291 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-lXft $XFT_LIBS $LIBS" 11292 LIBS="-lXft $XFT_LIBS $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 conftest$ac_exeext conftest.$ac_ext 11317 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS 11318 LIBS=$ac_check_lib_save_LIBS
11308 fi 11319 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
11310 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 11321 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
11311 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 11322 if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
11312 HAVE_XFT=yes 11323 HAVE_XFT=yes
11313 fi 11324 fi
11314 11325
11315 fi 11326 fi
11316 11327
11349 11360
11350 # Extract the first word of "pkg-config", so it can be a program name with args. 11361 # Extract the first word of "pkg-config", so it can be a program name with args.
11351 set dummy pkg-config; ac_word=$2 11362 set dummy pkg-config; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; } 11364 $as_echo_n "checking for $ac_word... " >&6; }
11354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11365 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11355 $as_echo_n "(cached) " >&6 11366 $as_echo_n "(cached) " >&6
11356 else 11367 else
11357 case $PKG_CONFIG in 11368 case $PKG_CONFIG in
11358 [\\/]* | ?:[\\/]*) 11369 [\\/]* | ?:[\\/]*)
11359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11442 11453
11443 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h 11454 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
11444 11455
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
11446 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 11457 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
11447 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 11458 if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
11448 $as_echo_n "(cached) " >&6 11459 $as_echo_n "(cached) " >&6
11449 else 11460 else
11450 ac_check_lib_save_LIBS=$LIBS 11461 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-lotf $LIBS" 11462 LIBS="-lotf $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 conftest$ac_exeext conftest.$ac_ext 11487 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS 11488 LIBS=$ac_check_lib_save_LIBS
11478 fi 11489 fi
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
11480 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 11491 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
11481 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 11492 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
11482 HAVE_OTF_GET_VARIATION_GLYPHS=yes 11493 HAVE_OTF_GET_VARIATION_GLYPHS=yes
11483 else 11494 else
11484 HAVE_OTF_GET_VARIATION_GLYPHS=no 11495 HAVE_OTF_GET_VARIATION_GLYPHS=no
11485 fi 11496 fi
11486 11497
11501 11512
11502 # Extract the first word of "pkg-config", so it can be a program name with args. 11513 # Extract the first word of "pkg-config", so it can be a program name with args.
11503 set dummy pkg-config; ac_word=$2 11514 set dummy pkg-config; ac_word=$2
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11505 $as_echo_n "checking for $ac_word... " >&6; } 11516 $as_echo_n "checking for $ac_word... " >&6; }
11506 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11517 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11507 $as_echo_n "(cached) " >&6 11518 $as_echo_n "(cached) " >&6
11508 else 11519 else
11509 case $PKG_CONFIG in 11520 case $PKG_CONFIG in
11510 [\\/]* | ?:[\\/]*) 11521 [\\/]* | ?:[\\/]*)
11511 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11619 HAVE_XPM=no 11630 HAVE_XPM=no
11620 LIBXPM= 11631 LIBXPM=
11621 if test "${HAVE_X11}" = "yes"; then 11632 if test "${HAVE_X11}" = "yes"; then
11622 if test "${with_xpm}" != "no"; then 11633 if test "${with_xpm}" != "no"; then
11623 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 11634 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
11624 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 11635 if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
11626 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 11637 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
11627 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 11638 if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
11628 $as_echo_n "(cached) " >&6 11639 $as_echo_n "(cached) " >&6
11629 else 11640 else
11630 ac_check_lib_save_LIBS=$LIBS 11641 ac_check_lib_save_LIBS=$LIBS
11631 LIBS="-lXpm -lX11 $LIBS" 11642 LIBS="-lXpm -lX11 $LIBS"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 conftest$ac_exeext conftest.$ac_ext 11667 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_lib_save_LIBS 11668 LIBS=$ac_check_lib_save_LIBS
11658 fi 11669 fi
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11660 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 11671 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
11661 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 11672 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
11662 HAVE_XPM=yes 11673 HAVE_XPM=yes
11663 fi 11674 fi
11664 11675
11665 fi 11676 fi
11666 11677
11708 HAVE_JPEG=no 11719 HAVE_JPEG=no
11709 LIBJPEG= 11720 LIBJPEG=
11710 if test "${HAVE_X11}" = "yes"; then 11721 if test "${HAVE_X11}" = "yes"; then
11711 if test "${with_jpeg}" != "no"; then 11722 if test "${with_jpeg}" != "no"; then
11712 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 11723 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
11713 if test "x$ac_cv_header_jerror_h" = x""yes; then : 11724 if test "x$ac_cv_header_jerror_h" = xyes; then :
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
11715 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 11726 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
11716 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 11727 if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
11717 $as_echo_n "(cached) " >&6 11728 $as_echo_n "(cached) " >&6
11718 else 11729 else
11719 ac_check_lib_save_LIBS=$LIBS 11730 ac_check_lib_save_LIBS=$LIBS
11720 LIBS="-ljpeg $LIBS" 11731 LIBS="-ljpeg $LIBS"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 conftest$ac_exeext conftest.$ac_ext 11756 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_lib_save_LIBS 11757 LIBS=$ac_check_lib_save_LIBS
11747 fi 11758 fi
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11749 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 11760 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
11750 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 11761 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
11751 HAVE_JPEG=yes 11762 HAVE_JPEG=yes
11752 fi 11763 fi
11753 11764
11754 fi 11765 fi
11755 11766
11804 done 11815 done
11805 11816
11806 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 11817 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
11808 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } 11819 $as_echo_n "checking for png_get_channels in -lpng... " >&6; }
11809 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 11820 if ${ac_cv_lib_png_png_get_channels+:} false; then :
11810 $as_echo_n "(cached) " >&6 11821 $as_echo_n "(cached) " >&6
11811 else 11822 else
11812 ac_check_lib_save_LIBS=$LIBS 11823 ac_check_lib_save_LIBS=$LIBS
11813 LIBS="-lpng -lz -lm $LIBS" 11824 LIBS="-lpng -lz -lm $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 conftest$ac_exeext conftest.$ac_ext 11849 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS 11850 LIBS=$ac_check_lib_save_LIBS
11840 fi 11851 fi
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
11842 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 11853 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
11843 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 11854 if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
11844 HAVE_PNG=yes 11855 HAVE_PNG=yes
11845 fi 11856 fi
11846 11857
11847 fi 11858 fi
11848 fi 11859 fi
11860 HAVE_TIFF=no 11871 HAVE_TIFF=no
11861 LIBTIFF= 11872 LIBTIFF=
11862 if test "${HAVE_X11}" = "yes"; then 11873 if test "${HAVE_X11}" = "yes"; then
11863 if test "${with_tiff}" != "no"; then 11874 if test "${with_tiff}" != "no"; then
11864 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 11875 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
11865 if test "x$ac_cv_header_tiffio_h" = x""yes; then : 11876 if test "x$ac_cv_header_tiffio_h" = xyes; then :
11866 tifflibs="-lz -lm" 11877 tifflibs="-lz -lm"
11867 # At least one tiff package requires the jpeg library. 11878 # At least one tiff package requires the jpeg library.
11868 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 11879 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
11870 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 11881 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
11871 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 11882 if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
11872 $as_echo_n "(cached) " >&6 11883 $as_echo_n "(cached) " >&6
11873 else 11884 else
11874 ac_check_lib_save_LIBS=$LIBS 11885 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-ltiff $tifflibs $LIBS" 11886 LIBS="-ltiff $tifflibs $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 conftest$ac_exeext conftest.$ac_ext 11911 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS 11912 LIBS=$ac_check_lib_save_LIBS
11902 fi 11913 fi
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
11904 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 11915 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
11905 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 11916 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
11906 HAVE_TIFF=yes 11917 HAVE_TIFF=yes
11907 fi 11918 fi
11908 11919
11909 fi 11920 fi
11910 11921
11923 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 11934 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
11924 HAVE_GIF=no 11935 HAVE_GIF=no
11925 LIBGIF= 11936 LIBGIF=
11926 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 11937 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
11927 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 11938 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
11928 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 11939 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
11929 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 11940 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
11930 # Earlier versions can crash Emacs. 11941 # Earlier versions can crash Emacs.
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
11932 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 11943 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
11933 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 11944 if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
11934 $as_echo_n "(cached) " >&6 11945 $as_echo_n "(cached) " >&6
11935 else 11946 else
11936 ac_check_lib_save_LIBS=$LIBS 11947 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lgif $LIBS" 11948 LIBS="-lgif $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 conftest$ac_exeext conftest.$ac_ext 11973 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS 11974 LIBS=$ac_check_lib_save_LIBS
11964 fi 11975 fi
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
11966 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 11977 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
11967 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 11978 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
11968 HAVE_GIF=yes 11979 HAVE_GIF=yes
11969 else 11980 else
11970 HAVE_GIF=maybe 11981 HAVE_GIF=maybe
11971 fi 11982 fi
11972 11983
11978 LIBGIF=-lgif 11989 LIBGIF=-lgif
11979 elif test "$HAVE_GIF" = maybe; then 11990 elif test "$HAVE_GIF" = maybe; then
11980 # If gif_lib.h but no libgif, try libungif. 11991 # If gif_lib.h but no libgif, try libungif.
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
11982 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 11993 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
11983 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 11994 if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
11984 $as_echo_n "(cached) " >&6 11995 $as_echo_n "(cached) " >&6
11985 else 11996 else
11986 ac_check_lib_save_LIBS=$LIBS 11997 ac_check_lib_save_LIBS=$LIBS
11987 LIBS="-lungif $LIBS" 11998 LIBS="-lungif $LIBS"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 conftest$ac_exeext conftest.$ac_ext 12023 conftest$ac_exeext conftest.$ac_ext
12013 LIBS=$ac_check_lib_save_LIBS 12024 LIBS=$ac_check_lib_save_LIBS
12014 fi 12025 fi
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12016 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 12027 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
12017 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 12028 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
12018 HAVE_GIF=yes 12029 HAVE_GIF=yes
12019 else 12030 else
12020 HAVE_GIF=no 12031 HAVE_GIF=no
12021 fi 12032 fi
12022 12033
12059 HAVE_GPM=no 12070 HAVE_GPM=no
12060 LIBGPM= 12071 LIBGPM=
12061 MOUSE_SUPPORT= 12072 MOUSE_SUPPORT=
12062 if test "${with_gpm}" != "no"; then 12073 if test "${with_gpm}" != "no"; then
12063 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 12074 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
12064 if test "x$ac_cv_header_gpm_h" = x""yes; then : 12075 if test "x$ac_cv_header_gpm_h" = xyes; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
12066 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 12077 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
12067 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 12078 if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
12068 $as_echo_n "(cached) " >&6 12079 $as_echo_n "(cached) " >&6
12069 else 12080 else
12070 ac_check_lib_save_LIBS=$LIBS 12081 ac_check_lib_save_LIBS=$LIBS
12071 LIBS="-lgpm $LIBS" 12082 LIBS="-lgpm $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 conftest$ac_exeext conftest.$ac_ext 12107 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS 12108 LIBS=$ac_check_lib_save_LIBS
12098 fi 12109 fi
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
12100 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 12111 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
12101 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 12112 if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
12102 HAVE_GPM=yes 12113 HAVE_GPM=yes
12103 fi 12114 fi
12104 12115
12105 fi 12116 fi
12106 12117
12116 fi 12127 fi
12117 fi 12128 fi
12118 12129
12119 12130
12120 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 12131 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
12121 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 12132 if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
12122 12133
12123 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 12134 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
12124 12135
12125 fi 12136 fi
12126 12137
12161 ### Use session management (-lSM -lICE) if available 12172 ### Use session management (-lSM -lICE) if available
12162 HAVE_X_SM=no 12173 HAVE_X_SM=no
12163 LIBXSM= 12174 LIBXSM=
12164 if test "${HAVE_X11}" = "yes"; then 12175 if test "${HAVE_X11}" = "yes"; then
12165 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 12176 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
12166 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 12177 if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
12168 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 12179 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
12169 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 12180 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
12170 $as_echo_n "(cached) " >&6 12181 $as_echo_n "(cached) " >&6
12171 else 12182 else
12172 ac_check_lib_save_LIBS=$LIBS 12183 ac_check_lib_save_LIBS=$LIBS
12173 LIBS="-lSM -lICE $LIBS" 12184 LIBS="-lSM -lICE $LIBS"
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 conftest$ac_exeext conftest.$ac_ext 12209 conftest$ac_exeext conftest.$ac_ext
12199 LIBS=$ac_check_lib_save_LIBS 12210 LIBS=$ac_check_lib_save_LIBS
12200 fi 12211 fi
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12202 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 12213 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
12203 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 12214 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
12204 HAVE_X_SM=yes 12215 HAVE_X_SM=yes
12205 fi 12216 fi
12206 12217
12207 fi 12218 fi
12208 12219
12229 12240
12230 # Extract the first word of "pkg-config", so it can be a program name with args. 12241 # Extract the first word of "pkg-config", so it can be a program name with args.
12231 set dummy pkg-config; ac_word=$2 12242 set dummy pkg-config; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; } 12244 $as_echo_n "checking for $ac_word... " >&6; }
12234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12245 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12235 $as_echo_n "(cached) " >&6 12246 $as_echo_n "(cached) " >&6
12236 else 12247 else
12237 case $PKG_CONFIG in 12248 case $PKG_CONFIG in
12238 [\\/]* | ?:[\\/]*) 12249 [\\/]* | ?:[\\/]*)
12239 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12320 12331
12321 if test "${HAVE_LIBXML2}" = "yes"; then 12332 if test "${HAVE_LIBXML2}" = "yes"; then
12322 LIBS="$LIBXML2_LIBS $LIBS" 12333 LIBS="$LIBXML2_LIBS $LIBS"
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
12324 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 12335 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
12325 if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 12336 if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
12326 $as_echo_n "(cached) " >&6 12337 $as_echo_n "(cached) " >&6
12327 else 12338 else
12328 ac_check_lib_save_LIBS=$LIBS 12339 ac_check_lib_save_LIBS=$LIBS
12329 LIBS="-lxml2 $LIBS" 12340 LIBS="-lxml2 $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 conftest$ac_exeext conftest.$ac_ext 12365 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_lib_save_LIBS 12366 LIBS=$ac_check_lib_save_LIBS
12356 fi 12367 fi
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
12358 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 12369 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
12359 if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 12370 if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
12360 HAVE_LIBXML2=yes 12371 HAVE_LIBXML2=yes
12361 else 12372 else
12362 HAVE_LIBXML2=no 12373 HAVE_LIBXML2=no
12363 fi 12374 fi
12364 12375
12376 12387
12377 12388
12378 # If netdb.h doesn't declare h_errno, we must declare it by hand. 12389 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
12380 $as_echo_n "checking whether netdb declares h_errno... " >&6; } 12391 $as_echo_n "checking whether netdb declares h_errno... " >&6; }
12381 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 12392 if ${emacs_cv_netdb_declares_h_errno+:} false; then :
12382 $as_echo_n "(cached) " >&6 12393 $as_echo_n "(cached) " >&6
12383 else 12394 else
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */ 12396 /* end confdefs.h. */
12386 #include <netdb.h> 12397 #include <netdb.h>
12406 12417
12407 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 12418 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
12408 12419
12409 fi 12420 fi
12410 12421
12422 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12423 if test "x$ac_cv_type_size_t" = xyes; then :
12424
12425 else
12426
12427 cat >>confdefs.h <<_ACEOF
12428 #define size_t unsigned int
12429 _ACEOF
12430
12431 fi
12432
12411 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 12433 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12412 # for constant arguments. Useless! 12434 # for constant arguments. Useless!
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12414 $as_echo_n "checking for working alloca.h... " >&6; } 12436 $as_echo_n "checking for working alloca.h... " >&6; }
12415 if test "${ac_cv_working_alloca_h+set}" = set; then : 12437 if ${ac_cv_working_alloca_h+:} false; then :
12416 $as_echo_n "(cached) " >&6 12438 $as_echo_n "(cached) " >&6
12417 else 12439 else
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */ 12441 /* end confdefs.h. */
12420 #include <alloca.h> 12442 #include <alloca.h>
12443 12465
12444 fi 12466 fi
12445 12467
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12447 $as_echo_n "checking for alloca... " >&6; } 12469 $as_echo_n "checking for alloca... " >&6; }
12448 if test "${ac_cv_func_alloca_works+set}" = set; then : 12470 if ${ac_cv_func_alloca_works+:} false; then :
12449 $as_echo_n "(cached) " >&6 12471 $as_echo_n "(cached) " >&6
12450 else 12472 else
12451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */ 12474 /* end confdefs.h. */
12453 #ifdef __GNUC__ 12475 #ifdef __GNUC__
12462 # else 12484 # else
12463 # ifdef _AIX 12485 # ifdef _AIX
12464 #pragma alloca 12486 #pragma alloca
12465 # else 12487 # else
12466 # ifndef alloca /* predefined by HP cc +Olibcalls */ 12488 # ifndef alloca /* predefined by HP cc +Olibcalls */
12467 char *alloca (); 12489 void *alloca (size_t);
12468 # endif 12490 # endif
12469 # endif 12491 # endif
12470 # endif 12492 # endif
12471 # endif 12493 # endif
12472 #endif 12494 #endif
12506 $as_echo "#define C_ALLOCA 1" >>confdefs.h 12528 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12507 12529
12508 12530
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12510 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 12532 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12511 if test "${ac_cv_os_cray+set}" = set; then : 12533 if ${ac_cv_os_cray+:} false; then :
12512 $as_echo_n "(cached) " >&6 12534 $as_echo_n "(cached) " >&6
12513 else 12535 else
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */ 12537 /* end confdefs.h. */
12516 #if defined CRAY && ! defined CRAY2 12538 #if defined CRAY && ! defined CRAY2
12547 done 12569 done
12548 fi 12570 fi
12549 12571
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12551 $as_echo_n "checking stack direction for C alloca... " >&6; } 12573 $as_echo_n "checking stack direction for C alloca... " >&6; }
12552 if test "${ac_cv_c_stack_direction+set}" = set; then : 12574 if ${ac_cv_c_stack_direction+:} false; then :
12553 $as_echo_n "(cached) " >&6 12575 $as_echo_n "(cached) " >&6
12554 else 12576 else
12555 if test "$cross_compiling" = yes; then : 12577 if test "$cross_compiling" = yes; then :
12556 ac_cv_c_stack_direction=0 12578 ac_cv_c_stack_direction=0
12557 else 12579 else
12604 12626
12605 # fmod, logb, and frexp are found in -lm on most systems. 12627 # fmod, logb, and frexp are found in -lm on most systems.
12606 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 12628 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12608 $as_echo_n "checking for sqrt in -lm... " >&6; } 12630 $as_echo_n "checking for sqrt in -lm... " >&6; }
12609 if test "${ac_cv_lib_m_sqrt+set}" = set; then : 12631 if ${ac_cv_lib_m_sqrt+:} false; then :
12610 $as_echo_n "(cached) " >&6 12632 $as_echo_n "(cached) " >&6
12611 else 12633 else
12612 ac_check_lib_save_LIBS=$LIBS 12634 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lm $LIBS" 12635 LIBS="-lm $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 conftest$ac_exeext conftest.$ac_ext 12660 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_lib_save_LIBS 12661 LIBS=$ac_check_lib_save_LIBS
12640 fi 12662 fi
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12642 $as_echo "$ac_cv_lib_m_sqrt" >&6; } 12664 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
12643 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 12665 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12644 cat >>confdefs.h <<_ACEOF 12666 cat >>confdefs.h <<_ACEOF
12645 #define HAVE_LIBM 1 12667 #define HAVE_LIBM 1
12646 _ACEOF 12668 _ACEOF
12647 12669
12648 LIBS="-lm $LIBS" 12670 LIBS="-lm $LIBS"
12652 12674
12653 # Check for mail-locking functions in a "mail" library. Probably this should 12675 # Check for mail-locking functions in a "mail" library. Probably this should
12654 # have the same check as for liblockfile below. 12676 # have the same check as for liblockfile below.
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
12656 $as_echo_n "checking for maillock in -lmail... " >&6; } 12678 $as_echo_n "checking for maillock in -lmail... " >&6; }
12657 if test "${ac_cv_lib_mail_maillock+set}" = set; then : 12679 if ${ac_cv_lib_mail_maillock+:} false; then :
12658 $as_echo_n "(cached) " >&6 12680 $as_echo_n "(cached) " >&6
12659 else 12681 else
12660 ac_check_lib_save_LIBS=$LIBS 12682 ac_check_lib_save_LIBS=$LIBS
12661 LIBS="-lmail $LIBS" 12683 LIBS="-lmail $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 conftest$ac_exeext conftest.$ac_ext 12708 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS 12709 LIBS=$ac_check_lib_save_LIBS
12688 fi 12710 fi
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
12690 $as_echo "$ac_cv_lib_mail_maillock" >&6; } 12712 $as_echo "$ac_cv_lib_mail_maillock" >&6; }
12691 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 12713 if test "x$ac_cv_lib_mail_maillock" = xyes; then :
12692 have_mail=yes 12714 have_mail=yes
12693 else 12715 else
12694 have_mail=no 12716 have_mail=no
12695 fi 12717 fi
12696 12718
12703 else 12725 else
12704 LIBS_MAIL= 12726 LIBS_MAIL=
12705 fi 12727 fi
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
12707 $as_echo_n "checking for maillock in -llockfile... " >&6; } 12729 $as_echo_n "checking for maillock in -llockfile... " >&6; }
12708 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 12730 if ${ac_cv_lib_lockfile_maillock+:} false; then :
12709 $as_echo_n "(cached) " >&6 12731 $as_echo_n "(cached) " >&6
12710 else 12732 else
12711 ac_check_lib_save_LIBS=$LIBS 12733 ac_check_lib_save_LIBS=$LIBS
12712 LIBS="-llockfile $LIBS" 12734 LIBS="-llockfile $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 conftest$ac_exeext conftest.$ac_ext 12759 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS 12760 LIBS=$ac_check_lib_save_LIBS
12739 fi 12761 fi
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
12741 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 12763 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
12742 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 12764 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
12743 have_lockfile=yes 12765 have_lockfile=yes
12744 else 12766 else
12745 have_lockfile=no 12767 have_lockfile=no
12746 fi 12768 fi
12747 12769
12757 # (no liblockfile.a installed), ensure that we don't need to. 12779 # (no liblockfile.a installed), ensure that we don't need to.
12758 # Extract the first word of "liblockfile.so", so it can be a program name with args. 12780 # Extract the first word of "liblockfile.so", so it can be a program name with args.
12759 set dummy liblockfile.so; ac_word=$2 12781 set dummy liblockfile.so; ac_word=$2
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12761 $as_echo_n "checking for $ac_word... " >&6; } 12783 $as_echo_n "checking for $ac_word... " >&6; }
12762 if test "${ac_cv_prog_liblockfile+set}" = set; then : 12784 if ${ac_cv_prog_liblockfile+:} false; then :
12763 $as_echo_n "(cached) " >&6 12785 $as_echo_n "(cached) " >&6
12764 else 12786 else
12765 if test -n "$liblockfile"; then 12787 if test -n "$liblockfile"; then
12766 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 12788 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
12767 else 12789 else
12801 fi 12823 fi
12802 fi 12824 fi
12803 for ac_func in touchlock 12825 for ac_func in touchlock
12804 do : 12826 do :
12805 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 12827 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
12806 if test "x$ac_cv_func_touchlock" = x""yes; then : 12828 if test "x$ac_cv_func_touchlock" = xyes; then :
12807 cat >>confdefs.h <<_ACEOF 12829 cat >>confdefs.h <<_ACEOF
12808 #define HAVE_TOUCHLOCK 1 12830 #define HAVE_TOUCHLOCK 1
12809 _ACEOF 12831 _ACEOF
12810 12832
12811 fi 12833 fi
12812 done 12834 done
12813 12835
12814 for ac_header in maillock.h 12836 for ac_header in maillock.h
12815 do : 12837 do :
12816 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 12838 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
12817 if test "x$ac_cv_header_maillock_h" = x""yes; then : 12839 if test "x$ac_cv_header_maillock_h" = xyes; then :
12818 cat >>confdefs.h <<_ACEOF 12840 cat >>confdefs.h <<_ACEOF
12819 #define HAVE_MAILLOCK_H 1 12841 #define HAVE_MAILLOCK_H 1
12820 _ACEOF 12842 _ACEOF
12821 12843
12822 fi 12844 fi
12893 done 12915 done
12894 12916
12895 12917
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5 12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5
12897 $as_echo_n "checking for __builtin_unwind_init... " >&6; } 12919 $as_echo_n "checking for __builtin_unwind_init... " >&6; }
12898 if test "${emacs_cv_func___builtin_unwind_init+set}" = set; then : 12920 if ${emacs_cv_func___builtin_unwind_init+:} false; then :
12899 $as_echo_n "(cached) " >&6 12921 $as_echo_n "(cached) " >&6
12900 else 12922 else
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */ 12924 /* end confdefs.h. */
12903 12925
12926 fi 12948 fi
12927 12949
12928 for ac_header in sys/un.h 12950 for ac_header in sys/un.h
12929 do : 12951 do :
12930 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 12952 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
12931 if test "x$ac_cv_header_sys_un_h" = x""yes; then : 12953 if test "x$ac_cv_header_sys_un_h" = xyes; then :
12932 cat >>confdefs.h <<_ACEOF 12954 cat >>confdefs.h <<_ACEOF
12933 #define HAVE_SYS_UN_H 1 12955 #define HAVE_SYS_UN_H 1
12934 _ACEOF 12956 _ACEOF
12935 12957
12936 fi 12958 fi
12946 12968
12947 ac_save_LIBS=$LIBS 12969 ac_save_LIBS=$LIBS
12948 12970
12949 # Check for getloadavg, but be sure not to touch the cache variable. 12971 # Check for getloadavg, but be sure not to touch the cache variable.
12950 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12972 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12951 if test "x$ac_cv_func_getloadavg" = x""yes; then : 12973 if test "x$ac_cv_func_getloadavg" = xyes; then :
12952 exit 0 12974 exit 0
12953 else 12975 else
12954 exit 1 12976 exit 1
12955 fi 12977 fi
12956 ) && ac_have_func=yes 12978 ) && ac_have_func=yes
12957 12979
12958 # On HPUX9, an unprivileged user can get load averages through this function. 12980 # On HPUX9, an unprivileged user can get load averages through this function.
12959 for ac_func in pstat_getdynamic 12981 for ac_func in pstat_getdynamic
12960 do : 12982 do :
12961 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 12983 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
12962 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 12984 if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF 12985 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_PSTAT_GETDYNAMIC 1 12986 #define HAVE_PSTAT_GETDYNAMIC 1
12965 _ACEOF 12987 _ACEOF
12966 12988
12967 fi 12989 fi
12969 12991
12970 12992
12971 # Solaris has libkstat which does not require root. 12993 # Solaris has libkstat which does not require root.
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12973 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 12995 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12974 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 12996 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12975 $as_echo_n "(cached) " >&6 12997 $as_echo_n "(cached) " >&6
12976 else 12998 else
12977 ac_check_lib_save_LIBS=$LIBS 12999 ac_check_lib_save_LIBS=$LIBS
12978 LIBS="-lkstat $LIBS" 13000 LIBS="-lkstat $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 conftest$ac_exeext conftest.$ac_ext 13025 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_lib_save_LIBS 13026 LIBS=$ac_check_lib_save_LIBS
13005 fi 13027 fi
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13007 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 13029 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13008 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 13030 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13009 cat >>confdefs.h <<_ACEOF 13031 cat >>confdefs.h <<_ACEOF
13010 #define HAVE_LIBKSTAT 1 13032 #define HAVE_LIBKSTAT 1
13011 _ACEOF 13033 _ACEOF
13012 13034
13013 LIBS="-lkstat $LIBS" 13035 LIBS="-lkstat $LIBS"
13021 # to get the right answer into the cache. 13043 # to get the right answer into the cache.
13022 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 13044 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
13023 if test $ac_have_func = no; then 13045 if test $ac_have_func = no; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
13025 $as_echo_n "checking for elf_begin in -lelf... " >&6; } 13047 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
13026 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 13048 if ${ac_cv_lib_elf_elf_begin+:} false; then :
13027 $as_echo_n "(cached) " >&6 13049 $as_echo_n "(cached) " >&6
13028 else 13050 else
13029 ac_check_lib_save_LIBS=$LIBS 13051 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lelf $LIBS" 13052 LIBS="-lelf $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 conftest$ac_exeext conftest.$ac_ext 13077 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_lib_save_LIBS 13078 LIBS=$ac_check_lib_save_LIBS
13057 fi 13079 fi
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
13059 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 13081 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
13060 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 13082 if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
13061 LIBS="-lelf $LIBS" 13083 LIBS="-lelf $LIBS"
13062 fi 13084 fi
13063 13085
13064 fi 13086 fi
13065 if test $ac_have_func = no; then 13087 if test $ac_have_func = no; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
13067 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } 13089 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
13068 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 13090 if ${ac_cv_lib_kvm_kvm_open+:} false; then :
13069 $as_echo_n "(cached) " >&6 13091 $as_echo_n "(cached) " >&6
13070 else 13092 else
13071 ac_check_lib_save_LIBS=$LIBS 13093 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lkvm $LIBS" 13094 LIBS="-lkvm $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 conftest$ac_exeext conftest.$ac_ext 13119 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS 13120 LIBS=$ac_check_lib_save_LIBS
13099 fi 13121 fi
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
13101 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 13123 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
13102 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 13124 if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
13103 LIBS="-lkvm $LIBS" 13125 LIBS="-lkvm $LIBS"
13104 fi 13126 fi
13105 13127
13106 # Check for the 4.4BSD definition of getloadavg. 13128 # Check for the 4.4BSD definition of getloadavg.
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
13108 $as_echo_n "checking for getloadavg in -lutil... " >&6; } 13130 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
13109 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 13131 if ${ac_cv_lib_util_getloadavg+:} false; then :
13110 $as_echo_n "(cached) " >&6 13132 $as_echo_n "(cached) " >&6
13111 else 13133 else
13112 ac_check_lib_save_LIBS=$LIBS 13134 ac_check_lib_save_LIBS=$LIBS
13113 LIBS="-lutil $LIBS" 13135 LIBS="-lutil $LIBS"
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 conftest$ac_exeext conftest.$ac_ext 13160 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_lib_save_LIBS 13161 LIBS=$ac_check_lib_save_LIBS
13140 fi 13162 fi
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
13142 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } 13164 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
13143 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 13165 if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
13144 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 13166 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
13145 fi 13167 fi
13146 13168
13147 fi 13169 fi
13148 13170
13151 # Since it is not a standard part of AIX, it might be installed locally. 13173 # Since it is not a standard part of AIX, it might be installed locally.
13152 ac_getloadavg_LIBS=$LIBS 13174 ac_getloadavg_LIBS=$LIBS
13153 LIBS="-L/usr/local/lib $LIBS" 13175 LIBS="-L/usr/local/lib $LIBS"
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
13155 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 13177 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
13156 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 13178 if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
13157 $as_echo_n "(cached) " >&6 13179 $as_echo_n "(cached) " >&6
13158 else 13180 else
13159 ac_check_lib_save_LIBS=$LIBS 13181 ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-lgetloadavg $LIBS" 13182 LIBS="-lgetloadavg $LIBS"
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 conftest$ac_exeext conftest.$ac_ext 13207 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_lib_save_LIBS 13208 LIBS=$ac_check_lib_save_LIBS
13187 fi 13209 fi
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
13189 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 13211 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
13190 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 13212 if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
13191 LIBS="-lgetloadavg $LIBS" 13213 LIBS="-lgetloadavg $LIBS"
13192 else 13214 else
13193 LIBS=$ac_getloadavg_LIBS 13215 LIBS=$ac_getloadavg_LIBS
13194 fi 13216 fi
13195 13217
13198 # Make sure it is really in the library, if we think we found it, 13220 # Make sure it is really in the library, if we think we found it,
13199 # otherwise set up the replacement function. 13221 # otherwise set up the replacement function.
13200 for ac_func in getloadavg 13222 for ac_func in getloadavg
13201 do : 13223 do :
13202 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 13224 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
13203 if test "x$ac_cv_func_getloadavg" = x""yes; then : 13225 if test "x$ac_cv_func_getloadavg" = xyes; then :
13204 cat >>confdefs.h <<_ACEOF 13226 cat >>confdefs.h <<_ACEOF
13205 #define HAVE_GETLOADAVG 1 13227 #define HAVE_GETLOADAVG 1
13206 _ACEOF 13228 _ACEOF
13207 13229
13208 else 13230 else
13216 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h 13238 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
13217 13239
13218 # Figure out what our getloadavg.c needs. 13240 # Figure out what our getloadavg.c needs.
13219 ac_have_func=no 13241 ac_have_func=no
13220 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 13242 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
13221 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 13243 if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
13222 ac_have_func=yes 13244 ac_have_func=yes
13223 13245
13224 $as_echo "#define DGUX 1" >>confdefs.h 13246 $as_echo "#define DGUX 1" >>confdefs.h
13225 13247
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
13227 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 13249 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
13228 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 13250 if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
13229 $as_echo_n "(cached) " >&6 13251 $as_echo_n "(cached) " >&6
13230 else 13252 else
13231 ac_check_lib_save_LIBS=$LIBS 13253 ac_check_lib_save_LIBS=$LIBS
13232 LIBS="-ldgc $LIBS" 13254 LIBS="-ldgc $LIBS"
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 conftest$ac_exeext conftest.$ac_ext 13279 conftest$ac_exeext conftest.$ac_ext
13258 LIBS=$ac_check_lib_save_LIBS 13280 LIBS=$ac_check_lib_save_LIBS
13259 fi 13281 fi
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
13261 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 13283 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
13262 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 13284 if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
13263 cat >>confdefs.h <<_ACEOF 13285 cat >>confdefs.h <<_ACEOF
13264 #define HAVE_LIBDGC 1 13286 #define HAVE_LIBDGC 1
13265 _ACEOF 13287 _ACEOF
13266 13288
13267 LIBS="-ldgc $LIBS" 13289 LIBS="-ldgc $LIBS"
13271 fi 13293 fi
13272 13294
13273 13295
13274 13296
13275 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 13297 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13276 if test "x$ac_cv_header_locale_h" = x""yes; then : 13298 if test "x$ac_cv_header_locale_h" = xyes; then :
13277 13299
13278 fi 13300 fi
13279 13301
13280 13302
13281 for ac_func in setlocale 13303 for ac_func in setlocale
13282 do : 13304 do :
13283 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 13305 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
13284 if test "x$ac_cv_func_setlocale" = x""yes; then : 13306 if test "x$ac_cv_func_setlocale" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF 13307 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_SETLOCALE 1 13308 #define HAVE_SETLOCALE 1
13287 _ACEOF 13309 _ACEOF
13288 13310
13289 fi 13311 fi
13291 13313
13292 13314
13293 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 13315 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
13294 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because 13316 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
13295 # Irix 4.0.5F has the header but not the library. 13317 # Irix 4.0.5F has the header but not the library.
13296 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 13318 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \
13319 && test "$ac_cv_lib_kvm_kvm_open" = yes; then
13297 ac_have_func=yes 13320 ac_have_func=yes
13298 13321
13299 $as_echo "#define SVR4 1" >>confdefs.h 13322 $as_echo "#define SVR4 1" >>confdefs.h
13300 13323
13301 fi 13324 fi
13302 13325
13303 if test $ac_have_func = no; then 13326 if test $ac_have_func = no; then
13304 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 13327 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
13305 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 13328 if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
13306 ac_have_func=yes 13329 ac_have_func=yes
13307 13330
13308 $as_echo "#define UMAX 1" >>confdefs.h 13331 $as_echo "#define UMAX 1" >>confdefs.h
13309 13332
13310 13333
13315 13338
13316 fi 13339 fi
13317 13340
13318 if test $ac_have_func = no; then 13341 if test $ac_have_func = no; then
13319 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 13342 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
13320 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 13343 if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
13321 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 13344 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
13322 13345
13323 fi 13346 fi
13324 13347
13325 13348
13327 13350
13328 if test $ac_have_func = no; then 13351 if test $ac_have_func = no; then
13329 for ac_header in mach/mach.h 13352 for ac_header in mach/mach.h
13330 do : 13353 do :
13331 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 13354 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
13332 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 13355 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
13333 cat >>confdefs.h <<_ACEOF 13356 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_MACH_MACH_H 1 13357 #define HAVE_MACH_MACH_H 1
13335 _ACEOF 13358 _ACEOF
13336 13359
13337 fi 13360 fi
13341 fi 13364 fi
13342 13365
13343 for ac_header in nlist.h 13366 for ac_header in nlist.h
13344 do : 13367 do :
13345 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 13368 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
13346 if test "x$ac_cv_header_nlist_h" = x""yes; then : 13369 if test "x$ac_cv_header_nlist_h" = xyes; then :
13347 cat >>confdefs.h <<_ACEOF 13370 cat >>confdefs.h <<_ACEOF
13348 #define HAVE_NLIST_H 1 13371 #define HAVE_NLIST_H 1
13349 _ACEOF 13372 _ACEOF
13350 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 13373 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
13351 " 13374 "
13352 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 13375 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
13353 13376
13354 cat >>confdefs.h <<_ACEOF 13377 cat >>confdefs.h <<_ACEOF
13355 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 13378 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
13356 _ACEOF 13379 _ACEOF
13357 13380
13370 13393
13371 13394
13372 # Some definitions of getloadavg require that the program be installed setgid. 13395 # Some definitions of getloadavg require that the program be installed setgid.
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
13374 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } 13397 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
13375 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 13398 if ${ac_cv_func_getloadavg_setgid+:} false; then :
13376 $as_echo_n "(cached) " >&6 13399 $as_echo_n "(cached) " >&6
13377 else 13400 else
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */ 13402 /* end confdefs.h. */
13380 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 13403 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
13403 fi 13426 fi
13404 13427
13405 if test $ac_cv_func_getloadavg_setgid = yes; then 13428 if test $ac_cv_func_getloadavg_setgid = yes; then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
13407 $as_echo_n "checking group of /dev/kmem... " >&6; } 13430 $as_echo_n "checking group of /dev/kmem... " >&6; }
13408 if test "${ac_cv_group_kmem+set}" = set; then : 13431 if ${ac_cv_group_kmem+:} false; then :
13409 $as_echo_n "(cached) " >&6 13432 $as_echo_n "(cached) " >&6
13410 else 13433 else
13411 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 13434 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
13412 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 13435 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
13413 # If we got an error (system does not support symlinks), try without -L. 13436 # If we got an error (system does not support symlinks), try without -L.
13431 13454
13432 13455
13433 13456
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13435 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 13458 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13436 if test "${ac_cv_sys_largefile_source+set}" = set; then : 13459 if ${ac_cv_sys_largefile_source+:} false; then :
13437 $as_echo_n "(cached) " >&6 13460 $as_echo_n "(cached) " >&6
13438 else 13461 else
13439 while :; do 13462 while :; do
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */ 13464 /* end confdefs.h. */
13500 fi 13523 fi
13501 13524
13502 13525
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
13504 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 13527 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
13505 if test "${ac_cv_func_getpgrp_void+set}" = set; then : 13528 if ${ac_cv_func_getpgrp_void+:} false; then :
13506 $as_echo_n "(cached) " >&6 13529 $as_echo_n "(cached) " >&6
13507 else 13530 else
13508 # Use it with a single arg. 13531 # Use it with a single arg.
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */ 13533 /* end confdefs.h. */
13540 13563
13541 13564
13542 13565
13543 13566
13544 13567
13568
13569
13570
13545 LIBC_FATAL_STDERR_=1 13571 LIBC_FATAL_STDERR_=1
13546 export LIBC_FATAL_STDERR_ 13572 export LIBC_FATAL_STDERR_
13547 13573
13548 13574
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5 13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5
13550 $as_echo_n "checking whether strtold conforms to C99... " >&6; } 13576 $as_echo_n "checking whether strtold conforms to C99... " >&6; }
13551 if test "${gl_cv_func_c99_strtold+set}" = set; then : 13577 if ${gl_cv_func_c99_strtold+:} false; then :
13552 $as_echo_n "(cached) " >&6 13578 $as_echo_n "(cached) " >&6
13553 else 13579 else
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */ 13581 /* end confdefs.h. */
13556 /* On HP-UX before 11.23, strtold returns a struct instead of 13582 /* On HP-UX before 11.23, strtold returns a struct instead of
13699 13725
13700 13726
13701 13727
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
13703 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } 13729 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
13704 if test "${gl_cv_have_include_next+set}" = set; then : 13730 if ${gl_cv_have_include_next+:} false; then :
13705 $as_echo_n "(cached) " >&6 13731 $as_echo_n "(cached) " >&6
13706 else 13732 else
13707 rm -rf conftestd1a conftestd1b conftestd2 13733 rm -rf conftestd1a conftestd1b conftestd2
13708 mkdir conftestd1a conftestd1b conftestd2 13734 mkdir conftestd1a conftestd1b conftestd2
13709 cat <<EOF > conftestd1a/conftest.h 13735 cat <<EOF > conftestd1a/conftest.h
13779 13805
13780 13806
13781 13807
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
13783 $as_echo_n "checking whether system header files limit the line length... " >&6; } 13809 $as_echo_n "checking whether system header files limit the line length... " >&6; }
13784 if test "${gl_cv_pragma_columns+set}" = set; then : 13810 if ${gl_cv_pragma_columns+:} false; then :
13785 $as_echo_n "(cached) " >&6 13811 $as_echo_n "(cached) " >&6
13786 else 13812 else
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */ 13814 /* end confdefs.h. */
13789 13815
13829 if test $gl_cv_have_include_next = yes; then 13855 if test $gl_cv_have_include_next = yes; then
13830 gl_cv_next_getopt_h='<'getopt.h'>' 13856 gl_cv_next_getopt_h='<'getopt.h'>'
13831 else 13857 else
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5 13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
13833 $as_echo_n "checking absolute name of <getopt.h>... " >&6; } 13859 $as_echo_n "checking absolute name of <getopt.h>... " >&6; }
13834 if test "${gl_cv_next_getopt_h+set}" = set; then : 13860 if ${gl_cv_next_getopt_h+:} false; then :
13835 $as_echo_n "(cached) " >&6 13861 $as_echo_n "(cached) " >&6
13836 else 13862 else
13837 13863
13838 if test $ac_cv_header_getopt_h = yes; then 13864 if test $ac_cv_header_getopt_h = yes; then
13839 13865
13888 13914
13889 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then 13915 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
13890 for ac_header in getopt.h 13916 for ac_header in getopt.h
13891 do : 13917 do :
13892 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 13918 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
13893 if test "x$ac_cv_header_getopt_h" = x""yes; then : 13919 if test "x$ac_cv_header_getopt_h" = xyes; then :
13894 cat >>confdefs.h <<_ACEOF 13920 cat >>confdefs.h <<_ACEOF
13895 #define HAVE_GETOPT_H 1 13921 #define HAVE_GETOPT_H 1
13896 _ACEOF 13922 _ACEOF
13897 13923
13898 else 13924 else
13905 13931
13906 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then 13932 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
13907 for ac_func in getopt_long_only 13933 for ac_func in getopt_long_only
13908 do : 13934 do :
13909 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 13935 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
13910 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 13936 if test "x$ac_cv_func_getopt_long_only" = xyes; then :
13911 cat >>confdefs.h <<_ACEOF 13937 cat >>confdefs.h <<_ACEOF
13912 #define HAVE_GETOPT_LONG_ONLY 1 13938 #define HAVE_GETOPT_LONG_ONLY 1
13913 _ACEOF 13939 _ACEOF
13914 13940
13915 else 13941 else
13916 gl_replace_getopt=yes 13942 gl_replace_getopt=yes
13917 fi 13943 fi
13918 done 13944 done
13919
13920 fi
13921
13922 if test -z "$gl_replace_getopt"; then
13923 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
13924 "
13925 if test "x$ac_cv_have_decl_optreset" = x""yes; then :
13926 ac_have_decl=1
13927 else
13928 ac_have_decl=0
13929 fi
13930
13931 cat >>confdefs.h <<_ACEOF
13932 #define HAVE_DECL_OPTRESET $ac_have_decl
13933 _ACEOF
13934 if test $ac_have_decl = 1; then :
13935
13936 else
13937 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
13938 "
13939 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then :
13940 ac_have_decl=1
13941 else
13942 ac_have_decl=0
13943 fi
13944
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_DECL_GETOPT_CLIP $ac_have_decl
13947 _ACEOF
13948
13949
13950 fi
13951 13945
13952 fi 13946 fi
13953 13947
13954 if test -z "$gl_replace_getopt"; then 13948 if test -z "$gl_replace_getopt"; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
13956 $as_echo_n "checking whether getopt is POSIX compatible... " >&6; } 13950 $as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
13957 if test "${gl_cv_func_getopt_posix+set}" = set; then : 13951 if ${gl_cv_func_getopt_posix+:} false; then :
13958 $as_echo_n "(cached) " >&6 13952 $as_echo_n "(cached) " >&6
13959 else 13953 else
13960 13954
13961 if test "$cross_compiling" = yes; then : 13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 #include <unistd.h>
13958 int
13959 main ()
13960 {
13961 int *p = &optreset; return optreset;
13962 ;
13963 return 0;
13964 }
13965 _ACEOF
13966 if ac_fn_c_try_compile "$LINENO"; then :
13967 gl_optind_min=1
13968 else
13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <getopt.h>
13972 int
13973 main ()
13974 {
13975 return !getopt_clip;
13976 ;
13977 return 0;
13978 }
13979 _ACEOF
13980 if ac_fn_c_try_compile "$LINENO"; then :
13981 gl_optind_min=1
13982 else
13983 gl_optind_min=0
13984 fi
13985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 fi
13987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13988
13989 gl_save_CPPFLAGS=$CPPFLAGS
13990 CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
13991 if test "$cross_compiling" = yes; then :
13962 case "$host_os" in 13992 case "$host_os" in
13963 mingw*) gl_cv_func_getopt_posix="guessing no";; 13993 mingw*) gl_cv_func_getopt_posix="guessing no";;
13964 darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; 13994 darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
13965 *) gl_cv_func_getopt_posix="guessing yes";; 13995 *) gl_cv_func_getopt_posix="guessing yes";;
13966 esac 13996 esac
13970 /* end confdefs.h. */ 14000 /* end confdefs.h. */
13971 14001
13972 #include <unistd.h> 14002 #include <unistd.h>
13973 #include <stdlib.h> 14003 #include <stdlib.h>
13974 #include <string.h> 14004 #include <string.h>
13975
13976 #if !HAVE_DECL_OPTRESET && !HAVE_DECL_GETOPT_CLIP
13977 # define OPTIND_MIN 0
13978 #else
13979 # define OPTIND_MIN 1
13980 #endif
13981 14005
13982 int 14006 int
13983 main () 14007 main ()
13984 { 14008 {
13985 { 14009 {
14067 fi 14091 fi
14068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14069 conftest.$ac_objext conftest.beam conftest.$ac_ext 14093 conftest.$ac_objext conftest.beam conftest.$ac_ext
14070 fi 14094 fi
14071 14095
14096 CPPFLAGS=$gl_save_CPPFLAGS
14072 14097
14073 fi 14098 fi
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
14075 $as_echo "$gl_cv_func_getopt_posix" >&6; } 14100 $as_echo "$gl_cv_func_getopt_posix" >&6; }
14076 case "$gl_cv_func_getopt_posix" in 14101 case "$gl_cv_func_getopt_posix" in
14079 fi 14104 fi
14080 14105
14081 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then 14106 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
14083 $as_echo_n "checking for working GNU getopt function... " >&6; } 14108 $as_echo_n "checking for working GNU getopt function... " >&6; }
14084 if test "${gl_cv_func_getopt_gnu+set}" = set; then : 14109 if ${gl_cv_func_getopt_gnu+:} false; then :
14085 $as_echo_n "(cached) " >&6 14110 $as_echo_n "(cached) " >&6
14086 else 14111 else
14087 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the 14112 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
14088 # optstring is necessary for programs like m4 that have POSIX-mandated 14113 # optstring is necessary for programs like m4 that have POSIX-mandated
14089 # semantics for supporting options interspersed with files. 14114 # semantics for supporting options interspersed with files.
14191 gl_replace_getopt=yes 14216 gl_replace_getopt=yes
14192 fi 14217 fi
14193 fi 14218 fi
14194 14219
14195 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" 14220 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14196 if test "x$ac_cv_have_decl_getenv" = x""yes; then : 14221 if test "x$ac_cv_have_decl_getenv" = xyes; then :
14197 ac_have_decl=1 14222 ac_have_decl=1
14198 else 14223 else
14199 ac_have_decl=0 14224 ac_have_decl=0
14200 fi 14225 fi
14201 14226
14321 fi 14346 fi
14322 14347
14323 14348
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14325 $as_echo_n "checking for inline... " >&6; } 14350 $as_echo_n "checking for inline... " >&6; }
14326 if test "${ac_cv_c_inline+set}" = set; then : 14351 if ${ac_cv_c_inline+:} false; then :
14327 $as_echo_n "(cached) " >&6 14352 $as_echo_n "(cached) " >&6
14328 else 14353 else
14329 ac_cv_c_inline=no 14354 ac_cv_c_inline=no
14330 for ac_kw in inline __inline__ __inline; do 14355 for ac_kw in inline __inline__ __inline; do
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 STDDEF_H=''; 14394 STDDEF_H='';
14370 14395
14371 14396
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
14373 $as_echo_n "checking for wchar_t... " >&6; } 14398 $as_echo_n "checking for wchar_t... " >&6; }
14374 if test "${gt_cv_c_wchar_t+set}" = set; then : 14399 if ${gt_cv_c_wchar_t+:} false; then :
14375 $as_echo_n "(cached) " >&6 14400 $as_echo_n "(cached) " >&6
14376 else 14401 else
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */ 14403 /* end confdefs.h. */
14379 #include <stddef.h> 14404 #include <stddef.h>
14401 14426
14402 fi 14427 fi
14403 14428
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
14405 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } 14430 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
14406 if test "${ac_cv_c_restrict+set}" = set; then : 14431 if ${ac_cv_c_restrict+:} false; then :
14407 $as_echo_n "(cached) " >&6 14432 $as_echo_n "(cached) " >&6
14408 else 14433 else
14409 ac_cv_c_restrict=no 14434 ac_cv_c_restrict=no
14410 # The order here caters to the fact that C++ does not require restrict. 14435 # The order here caters to the fact that C++ does not require restrict.
14411 for ac_kw in __restrict __restrict__ _Restrict restrict; do 14436 for ac_kw in __restrict __restrict__ _Restrict restrict; do
14451 14476
14452 14477
14453 14478
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5 14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
14455 $as_echo_n "checking for struct timespec in <time.h>... " >&6; } 14480 $as_echo_n "checking for struct timespec in <time.h>... " >&6; }
14456 if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : 14481 if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
14457 $as_echo_n "(cached) " >&6 14482 $as_echo_n "(cached) " >&6
14458 else 14483 else
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */ 14485 /* end confdefs.h. */
14461 #include <time.h> 14486 #include <time.h>
14484 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then 14509 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
14485 TIME_H_DEFINES_STRUCT_TIMESPEC=1 14510 TIME_H_DEFINES_STRUCT_TIMESPEC=1
14486 else 14511 else
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5 14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
14488 $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; } 14513 $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
14489 if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : 14514 if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
14490 $as_echo_n "(cached) " >&6 14515 $as_echo_n "(cached) " >&6
14491 else 14516 else
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */ 14518 /* end confdefs.h. */
14494 #include <sys/time.h> 14519 #include <sys/time.h>
14513 if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then 14538 if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
14514 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 14539 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
14515 else 14540 else
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5 14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
14517 $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; } 14542 $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
14518 if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then : 14543 if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
14519 $as_echo_n "(cached) " >&6 14544 $as_echo_n "(cached) " >&6
14520 else 14545 else
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */ 14547 /* end confdefs.h. */
14523 #include <pthread.h> 14548 #include <pthread.h>
14562 if test $gl_cv_have_include_next = yes; then 14587 if test $gl_cv_have_include_next = yes; then
14563 gl_cv_next_time_h='<'time.h'>' 14588 gl_cv_next_time_h='<'time.h'>'
14564 else 14589 else
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5 14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
14566 $as_echo_n "checking absolute name of <time.h>... " >&6; } 14591 $as_echo_n "checking absolute name of <time.h>... " >&6; }
14567 if test "${gl_cv_next_time_h+set}" = set; then : 14592 if ${gl_cv_next_time_h+:} false; then :
14568 $as_echo_n "(cached) " >&6 14593 $as_echo_n "(cached) " >&6
14569 else 14594 else
14570 14595
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */ 14597 /* end confdefs.h. */
14605 14630
14606 14631
14607 14632
14608 14633
14609 ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default" 14634 ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default"
14610 if test "x$ac_cv_have_decl_localtime_r" = x""yes; then : 14635 if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
14611 ac_have_decl=1 14636 ac_have_decl=1
14612 else 14637 else
14613 ac_have_decl=0 14638 ac_have_decl=0
14614 fi 14639 fi
14615 14640
14716 # But we need a configuration result that is valid in both modes. 14741 # But we need a configuration result that is valid in both modes.
14717 ac_cv_func_working_mktime=no 14742 ac_cv_func_working_mktime=no
14718 fi 14743 fi
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
14720 $as_echo_n "checking for working mktime... " >&6; } 14745 $as_echo_n "checking for working mktime... " >&6; }
14721 if test "${ac_cv_func_working_mktime+set}" = set; then : 14746 if ${ac_cv_func_working_mktime+:} false; then :
14722 $as_echo_n "(cached) " >&6 14747 $as_echo_n "(cached) " >&6
14723 else 14748 else
14724 if test "$cross_compiling" = yes; then : 14749 if test "$cross_compiling" = yes; then :
14725 ac_cv_func_working_mktime=no 14750 ac_cv_func_working_mktime=no
14726 else 14751 else
14966 HAVE_WCHAR_T=0 14991 HAVE_WCHAR_T=0
14967 STDDEF_H=stddef.h 14992 STDDEF_H=stddef.h
14968 fi 14993 fi
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
14970 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } 14995 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
14971 if test "${gl_cv_decl_null_works+set}" = set; then : 14996 if ${gl_cv_decl_null_works+:} false; then :
14972 $as_echo_n "(cached) " >&6 14997 $as_echo_n "(cached) " >&6
14973 else 14998 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */ 15000 /* end confdefs.h. */
14976 #include <stddef.h> 15001 #include <stddef.h>
15009 if test $gl_cv_have_include_next = yes; then 15034 if test $gl_cv_have_include_next = yes; then
15010 gl_cv_next_stddef_h='<'stddef.h'>' 15035 gl_cv_next_stddef_h='<'stddef.h'>'
15011 else 15036 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5 15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
15013 $as_echo_n "checking absolute name of <stddef.h>... " >&6; } 15038 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
15014 if test "${gl_cv_next_stddef_h+set}" = set; then : 15039 if ${gl_cv_next_stddef_h+:} false; then :
15015 $as_echo_n "(cached) " >&6 15040 $as_echo_n "(cached) " >&6
15016 else 15041 else
15017 15042
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */ 15044 /* end confdefs.h. */
15072 15097
15073 if test $ac_cv_func_localtime_r = yes; then 15098 if test $ac_cv_func_localtime_r = yes; then
15074 HAVE_LOCALTIME_R=1 15099 HAVE_LOCALTIME_R=1
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
15076 $as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } 15101 $as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
15077 if test "${gl_cv_time_r_posix+set}" = set; then : 15102 if ${gl_cv_time_r_posix+:} false; then :
15078 $as_echo_n "(cached) " >&6 15103 $as_echo_n "(cached) " >&6
15079 else 15104 else
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */ 15106 /* end confdefs.h. */
15082 #include <time.h> 15107 #include <time.h>
15154 if test $gl_cv_have_include_next = yes; then 15179 if test $gl_cv_have_include_next = yes; then
15155 gl_cv_next_unistd_h='<'unistd.h'>' 15180 gl_cv_next_unistd_h='<'unistd.h'>'
15156 else 15181 else
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5 15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
15158 $as_echo_n "checking absolute name of <unistd.h>... " >&6; } 15183 $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
15159 if test "${gl_cv_next_unistd_h+set}" = set; then : 15184 if ${gl_cv_next_unistd_h+:} false; then :
15160 $as_echo_n "(cached) " >&6 15185 $as_echo_n "(cached) " >&6
15161 else 15186 else
15162 15187
15163 if test $ac_cv_header_unistd_h = yes; then 15188 if test $ac_cv_header_unistd_h = yes; then
15164 15189
15208 HAVE_UNISTD_H=0 15233 HAVE_UNISTD_H=0
15209 fi 15234 fi
15210 15235
15211 15236
15212 15237
15213 for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do
15214 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
15216 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
15217 if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 #include <unistd.h>
15223 /* Some systems declare various items in the wrong headers. */
15224 #if !(defined __GLIBC__ && !defined __UCLIBC__)
15225 # include <fcntl.h>
15226 # include <stdio.h>
15227 # include <stdlib.h>
15228 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
15229 # include <io.h>
15230 # endif
15231 #endif
15232
15233 int
15234 main ()
15235 {
15236 #undef $gl_func
15237 (void) $gl_func;
15238 ;
15239 return 0;
15240 }
15241 _ACEOF
15242 if ac_fn_c_try_compile "$LINENO"; then :
15243 eval "$as_gl_Symbol=yes"
15244 else
15245 eval "$as_gl_Symbol=no"
15246 fi
15247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248 fi
15249 eval ac_res=\$$as_gl_Symbol
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15251 $as_echo "$ac_res" >&6; }
15252 if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
15255 _ACEOF
15256
15257 eval ac_cv_have_decl_$gl_func=yes
15258 fi
15259 done
15260
15261 15238
15262 # Code from module warn-on-use: 15239 # Code from module warn-on-use:
15263 # End of code from modules 15240 # End of code from modules
15264 15241
15265 15242
15301 15278
15302 15279
15303 for ac_func in strftime 15280 for ac_func in strftime
15304 do : 15281 do :
15305 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 15282 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
15306 if test "x$ac_cv_func_strftime" = x""yes; then : 15283 if test "x$ac_cv_func_strftime" = xyes; then :
15307 cat >>confdefs.h <<_ACEOF 15284 cat >>confdefs.h <<_ACEOF
15308 #define HAVE_STRFTIME 1 15285 #define HAVE_STRFTIME 1
15309 _ACEOF 15286 _ACEOF
15310 15287
15311 else 15288 else
15312 # strftime is in -lintl on SCO UNIX. 15289 # strftime is in -lintl on SCO UNIX.
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
15314 $as_echo_n "checking for strftime in -lintl... " >&6; } 15291 $as_echo_n "checking for strftime in -lintl... " >&6; }
15315 if test "${ac_cv_lib_intl_strftime+set}" = set; then : 15292 if ${ac_cv_lib_intl_strftime+:} false; then :
15316 $as_echo_n "(cached) " >&6 15293 $as_echo_n "(cached) " >&6
15317 else 15294 else
15318 ac_check_lib_save_LIBS=$LIBS 15295 ac_check_lib_save_LIBS=$LIBS
15319 LIBS="-lintl $LIBS" 15296 LIBS="-lintl $LIBS"
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 conftest$ac_exeext conftest.$ac_ext 15321 conftest$ac_exeext conftest.$ac_ext
15345 LIBS=$ac_check_lib_save_LIBS 15322 LIBS=$ac_check_lib_save_LIBS
15346 fi 15323 fi
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
15348 $as_echo "$ac_cv_lib_intl_strftime" >&6; } 15325 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
15349 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 15326 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
15350 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 15327 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
15351 15328
15352 LIBS="-lintl $LIBS" 15329 LIBS="-lintl $LIBS"
15353 fi 15330 fi
15354 15331
15358 15335
15359 # UNIX98 PTYs. 15336 # UNIX98 PTYs.
15360 for ac_func in grantpt 15337 for ac_func in grantpt
15361 do : 15338 do :
15362 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 15339 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
15363 if test "x$ac_cv_func_grantpt" = x""yes; then : 15340 if test "x$ac_cv_func_grantpt" = xyes; then :
15364 cat >>confdefs.h <<_ACEOF 15341 cat >>confdefs.h <<_ACEOF
15365 #define HAVE_GRANTPT 1 15342 #define HAVE_GRANTPT 1
15366 _ACEOF 15343 _ACEOF
15367 15344
15368 fi 15345 fi
15371 15348
15372 # PTY-related GNU extensions. 15349 # PTY-related GNU extensions.
15373 for ac_func in getpt 15350 for ac_func in getpt
15374 do : 15351 do :
15375 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 15352 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
15376 if test "x$ac_cv_func_getpt" = x""yes; then : 15353 if test "x$ac_cv_func_getpt" = xyes; then :
15377 cat >>confdefs.h <<_ACEOF 15354 cat >>confdefs.h <<_ACEOF
15378 #define HAVE_GETPT 1 15355 #define HAVE_GETPT 1
15379 _ACEOF 15356 _ACEOF
15380 15357
15381 fi 15358 fi
15388 # than to expect to find it in ncurses. 15365 # than to expect to find it in ncurses.
15389 # Also we need tputs and friends to be able to build at all. 15366 # Also we need tputs and friends to be able to build at all.
15390 have_tputs_et_al=true 15367 have_tputs_et_al=true
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
15392 $as_echo_n "checking for library containing tputs... " >&6; } 15369 $as_echo_n "checking for library containing tputs... " >&6; }
15393 if test "${ac_cv_search_tputs+set}" = set; then : 15370 if ${ac_cv_search_tputs+:} false; then :
15394 $as_echo_n "(cached) " >&6 15371 $as_echo_n "(cached) " >&6
15395 else 15372 else
15396 ac_func_search_save_LIBS=$LIBS 15373 ac_func_search_save_LIBS=$LIBS
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */ 15375 /* end confdefs.h. */
15422 if ac_fn_c_try_link "$LINENO"; then : 15399 if ac_fn_c_try_link "$LINENO"; then :
15423 ac_cv_search_tputs=$ac_res 15400 ac_cv_search_tputs=$ac_res
15424 fi 15401 fi
15425 rm -f core conftest.err conftest.$ac_objext \ 15402 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext 15403 conftest$ac_exeext
15427 if test "${ac_cv_search_tputs+set}" = set; then : 15404 if ${ac_cv_search_tputs+:} false; then :
15428 break 15405 break
15429 fi 15406 fi
15430 done 15407 done
15431 if test "${ac_cv_search_tputs+set}" = set; then : 15408 if ${ac_cv_search_tputs+:} false; then :
15432 15409
15433 else 15410 else
15434 ac_cv_search_tputs=no 15411 ac_cv_search_tputs=no
15435 fi 15412 fi
15436 rm conftest.$ac_ext 15413 rm conftest.$ac_ext
15485 ;; 15462 ;;
15486 15463
15487 freebsd) 15464 freebsd)
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
15489 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 15466 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
15490 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 15467 if ${emacs_cv_freebsd_terminfo+:} false; then :
15491 $as_echo_n "(cached) " >&6 15468 $as_echo_n "(cached) " >&6
15492 else 15469 else
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */ 15471 /* end confdefs.h. */
15495 #include <osreldate.h> 15472 #include <osreldate.h>
15627 # Do we need the Hesiod library to provide the support routines? 15604 # Do we need the Hesiod library to provide the support routines?
15628 LIBHESIOD= 15605 LIBHESIOD=
15629 if test "$with_hesiod" != no ; then 15606 if test "$with_hesiod" != no ; then
15630 # Don't set $LIBS here -- see comments above. FIXME which comments? 15607 # Don't set $LIBS here -- see comments above. FIXME which comments?
15631 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 15608 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
15632 if test "x$ac_cv_func_res_send" = x""yes; then : 15609 if test "x$ac_cv_func_res_send" = xyes; then :
15633 15610
15634 else 15611 else
15635 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 15612 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
15636 if test "x$ac_cv_func___res_send" = x""yes; then : 15613 if test "x$ac_cv_func___res_send" = xyes; then :
15637 15614
15638 else 15615 else
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
15640 $as_echo_n "checking for res_send in -lresolv... " >&6; } 15617 $as_echo_n "checking for res_send in -lresolv... " >&6; }
15641 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 15618 if ${ac_cv_lib_resolv_res_send+:} false; then :
15642 $as_echo_n "(cached) " >&6 15619 $as_echo_n "(cached) " >&6
15643 else 15620 else
15644 ac_check_lib_save_LIBS=$LIBS 15621 ac_check_lib_save_LIBS=$LIBS
15645 LIBS="-lresolv $LIBS" 15622 LIBS="-lresolv $LIBS"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15670 conftest$ac_exeext conftest.$ac_ext 15647 conftest$ac_exeext conftest.$ac_ext
15671 LIBS=$ac_check_lib_save_LIBS 15648 LIBS=$ac_check_lib_save_LIBS
15672 fi 15649 fi
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
15674 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } 15651 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
15675 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 15652 if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
15676 resolv=yes 15653 resolv=yes
15677 else 15654 else
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
15679 $as_echo_n "checking for __res_send in -lresolv... " >&6; } 15656 $as_echo_n "checking for __res_send in -lresolv... " >&6; }
15680 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 15657 if ${ac_cv_lib_resolv___res_send+:} false; then :
15681 $as_echo_n "(cached) " >&6 15658 $as_echo_n "(cached) " >&6
15682 else 15659 else
15683 ac_check_lib_save_LIBS=$LIBS 15660 ac_check_lib_save_LIBS=$LIBS
15684 LIBS="-lresolv $LIBS" 15661 LIBS="-lresolv $LIBS"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 conftest$ac_exeext conftest.$ac_ext 15686 conftest$ac_exeext conftest.$ac_ext
15710 LIBS=$ac_check_lib_save_LIBS 15687 LIBS=$ac_check_lib_save_LIBS
15711 fi 15688 fi
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
15713 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } 15690 $as_echo "$ac_cv_lib_resolv___res_send" >&6; }
15714 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 15691 if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
15715 resolv=yes 15692 resolv=yes
15716 fi 15693 fi
15717 15694
15718 fi 15695 fi
15719 15696
15725 RESOLVLIB=-lresolv 15702 RESOLVLIB=-lresolv
15726 else 15703 else
15727 RESOLVLIB= 15704 RESOLVLIB=
15728 fi 15705 fi
15729 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 15706 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
15730 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 15707 if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
15731 15708
15732 else 15709 else
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
15734 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 15711 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
15735 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 15712 if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
15736 $as_echo_n "(cached) " >&6 15713 $as_echo_n "(cached) " >&6
15737 else 15714 else
15738 ac_check_lib_save_LIBS=$LIBS 15715 ac_check_lib_save_LIBS=$LIBS
15739 LIBS="-lhesiod $RESOLVLIB $LIBS" 15716 LIBS="-lhesiod $RESOLVLIB $LIBS"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 conftest$ac_exeext conftest.$ac_ext 15741 conftest$ac_exeext conftest.$ac_ext
15765 LIBS=$ac_check_lib_save_LIBS 15742 LIBS=$ac_check_lib_save_LIBS
15766 fi 15743 fi
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
15768 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 15745 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
15769 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 15746 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
15770 hesiod=yes 15747 hesiod=yes
15771 else 15748 else
15772 : 15749 :
15773 fi 15750 fi
15774 15751
15803 KRB4LIB= 15780 KRB4LIB=
15804 15781
15805 if test "${with_kerberos}" != no; then 15782 if test "${with_kerberos}" != no; then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
15807 $as_echo_n "checking for com_err in -lcom_err... " >&6; } 15784 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
15808 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 15785 if ${ac_cv_lib_com_err_com_err+:} false; then :
15809 $as_echo_n "(cached) " >&6 15786 $as_echo_n "(cached) " >&6
15810 else 15787 else
15811 ac_check_lib_save_LIBS=$LIBS 15788 ac_check_lib_save_LIBS=$LIBS
15812 LIBS="-lcom_err $LIBS" 15789 LIBS="-lcom_err $LIBS"
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 conftest$ac_exeext conftest.$ac_ext 15814 conftest$ac_exeext conftest.$ac_ext
15838 LIBS=$ac_check_lib_save_LIBS 15815 LIBS=$ac_check_lib_save_LIBS
15839 fi 15816 fi
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
15841 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } 15818 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
15842 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 15819 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
15843 have_com_err=yes 15820 have_com_err=yes
15844 else 15821 else
15845 have_com_err=no 15822 have_com_err=no
15846 fi 15823 fi
15847 15824
15852 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h 15829 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
15853 15830
15854 fi 15831 fi
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
15856 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 15833 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
15857 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 15834 if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
15858 $as_echo_n "(cached) " >&6 15835 $as_echo_n "(cached) " >&6
15859 else 15836 else
15860 ac_check_lib_save_LIBS=$LIBS 15837 ac_check_lib_save_LIBS=$LIBS
15861 LIBS="-lcrypto $LIBS" 15838 LIBS="-lcrypto $LIBS"
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 conftest$ac_exeext conftest.$ac_ext 15863 conftest$ac_exeext conftest.$ac_ext
15887 LIBS=$ac_check_lib_save_LIBS 15864 LIBS=$ac_check_lib_save_LIBS
15888 fi 15865 fi
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
15890 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 15867 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
15891 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 15868 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
15892 have_crypto=yes 15869 have_crypto=yes
15893 else 15870 else
15894 have_crypto=no 15871 have_crypto=no
15895 fi 15872 fi
15896 15873
15901 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h 15878 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
15902 15879
15903 fi 15880 fi
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
15905 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 15882 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
15906 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 15883 if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
15907 $as_echo_n "(cached) " >&6 15884 $as_echo_n "(cached) " >&6
15908 else 15885 else
15909 ac_check_lib_save_LIBS=$LIBS 15886 ac_check_lib_save_LIBS=$LIBS
15910 LIBS="-lk5crypto $LIBS" 15887 LIBS="-lk5crypto $LIBS"
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 conftest$ac_exeext conftest.$ac_ext 15912 conftest$ac_exeext conftest.$ac_ext
15936 LIBS=$ac_check_lib_save_LIBS 15913 LIBS=$ac_check_lib_save_LIBS
15937 fi 15914 fi
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
15939 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 15916 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
15940 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 15917 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
15941 have_k5crypto=yes 15918 have_k5crypto=yes
15942 else 15919 else
15943 have_k5crypto=no 15920 have_k5crypto=no
15944 fi 15921 fi
15945 15922
15950 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h 15927 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
15951 15928
15952 fi 15929 fi
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15954 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 15931 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15955 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 15932 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15956 $as_echo_n "(cached) " >&6 15933 $as_echo_n "(cached) " >&6
15957 else 15934 else
15958 ac_check_lib_save_LIBS=$LIBS 15935 ac_check_lib_save_LIBS=$LIBS
15959 LIBS="-lkrb5 $LIBS" 15936 LIBS="-lkrb5 $LIBS"
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15984 conftest$ac_exeext conftest.$ac_ext 15961 conftest$ac_exeext conftest.$ac_ext
15985 LIBS=$ac_check_lib_save_LIBS 15962 LIBS=$ac_check_lib_save_LIBS
15986 fi 15963 fi
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15988 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 15965 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15989 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 15966 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15990 have_krb5=yes 15967 have_krb5=yes
15991 else 15968 else
15992 have_krb5=no 15969 have_krb5=no
15993 fi 15970 fi
15994 15971
16000 15977
16001 fi 15978 fi
16002 if test "${with_kerberos5}" = no; then 15979 if test "${with_kerberos5}" = no; then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
16004 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 15981 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
16005 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 15982 if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
16006 $as_echo_n "(cached) " >&6 15983 $as_echo_n "(cached) " >&6
16007 else 15984 else
16008 ac_check_lib_save_LIBS=$LIBS 15985 ac_check_lib_save_LIBS=$LIBS
16009 LIBS="-ldes425 $LIBS" 15986 LIBS="-ldes425 $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 conftest$ac_exeext conftest.$ac_ext 16011 conftest$ac_exeext conftest.$ac_ext
16035 LIBS=$ac_check_lib_save_LIBS 16012 LIBS=$ac_check_lib_save_LIBS
16036 fi 16013 fi
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
16038 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 16015 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
16039 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 16016 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
16040 have_des425=yes 16017 have_des425=yes
16041 else 16018 else
16042 have_des425=no 16019 have_des425=no
16043 fi 16020 fi
16044 16021
16049 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h 16026 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
16050 16027
16051 else 16028 else
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
16053 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 16030 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
16054 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 16031 if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
16055 $as_echo_n "(cached) " >&6 16032 $as_echo_n "(cached) " >&6
16056 else 16033 else
16057 ac_check_lib_save_LIBS=$LIBS 16034 ac_check_lib_save_LIBS=$LIBS
16058 LIBS="-ldes $LIBS" 16035 LIBS="-ldes $LIBS"
16059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083 conftest$ac_exeext conftest.$ac_ext 16060 conftest$ac_exeext conftest.$ac_ext
16084 LIBS=$ac_check_lib_save_LIBS 16061 LIBS=$ac_check_lib_save_LIBS
16085 fi 16062 fi
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
16087 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 16064 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
16088 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 16065 if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
16089 have_des=yes 16066 have_des=yes
16090 else 16067 else
16091 have_des=no 16068 have_des=no
16092 fi 16069 fi
16093 16070
16099 16076
16100 fi 16077 fi
16101 fi 16078 fi
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
16103 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 16080 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
16104 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 16081 if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
16105 $as_echo_n "(cached) " >&6 16082 $as_echo_n "(cached) " >&6
16106 else 16083 else
16107 ac_check_lib_save_LIBS=$LIBS 16084 ac_check_lib_save_LIBS=$LIBS
16108 LIBS="-lkrb4 $LIBS" 16085 LIBS="-lkrb4 $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 conftest$ac_exeext conftest.$ac_ext 16110 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_lib_save_LIBS 16111 LIBS=$ac_check_lib_save_LIBS
16135 fi 16112 fi
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
16137 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 16114 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
16138 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 16115 if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
16139 have_krb4=yes 16116 have_krb4=yes
16140 else 16117 else
16141 have_krb4=no 16118 have_krb4=no
16142 fi 16119 fi
16143 16120
16148 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h 16125 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
16149 16126
16150 else 16127 else
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
16152 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 16129 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
16153 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 16130 if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
16154 $as_echo_n "(cached) " >&6 16131 $as_echo_n "(cached) " >&6
16155 else 16132 else
16156 ac_check_lib_save_LIBS=$LIBS 16133 ac_check_lib_save_LIBS=$LIBS
16157 LIBS="-lkrb $LIBS" 16134 LIBS="-lkrb $LIBS"
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 conftest$ac_exeext conftest.$ac_ext 16159 conftest$ac_exeext conftest.$ac_ext
16183 LIBS=$ac_check_lib_save_LIBS 16160 LIBS=$ac_check_lib_save_LIBS
16184 fi 16161 fi
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
16186 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 16163 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
16187 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 16164 if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
16188 have_krb=yes 16165 have_krb=yes
16189 else 16166 else
16190 have_krb=no 16167 have_krb=no
16191 fi 16168 fi
16192 16169
16202 16179
16203 if test "${with_kerberos5}" != no; then 16180 if test "${with_kerberos5}" != no; then
16204 for ac_header in krb5.h 16181 for ac_header in krb5.h
16205 do : 16182 do :
16206 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 16183 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
16207 if test "x$ac_cv_header_krb5_h" = x""yes; then : 16184 if test "x$ac_cv_header_krb5_h" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF 16185 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_KRB5_H 1 16186 #define HAVE_KRB5_H 1
16210 _ACEOF 16187 _ACEOF
16211 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 16188 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
16212 " 16189 "
16213 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 16190 if test "x$ac_cv_member_krb5_error_text" = xyes; then :
16214 16191
16215 cat >>confdefs.h <<_ACEOF 16192 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_KRB5_ERROR_TEXT 1 16193 #define HAVE_KRB5_ERROR_TEXT 1
16217 _ACEOF 16194 _ACEOF
16218 16195
16219 16196
16220 fi 16197 fi
16221 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 16198 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
16222 " 16199 "
16223 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 16200 if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
16224 16201
16225 cat >>confdefs.h <<_ACEOF 16202 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_KRB5_ERROR_E_TEXT 1 16203 #define HAVE_KRB5_ERROR_E_TEXT 1
16227 _ACEOF 16204 _ACEOF
16228 16205
16235 16212
16236 else 16213 else
16237 for ac_header in des.h 16214 for ac_header in des.h
16238 do : 16215 do :
16239 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 16216 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
16240 if test "x$ac_cv_header_des_h" = x""yes; then : 16217 if test "x$ac_cv_header_des_h" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF 16218 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_DES_H 1 16219 #define HAVE_DES_H 1
16243 _ACEOF 16220 _ACEOF
16244 16221
16245 else 16222 else
16246 for ac_header in kerberosIV/des.h 16223 for ac_header in kerberosIV/des.h
16247 do : 16224 do :
16248 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 16225 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
16249 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 16226 if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF 16227 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_KERBEROSIV_DES_H 1 16228 #define HAVE_KERBEROSIV_DES_H 1
16252 _ACEOF 16229 _ACEOF
16253 16230
16254 else 16231 else
16255 for ac_header in kerberos/des.h 16232 for ac_header in kerberos/des.h
16256 do : 16233 do :
16257 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 16234 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
16258 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 16235 if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF 16236 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_KERBEROS_DES_H 1 16237 #define HAVE_KERBEROS_DES_H 1
16261 _ACEOF 16238 _ACEOF
16262 16239
16263 fi 16240 fi
16273 done 16250 done
16274 16251
16275 for ac_header in krb.h 16252 for ac_header in krb.h
16276 do : 16253 do :
16277 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 16254 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
16278 if test "x$ac_cv_header_krb_h" = x""yes; then : 16255 if test "x$ac_cv_header_krb_h" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF 16256 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_KRB_H 1 16257 #define HAVE_KRB_H 1
16281 _ACEOF 16258 _ACEOF
16282 16259
16283 else 16260 else
16284 for ac_header in kerberosIV/krb.h 16261 for ac_header in kerberosIV/krb.h
16285 do : 16262 do :
16286 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 16263 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
16287 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 16264 if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF 16265 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_KERBEROSIV_KRB_H 1 16266 #define HAVE_KERBEROSIV_KRB_H 1
16290 _ACEOF 16267 _ACEOF
16291 16268
16292 else 16269 else
16293 for ac_header in kerberos/krb.h 16270 for ac_header in kerberos/krb.h
16294 do : 16271 do :
16295 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 16272 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
16296 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 16273 if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF 16274 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_KERBEROS_KRB_H 1 16275 #define HAVE_KERBEROS_KRB_H 1
16299 _ACEOF 16276 _ACEOF
16300 16277
16301 fi 16278 fi
16312 16289
16313 fi 16290 fi
16314 for ac_header in com_err.h 16291 for ac_header in com_err.h
16315 do : 16292 do :
16316 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 16293 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_com_err_h" = x""yes; then : 16294 if test "x$ac_cv_header_com_err_h" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF 16295 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_COM_ERR_H 1 16296 #define HAVE_COM_ERR_H 1
16320 _ACEOF 16297 _ACEOF
16321 16298
16322 fi 16299 fi
16333 16310
16334 # Solaris requires -lintl if you want strerror (which calls dgettext) 16311 # Solaris requires -lintl if you want strerror (which calls dgettext)
16335 # to return localized messages. 16312 # to return localized messages.
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
16337 $as_echo_n "checking for dgettext in -lintl... " >&6; } 16314 $as_echo_n "checking for dgettext in -lintl... " >&6; }
16338 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 16315 if ${ac_cv_lib_intl_dgettext+:} false; then :
16339 $as_echo_n "(cached) " >&6 16316 $as_echo_n "(cached) " >&6
16340 else 16317 else
16341 ac_check_lib_save_LIBS=$LIBS 16318 ac_check_lib_save_LIBS=$LIBS
16342 LIBS="-lintl $LIBS" 16319 LIBS="-lintl $LIBS"
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 conftest$ac_exeext conftest.$ac_ext 16344 conftest$ac_exeext conftest.$ac_ext
16368 LIBS=$ac_check_lib_save_LIBS 16345 LIBS=$ac_check_lib_save_LIBS
16369 fi 16346 fi
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
16371 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } 16348 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
16372 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 16349 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF 16350 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_LIBINTL 1 16351 #define HAVE_LIBINTL 1
16375 _ACEOF 16352 _ACEOF
16376 16353
16377 LIBS="-lintl $LIBS" 16354 LIBS="-lintl $LIBS"
16379 fi 16356 fi
16380 16357
16381 16358
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
16383 $as_echo_n "checking whether localtime caches TZ... " >&6; } 16360 $as_echo_n "checking whether localtime caches TZ... " >&6; }
16384 if test "${emacs_cv_localtime_cache+set}" = set; then : 16361 if ${emacs_cv_localtime_cache+:} false; then :
16385 $as_echo_n "(cached) " >&6 16362 $as_echo_n "(cached) " >&6
16386 else 16363 else
16387 if test x$ac_cv_func_tzset = xyes; then 16364 if test x$ac_cv_func_tzset = xyes; then
16388 if test "$cross_compiling" = yes; then : 16365 if test "$cross_compiling" = yes; then :
16389 # If we have tzset, assume the worst when cross-compiling. 16366 # If we have tzset, assume the worst when cross-compiling.
16438 16415
16439 if test "x$HAVE_TIMEVAL" = xyes; then 16416 if test "x$HAVE_TIMEVAL" = xyes; then
16440 for ac_func in gettimeofday 16417 for ac_func in gettimeofday
16441 do : 16418 do :
16442 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 16419 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
16443 if test "x$ac_cv_func_gettimeofday" = x""yes; then : 16420 if test "x$ac_cv_func_gettimeofday" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF 16421 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_GETTIMEOFDAY 1 16422 #define HAVE_GETTIMEOFDAY 1
16446 _ACEOF 16423 _ACEOF
16447 16424
16448 fi 16425 fi
16449 done 16426 done
16450 16427
16451 if test $ac_cv_func_gettimeofday = yes; then 16428 if test $ac_cv_func_gettimeofday = yes; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
16453 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 16430 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
16454 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 16431 if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
16455 $as_echo_n "(cached) " >&6 16432 $as_echo_n "(cached) " >&6
16456 else 16433 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */ 16435 /* end confdefs.h. */
16459 16436
16493 fi 16470 fi
16494 fi 16471 fi
16495 16472
16496 ok_so_far=yes 16473 ok_so_far=yes
16497 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 16474 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
16498 if test "x$ac_cv_func_socket" = x""yes; then : 16475 if test "x$ac_cv_func_socket" = xyes; then :
16499 16476
16500 else 16477 else
16501 ok_so_far=no 16478 ok_so_far=no
16502 fi 16479 fi
16503 16480
16504 if test $ok_so_far = yes; then 16481 if test $ok_so_far = yes; then
16505 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 16482 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
16506 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 16483 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
16507 16484
16508 else 16485 else
16509 ok_so_far=no 16486 ok_so_far=no
16510 fi 16487 fi
16511 16488
16512 16489
16513 fi 16490 fi
16514 if test $ok_so_far = yes; then 16491 if test $ok_so_far = yes; then
16515 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 16492 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 16493 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
16517 16494
16518 else 16495 else
16519 ok_so_far=no 16496 ok_so_far=no
16520 fi 16497 fi
16521 16498
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16546 $as_echo "no" >&6; } 16523 $as_echo "no" >&6; }
16547 fi 16524 fi
16548 16525
16549 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 16526 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16550 if test "x$ac_cv_type_pid_t" = x""yes; then : 16527 if test "x$ac_cv_type_pid_t" = xyes; then :
16551 16528
16552 else 16529 else
16553 16530
16554 cat >>confdefs.h <<_ACEOF 16531 cat >>confdefs.h <<_ACEOF
16555 #define pid_t int 16532 #define pid_t int
16558 fi 16535 fi
16559 16536
16560 for ac_header in vfork.h 16537 for ac_header in vfork.h
16561 do : 16538 do :
16562 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 16539 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
16563 if test "x$ac_cv_header_vfork_h" = x""yes; then : 16540 if test "x$ac_cv_header_vfork_h" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF 16541 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_VFORK_H 1 16542 #define HAVE_VFORK_H 1
16566 _ACEOF 16543 _ACEOF
16567 16544
16568 fi 16545 fi
16582 done 16559 done
16583 16560
16584 if test "x$ac_cv_func_fork" = xyes; then 16561 if test "x$ac_cv_func_fork" = xyes; then
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16586 $as_echo_n "checking for working fork... " >&6; } 16563 $as_echo_n "checking for working fork... " >&6; }
16587 if test "${ac_cv_func_fork_works+set}" = set; then : 16564 if ${ac_cv_func_fork_works+:} false; then :
16588 $as_echo_n "(cached) " >&6 16565 $as_echo_n "(cached) " >&6
16589 else 16566 else
16590 if test "$cross_compiling" = yes; then : 16567 if test "$cross_compiling" = yes; then :
16591 ac_cv_func_fork_works=cross 16568 ac_cv_func_fork_works=cross
16592 else 16569 else
16635 fi 16612 fi
16636 ac_cv_func_vfork_works=$ac_cv_func_vfork 16613 ac_cv_func_vfork_works=$ac_cv_func_vfork
16637 if test "x$ac_cv_func_vfork" = xyes; then 16614 if test "x$ac_cv_func_vfork" = xyes; then
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16639 $as_echo_n "checking for working vfork... " >&6; } 16616 $as_echo_n "checking for working vfork... " >&6; }
16640 if test "${ac_cv_func_vfork_works+set}" = set; then : 16617 if ${ac_cv_func_vfork_works+:} false; then :
16641 $as_echo_n "(cached) " >&6 16618 $as_echo_n "(cached) " >&6
16642 else 16619 else
16643 if test "$cross_compiling" = yes; then : 16620 if test "$cross_compiling" = yes; then :
16644 ac_cv_func_vfork_works=cross 16621 ac_cv_func_vfork_works=cross
16645 else 16622 else
16771 fi 16748 fi
16772 16749
16773 16750
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
16775 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 16752 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
16776 if test "${emacs_cv_langinfo_codeset+set}" = set; then : 16753 if ${emacs_cv_langinfo_codeset+:} false; then :
16777 $as_echo_n "(cached) " >&6 16754 $as_echo_n "(cached) " >&6
16778 else 16755 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */ 16757 /* end confdefs.h. */
16781 #include <langinfo.h> 16758 #include <langinfo.h>
16803 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 16780 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
16804 16781
16805 fi 16782 fi
16806 16783
16807 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 16784 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16808 if test "x$ac_cv_type_size_t" = x""yes; then : 16785 if test "x$ac_cv_type_size_t" = xyes; then :
16809 16786
16810 cat >>confdefs.h <<_ACEOF 16787 cat >>confdefs.h <<_ACEOF
16811 #define HAVE_SIZE_T 1 16788 #define HAVE_SIZE_T 1
16812 _ACEOF 16789 _ACEOF
16813 16790
16815 fi 16792 fi
16816 16793
16817 16794
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16819 $as_echo_n "checking for mbstate_t... " >&6; } 16796 $as_echo_n "checking for mbstate_t... " >&6; }
16820 if test "${ac_cv_type_mbstate_t+set}" = set; then : 16797 if ${ac_cv_type_mbstate_t+:} false; then :
16821 $as_echo_n "(cached) " >&6 16798 $as_echo_n "(cached) " >&6
16822 else 16799 else
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */ 16801 /* end confdefs.h. */
16825 $ac_includes_default 16802 $ac_includes_default
16851 16828
16852 fi 16829 fi
16853 16830
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
16855 $as_echo_n "checking for C restricted array declarations... " >&6; } 16832 $as_echo_n "checking for C restricted array declarations... " >&6; }
16856 if test "${emacs_cv_c_restrict_arr+set}" = set; then : 16833 if ${emacs_cv_c_restrict_arr+:} false; then :
16857 $as_echo_n "(cached) " >&6 16834 $as_echo_n "(cached) " >&6
16858 else 16835 else
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */ 16837 /* end confdefs.h. */
16861 void fred (int x[__restrict]); 16838 void fred (int x[__restrict]);
17450 t end 17427 t end
17451 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17428 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17452 :end' >>confcache 17429 :end' >>confcache
17453 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17430 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17454 if test -w "$cache_file"; then 17431 if test -w "$cache_file"; then
17455 test "x$cache_file" != "x/dev/null" && 17432 if test "x$cache_file" != "x/dev/null"; then
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17433 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17457 $as_echo "$as_me: updating cache $cache_file" >&6;} 17434 $as_echo "$as_me: updating cache $cache_file" >&6;}
17458 cat confcache >$cache_file 17435 if test ! -f "$cache_file" || test -h "$cache_file"; then
17436 cat confcache >"$cache_file"
17437 else
17438 case $cache_file in #(
17439 */* | ?:*)
17440 mv -f confcache "$cache_file"$$ &&
17441 mv -f "$cache_file"$$ "$cache_file" ;; #(
17442 *)
17443 mv -f confcache "$cache_file" ;;
17444 esac
17445 fi
17446 fi
17459 else 17447 else
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17448 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17462 fi 17450 fi
17463 fi 17451 fi
17538 17526
17539 gltests_LTLIBOBJS=$gltests_ltlibobjs 17527 gltests_LTLIBOBJS=$gltests_ltlibobjs
17540 17528
17541 17529
17542 17530
17543 : ${CONFIG_STATUS=./config.status} 17531 : "${CONFIG_STATUS=./config.status}"
17544 ac_write_fail=0 17532 ac_write_fail=0
17545 ac_clean_files_save=$ac_clean_files 17533 ac_clean_files_save=$ac_clean_files
17546 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17548 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17536 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17639 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 17627 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17640 # splitting by setting IFS to empty value.) 17628 # splitting by setting IFS to empty value.)
17641 IFS=" "" $as_nl" 17629 IFS=" "" $as_nl"
17642 17630
17643 # Find who we are. Look in the path if we contain no directory separator. 17631 # Find who we are. Look in the path if we contain no directory separator.
17632 as_myself=
17644 case $0 in #(( 17633 case $0 in #((
17645 *[\\/]* ) as_myself=$0 ;; 17634 *[\\/]* ) as_myself=$0 ;;
17646 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17635 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17647 for as_dir in $PATH 17636 for as_dir in $PATH
17648 do 17637 do
17946 # Save the log message, to keep $0 and so on meaningful, and to 17935 # Save the log message, to keep $0 and so on meaningful, and to
17947 # report actual input values of CONFIG_FILES etc. instead of their 17936 # report actual input values of CONFIG_FILES etc. instead of their
17948 # values after options handling. 17937 # values after options handling.
17949 ac_log=" 17938 ac_log="
17950 This file was extended by emacs $as_me 24.0.50, which was 17939 This file was extended by emacs $as_me 24.0.50, which was
17951 generated by GNU Autoconf 2.67. Invocation command line was 17940 generated by GNU Autoconf 2.68. Invocation command line was
17952 17941
17953 CONFIG_FILES = $CONFIG_FILES 17942 CONFIG_FILES = $CONFIG_FILES
17954 CONFIG_HEADERS = $CONFIG_HEADERS 17943 CONFIG_HEADERS = $CONFIG_HEADERS
17955 CONFIG_LINKS = $CONFIG_LINKS 17944 CONFIG_LINKS = $CONFIG_LINKS
17956 CONFIG_COMMANDS = $CONFIG_COMMANDS 17945 CONFIG_COMMANDS = $CONFIG_COMMANDS
18012 _ACEOF 18001 _ACEOF
18013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18014 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18003 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18015 ac_cs_version="\\ 18004 ac_cs_version="\\
18016 emacs config.status 24.0.50 18005 emacs config.status 24.0.50
18017 configured by $0, generated by GNU Autoconf 2.67, 18006 configured by $0, generated by GNU Autoconf 2.68,
18018 with options \\"\$ac_cs_config\\" 18007 with options \\"\$ac_cs_config\\"
18019 18008
18020 Copyright (C) 2010 Free Software Foundation, Inc. 18009 Copyright (C) 2010 Free Software Foundation, Inc.
18021 This config.status script is free software; the Free Software Foundation 18010 This config.status script is free software; the Free Software Foundation
18022 gives unlimited permission to copy, distribute and modify it." 18011 gives unlimited permission to copy, distribute and modify it."
18158 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 18147 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
18159 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 18148 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
18160 "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;; 18149 "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;;
18161 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 18150 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
18162 18151
18163 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 18152 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18164 esac 18153 esac
18165 done 18154 done
18166 18155
18167 18156
18168 # If the user did not use the arguments to specify the items to instantiate, 18157 # If the user did not use the arguments to specify the items to instantiate,
18181 # Hook for its removal unless debugging. 18170 # Hook for its removal unless debugging.
18182 # Note that there is a small window in which the directory will not be cleaned: 18171 # Note that there is a small window in which the directory will not be cleaned:
18183 # after its creation but before its name has been assigned to `$tmp'. 18172 # after its creation but before its name has been assigned to `$tmp'.
18184 $debug || 18173 $debug ||
18185 { 18174 {
18186 tmp= 18175 tmp= ac_tmp=
18187 trap 'exit_status=$? 18176 trap 'exit_status=$?
18188 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 18177 : "${ac_tmp:=$tmp}"
18178 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18189 ' 0 18179 ' 0
18190 trap 'as_fn_exit 1' 1 2 13 15 18180 trap 'as_fn_exit 1' 1 2 13 15
18191 } 18181 }
18192 # Create a (secure) tmp directory for tmp files. 18182 # Create a (secure) tmp directory for tmp files.
18193 18183
18194 { 18184 {
18195 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18196 test -n "$tmp" && test -d "$tmp" 18186 test -d "$tmp"
18197 } || 18187 } ||
18198 { 18188 {
18199 tmp=./conf$$-$RANDOM 18189 tmp=./conf$$-$RANDOM
18200 (umask 077 && mkdir "$tmp") 18190 (umask 077 && mkdir "$tmp")
18201 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18192 ac_tmp=$tmp
18202 18193
18203 # Set up the scripts for CONFIG_FILES section. 18194 # Set up the scripts for CONFIG_FILES section.
18204 # No need to generate them if there are no CONFIG_FILES. 18195 # No need to generate them if there are no CONFIG_FILES.
18205 # This happens for instance with `./config.status config.h'. 18196 # This happens for instance with `./config.status config.h'.
18206 if test -n "$CONFIG_FILES"; then 18197 if test -n "$CONFIG_FILES"; then
18235 ac_cs_awk_cr='\\r' 18226 ac_cs_awk_cr='\\r'
18236 else 18227 else
18237 ac_cs_awk_cr=$ac_cr 18228 ac_cs_awk_cr=$ac_cr
18238 fi 18229 fi
18239 18230
18240 echo 'BEGIN {' >"$tmp/subs1.awk" && 18231 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18241 _ACEOF 18232 _ACEOF
18242 18233
18243 # Create commands to substitute file output variables. 18234 # Create commands to substitute file output variables.
18244 { 18235 {
18245 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 18236 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18246 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 18237 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18247 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 18238 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18248 echo "_ACAWK" && 18239 echo "_ACAWK" &&
18249 echo "_ACEOF" 18240 echo "_ACEOF"
18250 } >conf$$files.sh && 18241 } >conf$$files.sh &&
18251 . ./conf$$files.sh || 18242 . ./conf$$files.sh ||
18274 fi 18265 fi
18275 done 18266 done
18276 rm -f conf$$subs.sh 18267 rm -f conf$$subs.sh
18277 18268
18278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18279 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 18270 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18280 _ACEOF 18271 _ACEOF
18281 sed -n ' 18272 sed -n '
18282 h 18273 h
18283 s/^/S["/; s/!.*/"]=/ 18274 s/^/S["/; s/!.*/"]=/
18284 p 18275 p
18322 } 18313 }
18323 ' >>$CONFIG_STATUS || ac_write_fail=1 18314 ' >>$CONFIG_STATUS || ac_write_fail=1
18324 rm -f conf$$subs.awk 18315 rm -f conf$$subs.awk
18325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18326 _ACAWK 18317 _ACAWK
18327 cat >>"\$tmp/subs1.awk" <<_ACAWK && 18318 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18328 for (key in S) S_is_set[key] = 1 18319 for (key in S) S_is_set[key] = 1
18329 FS = "" 18320 FS = ""
18330 \$ac_cs_awk_pipe_init 18321 \$ac_cs_awk_pipe_init
18331 } 18322 }
18332 { 18323 {
18360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18361 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18352 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18362 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18353 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18363 else 18354 else
18364 cat 18355 cat
18365 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 18356 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18366 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18357 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18367 _ACEOF 18358 _ACEOF
18368 18359
18369 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18360 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18370 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18361 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18394 18385
18395 # Set up the scripts for CONFIG_HEADERS section. 18386 # Set up the scripts for CONFIG_HEADERS section.
18396 # No need to generate them if there are no CONFIG_HEADERS. 18387 # No need to generate them if there are no CONFIG_HEADERS.
18397 # This happens for instance with `./config.status Makefile'. 18388 # This happens for instance with `./config.status Makefile'.
18398 if test -n "$CONFIG_HEADERS"; then 18389 if test -n "$CONFIG_HEADERS"; then
18399 cat >"$tmp/defines.awk" <<\_ACAWK || 18390 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18400 BEGIN { 18391 BEGIN {
18401 _ACEOF 18392 _ACEOF
18402 18393
18403 # Transform confdefs.h into an awk script `defines.awk', embedded as 18394 # Transform confdefs.h into an awk script `defines.awk', embedded as
18404 # here-document in config.status, that substitutes the proper values into 18395 # here-document in config.status, that substitutes the proper values into
18406 18397
18407 # Create a delimiter string that does not exist in confdefs.h, to ease 18398 # Create a delimiter string that does not exist in confdefs.h, to ease
18408 # handling of long lines. 18399 # handling of long lines.
18409 ac_delim='%!_!# ' 18400 ac_delim='%!_!# '
18410 for ac_last_try in false false :; do 18401 for ac_last_try in false false :; do
18411 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 18402 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18412 if test -z "$ac_t"; then 18403 if test -z "$ac_tt"; then
18413 break 18404 break
18414 elif $ac_last_try; then 18405 elif $ac_last_try; then
18415 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18406 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18416 else 18407 else
18417 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18408 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18508 case $ac_tag in 18499 case $ac_tag in
18509 :[FHLC]) ac_mode=$ac_tag; continue;; 18500 :[FHLC]) ac_mode=$ac_tag; continue;;
18510 esac 18501 esac
18511 case $ac_mode$ac_tag in 18502 case $ac_mode$ac_tag in
18512 :[FHL]*:*);; 18503 :[FHL]*:*);;
18513 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 18504 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18514 :[FH]-) ac_tag=-:-;; 18505 :[FH]-) ac_tag=-:-;;
18515 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18506 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18516 esac 18507 esac
18517 ac_save_IFS=$IFS 18508 ac_save_IFS=$IFS
18518 IFS=: 18509 IFS=:
18527 :[FH]) 18518 :[FH])
18528 ac_file_inputs= 18519 ac_file_inputs=
18529 for ac_f 18520 for ac_f
18530 do 18521 do
18531 case $ac_f in 18522 case $ac_f in
18532 -) ac_f="$tmp/stdin";; 18523 -) ac_f="$ac_tmp/stdin";;
18533 *) # Look for the file first in the build tree, then in the source tree 18524 *) # Look for the file first in the build tree, then in the source tree
18534 # (if the path is not absolute). The absolute path cannot be DOS-style, 18525 # (if the path is not absolute). The absolute path cannot be DOS-style,
18535 # because $ac_f cannot contain `:'. 18526 # because $ac_f cannot contain `:'.
18536 test -f "$ac_f" || 18527 test -f "$ac_f" ||
18537 case $ac_f in 18528 case $ac_f in
18538 [\\/$]*) false;; 18529 [\\/$]*) false;;
18539 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18530 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18540 esac || 18531 esac ||
18541 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 18532 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18542 esac 18533 esac
18543 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18534 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18544 as_fn_append ac_file_inputs " '$ac_f'" 18535 as_fn_append ac_file_inputs " '$ac_f'"
18545 done 18536 done
18546 18537
18562 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18553 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18563 *) ac_sed_conf_input=$configure_input;; 18554 *) ac_sed_conf_input=$configure_input;;
18564 esac 18555 esac
18565 18556
18566 case $ac_tag in 18557 case $ac_tag in
18567 *:-:* | *:-) cat >"$tmp/stdin" \ 18558 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18569 esac 18560 esac
18570 ;; 18561 ;;
18571 esac 18562 esac
18572 18563
18573 ac_dir=`$as_dirname -- "$ac_file" || 18564 ac_dir=`$as_dirname -- "$ac_file" ||
18701 s&@MKDIR_P@&$ac_MKDIR_P&;t t 18692 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18702 $ac_datarootdir_hack 18693 $ac_datarootdir_hack
18703 " 18694 "
18704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 18695 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18705 if $ac_cs_awk_getline; then 18696 if $ac_cs_awk_getline; then
18706 $AWK -f "$tmp/subs.awk" 18697 $AWK -f "$ac_tmp/subs.awk"
18707 else 18698 else
18708 $AWK -f "$tmp/subs.awk" | $SHELL 18699 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18709 fi >$tmp/out \ 18700 fi \
18710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18701 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18711 18702
18712 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18703 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18713 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 18704 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18714 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 18705 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18706 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18716 which seems to be undefined. Please make sure it is defined" >&5 18708 which seems to be undefined. Please make sure it is defined" >&5
18717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18709 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18718 which seems to be undefined. Please make sure it is defined" >&2;} 18710 which seems to be undefined. Please make sure it is defined" >&2;}
18719 18711
18720 rm -f "$tmp/stdin" 18712 rm -f "$ac_tmp/stdin"
18721 case $ac_file in 18713 case $ac_file in
18722 -) cat "$tmp/out" && rm -f "$tmp/out";; 18714 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18723 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 18715 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18724 esac \ 18716 esac \
18725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18726 ;; 18718 ;;
18727 :H) 18719 :H)
18728 # 18720 #
18729 # CONFIG_HEADER 18721 # CONFIG_HEADER
18730 # 18722 #
18731 if test x"$ac_file" != x-; then 18723 if test x"$ac_file" != x-; then
18732 { 18724 {
18733 $as_echo "/* $configure_input */" \ 18725 $as_echo "/* $configure_input */" \
18734 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 18726 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18735 } >"$tmp/config.h" \ 18727 } >"$ac_tmp/config.h" \
18736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18737 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 18729 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18730 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18739 $as_echo "$as_me: $ac_file is unchanged" >&6;} 18731 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18740 else 18732 else
18741 rm -f "$ac_file" 18733 rm -f "$ac_file"
18742 mv "$tmp/config.h" "$ac_file" \ 18734 mv "$ac_tmp/config.h" "$ac_file" \
18743 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18735 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18744 fi 18736 fi
18745 else 18737 else
18746 $as_echo "/* $configure_input */" \ 18738 $as_echo "/* $configure_input */" \
18747 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 18739 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18748 || as_fn_error $? "could not create -" "$LINENO" 5 18740 || as_fn_error $? "could not create -" "$LINENO" 5
18749 fi 18741 fi
18750 # Compute "$ac_file"'s index in $config_headers. 18742 # Compute "$ac_file"'s index in $config_headers.
18751 _am_arg="$ac_file" 18743 _am_arg="$ac_file"
18752 _am_stamp_count=1 18744 _am_stamp_count=1