fixed configure.ac

This commit is contained in:
hyunghwan.chung 2018-01-25 09:41:43 +00:00
parent a1de67b513
commit f3ee24447f
2 changed files with 5 additions and 1 deletions

2
moo/configure vendored
View File

@ -21634,6 +21634,7 @@ if ${ac_cv_sizeof_sa_family_t+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (sa_family_t))" "ac_cv_sizeof_sa_family_t" " 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 <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
"; then : "; then :
@ -21674,6 +21675,7 @@ else
/* end confdefs.h. */ /* end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h>
int int
main () main ()
{ {

View File

@ -405,6 +405,7 @@ else
fi fi
AC_CHECK_SIZEOF(sa_family_t,, [ AC_CHECK_SIZEOF(sa_family_t,, [
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h>]) #include <netinet/in.h>])
if test ${ac_cv_sizeof_sa_family_t} -gt 0 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]) ], [ AC_DEFINE(MOO_SA_FAMILY_T_IS_SIGNED, 1, [Define if sa_family_t is signed]) ],
[ AS_ECHO_N("") ], [ AS_ECHO_N("") ],
[#include <sys/types.h> [#include <sys/types.h>
#include <sys/socket.h>]) #include <sys/socket.h>
#include <netinet/in.h>])
fi fi
fi fi