The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
platforms that do not have it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
17
configure
vendored
17
configure
vendored
@@ -36061,9 +36061,7 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WITH_PLUGIN_SDL=0
|
if test "$USE_UNIX" = "1" ; then
|
||||||
if test "$wxUSE_SOUND" = "yes"; then
|
|
||||||
if test "$USE_UNIX" = "1" ; then
|
|
||||||
|
|
||||||
for ac_header in sys/soundcard.h
|
for ac_header in sys/soundcard.h
|
||||||
do
|
do
|
||||||
@@ -36209,11 +36207,16 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|||||||
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
else
|
||||||
|
DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
WITH_PLUGIN_SDL=0
|
||||||
|
if test "$wxUSE_SOUND" = "yes"; then
|
||||||
|
if test "$USE_UNIX" = "1" ; then
|
||||||
if test "$wxUSE_LIBSDL" != "no"; then
|
if test "$wxUSE_LIBSDL" != "no"; then
|
||||||
|
|
||||||
# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
|
# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
|
||||||
@@ -43792,7 +43795,11 @@ for subdir in `echo $SUBDIRS`; do
|
|||||||
makefiles="samples/$sample/Makefile.in $makefiles"
|
makefiles="samples/$sample/Makefile.in $makefiles"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
|
else
|
||||||
|
disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
|
||||||
|
eval "disabled=\$$disabled_var"
|
||||||
|
disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
|
||||||
|
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
|
||||||
fi
|
fi
|
||||||
else if test ${subdir} = "samples"; then
|
else if test ${subdir} = "samples"; then
|
||||||
makefiles="samples/Makefile.in samples/console/Makefile.in"
|
makefiles="samples/Makefile.in samples/console/Makefile.in"
|
||||||
|
20
configure.in
20
configure.in
@@ -4870,13 +4870,15 @@ if test "$wxUSE_TIMER" = "yes"; then
|
|||||||
AC_DEFINE(wxUSE_TIMER)
|
AC_DEFINE(wxUSE_TIMER)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Unix implementation needs additional checks because audio support
|
||||||
|
dnl comes in many favours:
|
||||||
|
if test "$USE_UNIX" = "1" ; then
|
||||||
|
AC_CHECK_HEADERS([sys/soundcard.h],,
|
||||||
|
[DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"])
|
||||||
|
fi
|
||||||
WITH_PLUGIN_SDL=0
|
WITH_PLUGIN_SDL=0
|
||||||
if test "$wxUSE_SOUND" = "yes"; then
|
if test "$wxUSE_SOUND" = "yes"; then
|
||||||
dnl Unix implementation needs additional checks because audio support
|
|
||||||
dnl comes in many favours:
|
|
||||||
if test "$USE_UNIX" = "1" ; then
|
if test "$USE_UNIX" = "1" ; then
|
||||||
AC_CHECK_HEADERS([sys/soundcard.h])
|
|
||||||
|
|
||||||
if test "$wxUSE_LIBSDL" != "no"; then
|
if test "$wxUSE_LIBSDL" != "no"; then
|
||||||
AM_PATH_SDL([1.2.0],
|
AM_PATH_SDL([1.2.0],
|
||||||
[
|
[
|
||||||
@@ -6869,8 +6871,14 @@ for subdir in `echo $SUBDIRS`; do
|
|||||||
makefiles="samples/$sample/Makefile.in $makefiles"
|
makefiles="samples/$sample/Makefile.in $makefiles"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else dnl assume that everything compiles for utils &c
|
else
|
||||||
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
|
dnl assume that everything compiles for utils &c
|
||||||
|
dnl any that shouldn't be built can be added to
|
||||||
|
dnl DISABLED_UTILS, DISABLED_CONTRIB or DISABLED_DEMOS
|
||||||
|
disabled_var=DISABLED_`echo $subdir | tr [[a-z]] [[A-Z]]`;
|
||||||
|
eval "disabled=\$$disabled_var"
|
||||||
|
disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
|
||||||
|
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
|
||||||
fi
|
fi
|
||||||
else dnl we build wxBase only
|
else dnl we build wxBase only
|
||||||
dnl don't take all samples/utils, just those which build with
|
dnl don't take all samples/utils, just those which build with
|
||||||
|
Reference in New Issue
Block a user