libtorrent/cppunit.diff

23 lines
670 B
Diff
Raw Normal View History

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-05-03 10:29:41.992264417 +0200
Subject: build: resolve autogen.sh failure with cppunit 1.14
configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libtorrent-0.13.6/configure.ac
===================================================================
--- libtorrent-0.13.6.orig/configure.ac
+++ libtorrent-0.13.6/configure.ac
@@ -19,7 +19,7 @@ AC_SUBST(LIBTORRENT_INTERFACE_VERSION_NO
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)
-AM_PATH_CPPUNIT(1.9.6)
+PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.9.6])
AC_PROG_CXX