aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-22 22:28:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-22 22:28:10 +0000
commit58f4af7973e3d2ec0510050ea207e6b16c6c9a64 (patch)
tree27d8e79d5bbdb5ef03cb3c546301f5feb449399f /configure.ac
parent99befd3a155369280236b918dcf2739e599b5eaa (diff)
Marcin Konicki provided two configure fixes and a source fix to make curl
build out-of-the-box on BeOS.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a03be2026..60747e6c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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