disable mmedia contrib for wxMGL (blunt fix for tinderbox compilation error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
15
configure
vendored
15
configure
vendored
@@ -29267,7 +29267,7 @@ _ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
_ACEOF
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
||||
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
||||
@@ -29294,7 +29294,7 @@ else
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
for ac_dir in $ac_x_header_dirs; do
|
||||
if test -r "$ac_dir/X11/Xlib.h"; then
|
||||
if test -r "$ac_dir/X11/Intrinsic.h"; then
|
||||
ac_x_includes=$ac_dir
|
||||
break
|
||||
fi
|
||||
@@ -29308,18 +29308,18 @@ if test "$ac_x_libraries" = no; then
|
||||
# See if we find them without any special options.
|
||||
# Don't add to $LIBS permanently.
|
||||
ac_save_LIBS=$LIBS
|
||||
LIBS="-lX11 $LIBS"
|
||||
LIBS="-lXt $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
XrmInitialize ()
|
||||
XtMalloc (0)
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@@ -29357,7 +29357,7 @@ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
|
||||
do
|
||||
# Don't even attempt the hair of trying to link an X program!
|
||||
for ac_extension in a so sl; do
|
||||
if test -r $ac_dir/libX11.$ac_extension; then
|
||||
if test -r $ac_dir/libXt.$ac_extension; then
|
||||
ac_x_libraries=$ac_dir
|
||||
break 2
|
||||
fi
|
||||
@@ -42327,6 +42327,7 @@ _ACEOF
|
||||
fi
|
||||
|
||||
if test "$USE_UNIX" = "1" ; then
|
||||
if test "$wxUSE_MGL" != 1; then
|
||||
echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
|
||||
echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
|
||||
if test "${ac_cv_header_sys_soundcard+set}" = set; then
|
||||
@@ -42445,6 +42446,7 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
|
||||
echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_sys_soundcard" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
@@ -42455,6 +42457,7 @@ _ACEOF
|
||||
DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
|
||||
fi
|
||||
fi
|
||||
|
||||
WITH_PLUGIN_SDL=0
|
||||
if test "$wxUSE_SOUND" = "yes"; then
|
||||
if test "$USE_UNIX" = "1" ; then
|
||||
|
@@ -5669,6 +5669,8 @@ fi
|
||||
dnl Unix implementation needs additional checks because audio support
|
||||
dnl comes in many favours:
|
||||
if test "$USE_UNIX" = "1" ; then
|
||||
dnl mmedia doesn't compile with wxMGL, remove this if this is ever fixed
|
||||
if test "$wxUSE_MGL" != 1; then
|
||||
dnl it's not enough to check for just the header because OSS under NetBSD
|
||||
dnl redefines ioctl as oss_ioctrl inside it and so we also need to test
|
||||
dnl whether we need -lossaudio at link-time
|
||||
@@ -5700,6 +5702,7 @@ if test "$USE_UNIX" = "1" ; then
|
||||
]
|
||||
)
|
||||
])
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_sys_soundcard" = "yes"; then
|
||||
AC_DEFINE(HAVE_SYS_SOUNDCARD_H)
|
||||
@@ -5707,6 +5710,7 @@ if test "$USE_UNIX" = "1" ; then
|
||||
DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
|
||||
fi
|
||||
fi
|
||||
|
||||
WITH_PLUGIN_SDL=0
|
||||
if test "$wxUSE_SOUND" = "yes"; then
|
||||
if test "$USE_UNIX" = "1" ; then
|
||||
|
Reference in New Issue
Block a user