configure.in contains the following:
---------------------------
*:i*86*:2.7.2*)
case "$GCC_VERSION" in
2.7.2)
case "$CFLAGS" in
*-O2*|*-O3*)
case "$CFLAGS" in
*-fno-strength-reduce*) ;;
*)
AC_MSG_RESULT(yes)
AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under
Intel/XXX without also using)
AC_MSG_WARN(-fno-strength-reduce.)
AC_MSG_ERROR(Aborting due to known problem)
;;
esac
;;
esac
;;
esac
case "$CFLAGS" in
*-fno-caller-saves*) ;;
*)
AC_MSG_RESULT(yes)
AC_MSG_WARN(Don't use -O2 with gcc 2.7.2 under Intel/XXX without also
using)
AC_MSG_WARN(-fno-caller-saves.)
AC_MSG_ERROR(Aborting due to known problem)
;;
esac
;;
-----------------------------
what exactly is the point pf the second block? Do we really want to
prevent people using -O1 or no optimisation at all from building
XEmacs. If so, we should adjust the message.
Gunnar