apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmytro Fedonin <Dmytro.Fedo...@Sun.COM>
Subject configure.in host_cpu atomic confuse
Date Tue, 26 Jun 2007 15:22:56 GMT
Hi all,

I had a confuse with usage of atomic inc/dec of APR running on x86. And I have 
found the root in configure.in file which contains missyes. I do believe generic 
atomics should be forced on cpu other then x86. Otherwise it makes no sense to use 
apr_atomic functions.
Diff was done on apr_20070625102023.tar.gz snapshot.

@@ -489,8 +481,8 @@
   fi
  ],
  [case $host_cpu in
-   i[[456]]86) force_generic_atomics=yes ;;
-   *) force_generic_atomics=no ;;
+   i[[456]]86) force_generic_atomics=no ;;
+   *) force_generic_atomics=yes ;;
  esac
  ])


-- 
Best regards,
Dmytro

Mime
View raw message