add --disable-unicode configure option

* binary is now compiled as Unicode by default
 * --disable-unicode will use the default codepage
pull/1/head
Heiko Hund 15 years ago
parent 61cb987f4d
commit 287e60c284

@ -19,6 +19,11 @@ AC_DEFINE(PACKAGE_RELEASE, [RELEASE],
AC_PROG_CC_C99
AC_ARG_ENABLE([unicode],
AS_HELP_STRING([--disable-unicode],
[produce a binary without Unicode support]), [],
[CPPFLAGS="$CPPFLAGS -DUNICODE -D_UNICODE"])
# Build Win32 native binaries
CFLAGS="$CFLAGS -mno-cygwin"
CPPFLAGS="$CPPFLAGS -mno-cygwin"

Loading…
Cancel
Save