blob: dddf4c641333d8d30f9580a10e1afb0ffc652852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
KDE_CHECK_PYTHON(1.5)
if test -z "$LIBPYTHON" || test -z "$PYTHONINC"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE dcoppython"
fi
AC_ARG_VAR([XSLTPROC])
AC_ARG_VAR([PYTHON])
AC_PATH_PROG([XSLTPROC],[xsltproc],[echo])
AC_PATH_PROG([PYTHON],[python2])
if test -z "$PYTHON"; then
AC_PATH_PROG([PYTHON],[python])
fi
if test -n "$PYTHON"; then
python_site=$($PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
AC_SUBST(PYTHON_SITE, $python_site)
fi
|