try to fix «HAVE_QTNETWORK does not appear in AM_CONDITIONAL» when there is no qt

This commit is contained in:
Marc Wäckerlin
2015-03-04 13:28:21 +00:00
parent 59fa411150
commit 39069f37a2

View File

@@ -73,7 +73,7 @@ AC_DEFUN([AX_CXX_CHECK_QT], [
AM_CPPFLAGS+=" ${$1_CFLAGS}"
AM_CXXFLAGS+=" ${$1_CFLAGS}"
LIBS+=" ${$1_LIBS}"
])
], [HAVE_$1=0])
])
AM_CONDITIONAL(HAVE_$1, test $HAVE_$1 -eq 1)
AC_SUBST(AM_CPPFLAGS)