diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-02-20 07:31:16 -0800 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-02-24 12:56:26 -0800 |
commit | f8ba0f55d32274eb2fe0e0060658dc2284569dd4 (patch) | |
tree | 63d6913d812f2d209006f364b5244a9f152e5311 /configure.ac | |
parent | 73b46136b0ba20f7f84abdadad895111a4c37166 (diff) |
configure.ac: Use AX_GCC_BUILTIN to check availability of __builtin_bswap32 v2
v2:
- Remove unnecessary AC_SUBST
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 24ffc545b7..4cfdedb146 100644 --- a/configure.ac +++ b/configure.ac @@ -119,6 +119,10 @@ if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then GEN_ASM_OFFSETS=yes fi fi + +dnl Check for compiler builtins +AX_GCC_BUILTIN([__builtin_bswap32]) + AM_CONDITIONAL([GEN_ASM_OFFSETS], test "x$GEN_ASM_OFFSETS" = xyes) dnl Make sure the pkg-config macros are defined |