From 287e60c284f15ab2a67c59203019cf8aaa2500ac Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Sun, 21 Mar 2010 17:40:44 +0100 Subject: [PATCH] add --disable-unicode configure option * binary is now compiled as Unicode by default * --disable-unicode will use the default codepage --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index e326867..4758c44 100644 --- a/configure.ac +++ b/configure.ac @@ -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"