|
From: <sv...@va...> - 2008-07-30 11:51:10
|
Author: bart Date: 2008-07-30 12:51:17 +0100 (Wed, 30 Jul 2008) New Revision: 8488 Log: Print a comprehensible error message if autogen.sh has been run on a system where pkg-config was not installed. Modified: branches/DRDDEV/configure.in Modified: branches/DRDDEV/configure.in =================================================================== --- branches/DRDDEV/configure.in 2008-07-30 11:08:16 UTC (rev 8487) +++ branches/DRDDEV/configure.in 2008-07-30 11:51:17 UTC (rev 8488) @@ -51,7 +51,11 @@ AC_SUBST([DISTCHECK_CONFIGURE_FLAGS], [--with-vex=$VEX_DIR]) # pkg-config initialization. -PKG_PROG_PKG_CONFIG() +ifdef( +[PKG_PROG_PKG_CONFIG], +[PKG_PROG_PKG_CONFIG()], +[echo "Error: pkg-config must be installed before autogen.sh is run."; exit 1] +) # Checks for programs. CFLAGS="-Wno-long-long" |