Debian Codegraph @

debian/patches/Fix-build-with-autoconf-2.72.patch

raw
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -96,7 +95,7 @@
4 AS_IF([test "$enable_unittests" != no],[
5 AC_CHECK_LIB([gtest_main], [main], [have_gtest=yes],[have_gtest=no])
6 AS_IF([test "$enable_unittests" = "yes" && test "$have_gtest" = "no"],
7 - AC_MSG_FAILURE([Unit tests are enabled so gtest library is required for building unit tests.])], [enable_unittests=$have_gtest)
8 + AC_MSG_FAILURE([Unit tests are enabled so gtest library is required for building unit tests.]), [enable_unittests=$have_gtest])
9 ])
10
11 AC_SUBST([ENABLE_UNITTESTS], ["$enable_unittests"])