disable wxSound for wxMGL DOS build (it's not implemented there)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-06 16:15:49 +00:00
parent 3fd8c98854
commit 480b9f185f
2 changed files with 19 additions and 3 deletions

View File

@@ -5662,8 +5662,16 @@ if test "$wxUSE_SOUND" = "yes"; then
WITH_PLUGIN_SDL=1
fi
fi
else
dnl wxMGL doesn't support sound under DOS, only under Unix
if test "$wxUSE_MGL" = 1; then
AC_MSG_WARN([wxSound not supported in MGL under DOS... disabled])
wxUSE_SOUND="no"
fi
fi
fi
if test "$wxUSE_SOUND" = "yes"; then
AC_DEFINE(wxUSE_SOUND)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
fi
@@ -6897,7 +6905,7 @@ fi
if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
AC_MSG_WARN([Dialup manager not supported on this platform ... disabled])
AC_MSG_WARN([Dialup manager not supported on this platform... disabled])
else
AC_DEFINE(wxUSE_DIALUP_MANAGER)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"