[GiNaC-devel] [PATCH] configure: use pkg-config to check for CLN. [ginac-1.3]

Alexei Sheplyakov varg at theor.jinr.ru
Thu Mar 22 12:02:32 CET 2007

 configure.ac |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index 993087d..c6e6d5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,18 +117,12 @@ if test "x$CONFIG_RUSAGE" = "xno"; then
 dnl We need to have Bruno Haible's CLN installed.
-dnl (CLN versions >= 1.1.0 must have installed cln.m4 at a visible place,
-dnl which provides this macro):
-AC_PATH_CLN(1.1.0, [
-], GINAC_ERROR([No suitable installed version of CLN could be found.]))
-dnl Expand the cppflags and libraries needed by apps using GiNaC
+dnl (pkg-config must have installed pkg.m4 at a visible place, which provides
+dnl this macro. CLN >= 1.1.13 must have installed cln.pc at a visible place,
+dnl which provides the actual dependency info
+PKG_CHECK_MODULES(CLN, cln >= 1.1.13)
 dnl Check for utilities needed by the different kinds of documentation.
 dnl Documentation needs only be built when extending it, so never mind if it

All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-devel/attachments/20070322/3eee210b/attachment.pgp

More information about the GiNaC-devel mailing list