comparison configure.in @ 1813:a7cda692b681

sdl-config doesn't include the OpenGL library in --libs
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 May 2006 04:16:39 +0000
parents 3e5029051a6d
children 133d55b02d51
comparison
equal deleted inserted replaced
1812:9c882e94b545 1813:a7cda692b681
2573 SDL_LIBS="$SDL_LIBS -Wl,-framework,Cocoa" 2573 SDL_LIBS="$SDL_LIBS -Wl,-framework,Cocoa"
2574 fi 2574 fi
2575 if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then 2575 if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
2576 SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon" 2576 SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
2577 fi 2577 fi
2578 if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
2579 SDL_LIBS="$SDL_LIBS -Wl,-framework,OpenGL"
2580 fi
2581 # Evil hack to allow static linking on Mac OS X 2578 # Evil hack to allow static linking on Mac OS X
2582 SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS" 2579 SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"
2583 ;; 2580 ;;
2584 *) 2581 *)
2585 SDL_STATIC_LIBS="$SDL_LIBS" 2582 SDL_STATIC_LIBS="$SDL_LIBS"