configure.in
branchSDL-1.2
changeset 4221 c56391324e59
parent 4212 0794718a428c
child 4227 c5ee6a0d7916
     1.1 --- a/configure.in	Mon Sep 21 09:58:43 2009 +0000
     1.2 +++ b/configure.in	Mon Sep 21 10:23:07 2009 +0000
     1.3 @@ -1685,10 +1685,10 @@
     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                  if test x$enable_video_carbon = xyes; then
    1.11 -                    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AGL"
    1.12 +                    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework AGL"
    1.13                  fi
    1.14          esac
    1.15      fi
    1.16 @@ -2695,21 +2695,21 @@
    1.17          EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    1.18          SDL_LIBS="-lSDLmain $SDL_LIBS"
    1.19          if test x$enable_video_cocoa = xyes; then
    1.20 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
    1.21 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Cocoa"
    1.22              need_iokit_framework=yes
    1.23          fi
    1.24          if test x$enable_video_carbon = xyes -o x$enable_video_cocoa = xyes; then
    1.25              # The Cocoa backend still needs Carbon
    1.26 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ApplicationServices"
    1.27 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
    1.28 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework ApplicationServices"
    1.29 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework Carbon"
    1.30          fi
    1.31          # If either the audio or CD driver is used, add the AudioUnit framework
    1.32          if test x$enable_audio = xyes -o x$enable_cdrom = xyes; then
    1.33 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit"
    1.34 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework AudioToolbox -framework AudioUnit"
    1.35          fi
    1.36          # Some subsystems reference IOKit...
    1.37          if test x$need_iokit_framework = xyes; then
    1.38 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
    1.39 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -framework IOKit"
    1.40          fi
    1.41          ;;
    1.42      *-*-mint*)
    1.43 @@ -2854,10 +2854,10 @@
    1.44  case "$ARCH" in
    1.45    macosx)
    1.46      if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
    1.47 -      SDL_LIBS="$SDL_LIBS -Wl,-framework,Cocoa"
    1.48 +      SDL_LIBS="$SDL_LIBS -framework Cocoa"
    1.49      fi
    1.50      if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
    1.51 -      SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
    1.52 +      SDL_LIBS="$SDL_LIBS -framework Carbon"
    1.53      fi
    1.54      # Evil hack to allow static linking on Mac OS X
    1.55      SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS"