From 73af2d63ae34380ecf0b7f1270d5daed055a69a9 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 27 Dec 2014 15:02:56 -0800 Subject: [PATCH] We require pkg-config to check for, for example, GLib. If the check for pkg-config fails, quit immediately; don't leave the failure message for later, as the error message in question might not be as blunt. Change-Id: I530e8b62f5adff228ae8ff6f9798ac538c2ad684 Reviewed-on: https://code.wireshark.org/review/6084 Reviewed-by: Guy Harris --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 4a71282f91..89a15d4447 100644 --- a/configure.ac +++ b/configure.ac @@ -239,6 +239,9 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test x$HAVE_DOXYGEN = xyes) # the comments in acolocal.m4 # PKG_PROG_PKG_CONFIG +if test -z "$PKG_CONFIG"; then + AC_MSG_ERROR(I couldn't find pkg-config; make sure it's installed and in your path) +fi AC_ARG_ENABLE(osx-deploy-target, AC_HELP_STRING( [--enable-osx-deploy-target],