Changeset: f8e1998df886 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f8e1998df886
Modified Files:
clients/configure.ag
Branch: default
Log Message:
Add ${libdir}/pkgconfig to PKG_CONFIG_PATH only if --prefix given.
It is allowed to use e.g. --libdir='${prefix}/lib64', using the value
of the --prefix argument in --libdir. This patch adds support for
this in our use of pkgconfig.
diffs (15 lines):
diff -r f1939120bdc0 -r f8e1998df886 clients/configure.ag
--- a/clients/configure.ag Thu Sep 23 12:55:59 2010 +0200
+++ b/clients/configure.ag Thu Sep 23 15:35:26 2010 +0200
@@ -41,7 +41,10 @@
PKG_PROG_PKG_CONFIG()
# extend search path with current prefix
-PKG_CONFIG_PATH=${libdir}/pkgconfig:$PKG_CONFIG_PATH
+if test "$prefix"; then
+ eval PKG_CONFIG_PATH=${libdir}/pkgconfig:\$PKG_CONFIG_PATH
+ export PKG_CONFIG_PATH
+fi
if test x"$target_os" = xcygwin; then
AC_DEFINE(WIN32, 1, [Define on MS Windows (also under Cygwin)])
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list