From 1e62ff42dfcf84ded563f710cb8da92fa0f41936 Mon Sep 17 00:00:00 2001 From: Ram Raja Date: Tue, 30 Apr 2013 00:38:04 +0530 Subject: glupy: Importing Jeff's glupy project into glusterfs Change-Id: I3891ef6eaf6ede7c8cbedc3298ce2501a69b2b05 BUG: 961856 Original-author: Jeff Darcy Signed-off-by: Ram Raja Reviewed-on: http://review.gluster.org/4906 Reviewed-by: Justin Clift Tested-by: Justin Clift --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6357b19fa..48237bc40 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,8 @@ AC_CONFIG_FILES([Makefile xlators/protocol/server/Makefile xlators/protocol/server/src/Makefile xlators/features/Makefile + xlators/features/glupy/Makefile + xlators/features/glupy/src/Makefile xlators/features/locks/Makefile xlators/features/locks/src/Makefile xlators/features/quota/Makefile @@ -632,6 +634,14 @@ if test "x$LIBAIO" != "x"; then fi +BUILD_GLUPY=no +AC_CHECK_LIB([python2.6],[PyImport_Import],[BUILD_GLUPY=yes]) + +if test "x$BUILD_GLUPY" = "xyes"; then + GLUPY_SUBDIR=glupy +fi +AC_SUBST(GLUPY_SUBDIR) + AC_SUBST(GF_HOST_OS) AC_SUBST([GF_GLUSTERFS_LIBS]) AC_SUBST(GF_GLUSTERFS_CFLAGS) -- cgit