]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
[wxWidgets.git] / configure
index 6df4086d7345e1011ce79f8fccad0c3a94113c28..6651812fa065713405d151900456cdba7908a876 100755 (executable)
--- a/configure
+++ b/configure
@@ -1663,7 +1663,7 @@ test -n "$target_alias" &&
 wx_major_version_number=2
 wx_minor_version_number=6
 wx_release_number=0
-wx_subrelease_number=0
+wx_subrelease_number=1
 
 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
 WX_VERSION=$WX_RELEASE.$wx_release_number
@@ -36061,9 +36061,7 @@ _ACEOF
 
 fi
 
-WITH_PLUGIN_SDL=0
-if test "$wxUSE_SOUND" = "yes"; then
-      if test "$USE_UNIX" = "1" ; then
+if test "$USE_UNIX" = "1" ; then
 
 for ac_header in sys/soundcard.h
 do
@@ -36209,11 +36207,16 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
+else
+  DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
 fi
 
 done
 
-
+fi
+WITH_PLUGIN_SDL=0
+if test "$wxUSE_SOUND" = "yes"; then
+  if test "$USE_UNIX" = "1" ; then
     if test "$wxUSE_LIBSDL" != "no"; then
 
 # 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"
                     fi
                 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
         else                                     if test ${subdir} = "samples"; then
                 makefiles="samples/Makefile.in samples/console/Makefile.in"