diff options
author | Sami Kerola | 2011-02-26 15:37:21 +0100 |
---|---|---|
committer | Karel Zak | 2011-03-08 13:37:25 +0100 |
commit | fd0f41321bd3ea777d47551cf6512d8ed1ba5aac (patch) | |
tree | dd39dedf9f9ed1be1fb2c422202227d09c27e19c /configure.ac | |
parent | build-sys: fix unportable Makefile.am assignment (diff) | |
download | kernel-qcow2-util-linux-fd0f41321bd3ea777d47551cf6512d8ed1ba5aac.tar.gz kernel-qcow2-util-linux-fd0f41321bd3ea777d47551cf6512d8ed1ba5aac.tar.xz kernel-qcow2-util-linux-fd0f41321bd3ea777d47551cf6512d8ed1ba5aac.zip |
build-sys: print helpful error when pkg.m4 is missing
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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]) |