summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2015-06-24 12:44:22 +0200
committerJan Lehnardt <jan@apache.org>2015-06-24 23:07:03 +0200
commitc7077e9ea5120bf526be465c471e4e301920406a (patch)
treecfcd542082d156d39434aaca0f701a8920a820ef
parentf900068890b1cb71847380b19d0b4a321c90a7dc (diff)
downloadcouchdb-c7077e9ea5120bf526be465c471e4e301920406a.tar.gz
ignore unused params and make them not stop parsing
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index fe8e92580..bd3d0f288 100755
--- a/configure
+++ b/configure
@@ -86,13 +86,13 @@ parse_opts() {
--test)
TEST=1
- shift 1
+ shift
continue
;;
--with-curl|-c)
WITH_CURL="true"
- shift 1
+ shift
continue
;;
@@ -352,6 +352,10 @@ parse_opts() {
shift
break
;;
+ -?*)
+ echo "WARNING: Unkonwn option '$1', ignoring" >&2
+ shift
+ ;;
*) # Done
break
esac