85 |
ac_qtdir_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt3-devel)." |
ac_qtdir_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt3-devel)." |
86 |
|
|
87 |
dnl Check for Qt qmake utility. |
dnl Check for Qt qmake utility. |
88 |
AC_PATH_PROG(ac_qmake, qmake, [no], $ac_qtdir/bin:${PATH}) |
AC_PATH_PROG(ac_qmake, qmake, [no], $QTDIR/bin:${PATH}) |
89 |
if test "x$ac_qmake" = "xno"; then |
if test "x$ac_qmake" = "xno"; then |
90 |
AC_MSG_ERROR([qmake $ac_qtdir_errmsg]) |
AC_MSG_ERROR([qmake $ac_qtdir_errmsg]) |
91 |
fi |
fi |
92 |
AC_SUBST(ac_qmake) |
AC_SUBST(ac_qmake) |
93 |
|
|
94 |
dnl Check for Qt moc utility. |
dnl Check for Qt moc utility. |
95 |
AC_PATH_PROG(ac_moc, moc, [no]) |
AC_PATH_PROG(ac_moc, moc, [no], $QTDIR/bin:${PATH}) |
96 |
if test "x$ac_moc" = "xno"; then |
if test "x$ac_moc" = "xno"; then |
97 |
AC_MSG_ERROR([moc $ac_qtdir_errmsg]) |
AC_MSG_ERROR([moc $ac_qtdir_errmsg]) |
98 |
fi |
fi |
99 |
AC_SUBST(ac_moc) |
AC_SUBST(ac_moc) |
100 |
|
|
101 |
dnl Check for Qt uic utility. |
dnl Check for Qt uic utility. |
102 |
AC_PATH_PROG(ac_uic, uic, [no]) |
AC_PATH_PROG(ac_uic, uic, [no], $QTDIR/bin:${PATH}) |
103 |
if test "x$ac_uic" = "xno"; then |
if test "x$ac_uic" = "xno"; then |
104 |
AC_MSG_ERROR([uic $ac_qtdir_errmsg]) |
AC_MSG_ERROR([uic $ac_qtdir_errmsg]) |
105 |
fi |
fi |