correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-08-26 12:35:42 +00:00
parent 0624b4457e
commit c8f892953b
18 changed files with 29 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ AC_CACHE_CHECK([whether byte order is known at compile time],
krb_cv_c_bigendian_compile,
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <sys/param.h>]],[[
#include <sys/param.h>
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif]])],[krb_cv_c_bigendian_compile=yes],[krb_cv_c_bigendian_compile=no])])
@@ -26,7 +26,7 @@ AC_CACHE_CHECK(whether byte ordering is bigendian, krb_cv_c_bigendian,[
if test "$krb_cv_c_bigendian_compile" = "yes"; then
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <sys/param.h>]],[[
#include <sys/param.h>
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif]])],[krb_cv_c_bigendian=yes],[krb_cv_c_bigendian=no])