From 9e9a1a5c91e66b238006500adf78df8e9f6f4b45 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 20:56:41 -0400 Subject: Set missing_deps in main in configure. --- (limited to 'configure') diff --git a/configure b/configure index 11c4643..ceeeb6e 100755 --- a/configure +++ b/configure @@ -74,14 +74,14 @@ main() dep_name="$(printf '%s' "${dep}" | tr -c '[a-z0-9]' '_')" dep_val="$(eval echo \$\{"${dep_name}"\})" if [ -z "${dep_val}" ]; then - find_dep_cmd "${dep}" + find_dep_cmd "${dep}" || missing_deps='true' fi done for dep in ${dep_libs}; do dep_name="$(printf '%s' "${dep}" | tr -c '[a-z0-9]' '_')" dep_val="$(eval echo \$\{"${dep_name}"\})" if [ -z "${dep_val}" ]; then - find_dep_lib "${dep}" + find_dep_lib "${dep}" || missing_deps='true' fi done @@ -259,7 +259,6 @@ find_dep_cmd() unset IFS ${quiet} || printf 'not found\n' - missing_deps='true' return 1 } @@ -284,7 +283,6 @@ find_dep_lib() unset IFS ${quiet} || printf 'not found\n' - missing_deps='true' return 1 } -- cgit v0.9.1