Marcin Konicki provided two configure fixes and a source fix to make curl

build out-of-the-box on BeOS.
This commit is contained in:
Daniel Stenberg
2004-12-22 22:28:10 +00:00
parent 99befd3a15
commit 58f4af7973
4 changed files with 20 additions and 3 deletions

View File

@@ -314,6 +314,16 @@ then
)
fi
if test "$HAVE_GETHOSTBYNAME" != "1"
then
dnl gethostbyname in the net lib - for BeOS
AC_CHECK_LIB(net, gethostbyname,
[HAVE_GETHOSTBYNAME="1"
LIBS="$LIBS -lnet"
])
fi
if test "$HAVE_GETHOSTBYNAME" = "1"; then
AC_DEFINE(HAVE_GETHOSTBYNAME, 1, [If you have gethostbyname])
else