summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-11 12:40:14 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-11 12:51:00 +0200
commiteb067389c5d9b031e50b849b73a22b0a0aab7a09 (patch)
tree017aa4cd10fe42bd5332eaf99c79195fd71daf37 /configure.ac
parentefd53706481a717ae60f4c845ecfcb19573bacfb (diff)
downloadgnutls-tmp-added-x86-build.tar.gz
tests: improved detection of 64-bit systemstmp-added-x86-build
We now use the ${ac_cv_sizeof_unsigned_long_int} variable which gives the numbers used in the host system, not the build one. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 505b911de2..bce0d9f7ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -698,6 +698,9 @@ AC_CHECK_TYPE(ssize_t,
AC_CHECK_SIZEOF(unsigned long int, 4)
AC_CHECK_SIZEOF(unsigned int, 4)
+# export for use in scripts
+AC_SUBST(ac_cv_sizeof_unsigned_long_int)
+
AC_SUBST(GNUTLS_REQUIRES_PRIVATE)