configure
changeset 9547 208ccaf7b64c
parent 9424 a3344156e514
child 9574 98c57505d74d
equal deleted inserted replaced
9546:d997877cdad7 9547:208ccaf7b64c
 22939                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
 22939                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
 22940                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/vc/lib -lbcm_host -ldl"
 22940                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/vc/lib -lbcm_host -ldl"
 22941 
 22941 
 22942                 if test x$enable_video = xyes; then
 22942                 if test x$enable_video = xyes; then
 22943                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
 22943                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
       
 22944                     # FIXME: confdefs? Not AC_DEFINE?
 22944                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
 22945                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
       
 22946                     SUMMARY_video="${SUMMARY_video} rpi"
 22945                 fi
 22947                 fi
 22946                 ;;
 22948                 ;;
 22947             *-*-androideabi*)
 22949             *-*-androideabi*)
 22948                 # Android
 22950                 # Android
 22949                 ARCH=android
 22951                 ARCH=android
 22953                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
 22955                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
 22954                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
 22956                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
 22955 
 22957 
 22956                 if test x$enable_video = xyes; then
 22958                 if test x$enable_video = xyes; then
 22957                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
 22959                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
       
 22960                     # FIXME: confdefs? Not AC_DEFINE?
 22958                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
 22961                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
 22959                     SUMMARY_video="${SUMMARY_video} android"
 22962                     SUMMARY_video="${SUMMARY_video} android"
 22960                 fi
 22963                 fi
 22961                 ;;
 22964                 ;;
 22962             *-*-linux*)         ARCH=linux ;;
 22965             *-*-linux*)         ARCH=linux ;;