configure
changeset 8124 5226058345bf
parent 8104 2e4f1bd21196
child 8146 bfff4df36f0b
     1.1 --- a/configure	Fri Jan 24 09:54:04 2014 -0300
     1.2 +++ b/configure	Sat Jan 25 15:05:44 2014 -0500
     1.3 @@ -1507,7 +1507,6 @@
     1.4    --enable-loadso         Enable the shared object loading subsystem
     1.5                            [[default=yes]]
     1.6    --enable-cpuinfo        Enable the cpuinfo subsystem [[default=yes]]
     1.7 -  --enable-atomic         Enable the atomic operations [[default=yes]]
     1.8    --enable-assembly       Enable assembly routines [[default=yes]]
     1.9    --enable-ssemath        Allow GCC to use SSE floating point math
    1.10                            [[default=no]]
    1.11 @@ -16821,6 +16820,8 @@
    1.12  
    1.13  $as_echo "#define SDL_ATOMIC_DISABLED 1" >>confdefs.h
    1.14  
    1.15 +else
    1.16 +    SUMMARY_modules="${SUMMARY_modules} atomic"
    1.17  fi
    1.18  # Check whether --enable-audio was given.
    1.19  if test "${enable_audio+set}" = set; then :
    1.20 @@ -16833,6 +16834,8 @@
    1.21  
    1.22  $as_echo "#define SDL_AUDIO_DISABLED 1" >>confdefs.h
    1.23  
    1.24 +else
    1.25 +    SUMMARY_modules="${SUMMARY_modules} audio"
    1.26  fi
    1.27  # Check whether --enable-video was given.
    1.28  if test "${enable_video+set}" = set; then :
    1.29 @@ -16845,6 +16848,8 @@
    1.30  
    1.31  $as_echo "#define SDL_VIDEO_DISABLED 1" >>confdefs.h
    1.32  
    1.33 +else
    1.34 +    SUMMARY_modules="${SUMMARY_modules} video"
    1.35  fi
    1.36  # Check whether --enable-render was given.
    1.37  if test "${enable_render+set}" = set; then :
    1.38 @@ -16857,6 +16862,8 @@
    1.39  
    1.40  $as_echo "#define SDL_RENDER_DISABLED 1" >>confdefs.h
    1.41  
    1.42 +else
    1.43 +    SUMMARY_modules="${SUMMARY_modules} render"
    1.44  fi
    1.45  # Check whether --enable-events was given.
    1.46  if test "${enable_events+set}" = set; then :
    1.47 @@ -16869,6 +16876,8 @@
    1.48  
    1.49  $as_echo "#define SDL_EVENTS_DISABLED 1" >>confdefs.h
    1.50  
    1.51 +else
    1.52 +    SUMMARY_modules="${SUMMARY_modules} events"
    1.53  fi
    1.54  # Check whether --enable-joystick was given.
    1.55  if test "${enable_joystick+set}" = set; then :
    1.56 @@ -16881,6 +16890,8 @@
    1.57  
    1.58  $as_echo "#define SDL_JOYSTICK_DISABLED 1" >>confdefs.h
    1.59  
    1.60 +else
    1.61 +    SUMMARY_modules="${SUMMARY_modules} joystick"
    1.62  fi
    1.63  # Check whether --enable-haptic was given.
    1.64  if test "${enable_haptic+set}" = set; then :
    1.65 @@ -16893,6 +16904,8 @@
    1.66  
    1.67  $as_echo "#define SDL_HAPTIC_DISABLED 1" >>confdefs.h
    1.68  
    1.69 +else
    1.70 +    SUMMARY_modules="${SUMMARY_modules} haptic"
    1.71  fi
    1.72  # Check whether --enable-power was given.
    1.73  if test "${enable_power+set}" = set; then :
    1.74 @@ -16905,6 +16918,8 @@
    1.75  
    1.76  $as_echo "#define SDL_POWER_DISABLED 1" >>confdefs.h
    1.77  
    1.78 +else
    1.79 +    SUMMARY_modules="${SUMMARY_modules} power"
    1.80  fi
    1.81  # Check whether --enable-filesystem was given.
    1.82  if test "${enable_filesystem+set}" = set; then :
    1.83 @@ -16917,6 +16932,8 @@
    1.84  
    1.85  $as_echo "#define SDL_FILESYSTEM_DISABLED 1" >>confdefs.h
    1.86  
    1.87 +else
    1.88 +    SUMMARY_modules="${SUMMARY_modules} filesystem"
    1.89  fi
    1.90  # Check whether --enable-threads was given.
    1.91  if test "${enable_threads+set}" = set; then :
    1.92 @@ -16929,6 +16946,8 @@
    1.93  
    1.94  $as_echo "#define SDL_THREADS_DISABLED 1" >>confdefs.h
    1.95  
    1.96 +else
    1.97 +    SUMMARY_modules="${SUMMARY_modules} threads"
    1.98  fi
    1.99  # Check whether --enable-timers was given.
   1.100  if test "${enable_timers+set}" = set; then :
   1.101 @@ -16941,6 +16960,8 @@
   1.102  
   1.103  $as_echo "#define SDL_TIMERS_DISABLED 1" >>confdefs.h
   1.104  
   1.105 +else
   1.106 +    SUMMARY_modules="${SUMMARY_modules} timers"
   1.107  fi
   1.108  # Check whether --enable-file was given.
   1.109  if test "${enable_file+set}" = set; then :
   1.110 @@ -16953,6 +16974,8 @@
   1.111  
   1.112  $as_echo "#define SDL_FILE_DISABLED 1" >>confdefs.h
   1.113  
   1.114 +else
   1.115 +    SUMMARY_modules="${SUMMARY_modules} file"
   1.116  fi
   1.117  # Check whether --enable-loadso was given.
   1.118  if test "${enable_loadso+set}" = set; then :
   1.119 @@ -16965,6 +16988,8 @@
   1.120  
   1.121  $as_echo "#define SDL_LOADSO_DISABLED 1" >>confdefs.h
   1.122  
   1.123 +else
   1.124 +    SUMMARY_modules="${SUMMARY_modules} loadso"
   1.125  fi
   1.126  # Check whether --enable-cpuinfo was given.
   1.127  if test "${enable_cpuinfo+set}" = set; then :
   1.128 @@ -16977,18 +17002,8 @@
   1.129  
   1.130  $as_echo "#define SDL_CPUINFO_DISABLED 1" >>confdefs.h
   1.131  
   1.132 -fi
   1.133 -# Check whether --enable-atomic was given.
   1.134 -if test "${enable_atomic+set}" = set; then :
   1.135 -  enableval=$enable_atomic;
   1.136 -else
   1.137 -  enable_atomic=yes
   1.138 -fi
   1.139 -
   1.140 -if test x$enable_atomic != xyes; then
   1.141 -
   1.142 -$as_echo "#define SDL_ATOMIC_DISABLED 1" >>confdefs.h
   1.143 -
   1.144 +else
   1.145 +    SUMMARY_modules="${SUMMARY_modules} cpuinfo"
   1.146  fi
   1.147  # Check whether --enable-assembly was given.
   1.148  if test "${enable_assembly+set}" = set; then :
   1.149 @@ -16998,6 +17013,8 @@
   1.150  fi
   1.151  
   1.152  if test x$enable_assembly = xyes; then
   1.153 +    SUMMARY_modules="${SUMMARY_modules} assembly"
   1.154 +
   1.155  
   1.156  $as_echo "#define SDL_ASSEMBLY_ROUTINES 1" >>confdefs.h
   1.157  
   1.158 @@ -17083,6 +17100,7 @@
   1.159  
   1.160          if test x$have_gcc_mmx = xyes; then
   1.161              EXTRA_CFLAGS="$EXTRA_CFLAGS $mmx_CFLAGS"
   1.162 +            SUMMARY_math="${SUMMARY_math} mmx"
   1.163          fi
   1.164      fi
   1.165  
   1.166 @@ -17133,6 +17151,7 @@
   1.167  
   1.168          if test x$have_gcc_3dnow = xyes; then
   1.169              EXTRA_CFLAGS="$EXTRA_CFLAGS $amd3dnow_CFLAGS"
   1.170 +            SUMMARY_math="${SUMMARY_math} 3dnow"
   1.171          fi
   1.172      fi
   1.173  
   1.174 @@ -17189,6 +17208,7 @@
   1.175  
   1.176          if test x$have_gcc_sse = xyes; then
   1.177              EXTRA_CFLAGS="$EXTRA_CFLAGS $sse_CFLAGS"
   1.178 +            SUMMARY_math="${SUMMARY_math} sse"
   1.179          fi
   1.180      fi
   1.181  
   1.182 @@ -17245,6 +17265,7 @@
   1.183  
   1.184          if test x$have_gcc_sse2 = xyes; then
   1.185              EXTRA_CFLAGS="$EXTRA_CFLAGS $sse2_CFLAGS"
   1.186 +            SUMMARY_math="${SUMMARY_math} sse2"
   1.187          fi
   1.188      fi
   1.189  
   1.190 @@ -17393,6 +17414,7 @@
   1.191  
   1.192              fi
   1.193              EXTRA_CFLAGS="$EXTRA_CFLAGS $altivec_CFLAGS"
   1.194 +            SUMMARY_math="${SUMMARY_math} altivec"
   1.195          fi
   1.196      fi
   1.197  fi
   1.198 @@ -17474,6 +17496,7 @@
   1.199          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_oss" >&5
   1.200  $as_echo "$have_oss" >&6; }
   1.201          if test x$have_oss = xyes; then
   1.202 +            SUMMARY_audio="${SUMMARY_audio} oss"
   1.203  
   1.204  $as_echo "#define SDL_AUDIO_DRIVER_OSS 1" >>confdefs.h
   1.205  
   1.206 @@ -17738,8 +17761,10 @@
   1.207  #define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "$alsa_lib"
   1.208  _ACEOF
   1.209  
   1.210 +                SUMMARY_audio="${SUMMARY_audio} alsa(dynamic)"
   1.211              else
   1.212                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS"
   1.213 +                SUMMARY_audio="${SUMMARY_audio} alsa"
   1.214              fi
   1.215              have_audio=yes
   1.216          fi
   1.217 @@ -18021,8 +18046,10 @@
   1.218  #define SDL_AUDIO_DRIVER_ESD_DYNAMIC "$esd_lib"
   1.219  _ACEOF
   1.220  
   1.221 +                SUMMARY_audio="${SUMMARY_audio} esd(dynamic)"
   1.222              else
   1.223                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS"
   1.224 +                SUMMARY_audio="${SUMMARY_audio} esd"
   1.225              fi
   1.226              have_audio=yes
   1.227          fi
   1.228 @@ -18124,6 +18151,7 @@
   1.229  #define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "$pulseaudio_lib"
   1.230  _ACEOF
   1.231  
   1.232 +                SUMMARY_audio="${SUMMARY_audio} pulse(dynamic)"
   1.233  
   1.234                  case "$host" in
   1.235                      # On Solaris, pulseaudio must be linked deferred explicitly
   1.236 @@ -18134,6 +18162,7 @@
   1.237                  esac
   1.238              else
   1.239                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
   1.240 +                SUMMARY_audio="${SUMMARY_audio} pulse"
   1.241              fi
   1.242              have_audio=yes
   1.243          fi
   1.244 @@ -18252,8 +18281,10 @@
   1.245  #define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "$arts_lib"
   1.246  _ACEOF
   1.247  
   1.248 +                    SUMMARY_audio="${SUMMARY_audio} arts(dynamic)"
   1.249                  else
   1.250                      EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS"
   1.251 +                    SUMMARY_audio="${SUMMARY_audio} arts"
   1.252                  fi
   1.253                  have_audio=yes
   1.254              fi
   1.255 @@ -18359,8 +18390,10 @@
   1.256  #define SDL_AUDIO_DRIVER_NAS_DYNAMIC "$nas_lib"
   1.257  _ACEOF
   1.258  
   1.259 +                SUMMARY_audio="${SUMMARY_audio} nas(dynamic)"
   1.260              else
   1.261                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS"
   1.262 +                SUMMARY_audio="${SUMMARY_audio} nas"
   1.263              fi
   1.264  
   1.265  
   1.266 @@ -18465,8 +18498,10 @@
   1.267  #define SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "$sndio_lib"
   1.268  _ACEOF
   1.269  
   1.270 +                SUMMARY_audio="${SUMMARY_audio} sndio(dynamic)"
   1.271              else
   1.272                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SNDIO_LIBS"
   1.273 +                SUMMARY_audio="${SUMMARY_audio} sndio"
   1.274              fi
   1.275  
   1.276  
   1.277 @@ -18493,6 +18528,7 @@
   1.278  $as_echo "#define SDL_AUDIO_DRIVER_DISK 1" >>confdefs.h
   1.279  
   1.280          SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
   1.281 +        SUMMARY_audio="${SUMMARY_audio} disk"
   1.282      fi
   1.283  }
   1.284  
   1.285 @@ -18510,6 +18546,7 @@
   1.286  $as_echo "#define SDL_AUDIO_DRIVER_DUMMY 1" >>confdefs.h
   1.287  
   1.288          SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
   1.289 +        SUMMARY_audio="${SUMMARY_audio} dummy"
   1.290      fi
   1.291  }
   1.292  
   1.293 @@ -18785,9 +18822,11 @@
   1.294  #define SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "$xkbcommon_lib"
   1.295  _ACEOF
   1.296  
   1.297 +                SUMMARY_video="${SUMMARY_video} wayland(dynamic)"
   1.298              else
   1.299                  enable_wayland_shared=no
   1.300                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $WAYLAND_LIBS"
   1.301 +                SUMMARY_video="${SUMMARY_video} wayland"
   1.302              fi
   1.303              have_video=yes
   1.304          fi
   1.305 @@ -19601,9 +19640,11 @@
   1.306  #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "$x11ext_lib"
   1.307  _ACEOF
   1.308  
   1.309 +                SUMMARY_video="${SUMMARY_video} x11(dynamic)"
   1.310              else
   1.311                  enable_x11_shared=no
   1.312                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $X_LIBS -lX11 -lXext"
   1.313 +                SUMMARY_video="${SUMMARY_video} x11"
   1.314              fi
   1.315              have_video=yes
   1.316  
   1.317 @@ -19825,6 +19866,7 @@
   1.318  
   1.319  $as_echo "#define SDL_VIDEO_DRIVER_X11_XCURSOR 1" >>confdefs.h
   1.320  
   1.321 +                SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
   1.322              fi
   1.323              # Check whether --enable-video-x11-xinerama was given.
   1.324  if test "${enable_video_x11_xinerama+set}" = set; then :
   1.325 @@ -19906,6 +19948,7 @@
   1.326  
   1.327  $as_echo "#define SDL_VIDEO_DRIVER_X11_XINERAMA 1" >>confdefs.h
   1.328  
   1.329 +                SUMMARY_video_x11="${SUMMARY_video_x11} xinerama"
   1.330              fi
   1.331              # Check whether --enable-video-x11-xinput was given.
   1.332  if test "${enable_video_x11_xinput+set}" = set; then :
   1.333 @@ -19984,6 +20027,7 @@
   1.334                  fi
   1.335              fi
   1.336              if test x$definitely_enable_video_x11_xinput = xyes; then
   1.337 +                SUMMARY_video_x11="${SUMMARY_video_x11} xinput2"
   1.338  
   1.339  $as_echo "#define SDL_VIDEO_DRIVER_X11_XINPUT2 1" >>confdefs.h
   1.340  
   1.341 @@ -20018,6 +20062,7 @@
   1.342              	have_xinput2_multitouch=yes
   1.343              	$as_echo "#define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1" >>confdefs.h
   1.344  
   1.345 +                SUMMARY_video_x11="${SUMMARY_video_x11} xinput2_multitouch"
   1.346  
   1.347  fi
   1.348  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.349 @@ -20104,6 +20149,7 @@
   1.350  
   1.351  $as_echo "#define SDL_VIDEO_DRIVER_X11_XRANDR 1" >>confdefs.h
   1.352  
   1.353 +                SUMMARY_video_x11="${SUMMARY_video_x11} xrandr"
   1.354              fi
   1.355              # Check whether --enable-video-x11-scrnsaver was given.
   1.356  if test "${enable_video_x11_scrnsaver+set}" = set; then :
   1.357 @@ -20184,6 +20230,7 @@
   1.358  
   1.359  $as_echo "#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1" >>confdefs.h
   1.360  
   1.361 +                SUMMARY_video_x11="${SUMMARY_video_x11} xscrnsaver"
   1.362              fi
   1.363              # Check whether --enable-video-x11-xshape was given.
   1.364  if test "${enable_video_x11_xshape+set}" = set; then :
   1.365 @@ -20207,6 +20254,7 @@
   1.366  
   1.367  $as_echo "#define SDL_VIDEO_DRIVER_X11_XSHAPE 1" >>confdefs.h
   1.368  
   1.369 +                    SUMMARY_video_x11="${SUMMARY_video_x11} xshape"
   1.370                  fi
   1.371              fi
   1.372              # Check whether --enable-video-x11-vm was given.
   1.373 @@ -20289,6 +20337,7 @@
   1.374  
   1.375  $as_echo "#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1" >>confdefs.h
   1.376  
   1.377 +                SUMMARY_video_x11="${SUMMARY_video_x11} xvidmode"
   1.378              fi
   1.379          fi
   1.380      fi
   1.381 @@ -20302,6 +20351,7 @@
   1.382  
   1.383          SOURCES="$SOURCES $srcdir/src/video/haiku/*.cc"
   1.384          have_video=yes
   1.385 +        SUMMARY_video="${SUMMARY_video} haiku"
   1.386      fi
   1.387  }
   1.388  
   1.389 @@ -20348,6 +20398,7 @@
   1.390  $as_echo "#define SDL_VIDEO_DRIVER_COCOA 1" >>confdefs.h
   1.391  
   1.392              SOURCES="$SOURCES $srcdir/src/video/cocoa/*.m"
   1.393 +            SUMMARY_video="${SUMMARY_video} cocoa"
   1.394              have_video=yes
   1.395          fi
   1.396      fi
   1.397 @@ -20534,8 +20585,10 @@
   1.398  #define SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "$directfb_lib"
   1.399  _ACEOF
   1.400  
   1.401 +                SUMMARY_video="${SUMMARY_video} directfb(dynamic)"
   1.402              else
   1.403                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $DIRECTFB_LIBS"
   1.404 +                SUMMARY_video="${SUMMARY_video} directfb"
   1.405              fi
   1.406              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $directfb_shared" >&5
   1.407  $as_echo "$directfb_shared" >&6; }
   1.408 @@ -20641,8 +20694,10 @@
   1.409  _ACEOF
   1.410  
   1.411                  fusionsound_shared=yes
   1.412 +                SUMMARY_audio="${SUMMARY_audio} fusionsound(dynamic)"
   1.413              else
   1.414                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $FUSIONSOUND_LIBS"
   1.415 +                SUMMARY_audio="${SUMMARY_audio} fusionsound"
   1.416              fi
   1.417              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fusionsound_shared" >&5
   1.418  $as_echo "$fusionsound_shared" >&6; }
   1.419 @@ -20667,6 +20722,7 @@
   1.420  
   1.421          SOURCES="$SOURCES $srcdir/src/video/dummy/*.c"
   1.422          have_video=yes
   1.423 +        SUMMARY_video="${SUMMARY_video} dummy"
   1.424      fi
   1.425  }
   1.426  
   1.427 @@ -20717,6 +20773,7 @@
   1.428  
   1.429  $as_echo "#define SDL_VIDEO_RENDER_OGL 1" >>confdefs.h
   1.430  
   1.431 +            SUMMARY_video="${SUMMARY_video} opengl"
   1.432          fi
   1.433      fi
   1.434  }
   1.435 @@ -20796,6 +20853,7 @@
   1.436  
   1.437  $as_echo "#define SDL_VIDEO_RENDER_OGL_ES 1" >>confdefs.h
   1.438  
   1.439 +            SUMMARY_video="${SUMMARY_video} opengl_es1"
   1.440          fi
   1.441  
   1.442          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES v2 headers" >&5
   1.443 @@ -20831,6 +20889,7 @@
   1.444  
   1.445  $as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
   1.446  
   1.447 +            SUMMARY_video="${SUMMARY_video} opengl_es2"
   1.448          fi
   1.449      fi
   1.450  }
   1.451 @@ -20847,6 +20906,7 @@
   1.452  
   1.453  $as_echo "#define SDL_VIDEO_RENDER_OGL 1" >>confdefs.h
   1.454  
   1.455 +        SUMMARY_video="${SUMMARY_video} opengl"
   1.456      fi
   1.457  }
   1.458  
   1.459 @@ -20886,6 +20946,7 @@
   1.460  
   1.461  $as_echo "#define SDL_VIDEO_OPENGL_EGL 1" >>confdefs.h
   1.462  
   1.463 +            SUMMARY_video="${SUMMARY_video} opengl_es1"
   1.464          fi
   1.465  
   1.466          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES v2 headers" >&5
   1.467 @@ -20924,6 +20985,7 @@
   1.468  
   1.469  $as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
   1.470  
   1.471 +            SUMMARY_video="${SUMMARY_video} opengl_es2"
   1.472          fi
   1.473      fi
   1.474  }
   1.475 @@ -20941,6 +21003,7 @@
   1.476  $as_echo "#define SDL_VIDEO_RENDER_OGL 1" >>confdefs.h
   1.477  
   1.478          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL"
   1.479 +        SUMMARY_video="${SUMMARY_video} opengl"
   1.480      fi
   1.481  }
   1.482  
   1.483 @@ -20956,6 +21019,7 @@
   1.484  
   1.485  $as_echo "#define SDL_VIDEO_RENDER_OGL 1" >>confdefs.h
   1.486  
   1.487 +        SUMMARY_video="${SUMMARY_video} opengl"
   1.488          case "$host" in
   1.489              *-*-darwin*)
   1.490                  if test x$enable_video_cocoa = xyes; then
   1.491 @@ -20999,6 +21063,7 @@
   1.492  
   1.493  $as_echo "#define SDL_INPUT_LINUXEV 1" >>confdefs.h
   1.494  
   1.495 +            SUMMARY_input="${SUMMARY_input} linuxev"
   1.496          fi
   1.497  }
   1.498  
   1.499 @@ -21038,6 +21103,7 @@
   1.500  
   1.501  $as_echo "#define SDL_INPUT_LINUXKD 1" >>confdefs.h
   1.502  
   1.503 +        SUMMARY_input="${SUMMARY_input} linuxkd"
   1.504      fi
   1.505  }
   1.506  
   1.507 @@ -21181,6 +21247,7 @@
   1.508  $as_echo "#define SDL_INPUT_TSLIB 1" >>confdefs.h
   1.509  
   1.510              EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lts"
   1.511 +            SUMMARY_input="${SUMMARY_input} ts"
   1.512          fi
   1.513      fi
   1.514  }
   1.515 @@ -21704,6 +21771,9 @@
   1.516  
   1.517  
   1.518  
   1.519 +        SUMMARY_video="${SUMMARY_video} directx"
   1.520 +        SUMMARY_audio="${SUMMARY_audio} directx"
   1.521 +
   1.522          # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
   1.523          # FIXME:  ...so force it off for now.
   1.524          case "$host" in
   1.525 @@ -23024,6 +23094,37 @@
   1.526  
   1.527  ac_config_files="$ac_config_files Makefile:Makefile.in:Makefile.rules sdl2-config SDL2.spec sdl2.pc"
   1.528  
   1.529 +ac_config_commands="$ac_config_commands sdl2_config"
   1.530 +
   1.531 +
   1.532 +SUMMARY="SDL2 Configure Summary:\n"
   1.533 +if test x$enable_shared = xyes; then
   1.534 +    SUMMARY="${SUMMARY}Building Shared Libraries\n"
   1.535 +fi
   1.536 +if test x$enable_static = xyes; then
   1.537 +    SUMMARY="${SUMMARY}Building Static Libraries\n"
   1.538 +fi
   1.539 +SUMMARY="${SUMMARY}Enabled modules :${SUMMARY_modules}\n"
   1.540 +SUMMARY="${SUMMARY}Assembly Math   :${SUMMARY_math}\n"
   1.541 +SUMMARY="${SUMMARY}Audio drivers   :${SUMMARY_audio}\n"
   1.542 +SUMMARY="${SUMMARY}Video drivers   :${SUMMARY_video}\n"
   1.543 +if test x$have_x = xyes; then
   1.544 +    SUMMARY="${SUMMARY}X11 libraries   :${SUMMARY_video_x11}\n"
   1.545 +fi
   1.546 +SUMMARY="${SUMMARY}Input drivers   :${SUMMARY_input}\n"
   1.547 +if test x$enable_libudev = xyes; then
   1.548 +    SUMMARY="${SUMMARY}Using libudev   : YES\n"
   1.549 +else
   1.550 +    SUMMARY="${SUMMARY}Using libudev   : NO\n"
   1.551 +fi
   1.552 +if test x$have_dbus_dbus_h_hdr = xyes; then
   1.553 +    SUMMARY="${SUMMARY}Using dbus      : YES\n"
   1.554 +else
   1.555 +    SUMMARY="${SUMMARY}Using dbus      : NO\n"
   1.556 +fi
   1.557 +ac_config_commands="$ac_config_commands summary"
   1.558 +
   1.559 +
   1.560  cat >confcache <<\_ACEOF
   1.561  # This file is a shell script that caches the results of configure
   1.562  # tests run on this system so they can be shared between configure
   1.563 @@ -24091,6 +24192,7 @@
   1.564  
   1.565  
   1.566  
   1.567 +SUMMARY="$SUMMARY"
   1.568  
   1.569  _ACEOF
   1.570  
   1.571 @@ -24106,6 +24208,8 @@
   1.572      "sdl2-config") CONFIG_FILES="$CONFIG_FILES sdl2-config" ;;
   1.573      "SDL2.spec") CONFIG_FILES="$CONFIG_FILES SDL2.spec" ;;
   1.574      "sdl2.pc") CONFIG_FILES="$CONFIG_FILES sdl2.pc" ;;
   1.575 +    "sdl2_config") CONFIG_COMMANDS="$CONFIG_COMMANDS sdl2_config" ;;
   1.576 +    "summary") CONFIG_COMMANDS="$CONFIG_COMMANDS summary" ;;
   1.577  
   1.578    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   1.579    esac
   1.580 @@ -25461,6 +25565,8 @@
   1.581  _LT_EOF
   1.582  
   1.583   ;;
   1.584 +    "sdl2_config":C) chmod a+x sdl2-config ;;
   1.585 +    "summary":C) echo -en "$SUMMARY" ;;
   1.586  
   1.587    esac
   1.588  done # for ac_tag
   1.589 @@ -25499,4 +25605,3 @@
   1.590  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   1.591  fi
   1.592  
   1.593 -chmod a+x sdl2-config