diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-31 08:59:04 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-31 08:59:04 +1100 |
commit | f3e8be87ebf4eb489bcf983cf60f5f55755a8740 (patch) | |
tree | 712ad39f34ec510e249d448a4f6e8f78b5d5aec9 /configure.in | |
parent | 8eb0fd6d6fee368ff0c3de479b0c18763fe3ea3a (diff) |
- Fix broken autoconf typedef detection. Report from Marc G.
Fournier <marc.fournier@acadiau.ca>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 4e5bc602d..dd3e16841 100644 --- a/configure.in +++ b/configure.in | |||
@@ -184,8 +184,10 @@ AC_TRY_COMPILE( | |||
184 | 184 | ||
185 | AC_MSG_CHECKING([For socklen_t]) | 185 | AC_MSG_CHECKING([For socklen_t]) |
186 | AC_TRY_COMPILE( | 186 | AC_TRY_COMPILE( |
187 | [#include <sys/types.h>], | 187 | [ |
188 | [#include <sys/socket.h>], | 188 | #include <sys/types.h> |
189 | #include <sys/socket.h> | ||
190 | ], | ||
189 | [socklen_t foo; foo = 1235;], | 191 | [socklen_t foo; foo = 1235;], |
190 | [ | 192 | [ |
191 | AC_DEFINE(HAVE_SOCKLEN_T) | 193 | AC_DEFINE(HAVE_SOCKLEN_T) |
@@ -197,7 +199,6 @@ AC_TRY_COMPILE( | |||
197 | AC_MSG_CHECKING([For size_t]) | 199 | AC_MSG_CHECKING([For size_t]) |
198 | AC_TRY_COMPILE( | 200 | AC_TRY_COMPILE( |
199 | [#include <sys/types.h>], | 201 | [#include <sys/types.h>], |
200 | [#include <sys/socket.h>], | ||
201 | [size_t foo; foo = 1235;], | 202 | [size_t foo; foo = 1235;], |
202 | [ | 203 | [ |
203 | AC_DEFINE(HAVE_SIZE_T) | 204 | AC_DEFINE(HAVE_SIZE_T) |