comparison sdl-config.in @ 1548:a77c022733fe

EXTRA_LDFLAGS are the linker flags and libraries needed to build SDL. SDL_LIBS are the linker flags and libraries needed to build SDL applications. SDL_STATIC_LIBS is set to SDL_LIBS by default.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 18 Mar 2006 18:41:59 +0000
parents 19418e4422cb
children 2af911d41a08
comparison
equal deleted inserted replaced
1547:dd05d6ee234e 1548:a77c022733fe
40 ;; 40 ;;
41 --cflags) 41 --cflags)
42 echo -I@includedir@/SDL @SDL_CFLAGS@ 42 echo -I@includedir@/SDL @SDL_CFLAGS@
43 ;; 43 ;;
44 @ENABLE_SHARED_TRUE@ --libs) 44 @ENABLE_SHARED_TRUE@ --libs)
45 @ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@" 45 @ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
46 @ENABLE_SHARED_TRUE@ echo $libdirs @SDL_LIBS@ @SHARED_SYSTEM_LIBS@
47 @ENABLE_SHARED_TRUE@ ;; 46 @ENABLE_SHARED_TRUE@ ;;
48 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs) 47 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs)
49 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs) 48 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs)
50 @ENABLE_STATIC_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@" 49 @ENABLE_STATIC_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
51 @ENABLE_STATIC_TRUE@ echo $libdirs @SDL_STATIC_LIBS@ @STATIC_SYSTEM_LIBS@
52 @ENABLE_STATIC_TRUE@ ;; 50 @ENABLE_STATIC_TRUE@ ;;
53 *) 51 *)
54 echo "${usage}" 1>&2 52 echo "${usage}" 1>&2
55 exit 1 53 exit 1
56 ;; 54 ;;