Add -framework QuickTime if --enable-sound
authorRobin Dunn <robin@alldunn.com>
Thu, 22 Jul 2004 00:44:39 +0000 (00:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 22 Jul 2004 00:44:39 +0000 (00:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index fa6efa7c6dc4f341e370f97bfae4401e5d56c84b..e692124502ae58c393b1d41b31f9b3fe3a4c0883 100644 (file)
@@ -5852,6 +5852,9 @@ dnl note that we always link with -lm except for Mac OS X
 dnl extended.c uses floor() and is always linked in
 
 if test "$wxUSE_MAC" = 1 ; then
+    if test "$wxUSE_SOUND" = "yes"; then
+       LDFLAGS="$LDFLAGS -framework QuickTime"
+    fi
     LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
 fi
 if test "$wxUSE_COCOA" = 1 ; then