[Scummvm-git-logs] scummvm master -> a5955999284580ba87225beadcc760a96c7e0645

digitall dgturner at iee.org
Sun Aug 25 04:21:41 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a595599928 CONFIGURE: Correct Formatting of ICONV Tests


Commit: a5955999284580ba87225beadcc760a96c7e0645
    https://github.com/scummvm/scummvm/commit/a5955999284580ba87225beadcc760a96c7e0645
Author: D G Turner (digitall at scummvm.org)
Date: 2019-08-25T03:19:18+01:00

Commit Message:
CONFIGURE: Correct Formatting of ICONV Tests

No functional change.

Changed paths:
    configure


diff --git a/configure b/configure
index 62eeee9..dfbbdb7 100755
--- a/configure
+++ b/configure
@@ -5241,7 +5241,8 @@ if test "$_iconv" = yes ; then
 	append_var LIBS "$ICONV_LIBS -liconv"
 	append_var INCLUDES "$ICONV_CFLAGS"
 
-# check if iconv uses const char** as it's second parameter
+	# check if iconv uses const char** as it's second parameter
+	_iconv_uses_const=no
 	cat > $TMPC << EOF
 #include <iconv.h>
 int main(void) {
@@ -5251,14 +5252,12 @@ int main(void) {
 	return 0;
 }
 EOF
-		_iconv_uses_const=no
-		cc_check $ICONV_CFLAGS $ICONV_LIBS -liconv && _iconv_uses_const=yes
-		define_in_config_if_yes "$_iconv_uses_const" 'ICONV_USES_CONST'
+	cc_check $ICONV_CFLAGS $ICONV_LIBS -liconv && _iconv_uses_const=yes
+	define_in_config_if_yes "$_iconv_uses_const" 'ICONV_USES_CONST'
 fi
 define_in_config_if_yes "$_iconv" 'USE_ICONV'
 echo "$_iconv"
 
-
 #
 # Enable vkeybd / keymapper / event recorder
 #





More information about the Scummvm-git-logs mailing list