* add libb2 as dep * remove "-Wl,--large-address-aware", default now via makepkg * remove 2to3 logic, no longer in Python
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 311aa31884f3ac1696bd8565c08a30569f831bb3 Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Fri, 22 Apr 2022 17:31:19 +0200
|
|
Subject: [PATCH 070/N] configure.ac: Default to --without-c-locale-coercion
|
|
on Windows
|
|
|
|
--with-c-locale-coercion otherwise defaults to yes and enables code
|
|
that isn't compatible on Windows, mainly because the feature is Unix related.
|
|
|
|
Default to "no" on Windows instead.
|
|
|
|
Fixes #36
|
|
---
|
|
configure.ac | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 7f5196d..ba346da 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -5285,11 +5285,14 @@ AC_MSG_RESULT([$with_freelists])
|
|
AC_MSG_CHECKING([for --with-c-locale-coercion])
|
|
AC_ARG_WITH(
|
|
[c-locale-coercion],
|
|
- [AS_HELP_STRING([--with-c-locale-coercion], [enable C locale coercion to a UTF-8 based locale (default is yes)])])
|
|
+ [AS_HELP_STRING([--with-c-locale-coercion], [enable C locale coercion to a UTF-8 based locale (default is yes on Unix, no on Windows)])])
|
|
|
|
if test -z "$with_c_locale_coercion"
|
|
then
|
|
- with_c_locale_coercion="yes"
|
|
+ case $host in
|
|
+ *-*-mingw*) with_c_locale_coercion="no";;
|
|
+ *) with_c_locale_coercion="yes";;
|
|
+ esac
|
|
fi
|
|
if test "$with_c_locale_coercion" != "no"
|
|
then
|