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

Commite5b6b0e

Browse files
committed
Add new configure option "--enable-uniconv" that enables automatic
code conversion between Unicode and other encodings. Note thatthis option requires --enable-multibyte also.The reason why this is optional is that the feature requires hugemapping tables and I don't think every user need the feature.
1 parentdd9dcd5 commite5b6b0e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

‎configure.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ Or do not specify an argument to the option to use the default.]);;
201201

202202
AC_SUBST(MULTIBYTE)
203203

204+
#
205+
# Unicode conversion (--enable-uniconv)
206+
#
207+
AC_MSG_CHECKING([whether to build with Unicode conversion support])
208+
PGAC_ARG_BOOL(enable, uniconv, no, [ --enable-uniconv enable unicode conversion support],
209+
[AC_DEFINE([UNICODE_CONVERSION], 1,
210+
[Set to 1 if you want Unicode conversion support (--enable-uniconv)])])
211+
AC_MSG_RESULT([$enable_uniconv])
204212

205213
#
206214
# Default port number (--with-pgport), default 5432

‎src/include/config.h.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* or in config.h afterwards. Of course, if you edit config.h, then your
99
* changes will be overwritten the next time you run configure.
1010
*
11-
* $Id: config.h.in,v 1.144 2000/10/23 14:49:45 momjian Exp $
11+
* $Id: config.h.in,v 1.145 2000/10/30 07:17:31 ishii Exp $
1212
*/
1313

1414
#ifndefCONFIG_H
@@ -42,6 +42,9 @@
4242
/* Set to 1 if you want to use multibyte characters (--enable-multibyte) */
4343
#undef MULTIBYTE
4444

45+
/* Set to 1 if you want Unicode conversion support (--enable-uniconv) */
46+
#undef UNICODE_CONVERSION
47+
4548
/* Set to 1 if you want ASSERT checking (--enable-cassert) */
4649
#undef USE_ASSERT_CHECKING
4750

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp