diff options
author | D G Turner | 2019-08-25 03:19:18 +0100 |
---|---|---|
committer | D G Turner | 2019-08-25 03:19:18 +0100 |
commit | a5955999284580ba87225beadcc760a96c7e0645 (patch) | |
tree | eee924c031a31b632af05954a67a7520560d45d8 /configure | |
parent | e2ab8198a79a79a389db0debee9e774df6dc2ee4 (diff) | |
download | scummvm-rg350-a5955999284580ba87225beadcc760a96c7e0645.tar.gz scummvm-rg350-a5955999284580ba87225beadcc760a96c7e0645.tar.bz2 scummvm-rg350-a5955999284580ba87225beadcc760a96c7e0645.zip |
CONFIGURE: Correct Formatting of ICONV Tests
No functional change.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 # |