Commit 2555b9ee authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Provide --enable-non-utf8 as in 1.2.0 but keep it on by default

parent 9130fe63
......@@ -268,6 +268,8 @@ case "${host_os}" in
enable_asademux="yes"
echo " Assuming --enable-asademux"
enable_non_utf8="no"
echo " Assuming --disable-non-utf8"
enable_skins2="no"
echo " Assuming --disable-skins2"
enable_xcb="no"
......@@ -926,6 +928,17 @@ fi
AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
dnl Manual switch for UTF-8
AC_ARG_ENABLE(non-utf8,
[ --enable-non-utf8 Legacy non-UTF-8 systems support (default enabled)], [
enable_non_utf8="yes"
])
AS_IF([test "${enable_non_utf8}" != "no"], [
AC_DEFINE([ASSUME_UTF8], [1],
[Define to 1 if the operating system uses UTF-8 internally])
])
dnl Check for dbus
AC_ARG_ENABLE(dbus,
[ --enable-dbus Linux D-BUS message bus system (default enabled)])
......
......@@ -42,11 +42,6 @@
#endif
#include <errno.h>
#if defined (__APPLE__) || defined (HAVE_MAEMO)
/* Define this if the OS always use UTF-8 internally */
# define ASSUME_UTF8 1
#endif
#if defined (ASSUME_UTF8)
/* Cool */
#elif defined (WIN32) || defined (UNDER_CE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment