diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c03db2732..ff7417354 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -522,6 +522,8 @@ SPP_MSG="no" | |||
522 | # the --with-solaris-privs option and --with-sandbox=solaris). | 522 | # the --with-solaris-privs option and --with-sandbox=solaris). |
523 | SOLARIS_PRIVS="no" | 523 | SOLARIS_PRIVS="no" |
524 | 524 | ||
525 | AC_CHECK_SIZEOF([size_t]) | ||
526 | |||
525 | # Check for some target-specific stuff | 527 | # Check for some target-specific stuff |
526 | case "$host" in | 528 | case "$host" in |
527 | *-*-aix*) | 529 | *-*-aix*) |
@@ -864,6 +866,10 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
864 | case "$host" in | 866 | case "$host" in |
865 | x86_64-*) | 867 | x86_64-*) |
866 | seccomp_audit_arch=AUDIT_ARCH_X86_64 | 868 | seccomp_audit_arch=AUDIT_ARCH_X86_64 |
869 | # X32: AMD64 instructions in 32bit address space. | ||
870 | if test "x$ac_cv_sizeof_size_t" = "x4" ; then | ||
871 | seccomp_audit_arch=AUDIT_ARCH_I386 | ||
872 | fi | ||
867 | ;; | 873 | ;; |
868 | i*86-*) | 874 | i*86-*) |
869 | seccomp_audit_arch=AUDIT_ARCH_I386 | 875 | seccomp_audit_arch=AUDIT_ARCH_I386 |