From 0022f21dcb57a3908745ce1b2705d41e9c2f20f0 Mon Sep 17 00:00:00 2001
From: Tatsuo Ishii <ishii@postgresql.org>
Date: Thu, 30 Dec 1999 08:33:49 +0000
Subject: [PATCH] Allow --with-mb=SQL_ASCII

---
 src/configure    | 4 ++--
 src/configure.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/configure b/src/configure
index c67d0fcbee0..f78622a65d2 100755
--- a/src/configure
+++ b/src/configure
@@ -858,11 +858,11 @@ if test "${with_mb+set}" = set; then
   withval="$with_mb"
   
 	case "$withval" in
-	EUC_JP|EUC_CN|EUC_KR|EUC_TW|UNICODE|MULE_INTERNAL|LATIN1|LATIN2|LATIN3|LATIN4|LATIN5|KOI8|WIN|ALT)
+	SQL_ASCII|EUC_JP|EUC_CN|EUC_KR|EUC_TW|UNICODE|MULE_INTERNAL|LATIN1|LATIN2|LATIN3|LATIN4|LATIN5|KOI8|WIN|ALT)
 	    echo "$ac_t"""enabled with $withval"" 1>&6
             ;;
 	*)
-	    { echo "configure: error: *** You must supply an argument to the --with-mb option one of EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1-5,KOI8,WIN,ALT" 1>&2; exit 1; }
+	    { echo "configure: error: *** You must supply an argument to the --with-mb option one of SQL_ASCII,EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1-5,KOI8,WIN,ALT" 1>&2; exit 1; }
 	  ;;
 	esac
 	MULTIBYTE="$withval"
diff --git a/src/configure.in b/src/configure.in
index c1eeaee0d91..5fb579cc5d8 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -238,11 +238,11 @@ AC_ARG_WITH(mb,
     [  --with-mb=<encoding>    enable multi-byte support ], 
     [
 	case "$withval" in
-	EUC_JP|EUC_CN|EUC_KR|EUC_TW|UNICODE|MULE_INTERNAL|LATIN1|LATIN2|LATIN3|LATIN4|LATIN5|KOI8|WIN|ALT)
+	SQL_ASCII|EUC_JP|EUC_CN|EUC_KR|EUC_TW|UNICODE|MULE_INTERNAL|LATIN1|LATIN2|LATIN3|LATIN4|LATIN5|KOI8|WIN|ALT)
 	    AC_MSG_RESULT("enabled with $withval")
             ;;
 	*)
-	    AC_MSG_ERROR([*** You must supply an argument to the --with-mb option one of EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1-5,KOI8,WIN,ALT])
+	    AC_MSG_ERROR([*** You must supply an argument to the --with-mb option one of SQL_ASCII,EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1-5,KOI8,WIN,ALT])
 	  ;;
 	esac
 	MULTIBYTE="$withval"
-- 
GitLab