3
AM_INIT_AUTOMAKE(testprog,[0.1])
7
# python interpreter check
8
AC_PATH_PROG([PYTHON],[python])
9
if test -z "${PYTHON}" ; then
10
AC_MSG_ERROR([you need Python to use this program])
14
AC_MSG_CHECKING([whether PyQT can be used by Python])
16
cat >pyqttest.py <<END
19
${PYTHON} pyqttest.py >/dev/null 2>&1 && pyqt_present=yes
20
AC_MSG_RESULT([$pyqt_present])
23
AC_PATH_PROG([PYUIC],[pyuic])
24
if test -z "${PYUIC}" ; then
25
AC_MSG_ERROR([cannot find pyuic (part of the PyQT package)])
30
AC_CONFIG_FILES([Makefile])