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