configure.in
changeset 3293 0d60bdebed39
parent 3292 245a7d79577c
child 3298 94f22808d19e
     1.1 --- a/configure.in	Mon Sep 21 09:21:00 2009 +0000
     1.2 +++ b/configure.in	Mon Sep 21 10:23:19 2009 +0000
     1.3 @@ -1644,7 +1644,7 @@
     1.4          case "$host" in
     1.5              *-*-darwin*)
     1.6                  if test x$enable_video_cocoa = xyes; then
     1.7 -                    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL"
     1.8 +                    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework OpenGL"
     1.9                  fi
    1.10          esac
    1.11      fi
    1.12 @@ -2657,7 +2657,7 @@
    1.13              AC_DEFINE(SDL_HAPTIC_IOKIT)
    1.14              SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
    1.15              have_haptic=yes
    1.16 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
    1.17 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework ForceFeedback"
    1.18          fi
    1.19          # Set up files for the power library
    1.20          if test x$enable_power = xyes; then
    1.21 @@ -2674,12 +2674,12 @@
    1.22          # The Mac OS X platform requires special setup.
    1.23          EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    1.24          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
    1.25 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
    1.26 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
    1.27 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
    1.28 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Cocoa"
    1.29 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Carbon"
    1.30 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework IOKit"
    1.31          # If either the audio or CD driver is used, add the AudioUnit framework
    1.32          if test x$enable_audio = xyes; then
    1.33 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit"
    1.34 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework CoreAudio -framework AudioToolbox -framework AudioUnit"
    1.35          fi
    1.36          ;;
    1.37      *-riscos)