summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-03-21 11:10:13 -0700
committerJosh Triplett <josh@joshtriplett.org>2014-03-24 21:45:47 -0700
commitb2d610e028b5ce48d1ad7e5d0debc9c321d891b2 (patch)
tree6c446588a08803a10933421edfa2e504cef935f9 /configure.ac
parentbe50b87a490e794362cb4a27ada2fbaab202adb8 (diff)
downloadlibffi-b2d610e028b5ce48d1ad7e5d0debc9c321d891b2.tar.gz
Compile win32.S on 32-bit Darwin as well
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ffcdd49..00b4317 100644
--- a/configure.ac
+++ b/configure.ac
@@ -300,6 +300,8 @@ AM_CONDITIONAL(X86_FREEBSD, test x$TARGET = xX86_FREEBSD)
AM_CONDITIONAL(X86_WIN32, test x$TARGET = xX86_WIN32)
AM_CONDITIONAL(X86_WIN64, test x$TARGET = xX86_WIN64)
AM_CONDITIONAL(X86_DARWIN, test x$TARGET = xX86_DARWIN)
+AM_CONDITIONAL(X86_DARWIN32, test x$TARGET = xX86_DARWIN && test $ac_cv_sizeof_size_t = 4)
+AM_CONDITIONAL(X86_DARWIN64, test x$TARGET = xX86_DARWIN && test $ac_cv_sizeof_size_t = 8)
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
AM_CONDITIONAL(M32R, test x$TARGET = xM32R)