aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/check-libc.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index 066b394..2a379ae 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -149,6 +149,11 @@ fi
149]) 149])
150 150
151AC_DEFUN([GENERATE_CRYPTO_PORTABLE_SYM], [ 151AC_DEFUN([GENERATE_CRYPTO_PORTABLE_SYM], [
152AS_CASE([$host_cpu],
153 [i?86], [HOSTARCH=intel],
154 [x86_64], [HOSTARCH=intel],
155)
156AC_SUBST([HOSTARCH])
152crypto_sym=$srcdir/crypto/crypto.sym 157crypto_sym=$srcdir/crypto/crypto.sym
153crypto_p_sym=./crypto/crypto_portable.sym 158crypto_p_sym=./crypto/crypto_portable.sym
154echo "generating $crypto_p_sym ..." 159echo "generating $crypto_p_sym ..."
@@ -203,6 +208,9 @@ fi
203if test "x$ac_cv_func_timingsafe_memcmp" = "xno" ; then 208if test "x$ac_cv_func_timingsafe_memcmp" = "xno" ; then
204 echo timingsafe_memcmp >> $crypto_p_sym 209 echo timingsafe_memcmp >> $crypto_p_sym
205fi 210fi
211if test "x$HOSTARCH" = "xintel" ; then
212 echo OPENSSL_ia32cap_P >> $crypto_p_sym
213fi
206if test "x$HOST_OS" = "xwin" ; then 214if test "x$HOST_OS" = "xwin" ; then
207 echo posix_perror >> $crypto_p_sym 215 echo posix_perror >> $crypto_p_sym
208 echo posix_fopen >> $crypto_p_sym 216 echo posix_fopen >> $crypto_p_sym