Fix: add missing files to make dist, disable python bindings
[babeltrace.git] / configure.ac
index ac185a5bc455d5e6d0abd53f59705c4cc7eb8626..68efa882e5d10891818b595e6240181b6feeb849 100644 (file)
@@ -161,6 +161,7 @@ AS_CASE([$host_os],
   [mingw*],
     [
        MINGW32=yes
+       DEFAULT_ENABLE_DEBUG_INFO=no
     ]
 )
 
@@ -252,7 +253,7 @@ swig_version=2.0.0
 AC_ARG_ENABLE([python-bindings],
               [AC_HELP_STRING([--enable-python-bindings],
                               [generate Python bindings])],
-              [enable_python_bindings=yes], [enable_python_bindings=no])
+              [enable_python_bindings=$enableval], [enable_python_bindings=no])
 
 AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python_bindings:-yes}" = xyes])
 
@@ -262,7 +263,7 @@ AC_ARG_ENABLE(
                [--enable-python-plugins],
                [add support for the Babeltrace library and converter to load Python plugins])
        ],
-       [enable_python_plugins=yes],
+       [enable_python_plugins=$enableval],
        [enable_python_plugins=no]
 )
 
@@ -321,14 +322,14 @@ AS_IF(
 AC_ARG_ENABLE([python-bindings-doc],
               [AC_HELP_STRING([--enable-python-bindings-doc],
                               [generate Python bindings documentation])],
-              [enable_python_bindings_doc=yes], [enable_python_bindings_doc=no])
+              [enable_python_bindings_doc=$enableval], [enable_python_bindings_doc=no])
 
 AM_CONDITIONAL([BUILD_PYTHON_BINDINGS_DOC], [test "x${enable_python_bindings_doc:-yes}" = xyes])
 
 AC_ARG_ENABLE([python-bindings-tests],
               [AC_HELP_STRING([--enable-python-bindings-tests],
                               [test Python bindings])],
-              [enable_python_bindings_tests=yes], [enable_python_bindings_tests=no])
+              [enable_python_bindings_tests=$enableval], [enable_python_bindings_tests=no])
 
 AM_CONDITIONAL([ENABLE_PYTHON_BINDINGS_TESTS], [test "x${enable_python_bindings_tests:-yes}" = xyes])
 
@@ -466,6 +467,11 @@ AS_IF([test "x$enable_api_doc" = "xyes"], [
   DX_INIT_DOXYGEN([Babeltrace], [$(srcdir)/Doxyfile], [output])
 ])
 
+       #TODO: removed, work in progress
+       #bindings/python/Makefile
+       #bindings/python/babeltrace/Makefile
+       #bindings/python/bt2/Makefile
+       #bindings/python/bt2/__init__.py
 AC_CONFIG_FILES([
        Makefile
        common/Makefile
@@ -487,10 +493,6 @@ AC_CONFIG_FILES([
        include/Makefile
        logging/Makefile
        bindings/Makefile
-       bindings/python/Makefile
-       bindings/python/babeltrace/Makefile
-       bindings/python/bt2/Makefile
-       bindings/python/bt2/__init__.py
        tests/Makefile
        tests/cli/Makefile
        tests/cli/intersection/Makefile
This page took 0.03519 seconds and 4 git commands to generate.