]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: replace adhoc domain with `localhost` in tests
authorViktor Szakats <commit@vsz.me>
Fri, 29 Sep 2023 12:01:17 +0000 (12:01 +0000)
committerViktor Szakats <commit@vsz.me>
Fri, 29 Sep 2023 18:25:59 +0000 (18:25 +0000)
Reviewed-by: Daniel Stenberg
Closes #11988

configure.ac

index afef979ce33cbc2afd6e76731cf8a360037e05fc..b308f518f603a38484f32675b48414cc7a812aab 100644 (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])