summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2ae0d21c6..d9a87d8e6 100644
--- a/configure.in
+++ b/configure.in
@@ -502,6 +502,21 @@ if test "x$ac_cv_have_ssize_t" = "xyes" ; then
502 AC_DEFINE(HAVE_SSIZE_T) 502 AC_DEFINE(HAVE_SSIZE_T)
503fi 503fi
504 504
505AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [
506 AC_TRY_COMPILE(
507 [
508#include <sys/types.h>
509#include <sys/socket.h>
510 ],
511 [ sa_family_t foo; foo = 1235; ],
512 [ ac_cv_have_sa_family_t="yes" ],
513 [ ac_cv_have_sa_family_t="no" ]
514 )
515])
516if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
517 AC_DEFINE(HAVE_SA_FAMILY_T)
518fi
519
505AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [ 520AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
506 AC_TRY_COMPILE( 521 AC_TRY_COMPILE(
507 [ 522 [