configure: Don't build winmm drivers when their backend library is missing.
This commit is contained in:
parent
8b163d6fb6
commit
98cb21f743
|
@ -12070,6 +12070,16 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
|
||||
test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
|
||||
test -n "$NASLIBS" || enable_winenas_drv=${enable_winenas_drv:-no}
|
||||
test -n "$ESDLIBS" || enable_wineesd_drv=${enable_wineesd_drv:-no}
|
||||
test -n "$ac_cv_lib_soname_jack" || enable_winejack_drv=${enable_winejack_drv:-no}
|
||||
test "$ac_cv_header_sys_soundcard_h" = "yes" -o \
|
||||
"$ac_cv_header_machine_soundcard_h" = "yes" -o \
|
||||
"$ac_cv_header_soundcard_h" = "yes" || enable_wineoss_drv=${enable_wineoss_drv:-no}
|
||||
test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
|
||||
|
||||
if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
|
||||
"$ac_cv_header_sys_soundcard_h" != "yes" -a \
|
||||
"$ac_cv_header_machine_soundcard_h" != "yes" -a \
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -1660,6 +1660,17 @@ fi
|
|||
dnl **** Check for libodbc ****
|
||||
WINE_CHECK_SONAME(odbc,SQLConnect,,[AC_DEFINE_UNQUOTED(SONAME_LIBODBC,["libodbc.$LIBEXT"])])
|
||||
|
||||
dnl **** Disable unsupported winmm drivers ****
|
||||
test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
|
||||
test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
|
||||
test -n "$NASLIBS" || enable_winenas_drv=${enable_winenas_drv:-no}
|
||||
test -n "$ESDLIBS" || enable_wineesd_drv=${enable_wineesd_drv:-no}
|
||||
test -n "$ac_cv_lib_soname_jack" || enable_winejack_drv=${enable_winejack_drv:-no}
|
||||
test "$ac_cv_header_sys_soundcard_h" = "yes" -o \
|
||||
"$ac_cv_header_machine_soundcard_h" = "yes" -o \
|
||||
"$ac_cv_header_soundcard_h" = "yes" || enable_wineoss_drv=${enable_wineoss_drv:-no}
|
||||
test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
|
||||
|
||||
dnl **** Check for any sound system ****
|
||||
if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
|
||||
"$ac_cv_header_sys_soundcard_h" != "yes" -a \
|
||||
|
|
Loading…
Reference in New Issue