summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-04-21 19:34:43 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-04-21 19:34:43 (GMT)
commita5a0657220c8d631baf68259fc67c6fe3b738da7 (patch)
treed56efa3d5745b36a55c98b73493947377ccf2df2 /configure.in
parent66278363c4b271b22ca1cdd55a0cfebbdbedc2e5 (diff)
downloadhdf5-a5a0657220c8d631baf68259fc67c6fe3b738da7.zip
hdf5-a5a0657220c8d631baf68259fc67c6fe3b738da7.tar.gz
hdf5-a5a0657220c8d631baf68259fc67c6fe3b738da7.tar.bz2
[svn-r2181] ./RELEASE
./configure.in Fixed the bug that caused libhdf5.settings to sometimes list the wrong byte-sex.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 61ede89..b4d7bc7 100644
--- a/configure.in
+++ b/configure.in
@@ -801,10 +801,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?