summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 223dcca558..ca75a430c3 100755
--- a/configure
+++ b/configure
@@ -1075,7 +1075,7 @@ for opt do
--disable-parsers) disable $PARSER_LIST
;;
--enable-?*|--disable-?*)
- eval `echo "${opt#-}" | sed 's/-/action=/;s/-/ option=/;s/-/_/g'`
+ eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
echo "$CMDLINE_SELECT" | grep -q "^ *$option\$" || die_unknown $opt
$action $option
;;