summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-14 22:55:01 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-14 22:55:01 (EST)
commit699827755e4314b6439337e9cbab7d9ab59058c1 (patch)
treee8452d35b342f64e1515dbfc6150cb85c0091e0e
parent1931ab98cbd829763a948da54149791c71cfd0b8 (diff)
configure: Don't exit on unrecognized options.
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 45de403..5017b52 100755
--- a/configure
+++ b/configure
@@ -254,8 +254,9 @@ parse_options()
"${_opts}"
EOF
if [ ${?} -ne 0 ]; then
- printf 'invalid %s name: %s\n' "${_type}" "${_opt}" >&2
- exit 1
+ printf 'warning: unrecognized %s name: %s\n' \
+ "${_type}" "${_opt}" >&2
+ continue
fi
if ${_optarg_set}; then
_opt="$(printf '%s' "${_opt}" | tr -c '[a-z0-9]' '_')"