summarylogtreecommitdiffstats
path: root/schroot-cppunit.patch
blob: f51320bf0e274aefeefd439176548cecf8ab4d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- schroot-1.6.10/configure.ac.orig	2017-05-20 09:50:30.146864516 +0000
+++ schroot-1.6.10/configure.ac	2017-05-20 09:51:26.216792794 +0000
@@ -336,7 +336,7 @@
                   [HAVE_UUID=yes],
                   [HAVE_UUID=no])
 
-AM_PATH_CPPUNIT([1.10.0], [HAVE_CPPUNIT=yes])
+PKG_CHECK_MODULES([CPPUNIT], [cppunit], [HAVE_CPPUNIT=yes], [HAVE_CPPUNIT=no])
 AM_CONDITIONAL([USE_UNIT_TESTS], [test -n "$HAVE_CPPUNIT"])
 
 SCHROOT_CFLAGS="$UUID_CFLAGS"