summaryrefslogtreecommitdiffstats
path: root/dcoppython/configure.in.in
blob: 719b46820d67e0c647d9127ce74a8a8f65c019ef (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],[python3])
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