diff options
author | P. 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) |
commit | 9e9a1a5c91e66b238006500adf78df8e9f6f4b45 (patch) | |
tree | 48c9d26bd523872797e6aafb6d9912b590b58c21 /configure | |
parent | 5a06fcef89920a67c0469270616c6fde732b032b (diff) |
Set missing_deps in main in configure.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 } |