commit 31d078ece609d6b472b15ad756d32db3af6ea925
parent 3639740317eb9cfc68f3f9dddb9246229bb74a91
Author: ng0 <ng0@n0.is>
Date: Tue, 19 Nov 2019 22:26:19 +0000
configure: maybe make fuse detection more portable.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -68,6 +68,7 @@ openbsd*)
;;
netbsd*)
build_target="netbsd"
+ CFLAGS="-D_KERNTYPES -D_NETBSD_SOURCE $CFLAGS"
;;
*solaris*)
AC_DEFINE_UNQUOTED(SOLARIS,1,[This is a Solaris system])
@@ -111,7 +112,8 @@ backup_LIBS="$LIBS"
backup_CFLAGS="$CFLAGS "
backup_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-D_FILE_OFFSET_BITS=64"
-AC_CHECK_HEADERS([fuse.h],,AC_MSG_ERROR([gnunet-fuse requires fuse.h]))
+
+AC_SEARCH_LIBS([fuse_exit], [fuse, refuse])
# uncrustify
# TODO: maybe add flag to pass location