configure.in
changeset 9547 208ccaf7b64c
parent 9424 a3344156e514
child 9574 98c57505d74d
equal deleted inserted replaced
9546:d997877cdad7 9547:208ccaf7b64c
  2835                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
  2835                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
  2836                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/vc/lib -lbcm_host -ldl"
  2836                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/vc/lib -lbcm_host -ldl"
  2837 
  2837 
  2838                 if test x$enable_video = xyes; then
  2838                 if test x$enable_video = xyes; then
  2839                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
  2839                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
       
  2840                     # FIXME: confdefs? Not AC_DEFINE?
  2840                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
  2841                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
       
  2842                     SUMMARY_video="${SUMMARY_video} rpi"
  2841                 fi
  2843                 fi
  2842                 ;;
  2844                 ;;
  2843             *-*-androideabi*)
  2845             *-*-androideabi*)
  2844                 # Android
  2846                 # Android
  2845                 ARCH=android
  2847                 ARCH=android
  2849                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
  2851                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
  2850                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
  2852                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
  2851 
  2853 
  2852                 if test x$enable_video = xyes; then
  2854                 if test x$enable_video = xyes; then
  2853                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
  2855                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
       
  2856                     # FIXME: confdefs? Not AC_DEFINE?
  2854                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
  2857                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
  2855                     SUMMARY_video="${SUMMARY_video} android"
  2858                     SUMMARY_video="${SUMMARY_video} android"
  2856                 fi
  2859                 fi
  2857                 ;;
  2860                 ;;
  2858             *-*-linux*)         ARCH=linux ;;
  2861             *-*-linux*)         ARCH=linux ;;