summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 5e99fa6..9fb3b3b 100755
--- a/configure
+++ b/configure
@@ -48,13 +48,12 @@ args=$(getopt -n "$name" -o "${sopt}" -l "${lopt}" -- "$@") || exit $?
eval set -- "$args"
while [ $# -gt 0 ]; do
case "$1" in
- --) break;;
- --enable-autodeps) setvar AUTODEPS t;;
- --disable-autodeps) setvar AUTODEPS '';;
- --*) setvar "${1#--}" "$2" shift;;
+ --) shift; break;;
+ --enable-autodeps) setvar AUTODEPS t; shift;;
+ --disable-autodeps) setvar AUTODEPS ''; shift;;
+ --*) setvar "${1#--}" "$2"; shift 2;;
*) error "unrecognized option \`$1'";
esac
- shift
done
"${edit[@]}" < "$srcdir/config.mk.in" > "$outdir/config.mk"