From: tomo Date: Thu, 9 Sep 1999 06:11:25 +0000 (+0000) Subject: Add new option `--with-text-coding'; define `TEXT_CODING' if it is X-Git-Tag: r21-2-19-utf-2000-0_6-1~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0115b3234c593a6c737a135a3aaa32cee5b9a98e;p=chise%2Fxemacs-chise.git Add new option `--with-text-coding'; define `TEXT_CODING' if it is specified. --- diff --git a/configure.in b/configure.in index c6b5f6b..02d8fb2 100644 --- a/configure.in +++ b/configure.in @@ -498,6 +498,7 @@ while test $# != 0; do with_i18n3 | \ with_mule | \ with_utf_2000 | \ + with_text_coding| \ with_file_coding| \ with_canna | \ with_wnn | \ @@ -2987,8 +2988,13 @@ if test "$with_mule" = "yes" ; then AC_CHECKING(for Mule-related features) AC_DEFINE(MULE) AC_DEFINE(FILE_CODING) - XE_ADD_OBJS(mule.o mule-ccl.o mule-charset.o file-coding.o) - + XE_ADD_OBJS(mule.o mule-ccl.o mule-charset.o) + if test "$with_utf_2000" = "yes" && test "$with_text_coding" = "yes"; then + AC_DEFINE(TEXT_CODING) + XE_ADD_OBJS(text-coding.o) + else + XE_ADD_OBJS(file-coding.o) + fi dnl Use -lintl to get internationalized strerror for Mule AC_CHECK_HEADERS(libintl.h) AC_CHECK_LIB(intl, strerror) @@ -4115,6 +4121,7 @@ test "$with_gpm" = yes && echo " Compiling in support for GPM (General Pur test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." test "$with_utf_2000" = yes && echo " Using UTF-2000 (UTF-8) buffer/string representation." +test "$with_text_coding" = yes && echo " Compiling in Text coding support." test "$with_file_coding" = yes && echo " Compiling in File coding support." test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." test "$with_xim" = motif && echo " Using Motif to provide XIM support."