mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
Indirect variable reads use eval assignments and word splitting uses plain unquoted expansions, so the helpers no longer fork a subshell for every option they touch; add_opt looks options up with a case match. Under zsh, configure switches to sh emulation so unquoted expansions split as they do in a POSIX sh. The check helpers rewrite their test files each time and an EXIT trap removes them once, instead of an rm process after every check. check_header now starts from an empty file for C++ checks too.
23 lines
300 B
Bash
Executable File
23 lines
300 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Under zsh, split unquoted expansions as a POSIX sh does.
|
|
if [ -n "${ZSH_VERSION+set}" ] && (emulate sh) >/dev/null 2>&1; then
|
|
emulate sh
|
|
fi
|
|
|
|
PACKAGE_NAME=retroarch
|
|
|
|
. qb/qb.init.sh
|
|
|
|
. qb/qb.params.sh
|
|
|
|
. qb/qb.system.sh
|
|
|
|
. qb/qb.comp.sh
|
|
|
|
. qb/qb.libs.sh
|
|
|
|
. qb/qb.moc.sh
|
|
|
|
. qb/qb.make.sh
|