0002-configure.ac-always-define-CPPUNIT.patch 1018 B

12345678910111213141516171819202122232425262728293031323334
  1. From 1b4a770af42f7d33ad174524b94ea4d2fc7133da Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Sun, 21 Apr 2019 19:31:50 +0200
  4. Subject: [PATCH] configure.ac: always define CPPUNIT
  5. Fixes:
  6. - http://autobuild.buildroot.org/results/4b042b7e18425690ec26b4977865516bedcb9edb
  7. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  8. [Upstream status: https://github.com/linknx/linknx/pull/42]
  9. ---
  10. configure.ac | 5 ++++-
  11. 1 file changed, 4 insertions(+), 1 deletion(-)
  12. diff --git a/configure.ac b/configure.ac
  13. index 779fd6f..51d8ae6 100644
  14. --- a/configure.ac
  15. +++ b/configure.ac
  16. @@ -145,8 +145,11 @@ if test x"$WITH_CPPUNIT" != xno; then
  17. AC_DEFINE([HAVE_CPPUNIT], [1], [cppunit])
  18. AC_SUBST(CPPUNIT_CFLAGS)
  19. AC_SUBST(CPPUNIT_LIBS)
  20. - ])
  21. + AM_CONDITIONAL([CPPUNIT], true)
  22. + ],[AM_CONDITIONAL([CPPUNIT], false)])
  23. fi
  24. +else
  25. + AM_CONDITIONAL([CPPUNIT], false)
  26. fi
  27. dnl #########################################################################
  28. --
  29. 2.20.1