summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/patches/patch-configure
blob: 8fa2986932d68b6d4bfd6d9a50fbc1b0de976736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$NetBSD: patch-configure,v 1.5 2020/09/27 01:13:11 manu Exp $

Make FUSE notification optional at configure time
From upstream https://review.gluster.org/24731

NetBSD build fixes
From upstream https://review.gluster.org/24648

--- configure.orig	2020-07-06 03:22:43.222722780 +0200
+++ configure	2020-07-22 02:28:26.017707376 +0200
@@ -932,8 +932,9 @@
 with_tmpfilesdir
 with_ocf
 with_server
 enable_fuse_client
+enable_fuse_notifications
 enable_fusermount
 enable_epoll
 enable_georeplication
 enable_events
@@ -1619,8 +1620,10 @@
                           Disable internal tracking of privileged ports.
   --enable-valgrind       Enable valgrind for resource leak debugging.
   --disable-fuse-client   Do not build the fuse client. NOTE: you cannot mount
                           glusterfs without the client
+  --disable-fuse-notifications
+                          Disable FUSE notifications
   --disable-fusermount    Use system's fusermount
   --disable-epoll         Use poll instead of epoll.
   --disable-georeplication
                           Do not install georeplication components
@@ -14172,8 +14175,23 @@
 if test "x$enable_fuse_client" != "xno"; then
    FUSE_CLIENT_SUBDIR=fuse
    BUILD_FUSE_CLIENT="yes"
 fi
+  
+  
+                          
+# Check whether --enable-fuse-notifications was given.
+if test "${enable_fuse_notifications+set}" = set; then :
+  enableval=$enable_fuse_notifications;
+fi
+  
+                          
+if test "x$enable_fuse_notifications" != "xno"; then :    
+  
+  
+$as_echo "#define HAVE_FUSE_NOTIFICATIONS 1" >>confdefs.h
+  
+fi
 
 
 # end FUSE section
 
@@ -14973,8 +14991,11 @@
     *freebsd*)
     CFLAGS="${CFLAGS} -isystem /usr/local/include"
     ARGP_LDADD=-largp
     ;;
+    *netbsd*)
+    ARGP_LDADD=-largp
+    ;;
 esac
 ac_fn_c_check_header_mongrel "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac_includes_default"
 if test "x$ac_cv_header_argp_h" = xyes; then :