Fix building with glusterfs VFS module on RHEL.

related: #1020329
This commit is contained in:
Andreas Schneider 2013-10-29 17:55:08 +01:00 committed by Andreas Schneider
parent fcb7e8b937
commit bc4911aab0
1 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,13 @@
%global with_profiling 1
%global with_vfs_glusterfs 1
%if 0%{?rhel}
%global with_vfs_glusterfs 0
# Only enable on x86_64
%ifarch x86_64
%global with_vfs_glusterfs 1
%endif
%endif
%global with_mitkrb5 1
%global with_dc 0
@ -534,6 +541,9 @@ LDFLAGS="-Wl,-z,relro,-z,now" \
%if ! %with_dc
--without-ad-dc \
%endif
%if ! %with_vfs_glusterfs
--disable-glusterfs \
%endif
%if %with_clustering_support
--with-cluster-support \
--enable-old-ctdb \