| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 4356 2014-08-02 18:30:48Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4359 2014-08-02 20:37:47Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1. |
| 5 |
|
# |
| 1939 |
|
|
| 1940 |
|
} # ac_fn_c_check_type |
| 1941 |
|
|
| 1942 |
– |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 1943 |
– |
# ---------------------------------------------------- |
| 1944 |
– |
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 1945 |
– |
# INCLUDES, setting cache variable VAR accordingly. |
| 1946 |
– |
ac_fn_c_check_member () |
| 1947 |
– |
{ |
| 1948 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1949 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1950 |
– |
$as_echo_n "checking for $2.$3... " >&6; } |
| 1951 |
– |
if eval \${$4+:} false; then : |
| 1952 |
– |
$as_echo_n "(cached) " >&6 |
| 1953 |
– |
else |
| 1954 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1955 |
– |
/* end confdefs.h. */ |
| 1956 |
– |
$5 |
| 1957 |
– |
int |
| 1958 |
– |
main () |
| 1959 |
– |
{ |
| 1960 |
– |
static $2 ac_aggr; |
| 1961 |
– |
if (ac_aggr.$3) |
| 1962 |
– |
return 0; |
| 1963 |
– |
; |
| 1964 |
– |
return 0; |
| 1965 |
– |
} |
| 1966 |
– |
_ACEOF |
| 1967 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1968 |
– |
eval "$4=yes" |
| 1969 |
– |
else |
| 1970 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1971 |
– |
/* end confdefs.h. */ |
| 1972 |
– |
$5 |
| 1973 |
– |
int |
| 1974 |
– |
main () |
| 1975 |
– |
{ |
| 1976 |
– |
static $2 ac_aggr; |
| 1977 |
– |
if (sizeof ac_aggr.$3) |
| 1978 |
– |
return 0; |
| 1979 |
– |
; |
| 1980 |
– |
return 0; |
| 1981 |
– |
} |
| 1982 |
– |
_ACEOF |
| 1983 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1984 |
– |
eval "$4=yes" |
| 1985 |
– |
else |
| 1986 |
– |
eval "$4=no" |
| 1987 |
– |
fi |
| 1988 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1989 |
– |
fi |
| 1990 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1991 |
– |
fi |
| 1992 |
– |
eval ac_res=\$$4 |
| 1993 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1994 |
– |
$as_echo "$ac_res" >&6; } |
| 1995 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1996 |
– |
|
| 1997 |
– |
} # ac_fn_c_check_member |
| 1998 |
– |
|
| 1942 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1943 |
|
# ------------------------------------------------------- |
| 1944 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 13485 |
|
_ACEOF |
| 13486 |
|
|
| 13487 |
|
|
| 13545 |
– |
fi |
| 13546 |
– |
|
| 13547 |
– |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13548 |
– |
<sys/socket.h> |
| 13549 |
– |
" |
| 13550 |
– |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13551 |
– |
|
| 13552 |
– |
cat >>confdefs.h <<_ACEOF |
| 13553 |
– |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13554 |
– |
_ACEOF |
| 13555 |
– |
|
| 13556 |
– |
|
| 13488 |
|
fi |
| 13489 |
|
|
| 13490 |
|
|