apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r664702 - /apr/apr/trunk/configure.in
Date Mon, 09 Jun 2008 13:32:46 GMT
Author: jim
Date: Mon Jun  9 06:32:45 2008
New Revision: 664702

URL: http://svn.apache.org/viewvc?rev=664702&view=rev
Log:
Using AC_CACHE_CHECK. So avoid warning about:

configure.in:354: warning: AC_CACHE_VAL(atomic_builtins, ...): suspicious cache-id, must contain
_cv_ to be cached


Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=664702&r1=664701&r2=664702&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Mon Jun  9 06:32:45 2008
@@ -351,7 +351,7 @@
 	;;
 esac
 
-AC_CACHE_CHECK([whether the compiler provides atomic builtins], [atomic_builtins],
+AC_CACHE_CHECK([whether the compiler provides atomic builtins], [ap_cv_atomic_builtins],
 [AC_TRY_RUN([
 int main()
 {
@@ -387,9 +387,9 @@
         return 1;
 
     return 0;
-}], [atomic_builtins=yes], [atomic_builtins=no], [atomic_builtins=no])])
+}], [ap_cv_atomic_builtins=yes], [ap_cv_atomic_builtins=no], [ap_cv_atomic_builtins=no])])
 
-if test "$atomic_builtins" = "yes"; then
+if test "$ap_cv_atomic_builtins" = "yes"; then
     AC_DEFINE(HAVE_ATOMIC_BUILTINS, 1, [Define if compiler provides atomic builtins])
 fi
 



Mime
View raw message