qb: Make sure CONFIG_OPTS only contains HAVE_ variables.

This commit is contained in:
orbea 2019-07-27 17:40:12 -07:00
parent 13cf3cdef2
commit 59cb198dda

View File

@ -94,9 +94,8 @@ parse_input() # Parse stuff :V
TMPVAR="${VAR%=*}"
NEWVAR="${TMPVAR##HAVE_}"
OPTS="${OPTS} $NEWVAR"
case "$NEWVAR" in
C89_*|CXX_*) : ;;
*) CONFIG_OPTS="${CONFIG_OPTS} $NEWVAR" ;;
case "$TMPVAR" in
HAVE_*) CONFIG_OPTS="${CONFIG_OPTS} $NEWVAR" ;;
esac
eval "USER_$NEWVAR=auto"
done < 'qb/config.params.sh'