summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-11-18 10:33:39 +0200
committerTor Lillqvist <tml@collabora.com>2020-11-18 18:18:40 +0100
commite58213ebfc60d639198ce86723878c6d948d8170 (patch)
tree4875e494c9a463a1d8a237265f4d8e07dbf0a5eb
parent1cb9a11e69b8d009d38f1d61f220ccf01312d43e (diff)
AC_CHECK_SIZEOF works fine when cross-compiling, no need to hard-code for iOS
Possibly it didn't work when cross-compiling back when that hard-coding was added. Change-Id: I763d26ae1922907265636ba0be0757700bfe2a8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106058 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--configure.ac10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 250f43054e17..abaceb94ee0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6625,22 +6625,12 @@ dnl ===================================================================
if test "$_os" != "WINNT"; then
-if test "$_os" = "iOS"; then
- AC_MSG_CHECKING([iOS setting sizes long, short, int, long long, double, voidp])
- ac_cv_sizeof_long=8
- ac_cv_sizeof_short=2
- ac_cv_sizeof_int=4
- ac_cv_sizeof_long_long=8
- ac_cv_sizeof_double=8
- ac_cv_sizeof_voidp=8
-else
AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long long)
AC_CHECK_SIZEOF(double)
AC_CHECK_SIZEOF(void*)
-fi
SAL_TYPES_SIZEOFSHORT=$ac_cv_sizeof_short
SAL_TYPES_SIZEOFINT=$ac_cv_sizeof_int