From 1150f37e56194e6a1f303d7ffcfd308b577cc48c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 8 Jan 2000 09:57:21 +0000 Subject: [PATCH] fix cache variable names git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7768 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/krb-bigendian.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cf/krb-bigendian.m4 b/cf/krb-bigendian.m4 index 9aa62b8ff..aae1ef293 100644 --- a/cf/krb-bigendian.m4 +++ b/cf/krb-bigendian.m4 @@ -22,7 +22,7 @@ krb_cv_c_bigendian_compile, #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif], krb_cv_c_bigendian_compile=yes, krb_cv_c_bigendian_compile=no) -if test "$krb_cv_cv_bigendian_compile" = no; then +if test "$krb_cv_c_bigendian_compile" = "no"; then AC_CACHE_CHECK(whether byte ordering is bigendian, krb_cv_c_bigendian,[ if test "$krb_cv_c_bigendian" = ""; then krb_cv_c_bigendian=unknown @@ -47,9 +47,12 @@ if test "$krb_cv_cv_bigendian_compile" = no; then AC_MSG_ERROR([specify either --enable-bigendian or --enable-littleendian])) fi ]) - if test "$krb_cv_bigendian" = "yes"; then + if test "$krb_cv_c_bigendian" = "yes"; then AC_DEFINE(WORDS_BIGENDIAN, 1, [define if target is big endian])dnl fi fi ]) +if test "$krb_cv_c_bigendian_compile" = "yes"; then + AC_DEFINE(ENDIANESS_IN_SYS_PARAM_H, 1, [define if sys/param.h defines the endiness])dnl +fi ])