Browse Source

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 2 months ago
parent
commit
ae96f3ea48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      acinclude.m4.in

+ 1
- 1
acinclude.m4.in View File

@@ -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