mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
commit
456b891994
@ -236,9 +236,7 @@ check_val '' ALSA -lasound alsa
|
||||
check_lib '' CACA -lcaca
|
||||
check_lib '' SIXEL -lsixel
|
||||
|
||||
if [ "$HAVE_AUDIOIO" != 'no' ]; then
|
||||
check_macro AUDIOIO AUDIO_SETINFO sys/audioio.h
|
||||
fi
|
||||
check_macro AUDIOIO AUDIO_SETINFO sys/audioio.h
|
||||
|
||||
if [ "$HAVE_OSS" != 'no' ]; then
|
||||
check_header OSS sys/soundcard.h
|
||||
|
@ -140,9 +140,9 @@ check_header() #$1 = HAVE_$1 $2, $3, ... = header files
|
||||
check_macro() #$1 = HAVE_$1 $2 = macro name $3 = header name [included only if non-empty]
|
||||
{ tmpval="$(eval "printf %s \"\$HAVE_$1\"")"
|
||||
[ "$tmpval" = 'no' ] && return 0
|
||||
if [ $3 ]; then
|
||||
if [ "${3}" ]; then
|
||||
ECHOBUF="Checking presence of predefined macro $2 in $3"
|
||||
header_include=$(printf '#include <%s>' "$3")
|
||||
header_include="#include <$3>"
|
||||
else
|
||||
ECHOBUF="Checking presence of predefined macro $2"
|
||||
header_include=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user