diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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" |