changeset 28904:69590d5c32cf

Fix compilation with --charset=noconv
author reimar
date Fri, 13 Mar 2009 16:42:42 +0000
parents 1d34931ae1e6
children b538600d545c
files configure
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Mar 12 11:55:26 2009 +0000
+++ b/configure	Fri Mar 13 16:42:42 2009 +0000
@@ -7768,13 +7768,11 @@
 # --------------- GUI specific tests end -------------------
 
 
-if test "$_charset" = "noconv" ; then
-  _charset=""
-fi
-if test "$_charset" ; then
+if test "$_charset" != "noconv" ; then
   def_charset="#define MSG_CHARSET \"$_charset\""
 else
   def_charset="#undef MSG_CHARSET"
+  _charset="UTF-8"
 fi
 
 if test -n "$_charset" && test "$_charset" != "UTF-8" ; then