Port: replace bzero() by memset()
[urcu.git] / configure.ac
index 008336c0ec92da0d0d64c4adc32030873d4b0a30..4316b907394ee7dc1b732d37c52dd069ca1f2480 100644 (file)
@@ -53,11 +53,20 @@ LT_INIT
 AC_C_INLINE
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
+AC_TYPE_INT32_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+AC_TYPE_UINT8_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(
+       [memset 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],
@@ -70,18 +79,18 @@ AS_CASE([$host_cpu],
        [powerpc], [ARCHTYPE="ppc"],
        [ppc64], [ARCHTYPE="ppc"],
        [powerpc64], [ARCHTYPE="ppc"],
-       [powerpc64le], [ARCHTYPE="gcc"],
+       [powerpc64le], [ARCHTYPE="ppc"],
        [ppc], [ARCHTYPE="ppc"],
        [s390], [ARCHTYPE="s390"],
        [s390x], [ARCHTYPE="s390"],
        [sparc], [ARCHTYPE="sparc64"],
        [sparc64], [ARCHTYPE="sparc64"],
        [alpha*], [ARCHTYPE="alpha"],
-       [ia64], [ARCHTYPE="gcc"],
+       [ia64], [ARCHTYPE="ia64"],
        [arm*], [ARCHTYPE="arm"],
-       [aarch64], [ARCHTYPE="gcc"],
+       [aarch64], [ARCHTYPE="aarch64"],
        [mips*], [ARCHTYPE="mips"],
-       [tile*], [ARCHTYPE="gcc"],
+       [tile*], [ARCHTYPE="tile"],
        [hppa*], [ARCHTYPE="hppa"],
        [ARCHTYPE="unknown"]
 )
@@ -318,6 +327,7 @@ AC_CONFIG_FILES([
        tests/unit/Makefile
        tests/benchmark/Makefile
        tests/regression/Makefile
+       tests/utils/Makefile
        liburcu.pc
        liburcu-bp.pc
        liburcu-cds.pc
This page took 0.022632 seconds and 4 git commands to generate.