From fd0f41321bd3ea777d47551cf6512d8ed1ba5aac Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 26 Feb 2011 15:37:21 +0100 Subject: build-sys: print helpful error when pkg.m4 is missing Signed-off-by: Sami Kerola --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 75ec3c0e8..9c3c5ac32 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,12 @@ AC_C_BIGENDIAN dnl libtool-2 LT_INIT +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 AL_OPTS="-I/other/macro/dir" before running + ./autogen.sh or autoreconf again.])]) PKG_PROG_PKG_CONFIG GTK_DOC_CHECK([1.10]) -- cgit v1.2.3-55-g7522