diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-05-15 21:13:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-05-15 21:13:36 +0000 |
commit | de9b76cef0c74ab4191ed54fa0c8811afd23c867 (patch) | |
tree | fa696d0c26527ee5fdda1c78a8dbd387a7546339 | |
parent | 1747a8d3d96accfc02be2f65c26bc1ab04cdc2fa (diff) |
change the order of the in_addr_t tests, so that 'unsigned long' is tested
for first, as it seems to be what many systems use
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 83d86bf46..78d9052f9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -152,10 +152,8 @@ AC_DEFUN([TYPE_IN_ADDR_T], AC_MSG_CHECKING([for in_addr_t equivalent]) AC_CACHE_VAL([curl_cv_in_addr_t_equiv], [ - # Systems have either "struct sockaddr *" or - # "void *" as the second argument to getpeername curl_cv_in_addr_t_equiv= - for t in int size_t unsigned long "unsigned long"; do + for t in "unsigned long" int size_t unsigned long; do AC_TRY_COMPILE([ #include <sys/types.h> #include <sys/socket.h> |