configure.in
changeset 458 c42a228f3d90
parent 456 3cc15d601e0c
child 461 6f66102b0f72
equal deleted inserted replaced
457:ad0be8fb4cf9 458:c42a228f3d90
   281             *-*-cygwin* | *-*-mingw32*)
   281             *-*-cygwin* | *-*-mingw32*)
   282                 use_music_native_midi=yes
   282                 use_music_native_midi=yes
   283                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lwinmm"
   283                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lwinmm"
   284                 ;;
   284                 ;;
   285             *-*-darwin*)
   285             *-*-darwin*)
   286                 # This doesn't work on Mac OS X 10.5+
   286                 use_music_native_midi=yes
   287                 # Max Horn (the original author) recommends disabling it for now.
   287                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox -Wl,-framework,CoreServices"
   288                 #use_music_native_midi=yes
       
   289                 #EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuickTime -Wl,-framework,CoreServices"
       
   290                 ;;
   288                 ;;
   291         esac
   289         esac
   292         if test x$use_music_native_midi = xyes; then
   290         if test x$use_music_native_midi = xyes; then
   293             EXTRA_CFLAGS="$EXTRA_CFLAGS -DUSE_NATIVE_MIDI -I\$(srcdir)/native_midi"
   291             EXTRA_CFLAGS="$EXTRA_CFLAGS -DUSE_NATIVE_MIDI -I\$(srcdir)/native_midi"
   294             SOURCES="$SOURCES $srcdir/native_midi/*.c"
   292             SOURCES="$SOURCES $srcdir/native_midi/*.c"