diff options
author | Robb Matzke <matzke@llnl.gov> | 2000-04-07 15:25:41 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 2000-04-07 15:25:41 (GMT) |
commit | 66a43d665b418daeb2ec397cc72b25d057ae62a5 (patch) | |
tree | e820cbd6db886be30af2a843c6d38da6795310f6 /configure.in | |
parent | 4bf08f12bab7b8db549e73ce82edb7a9e7077981 (diff) | |
download | hdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.zip hdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.tar.gz hdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.tar.bz2 |
[svn-r2086] Fixed bytesex error
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index fb7b3a3..7ab2e92 100644 --- a/configure.in +++ b/configure.in @@ -1104,10 +1104,10 @@ AC_SUBST(CONFIG_MODE) # Byte sex from the AC_C_BIGENDIAN macro. AC_SUBST(BYTESEX) -if test "X-$WORDS_BIGENDIAN" = "X-"; then - BYTESEX="little-endian" -else +if test $ac_cv_c_bigendian = yes; then BYTESEX="big-endian" +else + BYTESEX="little-endian" fi # Are we compiling static libraries, shared libraries, or both? |