Add option to --disable-python on build
authorSimo Sorce <idra@samba.org>
Mon, 15 Jun 2009 19:08:25 +0000 (15:08 -0400)
committerSimo Sorce <idra@samba.org>
Mon, 15 Jun 2009 20:31:11 +0000 (16:31 -0400)
lib/tdb/configure.ac

index c42a970721cadc4309a6c86d2d9df3351579348b..e00f08af70ac1f26adc0a2612f8cdcb6ae6373b2 100644 (file)
@@ -28,6 +28,15 @@ if test -z "$PYTHON_CONFIG"; then
        PYTHON_CHECK_TARGET=""
 fi
 
        PYTHON_CHECK_TARGET=""
 fi
 
+AC_ARG_ENABLE(python,
+               [--enable-python Ebables python bindings],
+               [ if test "x$enableval" = "xno" ; then
+                       PYTHON_BUILD_TARGET=""
+                       PYTHON_INSTALL_TARGET=""
+                       PYTHON_CHECK_TARGET=""
+                 fi
+               ])
+
 m4_include(build_macros.m4)
 BUILD_WITH_SHARED_BUILD_DIR
 
 m4_include(build_macros.m4)
 BUILD_WITH_SHARED_BUILD_DIR