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

configure.ag: try to be helpful when macros aren't found


diffs (32 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -41,6 +41,13 @@
 AM_CONDITIONAL(NOT_WIN32, test x"$target_os" != xcygwin)
 AM_CONDITIONAL(NATIVE_WIN32, false)
 
+m4_ifndef([PKG_PROG_PKG_CONFIG],
+  [m4_fatal([Could not locate the pkg-config autoconf
+    macros. These are usually located in /usr/share/aclocal/pkg.m4.
+    If your macros are in a different location, try setting the
+    environment variable M4DIRS="-I/other/macro/dir" before running
+    ./bootstrap or autoreconf again.])])
+
 PKG_PROG_PKG_CONFIG
 
 dnl VERSION_TO_NUMBER macro (copied from libxslt)
@@ -2279,6 +2286,14 @@
 AC_SUBST(READLINE_LIBS)
 AC_SUBST(READLINE_INCS)
 
+m4_ifndef([AM_ICONV],
+  [m4_fatal([Could not locate the iconv autoconf
+       macros. These are usually located in /usr/share/aclocal/iconv.m4 and
+       provided by the gettext package.  If your macros are in a different
+       location, try setting the environment variable
+       M4DIRS="-I/other/macro/dir" before running ./bootstrap or autoreconf
+       again.])])
+
 AM_ICONV
 
 dnl UUID: remember that most UNIX systems have uuid_* functions in their
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to