Changeset: 2fb99a45e605 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2fb99a45e605
Modified Files:
        configure.ag
Branch: Apr2011
Log Message:

configure: require pkg-config to exist in the system

Obviously, we can't check many libraries when pkg-config doesn't exist.

Thanks to Dmitry Mishin for reporting.


diffs (14 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -50,6 +50,10 @@
 
 PKG_PROG_PKG_CONFIG
 
+if test x"$PKG_CONFIG" = x ; then
+       AC_MSG_ERROR([pkg-config is required to configure MonetDB])
+fi
+
 dnl VERSION_TO_NUMBER macro (copied from libxslt)
 AC_DEFUN([MONETDB_VERSION_TO_NUMBER],
 [`$1 | sed 's|[[_\-]][[a-zA-Z0-9]]*$||' | awk 'BEGIN { FS = "."; } { printf 
"%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`])
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to