summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-04-07 15:25:41 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-04-07 15:25:41 (GMT)
commit66a43d665b418daeb2ec397cc72b25d057ae62a5 (patch)
treee820cbd6db886be30af2a843c6d38da6795310f6
parent4bf08f12bab7b8db549e73ce82edb7a9e7077981 (diff)
downloadhdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.zip
hdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.tar.gz
hdf5-66a43d665b418daeb2ec397cc72b25d057ae62a5.tar.bz2
[svn-r2086] Fixed bytesex error
-rw-r--r--configure.in6
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?