hash table tests: Add initial hash population to glib hash table test
[urcu.git] / configure.ac
index 2c8b2194fbb25be41965c124d084651c9a0329ea..beb1e8c123edc5ac10d6a536781d4e231394d107 100644 (file)
@@ -19,6 +19,9 @@ AM_PROG_MKDIR_P
 
 AC_CONFIG_HEADERS([config.h urcu/config.h])
 
+#for tests
+AM_PATH_GLIB_2_0(2.22.0, ,AC_MSG_ERROR([glib is required in order to compile BabelTrace - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
+
 # Keep at the end to do not pollute installed header.
 AH_TEMPLATE([CONFIG_RCU_SMP], [Enable SMP support. With SMP support enabled, uniprocessors are also supported. With SMP support disabled, UP systems work fine, but the behavior of SMP systems is undefined.])
 AH_TEMPLATE([CONFIG_RCU_HAVE_FENCE], [Defined when on a system that has memory fence instructions.])
@@ -83,11 +86,6 @@ fi
 
 UATOMICSRC=urcu/uatomic/$ARCHTYPE.h
 ARCHSRC=urcu/arch/$ARCHTYPE.h
-if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then
-       APISRC=tests/api_gcc.h
-else
-       APISRC=tests/api_$ARCHTYPE.h
-fi
 if test "$ARCHTYPE" == "armv7l"; then
        CFLAGS="-mcpu=cortex-a9 -mtune=cortex-a9 -O"
 fi
@@ -241,7 +239,6 @@ CFLAGS=$saved_CFLAGS
 AC_CONFIG_LINKS([
        urcu/arch.h:$ARCHSRC
        urcu/uatomic.h:$UATOMICSRC
-       tests/api.h:$APISRC
 ])
 AC_CONFIG_FILES([
        Makefile
This page took 0.023269 seconds and 4 git commands to generate.