diff acinclude.m4 @ 9805:bb70d16cca3b

fail at configure time if IEEE floating point format is not detected
author John W. Eaton <jwe@octave.org>
date Wed, 11 Nov 2009 13:46:50 -0500
parents 0d4613a736e9
children 763906db555e
line wrap: on
line diff
--- a/acinclude.m4	Wed Nov 11 13:17:34 2009 -0500
+++ b/acinclude.m4	Wed Nov 11 13:46:50 2009 -0500
@@ -978,6 +978,13 @@
 fi
 if test "$octave_cv_ieee754_data_format" = yes; then
   AC_DEFINE(HAVE_IEEE754_DATA_FORMAT, 1, [Define if your system uses IEEE 754 data format.])
+else
+  ## If the format is unknown, then you will probably not have a
+  ## useful system, so we will abort here.  Anyone wishing to
+  ## experiment with building Octave on a system without IEEE
+  ## floating point should be capable of removing this check and
+  ## the one in the octave_ieee_init function in liboctave/lo-ieee.cc.
+  AC_MSG_ERROR([IEEE 754 data format required for building Octave])
 fi
 ])
 dnl