diff --git a/configure b/configure index 4eb68b8eb3..53ad4cf065 100755 --- a/configure +++ b/configure @@ -43337,8 +43337,16 @@ rm -f conftest.err conftest.$ac_objext \ WITH_PLUGIN_SDL=1 fi fi + else + if test "$wxUSE_MGL" = 1; then + { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5 +echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;} + wxUSE_SOUND="no" + fi fi +fi +if test "$wxUSE_SOUND" = "yes"; then cat >>confdefs.h <<\_ACEOF #define wxUSE_SOUND 1 _ACEOF @@ -46705,7 +46713,7 @@ fi if test "$wxUSE_DIALUP_MANAGER" = "yes"; then if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then - { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform ... disabled" >&5 + { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;} else cat >>confdefs.h <<\_ACEOF @@ -49767,7 +49775,7 @@ fi BAKEFILE_BAKEFILE_M4_VERSION="0.2.0" -BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0" +BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1" diff --git a/configure.in b/configure.in index ffa0a76e1e..9d56c30974 100644 --- a/configure.in +++ b/configure.in @@ -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"