[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-fuse] 09/12: configure: maybe make fuse detection more portable.
From: |
gnunet |
Subject: |
[gnunet-fuse] 09/12: configure: maybe make fuse detection more portable. |
Date: |
Wed, 20 Nov 2019 00:00:49 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-fuse.
commit 31d078ece609d6b472b15ad756d32db3af6ea925
Author: ng0 <address@hidden>
AuthorDate: Tue Nov 19 22:26:19 2019 +0000
configure: maybe make fuse detection more portable.
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index caa1b63..3fa8ce6 100644
--- 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
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnunet-fuse] branch master updated (cc9aab5 -> b264f99), gnunet, 2019/11/19
- [gnunet-fuse] 01/12: add mailmap, gnunet, 2019/11/19
- [gnunet-fuse] 04/12: capitalize operating systems., gnunet, 2019/11/19
- [gnunet-fuse] 05/12: extend bootstrap script for uncrustify, gnunet, 2019/11/19
- [gnunet-fuse] 02/12: configure: remove cpp, add uncrustify check., gnunet, 2019/11/19
- [gnunet-fuse] 08/12: fix copy paste mistake., gnunet, 2019/11/19
- [gnunet-fuse] 03/12: add make pretty., gnunet, 2019/11/19
- [gnunet-fuse] 07/12: gitignore uncrustify.cfg, gnunet, 2019/11/19
- [gnunet-fuse] 06/12: add submodule, gnunet, 2019/11/19
- [gnunet-fuse] 09/12: configure: maybe make fuse detection more portable.,
gnunet <=
- [gnunet-fuse] 11/12: configure for fuse., gnunet, 2019/11/19
- [gnunet-fuse] 10/12: lint, gnunet, 2019/11/19
- [gnunet-fuse] 12/12: mutex: pthread_np is not widespread on *BSD. FreeBSD points out that the functions we are using are deprecated and pthread functions should be used instead. Since we use them for Solaris, move the BSD define to them. We should instead turn this into an else, as listing N + 1 operating systems definitions is bad style, for now just see if this is usable. Furthermore assume that pthread_np exists on Linux - which seems to be unnecessary because this was previously guarded by BSD., gnunet, 2019/11/19