Allow TQt3 includes to exist somewhere other than /usr/include/tqt

The test for TQt3 fails when it's not installed in /usr due to CXXFLAGS being hardcoded to /usr/include/tqt. Amended to append to CXXFLAGS.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
pull/7/head
aneejit1 4 years ago
parent 3e80abcba5
commit ae96f3ea48

@ -1087,7 +1087,7 @@ AC_DEFUN([KDE_USE_TQT],
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
ac_cxxflags_safe="$CXXFLAGS"
CXXFLAGS="-I/usr/include/tqt"
CXXFLAGS="$CXXFLAGS -I/usr/include/tqt"
AC_TRY_COMPILE([
#define TQT_VERSION_ONLY
#include <tqt.h>

Loading…
Cancel
Save