changeset 602:8b6294ae881e

[project @ 1994-08-13 16:29:27 by jwe]
author jwe
date Sat, 13 Aug 1994 16:29:27 +0000
parents 40fd0c98467a
children 0e591d3900dd
files configure.in
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Aug 13 16:06:21 1994 +0000
+++ b/configure.in	Sat Aug 13 16:29:27 1994 +0000
@@ -21,7 +21,7 @@
 dnl along with Octave; see the file COPYING.  If not, write to the Free
 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-AC_REVISION($Revision: 1.37 $)dnl
+AC_REVISION($Revision: 1.38 $)dnl
 AC_PREREQ(1.8)dnl
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h)
@@ -242,16 +242,20 @@
 AC_SCO_INTL
 AC_XENIX_DIR
 dnl
-dnl How big are ints?
+dnl How big are ints and how are they oriented?
 dnl
 AC_SIZEOF_TYPE(short)
 AC_SIZEOF_TYPE(int)
 AC_SIZEOF_TYPE(long)
+AC_WORDS_BIGENDIAN
 dnl
 dnl Try to determine the floating point format.
 dnl
 AC_CHECKING([floating point format])
-${CC-cc} -DDP $CFLAGS $LDFLAGS $srcdir/float-type.c -o conftest >/dev/null 2>&1
+changequote(,)dnl
+XCFLAGS=`echo $CFLAGS | sed 's/-O[^ \t]*//'`
+changequote([,])dnl
+${CC-cc} -DDP $XCFLAGS $LDFLAGS $srcdir/float-type.c -o conftest >/dev/null 2>&1
 FLOAT_FORMAT=`./conftest`
 case "$FLOAT_FORMAT" in
   IEEE_BIG_ENDIAN)