Skip to content

Commit 6ad94e4

Browse files
committed
Reorder configure tests for accept() in Windows
Currently only frogmouth in the buildfarm uses the 32bit params, and it's not able to build past release 10, so put those last, saving substantial configure time on more modern systems. Even if we get a modern 32 bit Windows system at some stage we should probably prefer the 64 bit interface here these days.
1 parent b96f6b1 commit 6ad94e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/ac_func_accept_argtypes.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ AC_DEFUN([AC_FUNC_ACCEPT_ARGTYPES],
4343
[AC_CACHE_VAL(ac_cv_func_accept_arg1,dnl
4444
[AC_CACHE_VAL(ac_cv_func_accept_arg2,dnl
4545
[AC_CACHE_VAL(ac_cv_func_accept_arg3,dnl
46-
[for ac_cv_func_accept_return in 'int' 'unsigned int PASCAL' 'SOCKET WSAAPI'; do
47-
for ac_cv_func_accept_arg1 in 'int' 'unsigned int' 'SOCKET'; do
46+
[for ac_cv_func_accept_return in 'int' 'SOCKET WSAAPI' 'unsigned int PASCAL'; do
47+
for ac_cv_func_accept_arg1 in 'int' 'SOCKET' 'unsigned int'; do
4848
for ac_cv_func_accept_arg2 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
4949
for ac_cv_func_accept_arg3 in 'int' 'size_t' 'socklen_t' 'unsigned int' 'void'; do
5050
AC_COMPILE_IFELSE([AC_LANG_SOURCE(

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15025,8 +15025,8 @@ else
1502515025
if ${ac_cv_func_accept_arg3+:} false; then :
1502615026
$as_echo_n "(cached) " >&6
1502715027
else
15028-
for ac_cv_func_accept_return in 'int' 'unsigned int PASCAL' 'SOCKET WSAAPI'; do
15029-
for ac_cv_func_accept_arg1 in 'int' 'unsigned int' 'SOCKET'; do
15028+
for ac_cv_func_accept_return in 'int' 'SOCKET WSAAPI' 'unsigned int PASCAL'; do
15029+
for ac_cv_func_accept_arg1 in 'int' 'SOCKET' 'unsigned int'; do
1503015030
for ac_cv_func_accept_arg2 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
1503115031
for ac_cv_func_accept_arg3 in 'int' 'size_t' 'socklen_t' 'unsigned int' 'void'; do
1503215032
cat confdefs.h - <<_ACEOF >conftest.$ac_ext

0 commit comments

Comments
 (0)