diff configure @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 6a43545367ac
children 4be1180a9e89
line wrap: on
line diff
--- a/configure	Mon Aug 13 09:12:43 2007 +0200
+++ b/configure	Mon Aug 13 09:13:56 2007 +0200
@@ -100,7 +100,7 @@
 native_sound_lib=''
 # make normal error-checking be the default in alpha and beta versions, so
 # that bugs get noticed.  Change this for released versions.
-error_check_default='no'
+error_check_default='yes'
 error_check_extents=$error_check_default
 error_check_typecheck=$error_check_default
 error_check_bufpos=$error_check_default
@@ -273,11 +273,13 @@
 			the Motif XmIm* routines (when available).
 			If the XmIm* routines are autodetected,
 			then the default is --with-xim=motif, else --with-xim=no.
---with-canna		Compile with support for Canna (an input method
+--with-canna		Compile with support for Canna (a Japanese input method
+			used in conjunction with Mule support).
+--with-wnn		Compile with support for WNN (a multi-language input method
 			used in conjunction with Mule support).
---with-wnn		Compile with support for WNN (an input method
-			used in conjunction with Mule support).
-			This doesn't work yet.
+			This is beta level code.
+--with-wnn6		Compile with support for WNN version 6
+			This is alpha level code.
 --with-i18n3		Compile with I18N level 3 (support for message
 			translation).  This doesn't currently work.
 
@@ -409,6 +411,7 @@
 	with_mule	| \
 	with_canna	| \
 	with_wnn	| \
+	with_wnn6	| \
 	with_mocklisp	| \
 	with_energize	| \
 	with_sparcworks | \
@@ -4417,11 +4420,14 @@
 \${ac_eA}XIM_MOTIF\${ac_eB}XIM_MOTIF\${ac_eC}1\${ac_eD}
 "
 }
-
+  fi
+  # wnn6 implies wnn support
+  if test "$with_wnn6" = "yes" ; then
+    with_wnn=yes
   fi
 else # Other internationalization features depend on Mule
   with_mule="no"
-  for feature in xim canna wnn ; do
+  for feature in xim canna wnn wnn6 ; do
     if eval "test -n \"\$with_$feature\" -a \"\$with_$feature\" != no" ; then
       echo "configure: warning: --with-$feature ignored:  Not valid without Mule support" >&2
     fi
@@ -6515,6 +6521,18 @@
 "
 }
 
+test "${with_wnn6}" = yes && 
+{
+test -n "$verbose" && \
+echo "	defining WNN6"
+echo "#define" WNN6 "1" >> confdefs.h
+DEFS="$DEFS -DWNN6=1"
+ac_sed_defs="${ac_sed_defs}\${ac_dA}WNN6\${ac_dB}WNN6\${ac_dC}1\${ac_dD}
+\${ac_uA}WNN6\${ac_uB}WNN6\${ac_uC}1\${ac_uD}
+\${ac_eA}WNN6\${ac_eB}WNN6\${ac_eC}1\${ac_eD}
+"
+}
+
 test "${with_mock}" = yes && 
 {
 test -n "$verbose" && \
@@ -6947,7 +6965,8 @@
 test "$with_xim" = motif    && echo "    Using Motif to provide XIM support."
 test "$with_xim" = xlib     && echo "    Using raw Xlib to provide XIM support."
 test "$with_canna"    = yes && echo "  Compiling in support for Canna on Mule."
-test "$with_wnn"      = yes && echo "  Compiling in support for WNN on Mule (doesn't currently work)."
+test "$with_wnn"      = yes && echo "  Compiling in support for WNN on Mule."
+test "$with_wnn6"     = yes && echo "  WNN support for version 6."
 test "$with_i18n3"    = yes && echo "  Compiling in I18N support, level 3 (doesn't currently work)."
 
 test "$with_cde"      = yes && echo "  Compiling in support for CDE."