summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 20:56:41 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 20:56:41 (EDT)
commit9e9a1a5c91e66b238006500adf78df8e9f6f4b45 (patch)
tree48c9d26bd523872797e6aafb6d9912b590b58c21
parent5a06fcef89920a67c0469270616c6fde732b032b (diff)
Set missing_deps in main in 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
}