File: 10-cppunit-pkg-config.patch

package info (click to toggle)
zookeeper 3.9.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,872 kB
  • sloc: java: 122,772; cpp: 14,071; ansic: 12,468; javascript: 11,754; xml: 4,965; python: 2,829; sh: 2,444; makefile: 241; perl: 114
file content (27 lines) | stat: -rw-r--r-- 1,034 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: using pkg-config to grasp cppunit in the Makefile.am
Author: Rene Engelhard <rene@debian.org>
Forwarded: not-needed
Last-Update: 2022-06-27

--- a/zookeeper-recipes/zookeeper-recipes-lock/src/main/c/configure.ac
+++ b/zookeeper-recipes/zookeeper-recipes-lock/src/main/c/configure.ac
@@ -72,7 +72,7 @@
 AC_PROG_CC
 AC_PROG_LIBTOOL
 #check for cppunit 
-AM_PATH_CPPUNIT(1.10.2)
+PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.10.2)
 # Checks for library functions.
 AC_FUNC_UTIME_NULL
 AC_CHECK_FUNCS([gettimeofday memset mkdir rmdir strdup strerror strstr strtol strtoul strtoull utime])
--- a/zookeeper-recipes/zookeeper-recipes-queue/src/main/c/configure.ac
+++ b/zookeeper-recipes/zookeeper-recipes-queue/src/main/c/configure.ac
@@ -72,7 +72,7 @@
 AC_PROG_CC
 AC_PROG_LIBTOOL
 #check for cppunit 
-AM_PATH_CPPUNIT(1.10.2)
+PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.10.2)
 # Checks for library functions.
 AC_FUNC_UTIME_NULL
 AC_CHECK_FUNCS([gettimeofday memset mkdir rmdir strdup strerror strstr strtol strtoul strtoull utime])