| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 4363 2014-08-02 22:23:09Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4371 2014-08-03 10:56:24Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc2. |
| 5 |
|
# |
| 13439 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13440 |
|
fi |
| 13441 |
|
|
| 13442 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13443 |
– |
" |
| 13444 |
– |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13445 |
– |
|
| 13446 |
– |
$as_echo "#define IPV6 1" >>confdefs.h |
| 13447 |
– |
|
| 13448 |
– |
fi |
| 13449 |
– |
|
| 13450 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13451 |
– |
#include <sys/socket.h> |
| 13452 |
– |
#include <netdb.h> |
| 13453 |
– |
|
| 13454 |
– |
" |
| 13455 |
– |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| 13456 |
– |
|
| 13457 |
– |
cat >>confdefs.h <<_ACEOF |
| 13458 |
– |
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 13459 |
– |
_ACEOF |
| 13460 |
– |
|
| 13461 |
– |
|
| 13462 |
– |
fi |
| 13463 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
| 13464 |
– |
#include <sys/socket.h> |
| 13465 |
– |
#include <netdb.h> |
| 13466 |
– |
|
| 13467 |
– |
" |
| 13468 |
– |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
| 13469 |
– |
|
| 13470 |
– |
cat >>confdefs.h <<_ACEOF |
| 13471 |
– |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 13472 |
– |
_ACEOF |
| 13473 |
– |
|
| 13474 |
– |
|
| 13475 |
– |
fi |
| 13476 |
– |
ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h> |
| 13477 |
– |
#include <sys/socket.h> |
| 13478 |
– |
#include <netdb.h> |
| 13479 |
– |
|
| 13480 |
– |
" |
| 13481 |
– |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
| 13482 |
– |
|
| 13483 |
– |
cat >>confdefs.h <<_ACEOF |
| 13484 |
– |
#define HAVE_STRUCT_ADDRINFO 1 |
| 13485 |
– |
_ACEOF |
| 13486 |
– |
|
| 13487 |
– |
|
| 13488 |
– |
fi |
| 13489 |
– |
|
| 13442 |
|
|
| 13443 |
|
|
| 13444 |
|
# Checks for typedefs, structures, and compiler characteristics. |