commit | 9505851f31c52cbb76866225679fdceb788dcc5e | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Wed Dec 29 10:36:45 1999 +1100 |
committer | Damien Miller <djm@mindrot.org> | Wed Dec 29 10:36:45 1999 +1100 |
tree | 9c27bccffcf4da90c32ea6f672821786b31ea9c5 | |
parent | ac3a4b4a96d952a467e1cdf660f9d471e1141f6f [diff] [blame] |
- Detect missing size_t and typedef it.
diff --git a/configure.in b/configure.in index 581380a..3b1f125 100644 --- a/configure.in +++ b/configure.in
@@ -192,6 +192,18 @@ [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 ], [