diff options
Diffstat (limited to 'app-misc/hivex/files/1.3.6/0003-fix_python_defenition_configure.ac.patch')
-rw-r--r-- | app-misc/hivex/files/1.3.6/0003-fix_python_defenition_configure.ac.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/hivex/files/1.3.6/0003-fix_python_defenition_configure.ac.patch b/app-misc/hivex/files/1.3.6/0003-fix_python_defenition_configure.ac.patch new file mode 100644 index 000000000000..d74b17c1e7c5 --- /dev/null +++ b/app-misc/hivex/files/1.3.6/0003-fix_python_defenition_configure.ac.patch @@ -0,0 +1,16 @@ +diff --git a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -336,8 +336,11 @@ + AC_SUBST(PYTHON_INCLUDEDIR) + AC_SUBST(PYTHON_INSTALLDIR) + ++AC_ARG_ENABLE([python], ++ AS_HELP_STRING([--with-python],[build Python binding])) ++ + AM_CONDITIONAL([HAVE_PYTHON], +- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"]) ++ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"]) + + dnl Check for Ruby and rake (optional, for Ruby bindings). + AC_ARG_ENABLE([ruby], |