fixed configure.ac
This commit is contained in:
parent
a1de67b513
commit
f3ee24447f
2
moo/configure
vendored
2
moo/configure
vendored
@ -21634,6 +21634,7 @@ if ${ac_cv_sizeof_sa_family_t+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (sa_family_t))" "ac_cv_sizeof_sa_family_t" "
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
"; then :
|
||||
@ -21674,6 +21675,7 @@ else
|
||||
/* end confdefs.h. */
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
@ -405,6 +405,7 @@ else
|
||||
fi
|
||||
|
||||
AC_CHECK_SIZEOF(sa_family_t,, [
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>])
|
||||
if test ${ac_cv_sizeof_sa_family_t} -gt 0
|
||||
@ -413,7 +414,8 @@ else
|
||||
[ AC_DEFINE(MOO_SA_FAMILY_T_IS_SIGNED, 1, [Define if sa_family_t is signed]) ],
|
||||
[ AS_ECHO_N("") ],
|
||||
[#include <sys/types.h>
|
||||
#include <sys/socket.h>])
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user