fi
fi
fi
+if test "x$pyqt_uic_ok" == "xno"; then
+ dnl try in $PATH
+ AC_PATH_PROG(PYUIC, pyuic)
+ if test "x$PYUIC" != x; then
+ PYQTDIR=$PYUIC
+ PYQTDIR=`dirname $PYQTDIR`
+ PYQTDIR=`dirname $PYQTDIR`
+ pyqt_uic_ok=yes
+ fi
+fi
if test "x$pyqt_uic_ok" == "xno"; then
dnl try ${SIPDIR}
if test "x${SIPDIR}" != "x"; then
fi
fi
if test "x$pyqt_lib_ok" == "xno"; then
- dnl try {PYQTDIR}/lib
- if test -d {PYQTDIR}/lib; then
+ dnl try ${PYQTDIR}/lib
+ if test -d ${PYQTDIR}/lib; then
AC_CHECK_FILE(${PYQTDIR}/lib/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no)
if test "x$pyqt_lib_ok" == "xyes"; then
PYQT_LIBS="-L${PYQTDIR}/lib -lqtcmodule"
fi
fi
if test "x$pyqt_lib_ok" == "xno"; then
- dnl try {PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages
- if test -d {PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages; then
+ dnl try ${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages
+ if test -d ${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages; then
AC_CHECK_FILE(${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no)
if test "x$pyqt_lib_ok" == "xyes"; then
PYQT_LIBS="-L${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lqtcmodule"
fi
fi
fi
+if test "x$pyqt_sips_ok" == "xno"; then
+ dnl try ${PYQTDIR}/share/sip/qt
+ if test "x${PYQTDIR}" != "x"; then
+ if test -d ${PYQTDIR}/share/sip/qt ; then
+ AC_CHECK_FILE(${PYQTDIR}/share/sip/qt/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no)
+ if test "x$pyqt_sips_ok" == "xyes"; then
+ PYQT_SIPS="${PYQTDIR}/share/sip/qt"
+ fi
+ fi
+ fi
+fi
if test "x$pyqt_sips_ok" == "xno"; then
dnl try ${SIPDIR}/sip
if test "x${SIPDIR}" != "x"; then