summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
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
}