X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/01a2fe8e4dc87fdb256d95504482acf0fb06b67b..bce8c6eed8bd2fb91fc505a26483e449aefac819:/configure.ac diff --git a/configure.ac b/configure.ac index 8e580c9..e338570 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,17 @@ CFLAGS="$CFLAGS $mLib_CFLAGS" LIBS="$LIBS $mLib_LIBS" dnl-------------------------------------------------------------------------- +dnl Python programming environment. + +AM_PATH_PYTHON([2.4], [python=yes], [python=no]) +AM_CONDITIONAL([HAVE_PYTHON], [test $python = yes]) + +if test $python = yes; then + AC_PYTHON_MODULE([pygtk]) +fi +AM_CONDITIONAL([HAVE_PYGTK], [test ${HAVE_PYMOD_PYGTK-no} = yes]) + +dnl-------------------------------------------------------------------------- dnl Output. AC_CONFIG_FILES(