Commit 5c7dcc6c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dan Fandrich fix for hosts that need both -lnsl and -lsocket

parent 6c5ea2af
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -287,7 +287,7 @@ then
  AC_TRY_LINK( ,
  AC_TRY_LINK( ,
             [gethostbyname();],
             [gethostbyname();],
             [ dnl found it!
             [ dnl found it!
             HAVE_GETHOSTBYNAME="1",
             HAVE_GETHOSTBYNAME="1"
             AC_MSG_RESULT([yes])],
             AC_MSG_RESULT([yes])],
             [ dnl failed!
             [ dnl failed!
             AC_MSG_RESULT([no])
             AC_MSG_RESULT([no])