regenerated configure script.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
diff --git a/configure b/configure
index 121593e..f0b1e6e 100755
--- a/configure
+++ b/configure
@@ -838,9 +838,9 @@ enable_3dnow
enable_sse
enable_sse2
enable_sse3
+enable_altivec
enable_lsx
enable_lasx
-enable_altivec
enable_oss
enable_alsa
with_alsa_prefix
@@ -1622,9 +1622,9 @@ Optional Features:
--enable-sse use SSE assembly routines [default=yes]
--enable-sse2 use SSE2 assembly routines [default=maybe]
--enable-sse3 use SSE3 assembly routines [default=maybe]
+ --enable-altivec use Altivec assembly routines [default=yes]
--enable-lsx use LSX assembly routines [default=yes]
--enable-lasx use LASX assembly routines [default=yes]
- --enable-altivec use Altivec assembly routines [default=yes]
--enable-oss support the OSS audio API [default=maybe]
--enable-alsa support the ALSA audio API [default=yes]
--disable-alsatest Do not try to compile and run a test Alsa program
@@ -18773,129 +18773,6 @@ $as_echo "#define HAVE_IMMINTRIN_H 1" >>confdefs.h
fi
- # Check whether --enable-lsx was given.
-if test "${enable_lsx+set}" = set; then :
- enableval=$enable_lsx;
-else
- enable_lsx=yes
-fi
-
- if test x$enable_lsx = xyes; then
- save_CFLAGS="$CFLAGS"
- have_gcc_lsx=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC -mlsx option" >&5
-$as_echo_n "checking for GCC -mlsx option... " >&6; }
- lsx_CFLAGS="-mlsx"
- CFLAGS="$save_CFLAGS $lsx_CFLAGS"
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
- #ifndef __loongarch_sx
- #error Assembler CPP flag not enabled
- #endif
-
-int
-main ()
-{
-
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
- have_gcc_lsx=yes
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_lsx" >&5
-$as_echo "$have_gcc_lsx" >&6; }
- CFLAGS="$save_CFLAGS"
-
- if test x$have_gcc_lsx = xyes; then
- EXTRA_CFLAGS="$EXTRA_CFLAGS $lsx_CFLAGS"
- SUMMARY_math="${SUMMARY_math} lsx"
- fi
- fi
-
- ac_fn_c_check_header_mongrel "$LINENO" "lsxintrin.h" "ac_cv_header_lsxintrin_h" "$ac_includes_default"
-if test "x$ac_cv_header_lsxintrin_h" = xyes; then :
- have_lsx_h_hdr=yes
-else
- have_lsx_h_hdr=no
-fi
-
-
- if test x$have_lsx_h_hdr = xyes; then
-
-$as_echo "#define HAVE_LSXINTRIN_H 1" >>confdefs.h
-
- fi
-
-
- # Check whether --enable-lasx was given.
-if test "${enable_lasx+set}" = set; then :
- enableval=$enable_lasx;
-else
- enable_LASX=yes
-fi
-
- if test x$enable_LASX = xyes; then
- save_CFLAGS="$CFLAGS"
- have_gcc_lasx=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC -mlasx option" >&5
-$as_echo_n "checking for GCC -mlasx option... " >&6; }
- lasx_CFLAGS="-mlasx"
- CFLAGS="$save_CFLAGS $lasx_CFLAGS"
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
- #ifndef __loongarch_asx
- #error Assembler CPP flag not enabled
- #endif
-
-int
-main ()
-{
-
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
- have_gcc_lasx=yes
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_lasx" >&5
-$as_echo "$have_gcc_lasx" >&6; }
- CFLAGS="$save_CFLAGS"
-
- if test x$have_gcc_lasx = xyes; then
- EXTRA_CFLAGS="$EXTRA_CFLAGS $lasx_CFLAGS"
- SUMMARY_math="${SUMMARY_math} lasx"
- fi
- fi
-
- ac_fn_c_check_header_mongrel "$LINENO" "lasxintrin.h" "ac_cv_header_lasxintrin_h" "$ac_includes_default"
-if test "x$ac_cv_header_lasxintrin_h" = xyes; then :
- have_lasx_h_hdr=yes
-else
- have_lasx_h_hdr=no
-fi
-
-
- if test x$have_lasx_h_hdr = xyes; then
-
-$as_echo "#define HAVE_LASXINTRIN_H 1" >>confdefs.h
-
- fi
-
# Check whether --enable-altivec was given.
if test "${enable_altivec+set}" = set; then :
enableval=$enable_altivec;
@@ -19038,6 +18915,148 @@ $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
fi
fi
+ # Check whether --enable-lsx was given.
+if test "${enable_lsx+set}" = set; then :
+ enableval=$enable_lsx;
+else
+ enable_lsx=yes
+fi
+
+ if test x$enable_lsx = xyes; then
+ save_CFLAGS="$CFLAGS"
+ have_gcc_lsx=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC -mlsx option" >&5
+$as_echo_n "checking for GCC -mlsx option... " >&6; }
+ lsx_CFLAGS="-mlsx"
+ CFLAGS="$save_CFLAGS $lsx_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #ifndef __loongarch_sx
+ #error Assembler CPP flag not enabled
+ #endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ have_gcc_lsx=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_lsx" >&5
+$as_echo "$have_gcc_lsx" >&6; }
+ CFLAGS="$save_CFLAGS"
+
+ if test x$have_gcc_lsx = xyes; then
+ EXTRA_CFLAGS="$EXTRA_CFLAGS $lsx_CFLAGS"
+ SUMMARY_math="${SUMMARY_math} lsx"
+ fi
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lsxintrin.h" >&5
+$as_echo_n "checking for lsxintrin.h... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <lsxintrin.h>
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ have_lsxintrin_h_hdr=yes
+else
+ have_lsxintrin_h_hdr=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lsxintrin_h_hdr" >&5
+$as_echo "$have_lsxintrin_h_hdr" >&6; }
+ if test x$have_lsxintrin_h_hdr = xyes; then
+
+$as_echo "#define HAVE_LSXINTRIN_H 1" >>confdefs.h
+
+ fi
+
+ # Check whether --enable-lasx was given.
+if test "${enable_lasx+set}" = set; then :
+ enableval=$enable_lasx;
+else
+ enable_LASX=yes
+fi
+
+ if test x$enable_LASX = xyes; then
+ save_CFLAGS="$CFLAGS"
+ have_gcc_lasx=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC -mlasx option" >&5
+$as_echo_n "checking for GCC -mlasx option... " >&6; }
+ lasx_CFLAGS="-mlasx"
+ CFLAGS="$save_CFLAGS $lasx_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #ifndef __loongarch_asx
+ #error Assembler CPP flag not enabled
+ #endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ have_gcc_lasx=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_lasx" >&5
+$as_echo "$have_gcc_lasx" >&6; }
+ CFLAGS="$save_CFLAGS"
+
+ if test x$have_gcc_lasx = xyes; then
+ EXTRA_CFLAGS="$EXTRA_CFLAGS $lasx_CFLAGS"
+ SUMMARY_math="${SUMMARY_math} lasx"
+ fi
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lasxintrin.h" >&5
+$as_echo_n "checking for lasxintrin.h... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <lasxintrin.h>
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ have_lasxintrin_h_hdr=yes
+else
+ have_lasxintrin_h_hdr=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lasxintrin_h_hdr" >&5
+$as_echo "$have_lasxintrin_h_hdr" >&6; }
+ if test x$have_lasxintrin_h_hdr = xyes; then
+
+$as_echo "#define HAVE_LASXINTRIN_H 1" >>confdefs.h
+
+ fi
+
CheckOSS()
{
# Check whether --enable-oss was given.
@@ -25064,6 +25083,12 @@ if test "x$ac_cv_header_d3d11_1_h" = xyes; then :
fi
+ ac_fn_c_check_header_mongrel "$LINENO" "d3d12.h" "ac_cv_header_d3d12_h" "$ac_includes_default"
+if test "x$ac_cv_header_d3d12_h" = xyes; then :
+ have_d3d12=yes
+fi
+
+
ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
if test "x$ac_cv_header_ddraw_h" = xyes; then :
have_ddraw=yes
@@ -26421,6 +26446,12 @@ $as_echo "#define SDL_VIDEO_RENDER_D3D11 1" >>confdefs.h
SUMMARY_video="${SUMMARY_video} d3d11"
fi
+ if test x$enable_render_d3d = xyes -a x$have_d3d12 = xyes; then
+
+$as_echo "#define SDL_VIDEO_RENDER_D3D12 1" >>confdefs.h
+
+ SUMMARY_video="${SUMMARY_video} d3d12"
+ fi
fi
# Set up files for the audio library
if test x$enable_audio = xyes; then