aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-19 22:52:08 +0000
committerng0 <ng0@n0.is>2019-11-19 22:52:08 +0000
commita50c5483263126e197376dc5bed3d4a6f570c08a (patch)
tree7e9343a0b5485bfadc60df56f0cc62384f58b6e7
parent8dec15190f2605b2dcfeca8a1965f24cf1062089 (diff)
downloadgnunet-fuse-a50c5483263126e197376dc5bed3d4a6f570c08a.tar.gz
gnunet-fuse-a50c5483263126e197376dc5bed3d4a6f570c08a.zip
configure for fuse.
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3fa8ce6..ea16b3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,9 @@ openbsd*)
68 ;; 68 ;;
69netbsd*) 69netbsd*)
70 build_target="netbsd" 70 build_target="netbsd"
71 CFLAGS="-D_KERNTYPES -D_NETBSD_SOURCE $CFLAGS" 71 # This seems to be required for librefuse, once I manage to make
72 # gnunet-fuse build with it:
73 # CFLAGS="-D_KERNTYPES -D_NETBSD_SOURCE $CFLAGS"
72 ;; 74 ;;
73*solaris*) 75*solaris*)
74 AC_DEFINE_UNQUOTED(SOLARIS,1,[This is a Solaris system]) 76 AC_DEFINE_UNQUOTED(SOLARIS,1,[This is a Solaris system])
@@ -113,7 +115,7 @@ backup_CFLAGS="$CFLAGS "
113backup_CPPFLAGS="$CPPFLAGS" 115backup_CPPFLAGS="$CPPFLAGS"
114CPPFLAGS="-D_FILE_OFFSET_BITS=64" 116CPPFLAGS="-D_FILE_OFFSET_BITS=64"
115 117
116AC_SEARCH_LIBS([fuse_exit], [fuse, refuse]) 118AC_SEARCH_LIBS([fuse_exit], [fuse refuse], [], [AC_MSG_ERROR([fuse is required.])])
117 119
118# uncrustify 120# uncrustify
119# TODO: maybe add flag to pass location 121# TODO: maybe add flag to pass location