diff configure @ 140:585fb297b004 r20-2b4

Import from CVS: tag r20-2b4
author cvs
date Mon, 13 Aug 2007 09:32:43 +0200
parents b980b6286996
children 318232e2a3f0
line wrap: on
line diff
--- a/configure	Mon Aug 13 09:31:48 2007 +0200
+++ b/configure	Mon Aug 13 09:32:43 2007 +0200
@@ -276,6 +276,8 @@
 			the Motif XmIm* routines (when available).
 			If the XmIm* routines are autodetected,
 			then the default is --with-xim=motif, else --with-xim=no.
+			NOTE:  On some systems like SunOS4 use of this option
+			will cause XEmacs to crash at startup.
 --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
@@ -4518,7 +4520,7 @@
 rm -f conftest*
 
     LIBS="$xim_save_libs"
-    if   test "$have_XmIm" = "yes"; then with_xim=motif
+    if test "$with_xim" = "yes" -a "$have_XmIm" = "yes"; then with_xim=motif
     elif test "$with_xim"  = "yes"; then with_xim=xlib
     else                                 with_xim=no
     fi