X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.in;h=02d8fb22d0aa069580c368c5afd0a831ba7ff26b;hb=be85c5f8882912094ceb499d9f1b3c88049d77f7;hp=c6b5f6b6f16e3ffb925906c58ccad948c5de6e09;hpb=715a927596d13d97d8317dbcd9f6d066392a6bad;p=chise%2Fxemacs-chise.git 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."