aboutsummaryrefslogtreecommitdiff
path: root/science/xloops-ginac/files/patch-configure.ac
blob: 3261ab78058bac545c32486302dd1a1a6d7b6a01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.ac.orig	2001-11-08 23:18:49.000000000 +0900
+++ configure.ac	2008-04-06 20:58:27.000000000 +0900
@@ -72,8 +72,8 @@
     ln -fs ${with_ginac}/ginsh/ginsh_parser.yy . \
   )
 else
-  AM_PATH_GINAC([0.9.4], , AC_MSG_ERROR([need to have GiNaC installed]))
-  CPPFLAGS="$CPPFLAGS $GINACLIB_CPPFLAGS"
+  PKG_CHECK_MODULES(GINACLIB, ginac >= 0.9.4, , AC_MSG_ERROR([need to have GiNaC installed]))
+  CPPFLAGS="$CPPFLAGS $GINACLIB_CFLAGS"
   LIBS="$LIBS $GINACLIB_LIBS"
 fi