move ENDIANESS_IN_SYS_PARAM_H tests here

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11272 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-28 19:20:19 +00:00
parent e6afe2c453
commit 7e6b606cf4

View File

@@ -50,4 +50,13 @@ 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
AH_BOTTOM([
#if ENDIANESS_IN_SYS_PARAM_H
# include <sys/types.h>
# include <sys/param.h>
# if BYTE_ORDER == BIG_ENDIAN
# define WORDS_BIGENDIAN 1
# endif
#endif
])
])