configure.in
changeset 9985 091503bd5054
parent 9877 e6fa7403893b
child 10009 8c6b05b0a27e
equal deleted inserted replaced
9984:df034dc2f547 9985:091503bd5054
  2844             *-*-kopenbsd*-gnu)  ARCH=kopenbsd-gnu ;;
  2844             *-*-kopenbsd*-gnu)  ARCH=kopenbsd-gnu ;;
  2845             *-*-gnu*)           ARCH=gnu ;; # must be last of the gnu variants
  2845             *-*-gnu*)           ARCH=gnu ;; # must be last of the gnu variants
  2846             *-*-bsdi*)          ARCH=bsdi ;;
  2846             *-*-bsdi*)          ARCH=bsdi ;;
  2847             *-*-freebsd*)       ARCH=freebsd ;;
  2847             *-*-freebsd*)       ARCH=freebsd ;;
  2848             *-*-dragonfly*)     ARCH=freebsd ;;
  2848             *-*-dragonfly*)     ARCH=freebsd ;;
       
  2849             *-raspberry-netbsd*)
       
  2850                 # Raspberry Pi
       
  2851                 ARCH=netbsd
       
  2852                 RPI_CFLAGS="-I/usr/pkg/include -I/usr/pkg/include/interface/vcos/pthreads -I/usr/pkg/include/interface/vmcs_host/linux"
       
  2853                 CFLAGS="$CFLAGS $RPI_CFLAGS"
       
  2854                 SDL_CFLAGS="$SDL_CFLAGS $RPI_CFLAGS"
       
  2855                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
       
  2856                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host -ldl"
       
  2857 
       
  2858                 if test x$enable_video = xyes; then
       
  2859                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
       
  2860                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
       
  2861                     SUMMARY_video="${SUMMARY_video} raspberry"
       
  2862                 fi
       
  2863                 ;;
  2849             *-*-netbsd*)        ARCH=netbsd ;;
  2864             *-*-netbsd*)        ARCH=netbsd ;;
  2850             *-*-openbsd*)       ARCH=openbsd ;;
  2865             *-*-openbsd*)       ARCH=openbsd ;;
  2851             *-*-sysv5*)         ARCH=sysv5 ;;
  2866             *-*-sysv5*)         ARCH=sysv5 ;;
  2852             *-*-solaris*)       ARCH=solaris ;;
  2867             *-*-solaris*)       ARCH=solaris ;;
  2853             *-*-hpux*)          ARCH=hpux ;;
  2868             *-*-hpux*)          ARCH=hpux ;;