mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
configure: replace adhoc domain with localhost
in tests
Reviewed-by: Daniel Stenberg Closes #11988
This commit is contained in:
parent
1bc69df7b4
commit
1e8c7fac42
@ -1151,7 +1151,7 @@ then
|
||||
#endif
|
||||
#endif
|
||||
]],[[
|
||||
gethostbyname("www.dummysite.com");
|
||||
gethostbyname("localhost");
|
||||
]])
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
@ -1174,7 +1174,7 @@ then
|
||||
/* Older Minix versions may need <net/gen/netdb.h> here instead */
|
||||
#include <netdb.h>
|
||||
]],[[
|
||||
gethostbyname("www.dummysite.com");
|
||||
gethostbyname("localhost");
|
||||
]])
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
@ -1193,7 +1193,7 @@ then
|
||||
#include <stdio.h>
|
||||
#include <netdb.h>
|
||||
]],[[
|
||||
gethostbyname("www.dummysite.com");
|
||||
gethostbyname("localhost");
|
||||
]])
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
@ -1217,7 +1217,7 @@ then
|
||||
struct Library *SocketBase = NULL;
|
||||
#endif
|
||||
]],[[
|
||||
gethostbyname("www.dummysite.com");
|
||||
gethostbyname("localhost");
|
||||
]])
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
|
Loading…
Reference in New Issue
Block a user