File: pkg-config.diff

package info (click to toggle)
zipios%2B%2B 0.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 952 kB
  • sloc: cpp: 4,150; ansic: 148; makefile: 132; sh: 1
file content (18 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: use pkg-config instead of cppunit-config
 cppunit-config (and AM_PATH_CPPUNIT) was removed in cppunit 1.14
Author: Rene Engelhard <rene@debian.org>
Origin: vendor
Forwarded: no
Bug-Debian: https://bugs.debian.org/862126
Last-Update: 2017-05-08

--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@
 # This doesn't work on newer version
 # https://stackoverflow.com/questions/8533879/macro-am-path-cppunit-not-found-in-library
 #AM_PATH_CPPUNIT(1.6.0)
+PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.6.0)
 
 # Checks for header files.
 AC_HEADER_DIRENT