configure.in
changeset 1625 7e89aa7843c5
parent 1624 8208ae96bb2d
child 1628 10b4827452a8
equal deleted inserted replaced
1624:8208ae96bb2d 1625:7e89aa7843c5
  1442 {
  1442 {
  1443     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
  1443     if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
  1444         AC_DEFINE(SDL_VIDEO_OPENGL)
  1444         AC_DEFINE(SDL_VIDEO_OPENGL)
  1445         case "$host" in
  1445         case "$host" in
  1446             *-*-darwin*)
  1446             *-*-darwin*)
  1447                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL"
  1447                 if test x$enable_video_cocoa = xyes; then
  1448                 # The following is probably not available in Darwin:
  1448                     EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL"
  1449                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AGL"
  1449                 fi
       
  1450                 if test x$enable_video_carbon = xyes; then
       
  1451                     EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AGL"
       
  1452                 fi
  1450         esac
  1453         esac
  1451     fi
  1454     fi
  1452 }
  1455 }
  1453 
  1456 
  1454 dnl Check for Mesa offscreen rendering
  1457 dnl Check for Mesa offscreen rendering