summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2014-06-20 17:16:37 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2020-02-03 23:07:38 +0100
commite25dd483daf03232bbe5749bb48cf874607e2db3 (patch)
tree46648e3f8e5bc9d9c0d83f169a299c0f697e85b5
parentf251537616815ecaadf8545318e6de3237e44cc1 (diff)
downloadscreen-e25dd483daf03232bbe5749bb48cf874607e2db3.tar.gz
Haiku port: Check for some libraries
* libnetwork for sockets, * libbsd for openpty.
-rw-r--r--src/configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac
index afc0c00..05b9c39 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -74,13 +74,18 @@ AC_SEARCH_LIBS([crypt], [crypt], [], [
dnl
AC_CHECK_HEADERS(pty.h util.h libutil.h)
-AC_SEARCH_LIBS([openpty], [util openpty], [
+AC_SEARCH_LIBS([openpty], [util openpty bsd], [
AC_DEFINE(HAVE_OPENPTY)
], [
AC_MSG_ERROR([unable to find openpty() function])
])
dnl
+AC_SEARCH_LIBS([socket], [network], [], [
+ AC_MSG_ERROR([unable to find socket() function])
+])
+
+dnl
AC_CHECK_HEADERS(langinfo.h)
dnl