diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2017-07-26 08:24:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 08:24:02 -0700 |
commit | a354816a5d6b9026383e9982f3cf25996eddd3ba (patch) | |
tree | 442f6731b7040e186e939dd933c937d13916bf70 /test/unit | |
parent | fe9f28c7899da2782c2c779f959a48ae3b2c1544 (diff) |
Use TEST_CPPFLAGS/TEST_CXXFLAGS to add path to CxxTest headers in configure.ac. (#200)
CxxTest headers were included in test/unit/Makefile.am as -I@CXXTEST@. However, in configure.ac if CXXTEST was not set by the user, it was initially set to `dirname "$CXXTESTGEN"` while determining the path to the header files. If CXXTESTGEN pointed to /usr/bin and if the headers were found in /usr/include, CXXTEST was not reset, which led to CXXTEST being replaced by /usr/bin in test/unit/Makefile.am. As a consequence, the locale binary in /usr/bin got included instead of the locale header file.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/Makefile.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am index 53981f94e..9640a059a 100644 --- a/test/unit/Makefile.am +++ b/test/unit/Makefile.am @@ -67,7 +67,6 @@ if HAVE_CXXTESTGEN AM_CPPFLAGS = \ -I. \ - "-I@CXXTEST@" \ "-I@top_builddir@/src" \ "-I@top_srcdir@/src/include" \ "-I@top_srcdir@/lib" \ |