summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 345c290173a..81824ed835e 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -199,6 +199,24 @@ AC_ARG_ENABLE(
AC_MSG_RESULT(disabled)
)
+AC_MSG_CHECKING(setting MB)
+AC_ARG_WITH(mb,
+ [ --with-mb=<encoding> enable multi-byte support ],
+ [
+ case "$withval" in
+ EUC_JP|EHC_CN|EUC_KR|EUC_TW|UNICODE|MULE_INTERNAL)
+ MB="$withval";
+ AC_MSG_RESULT("enabled with $withval")
+ ;;
+ *)
+ AC_MSG_ERROR([*** You must supply an argument to the --with-mb option one of EUC_JP,EHC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL])
+ ;;
+ esac
+ MB="$withval"
+ ],
+ AC_MSG_RESULT("disabled")
+)
+
dnl We use the default value of 5432 for the DEF_PGPORT value. If
dnl we over-ride it with --with-pgport=port then we bypass this piece
AC_MSG_CHECKING(setting DEF_PGPORT)
@@ -305,6 +323,7 @@ AC_SUBST(DLSUFFIX)
AC_SUBST(DL_LIB)
AC_SUBST(USE_TCL)
AC_SUBST(USE_PERL)
+AC_SUBST(MB)
dnl ****************************************************************
dnl Hold off on the C++ stuff until we can figure out why it doesn't