From 73200eaa8559c770a0ccc6e819cf791564592335 Mon Sep 17 00:00:00 2001 From: Shyam Date: Thu, 8 Oct 2015 13:59:44 -0400 Subject: core: Add experimental xlator directory Added an experimental xlator directory under ./xlators/ The intent of this directory is presented in the README.md that accompanies this commit. This directory can be disabled from being compiled using, - configure --disable-experimental Change-Id: I047f380c91a082d111432f8bbdbd4d7bdcbaa809 Signed-off-by: Shyam Reviewed-on: http://review.gluster.org/12321 Tested-by: NetBSD Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Avra Sengupta Reviewed-by: Jeff Darcy --- configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f39a4cfff89..a345b88078b 100644 --- a/configure.ac +++ b/configure.ac @@ -186,6 +186,7 @@ AC_CONFIG_FILES([Makefile xlators/mgmt/Makefile xlators/mgmt/glusterd/Makefile xlators/mgmt/glusterd/src/Makefile + xlators/experimental/Makefile cli/Makefile cli/src/Makefile doc/Makefile @@ -1259,6 +1260,18 @@ AC_SUBST(UNITTEST_LDFLAGS) AC_SUBST(CFLAGS) # end enable debug section +# experimental section +AC_ARG_ENABLE([experimental], + AC_HELP_STRING([--disable-experimental], + [Disable building experimental xlators])) + +BUILD_EXPERIMENTAL="yes" +if test "x$enable_experimental" == "xno"; then + BUILD_EXPERIMENTAL="no" +fi +AM_CONDITIONAL([ENABLE_EXPERIMENTAL], [test x$BUILD_EXPERIMENTAL = xyes]) +#end experimental section + dnl libglusterfs.so uses math functions GF_LDADD="${GF_LDADD} ${MATH_LIB}" @@ -1354,4 +1367,5 @@ echo "Unit Tests : $BUILD_UNITTEST" echo "POSIX ACLs : $BUILD_POSIX_ACLS" echo "Data Classification : $BUILD_GFDB" echo "firewalld-config : $BUILD_FIREWALLD" +echo "Experimental xlators : $BUILD_EXPERIMENTAL" echo -- cgit