diff options
author | ng0 <ng0@n0.is> | 2019-11-19 22:52:08 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-19 22:52:08 +0000 |
commit | a50c5483263126e197376dc5bed3d4a6f570c08a (patch) | |
tree | 7e9343a0b5485bfadc60df56f0cc62384f58b6e7 | |
parent | 8dec15190f2605b2dcfeca8a1965f24cf1062089 (diff) | |
download | gnunet-fuse-a50c5483263126e197376dc5bed3d4a6f570c08a.tar.gz gnunet-fuse-a50c5483263126e197376dc5bed3d4a6f570c08a.zip |
configure for fuse.
-rw-r--r-- | configure.ac | 6 |
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 | ;; |
69 | netbsd*) | 69 | netbsd*) |
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 " | |||
113 | backup_CPPFLAGS="$CPPFLAGS" | 115 | backup_CPPFLAGS="$CPPFLAGS" |
114 | CPPFLAGS="-D_FILE_OFFSET_BITS=64" | 116 | CPPFLAGS="-D_FILE_OFFSET_BITS=64" |
115 | 117 | ||
116 | AC_SEARCH_LIBS([fuse_exit], [fuse, refuse]) | 118 | AC_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 |