summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-14 21:26:47 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-14 21:26:47 -0400
commit94cacc84d322429e70485dea49bb858f48aa26c8 (patch)
tree2d6a493697e8e1b6db655a3bccc0869251db8e97 /configure
parent634f61cc8b4e096853c61686ccd535fbd45e9158 (diff)
stuff
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"