mirror of https://github.com/djcb/mu.git
* configure.ac: clear up test check a bit
This commit is contained in:
parent
77a1727237
commit
8d8d0d91e2
|
@ -86,10 +86,9 @@ glib_version="`pkg-config --modversion glib-2.0`"
|
|||
# gtest was introduced in glib 2.16; but we're also using
|
||||
# g_test_log_set_fatal_handler, which was introduced in 2.22
|
||||
PKG_CHECK_MODULES(g_test,glib-2.0 >= 2.22, [have_gtest=yes],[have_gtest=no])
|
||||
AM_CONDITIONAL(HAVE_GTEST, test "x$have_gtest" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_GLIB216, test "x$have_gtest" = "xyes")
|
||||
AM_CONDITIONAL(BUILD_TESTS, test "x$have_gtest" = "xyes")
|
||||
AS_IF([test "x$have_gtest" = "xno"],[
|
||||
AC_MSG_WARN([You need GLIB version >= 2.16 to build the tests])
|
||||
AC_MSG_WARN([You need GLIB version >= 2.22 to build the tests])
|
||||
])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue