summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 581380ae..3b1f125c 100644
--- a/configure.in
+++ b/configure.in
@@ -192,6 +192,18 @@ AC_TRY_COMPILE(
[AC_MSG_RESULT(no)]
)
+AC_MSG_CHECKING([For size_t])
+AC_TRY_COMPILE(
+ [#include <sys/types.h>],
+ [#include <sys/socket.h>],
+ [size_t foo; foo = 1235;],
+ [
+ AC_DEFINE(HAVE_SIZE_T)
+ AC_MSG_RESULT(yes)
+ ],
+ [AC_MSG_RESULT(no)]
+)
+
AC_ARG_WITH(pam,
[ --without-pam Disable PAM support ],
[