configure: replace adhoc domain with localhost in tests

Reviewed-by: Daniel Stenberg
Closes #11988
This commit is contained in:
Viktor Szakats 2023-09-29 12:01:17 +00:00
parent 1bc69df7b4
commit 1e8c7fac42
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -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])