configure
changeset 12054 e604fe493d45
parent 12035 1a7dec71e8e0
child 12055 bf70bfa02215
equal deleted inserted replaced
12046:8963fea8c431 12054:e604fe493d45
   864 enable_fcitx
   864 enable_fcitx
   865 enable_input_tslib
   865 enable_input_tslib
   866 enable_pthreads
   866 enable_pthreads
   867 enable_pthread_sem
   867 enable_pthread_sem
   868 enable_directx
   868 enable_directx
       
   869 enable_audio_wasapi
   869 enable_sdl_dlopen
   870 enable_sdl_dlopen
   870 enable_clock_gettime
   871 enable_clock_gettime
   871 enable_rpath
   872 enable_rpath
   872 enable_render_d3d
   873 enable_render_d3d
   873 '
   874 '
  1618                           [[default=yes]]
  1619                           [[default=yes]]
  1619   --enable-pthreads       use POSIX threads for multi-threading
  1620   --enable-pthreads       use POSIX threads for multi-threading
  1620                           [[default=yes]]
  1621                           [[default=yes]]
  1621   --enable-pthread-sem    use pthread semaphores [[default=yes]]
  1622   --enable-pthread-sem    use pthread semaphores [[default=yes]]
  1622   --enable-directx        use DirectX for Windows audio/video [[default=yes]]
  1623   --enable-directx        use DirectX for Windows audio/video [[default=yes]]
       
  1624   --enable-audio-wasapi   use the Windows WASAPI audio driver [[default=yes]]
  1623   --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
  1625   --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
  1624   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1626   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1625                           UNIX [[default=yes]]
  1627                           UNIX [[default=yes]]
  1626   --enable-rpath          use an rpath when linking SDL [[default=yes]]
  1628   --enable-rpath          use an rpath when linking SDL [[default=yes]]
  1627   --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
  1629   --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
 23229         fi
 23231         fi
 23230 
 23232 
 23231         SUMMARY_video="${SUMMARY_video} directx"
 23233         SUMMARY_video="${SUMMARY_video} directx"
 23232         SUMMARY_audio="${SUMMARY_audio} directx"
 23234         SUMMARY_audio="${SUMMARY_audio} directx"
 23233 
 23235 
       
 23236         # Check whether --enable-audio-wasapi was given.
       
 23237 if test "${enable_audio_wasapi+set}" = set; then :
       
 23238   enableval=$enable_audio_wasapi;
       
 23239 else
       
 23240   enable_audio_wasapi=yes
       
 23241 fi
       
 23242 
       
 23243 
 23234         # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
 23244         # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
 23235         # FIXME:  ...so force it off for now.
 23245         # FIXME:  ...so force it off for now.
 23236         case "$host" in
 23246         case "$host" in
 23237             *-*-cygwin*)
 23247             *-*-cygwin*)
 23238             have_dinput=false
 23248             have_dinput=false
 24132 
 24142 
 24133 $as_echo "#define SDL_AUDIO_DRIVER_DSOUND 1" >>confdefs.h
 24143 $as_echo "#define SDL_AUDIO_DRIVER_DSOUND 1" >>confdefs.h
 24134 
 24144 
 24135                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
 24145                 SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
 24136             fi
 24146             fi
 24137             if test x$have_wasapi = xyes; then
 24147             if test x$have_wasapi = xyes -a x$enable_audio_wasapi = xyes; then
 24138 
 24148 
 24139 $as_echo "#define SDL_AUDIO_DRIVER_WASAPI 1" >>confdefs.h
 24149 $as_echo "#define SDL_AUDIO_DRIVER_WASAPI 1" >>confdefs.h
 24140 
 24150 
       
 24151                 SUMMARY_audio="${SUMMARY_audio} wasapi"
 24141                 SOURCES="$SOURCES $srcdir/src/audio/wasapi/*.c"
 24152                 SOURCES="$SOURCES $srcdir/src/audio/wasapi/*.c"
 24142             fi
 24153             fi
 24143             have_audio=yes
 24154             have_audio=yes
 24144         fi
 24155         fi
 24145         # Set up files for the joystick library
 24156         # Set up files for the joystick library