don't stop if qt is not found; more elegant way for adding qt rules

This commit is contained in:
Marc Wäckerlin
2015-03-05 14:05:16 +00:00
parent b868bb9dfc
commit 9fb9729ba2
2 changed files with 35 additions and 2 deletions

View File

@@ -84,11 +84,11 @@ AC_DEFUN([AX_CXX_CHECK_QT], [
AM_CONDITIONAL(HAVE_$1, test $HAVE_$1 -eq 1)
AC_SUBST(AM_CPPFLAGS)
AC_SUBST(AM_CXXFLAGS)
ADDITIONAL_QT_RULES='
AX_ADDITIONAL_QT_RULES_HACK='
%_ui.hxx: %.ui
${UIC} -o [$][@] $<
moc_%.cxx: %.hxx
${MOC} -o [$][@] $<'
AC_SUBST(QT_RULES)
AC_SUBST(AX_ADDITIONAL_QT_RULES_HACK)
])