Configure Update

1. Fix typo.
2. Change the parsing of the -D options to be more POSIX friendly.
Removed the "==" and replaced the multi escaped [] with a test command.
This commit is contained in:
John Safranek
2018-07-10 17:30:47 -07:00
parent df6c496c4e
commit eb32935081

View File

@@ -4266,9 +4266,9 @@ for option in $OPTION_FLAGS; do
continue continue
fi fi
# allow user to igonore system options # allow user to ignore system options
ignoresys=no ignoresys=no
if [[[ $noequalsign == _* ]]] ; if test "$noequalsign = _*"
then then
ignoresys=yes ignoresys=yes
echo "#ifndef WOLFSSL_OPTIONS_IGNORE_SYS" >> $OPTION_FILE echo "#ifndef WOLFSSL_OPTIONS_IGNORE_SYS" >> $OPTION_FILE