X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=d847da7e1472fa6c3f99e7a30d7e4937ec2b2909;hp=3368b33610e8754f51d2cf3f42cc3b2cf36eb7bb;hb=bb6afa9a774bc4ef277b6c208fece94308f02068;hpb=3913336f0e763b4ab614aa6b6e41e20b481e50c3 diff --git a/configure.ac b/configure.ac index 3368b33..d847da7 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,12 @@ 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] +) + +# Check for headers +AC_CHECK_HEADERS([limits.h stddef.h sys/time.h]) # Find arch type AS_CASE([$host_cpu], @@ -81,6 +87,7 @@ AS_CASE([$host_cpu], [aarch64], [ARCHTYPE="gcc"], [mips*], [ARCHTYPE="mips"], [tile*], [ARCHTYPE="gcc"], + [hppa*], [ARCHTYPE="hppa"], [ARCHTYPE="unknown"] )