summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Jerome Duval2024-04-11 10:08:22 +0200
committerGravatar Nikias Bassen2024-05-04 13:41:45 +0200
commit1ee8d0ac233fb510260dbf3a647fbd02f1a92825 (patch)
tree7a671e6f5fca92955fe94280529a65aeb95a8d9b /configure.ac
parente61817ae57aac7252499268a9276692a32dc3e01 (diff)
downloadlibimobiledevice-glue-1ee8d0ac233fb510260dbf3a647fbd02f1a92825.tar.gz
libimobiledevice-glue-1ee8d0ac233fb510260dbf3a647fbd02f1a92825.tar.bz2
socket: Haiku compilation fixes
- link against libnetwork - get_primary_mac_address similar to FreeBSD
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4a3aca3..eae80e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,8 @@ AC_TYPE_UINT8_T
# Checks for library functions.
AC_CHECK_FUNCS([asprintf strcasecmp strdup strerror strndup stpcpy vasprintf getifaddrs poll])
+# Checks for additional library requirements
+AC_SEARCH_LIBS(socket, network)
AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"])
if test "x$ac_cv_have_endian_h" = "xno"; then