| 1872 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1873 |
|
|
| 1874 |
|
} # ac_fn_c_check_header_mongrel |
| 1875 |
– |
|
| 1876 |
– |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 1877 |
– |
# ------------------------------------------- |
| 1878 |
– |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
| 1879 |
– |
# variable VAR accordingly. |
| 1880 |
– |
ac_fn_c_check_type () |
| 1881 |
– |
{ |
| 1882 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1883 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1884 |
– |
$as_echo_n "checking for $2... " >&6; } |
| 1885 |
– |
if eval \${$3+:} false; then : |
| 1886 |
– |
$as_echo_n "(cached) " >&6 |
| 1887 |
– |
else |
| 1888 |
– |
eval "$3=no" |
| 1889 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1890 |
– |
/* end confdefs.h. */ |
| 1891 |
– |
$4 |
| 1892 |
– |
int |
| 1893 |
– |
main () |
| 1894 |
– |
{ |
| 1895 |
– |
if (sizeof ($2)) |
| 1896 |
– |
return 0; |
| 1897 |
– |
; |
| 1898 |
– |
return 0; |
| 1899 |
– |
} |
| 1900 |
– |
_ACEOF |
| 1901 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1902 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1903 |
– |
/* end confdefs.h. */ |
| 1904 |
– |
$4 |
| 1905 |
– |
int |
| 1906 |
– |
main () |
| 1907 |
– |
{ |
| 1908 |
– |
if (sizeof (($2))) |
| 1909 |
– |
return 0; |
| 1910 |
– |
; |
| 1911 |
– |
return 0; |
| 1912 |
– |
} |
| 1913 |
– |
_ACEOF |
| 1914 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1915 |
– |
|
| 1916 |
– |
else |
| 1917 |
– |
eval "$3=yes" |
| 1918 |
– |
fi |
| 1919 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1920 |
– |
fi |
| 1921 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1922 |
– |
fi |
| 1923 |
– |
eval ac_res=\$$3 |
| 1924 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1925 |
– |
$as_echo "$ac_res" >&6; } |
| 1926 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1927 |
– |
|
| 1928 |
– |
} # ac_fn_c_check_type |
| 1875 |
|
cat >config.log <<_ACEOF |
| 1876 |
|
This file contains any messages produced by compilers while |
| 1877 |
|
running configure, to aid debugging if configure makes a mistake. |
| 12088 |
|
|
| 12089 |
|
|
| 12090 |
|
|
| 12145 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 12146 |
– |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 12147 |
– |
if ${ac_cv_header_stdc+:} false; then : |
| 12148 |
– |
$as_echo_n "(cached) " >&6 |
| 12149 |
– |
else |
| 12150 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12151 |
– |
/* end confdefs.h. */ |
| 12152 |
– |
#include <stdlib.h> |
| 12153 |
– |
#include <stdarg.h> |
| 12154 |
– |
#include <string.h> |
| 12155 |
– |
#include <float.h> |
| 12156 |
– |
|
| 12157 |
– |
int |
| 12158 |
– |
main () |
| 12159 |
– |
{ |
| 12160 |
– |
|
| 12161 |
– |
; |
| 12162 |
– |
return 0; |
| 12163 |
– |
} |
| 12164 |
– |
_ACEOF |
| 12165 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12166 |
– |
ac_cv_header_stdc=yes |
| 12167 |
– |
else |
| 12168 |
– |
ac_cv_header_stdc=no |
| 12169 |
– |
fi |
| 12170 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12171 |
– |
|
| 12172 |
– |
if test $ac_cv_header_stdc = yes; then |
| 12173 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 12174 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12175 |
– |
/* end confdefs.h. */ |
| 12176 |
– |
#include <string.h> |
| 12177 |
– |
|
| 12178 |
– |
_ACEOF |
| 12179 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 12180 |
– |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 12181 |
– |
|
| 12182 |
– |
else |
| 12183 |
– |
ac_cv_header_stdc=no |
| 12184 |
– |
fi |
| 12185 |
– |
rm -f conftest* |
| 12186 |
– |
|
| 12187 |
– |
fi |
| 12188 |
– |
|
| 12189 |
– |
if test $ac_cv_header_stdc = yes; then |
| 12190 |
– |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 12191 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12192 |
– |
/* end confdefs.h. */ |
| 12193 |
– |
#include <stdlib.h> |
| 12194 |
– |
|
| 12195 |
– |
_ACEOF |
| 12196 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 12197 |
– |
$EGREP "free" >/dev/null 2>&1; then : |
| 12198 |
– |
|
| 12199 |
– |
else |
| 12200 |
– |
ac_cv_header_stdc=no |
| 12201 |
– |
fi |
| 12202 |
– |
rm -f conftest* |
| 12203 |
– |
|
| 12204 |
– |
fi |
| 12205 |
– |
|
| 12206 |
– |
if test $ac_cv_header_stdc = yes; then |
| 12207 |
– |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 12208 |
– |
if test "$cross_compiling" = yes; then : |
| 12209 |
– |
: |
| 12210 |
– |
else |
| 12211 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12212 |
– |
/* end confdefs.h. */ |
| 12213 |
– |
#include <ctype.h> |
| 12214 |
– |
#include <stdlib.h> |
| 12215 |
– |
#if ((' ' & 0x0FF) == 0x020) |
| 12216 |
– |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 12217 |
– |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 12218 |
– |
#else |
| 12219 |
– |
# define ISLOWER(c) \ |
| 12220 |
– |
(('a' <= (c) && (c) <= 'i') \ |
| 12221 |
– |
|| ('j' <= (c) && (c) <= 'r') \ |
| 12222 |
– |
|| ('s' <= (c) && (c) <= 'z')) |
| 12223 |
– |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 12224 |
– |
#endif |
| 12225 |
– |
|
| 12226 |
– |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 12227 |
– |
int |
| 12228 |
– |
main () |
| 12229 |
– |
{ |
| 12230 |
– |
int i; |
| 12231 |
– |
for (i = 0; i < 256; i++) |
| 12232 |
– |
if (XOR (islower (i), ISLOWER (i)) |
| 12233 |
– |
|| toupper (i) != TOUPPER (i)) |
| 12234 |
– |
return 2; |
| 12235 |
– |
return 0; |
| 12236 |
– |
} |
| 12237 |
– |
_ACEOF |
| 12238 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 12239 |
– |
|
| 12240 |
– |
else |
| 12241 |
– |
ac_cv_header_stdc=no |
| 12242 |
– |
fi |
| 12243 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12244 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12245 |
– |
fi |
| 12246 |
– |
|
| 12247 |
– |
fi |
| 12248 |
– |
fi |
| 12249 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 12250 |
– |
$as_echo "$ac_cv_header_stdc" >&6; } |
| 12251 |
– |
if test $ac_cv_header_stdc = yes; then |
| 12252 |
– |
|
| 12253 |
– |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 12254 |
– |
|
| 12255 |
– |
fi |
| 12256 |
– |
|
| 12257 |
– |
|
| 12091 |
|
for ac_header in sys/poll.h |
| 12092 |
|
do : |
| 12093 |
|
ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" |
| 12103 |
|
done |
| 12104 |
|
|
| 12105 |
|
|
| 12106 |
< |
for ac_header in fcntl.h sys/time.h unistd.h strings.h |
| 12106 |
> |
for ac_header in fcntl.h sys/time.h unistd.h |
| 12107 |
|
do : |
| 12108 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12109 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 12117 |
|
done |
| 12118 |
|
|
| 12119 |
|
|
| 12287 |
– |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 12288 |
– |
if test "x$ac_cv_type_size_t" = xyes; then : |
| 12289 |
– |
|
| 12290 |
– |
else |
| 12291 |
– |
|
| 12292 |
– |
cat >>confdefs.h <<_ACEOF |
| 12293 |
– |
#define size_t unsigned int |
| 12294 |
– |
_ACEOF |
| 12295 |
– |
|
| 12296 |
– |
fi |
| 12297 |
– |
|
| 12120 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 12121 |
|
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 12122 |
|
if ${ac_cv_header_time+:} false; then : |
| 12579 |
|
fi |
| 12580 |
|
|
| 12581 |
|
|
| 12582 |
< |
for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr |
| 12582 |
> |
for ac_func in strlcpy strlcat socket |
| 12583 |
|
do : |
| 12584 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12585 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |