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:32:54 +0200
commit20b5a47aa3db7c7a75c6574be638f3d07a26cfeb (patch)
tree2de17c3ae66ad3f82ff00184f4af497a939df69f
parent73da1dc813757ec2c9cba699453a6ced536cf9f3 (diff)
downloadadmin-20b5a47aa3db7c7a75c6574be638f3d07a26cfeb.tar.gz
admin-20b5a47aa3db7c7a75c6574be638f3d07a26cfeb.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 21376a0..a225f98 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -1244,7 +1244,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>