summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-06-22 19:23:58 +0000
committerSlávek Banko <slavek.banko@axis.cz>2020-06-25 00:34:25 +0200
commitd146df0c006228cfeb7b49321d480b50c0d598b3 (patch)
tree6026e28e1b8ad49972ba6852c912474f4db29a13
parentb7cdf5ad1271a5fbc6044f39d0ca7cb6c11c23dc (diff)
downloadadmin-d146df0c006228cfeb7b49321d480b50c0d598b3.tar.gz
admin-d146df0c006228cfeb7b49321d480b50c0d598b3.zip
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 ae96f3ea4882e243513827da7c2ab889af3b1608)
-rw-r--r--acinclude.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index 29513f4..535e1d9 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -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>