Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3df1abd

Browse files
lazkanaveen521kk
authored andcommitted
configure.ac: Default to --without-c-locale-coercion on Windows
--with-c-locale-coercion otherwise defaults to yes and enables codethat isn't compatible on Windows, mainly because the feature is Unix related.Default to "no" on Windows instead.Fixespython#36
1 parent6b64bcc commit3df1abd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎configure.ac

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4974,11 +4974,14 @@ AC_MSG_RESULT([$with_freelists])
49744974
AC_MSG_CHECKING([for --with-c-locale-coercion])
49754975
AC_ARG_WITH(
49764976
[c-locale-coercion],
4977-
[AS_HELP_STRING([--with-c-locale-coercion],[enable C locale coercion to a UTF-8 based locale (default is yes)])])
4977+
[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)])])
49784978

49794979
if test -z "$with_c_locale_coercion"
49804980
then
4981-
with_c_locale_coercion="yes"
4981+
case $host in
4982+
*-*-mingw*) with_c_locale_coercion="no";;
4983+
*) with_c_locale_coercion="yes";;
4984+
esac
49824985
fi
49834986
if test "$with_c_locale_coercion" != "no"
49844987
then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp