diff --git a/acinclude.m4 b/acinclude.m4 index 0f77f7d51e..455269592a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -396,7 +396,7 @@ size_t iconv(); ) iconv_const= - if test "x$wx_cv_func_iconv_const" != "xyes"; then + if test "x$wx_cv_func_iconv_const" = "xyes"; then iconv_const="const" fi diff --git a/aclocal.m4 b/aclocal.m4 index 95e83ca11f..5897275add 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -408,7 +408,7 @@ size_t iconv(); ) iconv_const= - if test "x$wx_cv_func_iconv_const" != "xyes"; then + if test "x$wx_cv_func_iconv_const" = "xyes"; then iconv_const="const" fi diff --git a/configure b/configure index 875ebebf09..ff903f0f18 100755 --- a/configure +++ b/configure @@ -15237,7 +15237,7 @@ fi echo "$ac_t""$wx_cv_func_iconv_const" 1>&6 iconv_const= - if test "x$wx_cv_func_iconv_const" != "xyes"; then + if test "x$wx_cv_func_iconv_const" = "xyes"; then iconv_const="const" fi