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>
(cherry picked from commit ae96f3ea48)
v3.5.13-sru
aneejit1 4 years ago committed by Slávek Banko
parent b7cdf5ad12
commit d146df0c00
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1233,7 +1233,7 @@ AC_DEFUN([KDE_USE_QT],
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