diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 34a70e5..84a946f 100644 --- a/configure.ac +++ b/configure.ac @@ -41,11 +41,11 @@ LT_INIT # Removes 'unrecognized options: --with-libtool-sysroot' AC_ARG_ENABLE([tests], [Whether we should build test cases]) # Check/set gtest specific functions. -AS_IF([test "x$enable_tests" != "xno"], [ +AS_IF([test "x$enable_tests" = "xyes"], [ PKG_CHECK_MODULES([GMOCK], [gtest_main],,) PKG_CHECK_MODULES([GTEST], [gmock],,) - AX_PTHREAD ]) +AX_PTHREAD AC_ARG_ENABLE([oe-sdk], AS_HELP_STRING([--enable-oe-sdk], [Link testcases absolutely against OE SDK so they can be ran within it.]) |