From 25a6ad0e06f6102c84ee73e80c7467891495ffdf Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 14 May 2022 17:22:50 +0300
Subject: [PATCH] regenerated configure.
---
configure | 60 ++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 46 insertions(+), 14 deletions(-)
diff --git a/configure b/configure
index a054c30..8168c6a 100755
--- a/configure
+++ b/configure
@@ -950,12 +950,14 @@ enable_bmp
enable_gif
enable_jpg
enable_jpg_shared
+enable_save_jpg
enable_jxl
enable_jxl_shared
enable_lbm
enable_pcx
enable_png
enable_png_shared
+enable_save_png
enable_pnm
enable_svg
enable_tga
@@ -1639,12 +1641,14 @@ Optional Features:
--enable-gif support loading GIF images [default=yes]
--enable-jpg support loading JPG images [default=yes]
--enable-jpg-shared dynamically load JPG support [default=yes]
+ --enable-save-jpg support saving JPG images [default=yes]
--enable-jxl support loading JXL images [default=yes]
--enable-jxl-shared dynamically load JXL support [default=yes]
--enable-lbm support loading LBM images [default=yes]
--enable-pcx support loading PCX images [default=yes]
--enable-png support loading PNG images [default=yes]
--enable-png-shared dynamically load PNG support [default=yes]
+ --enable-save-png support saving PNG images [default=yes]
--enable-pnm support loading PNM images [default=yes]
--enable-svg support loading SVG images [default=yes]
--enable-tga support loading TGA images [default=yes]
@@ -4111,13 +4115,13 @@ if ${lt_cv_nm_interface+:} false; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:4114: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:4118: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:4117: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:4121: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:4120: output\"" >&5)
+ (eval echo "\"\$as_me:4124: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -5331,7 +5335,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5334 "configure"' > conftest.$ac_ext
+ echo '#line 5338 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7156,11 +7160,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7159: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7163: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7163: \$? = $ac_status" >&5
+ echo "$as_me:7167: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7505,11 +7509,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7508: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7512: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7512: \$? = $ac_status" >&5
+ echo "$as_me:7516: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7610,11 +7614,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7613: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7617: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7617: \$? = $ac_status" >&5
+ echo "$as_me:7621: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -7665,11 +7669,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7668: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7672: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7672: \$? = $ac_status" >&5
+ echo "$as_me:7676: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10100,7 +10104,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10103 "configure"
+#line 10107 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10196,7 +10200,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10199 "configure"
+#line 10203 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12847,6 +12851,13 @@ else
enable_jpg_shared=yes
fi
+# Check whether --enable-save-jpg was given.
+if test "${enable_save_jpg+set}" = set; then :
+ enableval=$enable_save_jpg;
+else
+ enable_save_jpg=yes
+fi
+
# Check whether --enable-jxl was given.
if test "${enable_jxl+set}" = set; then :
enableval=$enable_jxl;
@@ -12889,6 +12900,13 @@ else
enable_png_shared=yes
fi
+# Check whether --enable-save-png was given.
+if test "${enable_save_png+set}" = set; then :
+ enableval=$enable_save_png;
+else
+ enable_save_png=yes
+fi
+
# Check whether --enable-pnm was given.
if test "${enable_pnm+set}" = set; then :
enableval=$enable_pnm;
@@ -14713,6 +14731,20 @@ _ACEOF
fi
fi
fi
+if test x$enable_save_png = xyes; then
+ $as_echo "#define SDL_IMAGE_SAVE_PNG 1" >>confdefs.h
+
+else
+ $as_echo "#define SDL_IMAGE_SAVE_PNG 0" >>confdefs.h
+
+fi
+if test x$enable_save_jpg = xyes; then
+ $as_echo "#define SDL_IMAGE_SAVE_JPG 1" >>confdefs.h
+
+else
+ $as_echo "#define SDL_IMAGE_SAVE_JPG 0" >>confdefs.h
+
+fi