From: Carl Worth Date: Thu, 13 Jun 2013 21:26:08 +0000 (-0700) Subject: configure: Move the error message for pkg-config earlier X-Git-Url: https://git.cworth.org/git?p=fips;a=commitdiff_plain;h=4d29531b93f1a9bab2bea14a2722f9ae52359941 configure: Move the error message for pkg-config earlier Once pkg-config cannot be found, there's no point in running the rest of the configure script since it will just spew a bunch of errors due to missing pkg-config. So, stop early and let the user know that pkg-config needs to be installed. --- diff --git a/configure b/configure index a799607..44c3356 100755 --- a/configure +++ b/configure @@ -192,10 +192,29 @@ EOF errors=0 +printf "Checking for pkg-config... " if pkg-config --version > /dev/null 2>&1; then - have_pkg_config=1 + printf "Yes.\n" else - have_pkg_config=0 + printf "No.\n" + cat <