diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-14 21:26:47 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-14 21:26:47 -0400 |
commit | 94cacc84d322429e70485dea49bb858f48aa26c8 (patch) | |
tree | 2d6a493697e8e1b6db655a3bccc0869251db8e97 /configure | |
parent | 634f61cc8b4e096853c61686ccd535fbd45e9158 (diff) |
stuff
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" |