mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
commit
d50488b2b9
@ -53,24 +53,23 @@ EOF
|
|||||||
|
|
||||||
printf %s\\n '' 'Custom options:'
|
printf %s\\n '' 'Custom options:'
|
||||||
|
|
||||||
while read -r VAR COMMENT; do
|
while read -r VAR _ COMMENT; do
|
||||||
TMPVAR="${VAR%=*}"
|
|
||||||
COMMENT="${COMMENT#*#}"
|
|
||||||
VAL="${VAR#*=}"
|
|
||||||
VAR="$(printf %s "${TMPVAR#HAVE_}" | tr '[:upper:]' '[:lower:]')"
|
|
||||||
case "$VAR" in
|
case "$VAR" in
|
||||||
'c89_'*|'cxx_'*) continue;;
|
'C89_'*|'CXX_'*) continue;;
|
||||||
*)
|
*)
|
||||||
|
TMPVAR="${VAR%=*}"
|
||||||
|
VAL="${VAR#*=}"
|
||||||
|
VAR="$(printf %s "${TMPVAR#HAVE_}" | tr '[:upper:]' '[:lower:]')"
|
||||||
case "$VAL" in
|
case "$VAL" in
|
||||||
'yes'*)
|
'yes'*)
|
||||||
print_help_option "--disable-$VAR" "Disable $COMMENT";;
|
print_help_option "--disable-$VAR" "Disable $COMMENT";;
|
||||||
'no'*)
|
'no'*)
|
||||||
print_help_option "--enable-$VAR" "Enable $COMMENT";;
|
print_help_option "--enable-$VAR" "Enable $COMMENT";;
|
||||||
'auto'*)
|
'auto'*)
|
||||||
print_help_option "--enable-$VAR" "Enable $COMMENT"
|
print_help_option "--enable-$VAR" "Enable $COMMENT"
|
||||||
print_help_option "--disable-$VAR" "Disable $COMMENT";;
|
print_help_option "--disable-$VAR" "Disable $COMMENT";;
|
||||||
*)
|
*)
|
||||||
print_help_option "--with-$VAR" "Config $COMMENT";;
|
print_help_option "--with-$VAR" "Config $COMMENT";;
|
||||||
esac
|
esac
|
||||||
esac
|
esac
|
||||||
done < 'qb/config.params.sh'
|
done < 'qb/config.params.sh'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user