X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/f6795c17f9899da2759a2f5782e17b2ee5a0dbb9..583efdd398e53f1c84dd6591b73d044a10bd6a85:/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(