X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=eb14fbd5c337ff343bb7de8fc9905b1f162a9713;hb=e19cc57dd443a24dc37d2f03cee5d965ea9ede97;hp=bccbcde24269aa0f58e39d342462bb377d797b52;hpb=e0275755322f25c08b035b164fc305035b16f30f;p=babeltrace.git diff --git a/configure.ac b/configure.ac index bccbcde2..eb14fbd5 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,11 @@ if test "x${enable_python:-yes}" = xyes; then AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) AM_PATH_PYTHON([3.0], , [AC_MSG_ERROR(Python3 is not available or is not the default Python interpreter on your system. See the README file to learn how to override your distribution's default Python interpreter.)]) + AM_PATH_PYTHON_MODULES([PYTHON]) + # pythondir is the path where extra modules are to be installed + pythondir=$PYTHON_PREFIX/$PYTHON_MODULES_PATH + # pyexecdir is the path that contains shared objects used by the extra modules + pyexecdir=$PYTHON_EXEC_PREFIX/$PYTHON_MODULES_PATH AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config]) AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config]) AS_IF([test -z "$PYTHON_INCLUDE"], [