On Fri, May 15, 1998 at 04:27:20PM -0700, Martin Buchholz wrote:
Olivier, you're still welcome to try to make a patch using the
hints provided.
Here we are. I really think this will avoid a bunch of bug reports[1]
since lots of people do not read PROBLEMS.
I tried to do that in a clean way. What do you think about it ?
OG.
[1] And crashes, incidentally :-)
1998-05-16 Olivier Galibert <galibert(a)pobox.com>
* configure.in: Don't use Motif on Irix by default. Do warn if
Motif is used anyway.
Index: configure.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/configure.in,v
retrieving revision 1.101
diff -u -r1.101 configure.in
--- configure.in 1998/05/14 06:01:11 1.101
+++ configure.in 1998/05/16 20:26:34
@@ -1498,15 +1500,24 @@
esac
fi
-dnl Use xlc by default on AIX
-case "$opsys" in aix*) NON_GNU_CC=xlc ;; esac
-
stack_trace_eye_catcher=`echo ${PROGNAME}_${version}_${canonical} | sed
'y/.-/__/'`
AC_DEFINE_UNQUOTED(STACK_TRACE_EYE_CATCHER, $stack_trace_eye_catcher)
machfile="m/${machine}.h"
opsysfile="s/${opsys}.h"
+dnl -------------------------
+dnl System dependant defaults
+dnl -------------------------
+
+case "$opsys" in
+ aix*)
+ NON_GNU_CC=xlc ;;
+ irix*)
+ test -z "$with_dialogs" && with_dialogs=athena
+ test -z "$with_xim" && with_xim=xlib ;;
+esac
+
dnl --------------------------------------------------
dnl Determine the compiler, set up for feature testing
dnl --------------------------------------------------
@@ -3947,6 +3964,22 @@
echo " WARNING: Error checking is on by default for XEmacs beta releases."
echo " WARNING: ---------------------------------------------------------"
fi
+
+dnl System-specific warnings
+
+case "$opsys" in
+ irix*)
+ if test "$need_motif" = "yes"; then
+ echo " WARNING:
---------------------------------------------------------"
+ echo " WARNING: Using Motif on Irix often leads to crashes when using
the"
+ echo " WARNING: toolbar copy/paste buttons. This is dependant on your"
+ echo " WARNING: current patching level. If this happens to you,
either"
+ echo " WARNING: recompile without asking for Motif or try to upgrade
your"
+ echo " WARNING: X and Motif related patchsets."
+ echo " WARNING:
---------------------------------------------------------"
+ fi ;;
+esac
+
echo ""
) | tee -a Installation
dnl echo "The above configure report is appended to \"Installation\"
file."