configure
changeset 6737 63ba9e5b1272
parent 6689 e2fc3ae07582
child 6833 c34a64af7751
equal deleted inserted replaced
6736:03dd4a1d06e9 6737:63ba9e5b1272
   810 enable_fusionsound
   810 enable_fusionsound
   811 enable_fusionsound_shared
   811 enable_fusionsound_shared
   812 enable_video_dummy
   812 enable_video_dummy
   813 enable_video_opengl
   813 enable_video_opengl
   814 enable_video_opengles
   814 enable_video_opengles
   815 enable_input_events
   815 enable_libudev
   816 enable_input_tslib
   816 enable_input_tslib
   817 enable_pthreads
   817 enable_pthreads
   818 enable_pthread_sem
   818 enable_pthread_sem
   819 enable_directx
   819 enable_directx
   820 enable_sdl_dlopen
   820 enable_sdl_dlopen
  1533                           dynamically load fusionsound audio support
  1533                           dynamically load fusionsound audio support
  1534                           [[default=yes]]
  1534                           [[default=yes]]
  1535   --enable-video-dummy    use dummy video driver [[default=yes]]
  1535   --enable-video-dummy    use dummy video driver [[default=yes]]
  1536   --enable-video-opengl   include OpenGL support [[default=yes]]
  1536   --enable-video-opengl   include OpenGL support [[default=yes]]
  1537   --enable-video-opengles include OpenGL ES support [[default=yes]]
  1537   --enable-video-opengles include OpenGL ES support [[default=yes]]
  1538   --enable-input-events   use Linux 2.4 unified input interface
  1538   --enable-libudev        enable libudev support [[default=yes]]
  1539                           [[default=yes]]
       
  1540   --enable-input-tslib    use the Touchscreen library for input
  1539   --enable-input-tslib    use the Touchscreen library for input
  1541                           [[default=yes]]
  1540                           [[default=yes]]
  1542   --enable-pthreads       use POSIX threads for multi-threading
  1541   --enable-pthreads       use POSIX threads for multi-threading
  1543                           [[default=yes]]
  1542                           [[default=yes]]
  1544   --enable-pthread-sem    use pthread semaphores [[default=yes]]
  1543   --enable-pthread-sem    use pthread semaphores [[default=yes]]
 20678     fi
 20677     fi
 20679 }
 20678 }
 20680 
 20679 
 20681 CheckInputEvents()
 20680 CheckInputEvents()
 20682 {
 20681 {
 20683         # Check whether --enable-input-events was given.
 20682             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux 2.4 unified input interface" >&5
 20684 if test "${enable_input_events+set}" = set; then :
       
 20685   enableval=$enable_input_events;
       
 20686 else
       
 20687   enable_input_events=yes
       
 20688 fi
       
 20689 
       
 20690     if test x$enable_input_events = xyes; then
       
 20691         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux 2.4 unified input interface" >&5
       
 20692 $as_echo_n "checking for Linux 2.4 unified input interface... " >&6; }
 20683 $as_echo_n "checking for Linux 2.4 unified input interface... " >&6; }
 20693         use_input_events=no
 20684         use_input_events=no
 20694         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 20685         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 20695 /* end confdefs.h.  */
 20686 /* end confdefs.h.  */
 20696 
 20687 
 20717         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_input_events" >&5
 20708         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_input_events" >&5
 20718 $as_echo "$use_input_events" >&6; }
 20709 $as_echo "$use_input_events" >&6; }
 20719         if test x$use_input_events = xyes; then
 20710         if test x$use_input_events = xyes; then
 20720 
 20711 
 20721 $as_echo "#define SDL_INPUT_LINUXEV 1" >>confdefs.h
 20712 $as_echo "#define SDL_INPUT_LINUXEV 1" >>confdefs.h
       
 20713 
       
 20714         fi
       
 20715 }
       
 20716 
       
 20717 CheckLibUDev()
       
 20718 {
       
 20719     # Check whether --enable-libudev was given.
       
 20720 if test "${enable_libudev+set}" = set; then :
       
 20721   enableval=$enable_libudev;
       
 20722 else
       
 20723   enable_libudev=yes
       
 20724 fi
       
 20725 
       
 20726     if test x$enable_libudev = xyes; then
       
 20727         ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
       
 20728 if test "x$ac_cv_header_libudev_h" = xyes; then :
       
 20729   have_libudev_h_hdr=yes
       
 20730 else
       
 20731   have_libudev_h_hdr=no
       
 20732 fi
       
 20733 
       
 20734 
       
 20735         if test x$have_libudev_h_hdr = xyes; then
       
 20736 
       
 20737 $as_echo "#define HAVE_LIBUDEV_H 1" >>confdefs.h
 20722 
 20738 
 20723         fi
 20739         fi
 20724     fi
 20740     fi
 20725 }
 20741 }
 20726 
 20742 
 21908         CheckX11
 21924         CheckX11
 21909         CheckDirectFB
 21925         CheckDirectFB
 21910         CheckFusionSound
 21926         CheckFusionSound
 21911         CheckOpenGLX11
 21927         CheckOpenGLX11
 21912         CheckOpenGLESX11
 21928         CheckOpenGLESX11
       
 21929         CheckLibUDev
 21913         CheckInputEvents
 21930         CheckInputEvents
 21914         CheckTslib
 21931         CheckTslib
 21915         CheckUSBHID
 21932         CheckUSBHID
 21916         CheckPTHREAD
 21933         CheckPTHREAD
 21917         CheckClockGettime
 21934         CheckClockGettime