summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-10 13:24:58 +0100
committerWerner Koch <wk@gnupg.org>2010-03-10 13:24:58 +0100
commitd8b1099d01ebc1d305d47ec6dcb326980ad56396 (patch)
treecb92563d8b116872c34ad26dcdacfd02ed3da04a /acinclude.m4
parentFix for latest libgpg-error. (diff)
downloadgnupg2-d8b1099d01ebc1d305d47ec6dcb326980ad56396.tar.xz
gnupg2-d8b1099d01ebc1d305d47ec6dcb326980ad56396.zip
Merged jnlib into common.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d8f2e174b..28366ee38 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -103,6 +103,7 @@ dnl
AC_DEFUN([GNUPG_CHECK_ENDIAN],
[
tmp_assumed_endian=big
+ tmp_assume_warn=""
if test "$cross_compiling" = yes; then
case "$host_cpu" in
i@<:@345678@:>@* )
@@ -111,7 +112,6 @@ AC_DEFUN([GNUPG_CHECK_ENDIAN],
*)
;;
esac
- AC_MSG_WARN(cross compiling; assuming $tmp_assumed_endian endianess)
fi
AC_MSG_CHECKING(endianess)
AC_CACHE_VAL(gnupg_cv_c_endian,
@@ -141,10 +141,11 @@ AC_DEFUN([GNUPG_CHECK_ENDIAN],
gnupg_cv_c_endian=little,
gnupg_cv_c_endian=big,
gnupg_cv_c_endian=$tmp_assumed_endian
+ tmp_assumed_warn=" (assumed)"
)
fi
])
- AC_MSG_RESULT([$gnupg_cv_c_endian])
+ AC_MSG_RESULT([${gnupg_cv_c_endian}${tmp_assumed_warn}])
if test "$gnupg_cv_c_endian" = little; then
AC_DEFINE(LITTLE_ENDIAN_HOST,1,
[Defined if the host has little endian byte ordering])