X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=1ea744cae9b861865f9893d300aafd5cd10f7366;hb=7590a58f444cd04ab3946d9ae0747e23e66e4f43;hp=079c145eb9677613f21b6e166efbc8b6ded86510;hpb=8496c88699ea71aea6a8a244f20df4fcd558ffba;p=userspace-rcu.git diff --git a/configure.ac b/configure.ac index 079c145..1ea744c 100644 --- a/configure.ac +++ b/configure.ac @@ -13,6 +13,7 @@ AC_CONFIG_MACRO_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_include([config/ax_tls.m4]) @@ -56,7 +57,9 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_MMAP -AC_CHECK_FUNCS([bzero gettimeofday munmap sched_getcpu strtoul sysconf gettid]) +AC_CHECK_FUNCS( + [bzero gettimeofday munmap sched_getcpu strtoul sysconf gettid memeset strerror] +) # Find arch type AS_CASE([$host_cpu], @@ -69,6 +72,7 @@ AS_CASE([$host_cpu], [powerpc], [ARCHTYPE="ppc"], [ppc64], [ARCHTYPE="ppc"], [powerpc64], [ARCHTYPE="ppc"], + [powerpc64le], [ARCHTYPE="gcc"], [ppc], [ARCHTYPE="ppc"], [s390], [ARCHTYPE="s390"], [s390x], [ARCHTYPE="s390"], @@ -77,8 +81,10 @@ AS_CASE([$host_cpu], [alpha*], [ARCHTYPE="alpha"], [ia64], [ARCHTYPE="gcc"], [arm*], [ARCHTYPE="arm"], + [aarch64], [ARCHTYPE="gcc"], [mips*], [ARCHTYPE="mips"], [tile*], [ARCHTYPE="gcc"], + [hppa*], [ARCHTYPE="hppa"], [ARCHTYPE="unknown"] )