From 66a43d665b418daeb2ec397cc72b25d057ae62a5 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Fri, 7 Apr 2000 10:25:41 -0500 Subject: [svn-r2086] Fixed bytesex error --- configure.in | 6 +++--- 1 file 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? -- cgit v0.12