Fix build for amd64 environment (for FreeBSD 8.2)
[urcu.git] / configure.ac
index 2c8b2194fbb25be41965c124d084651c9a0329ea..15e39ad93d33a56f92fbcb49c10458d4de4df0bb 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 
-AC_INIT([userspace-rcu], [0.6.4], [mathieu dot desnoyers at efficios dot com])
+AC_INIT([userspace-rcu], [0.6.6], [mathieu dot desnoyers at efficios dot com])
 
 # Following the numbering scheme proposed by libtool for the library version
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
@@ -48,6 +48,7 @@ case $host_cpu in
        i486) ARCHTYPE="x86";;
        i586) ARCHTYPE="x86";;
        i686) ARCHTYPE="x86";;
+       amd64) ARCHTYPE="x86";;
        x86_64) ARCHTYPE="x86";;
        powerpc) ARCHTYPE="ppc" ;;
        ppc64) ARCHTYPE="ppc" ;;
@@ -83,11 +84,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 +237,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.023445 seconds and 4 git commands to generate.