3 prefix=/Users/peng/project/ffmpeg/yuv-player/third_party/SDL2-2.0.8/_build
6 libdir=${exec_prefix}/lib
9 #Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
11 Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
13 if test $# -eq 0; then
18 while test $# -gt 0; do
20 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
27 if test $exec_prefix_set = no ; then
45 echo -I${prefix}/include/SDL2 -I/usr/X11R6/include -D_THREAD_SAFE
48 echo -L${exec_prefix}/lib -lSDL2
51 # --libs|--static-libs)
52 echo -L${exec_prefix}/lib -lSDL2 -lm -liconv -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,ForceFeedback -lobjc -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal