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. |
12230 |
|
done |
12231 |
|
|
12232 |
|
|
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 |
– |
|
12233 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
12234 |
|
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
12235 |
|
if ${ac_cv_header_time+:} false; then : |