mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
qb: Log the configure arguments in config.log.
This commit is contained in:
parent
cc22680480
commit
fbe6639ee1
@ -68,6 +68,8 @@ opt_exists() # $opt is returned if exists in OPTS
|
||||
parse_input() # Parse stuff :V
|
||||
{ BUILD=''
|
||||
OPTS=''
|
||||
config_opts='./configure'
|
||||
|
||||
while read -r VAR _; do
|
||||
TMPVAR="${VAR%=*}"
|
||||
NEWVAR="${TMPVAR##HAVE_}"
|
||||
@ -78,6 +80,7 @@ parse_input() # Parse stuff :V
|
||||
#things in opt_exists()
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
config_opts="${config_opts} $1"
|
||||
case "$1" in
|
||||
--prefix=*) PREFIX=${1##--prefix=};;
|
||||
--global-config-dir=*|--sysconfdir=*) GLOBAL_CONFIG_DIR="${1#*=}";;
|
||||
@ -110,6 +113,17 @@ parse_input() # Parse stuff :V
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
cat > config.log << EOF
|
||||
Command line invocation:
|
||||
|
||||
\$ ${config_opts}
|
||||
|
||||
## ----------- ##
|
||||
## Core Tests. ##
|
||||
## ----------- ##
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
. qb/config.params.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user