configure.in
changeset 5103 797b37c0c046
parent 5095 dceec93471e7
child 5112 39772ccf7ddd
equal deleted inserted replaced
5102:42a7591530d5 5103:797b37c0c046
  2666         # If audio is used, add the AudioUnit framework
  2666         # If audio is used, add the AudioUnit framework
  2667         if test x$enable_audio = xyes; then
  2667         if test x$enable_audio = xyes; then
  2668             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit"
  2668             EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit"
  2669         fi
  2669         fi
  2670         ;;
  2670         ;;
  2671     *-riscos)
       
  2672         ARCH=riscos
       
  2673         CheckOSS
       
  2674         CheckPTHREAD
       
  2675         # Set up files for the video library
       
  2676         if test x$enable_video = xyes; then
       
  2677             AC_DEFINE(SDL_VIDEO_DRIVER_RISCOS)
       
  2678             SOURCES="$SOURCES $srcdir/src/video/riscos/*.c"
       
  2679             SOURCES="$SOURCES $srcdir/src/video/riscos/*.S"
       
  2680             have_video=yes
       
  2681         fi
       
  2682         # Set up files for the joystick library
       
  2683         if test x$enable_joystick = xyes; then
       
  2684             AC_DEFINE(SDL_JOYSTICK_RISCOS)
       
  2685             SOURCES="$SOURCES $srcdir/src/joystick/riscos/*.c"
       
  2686             have_joystick=yes
       
  2687         fi
       
  2688         # Set up files for the timer library
       
  2689         if test x$enable_timers = xyes; then
       
  2690             AC_DEFINE(SDL_TIMER_RISCOS)
       
  2691             SOURCES="$SOURCES $srcdir/src/timer/riscos/*.c"
       
  2692             have_timers=yes
       
  2693         fi
       
  2694         # The RISC OS platform requires special setup.
       
  2695         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ljpeg -ltiff -lpng -lz"
       
  2696         ;;
       
  2697     *)
  2671     *)
  2698         AC_MSG_ERROR([
  2672         AC_MSG_ERROR([
  2699 *** Unsupported host:  Please add to configure.in
  2673 *** Unsupported host:  Please add to configure.in
  2700         ])
  2674         ])
  2701         ;;
  2675         ;;