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 13:44:59 +00:00
parent 2576499697
commit b868bb9dfc

View File

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