apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r667871 - /apr/apr/branches/1.3.x/configure.in
Date Sat, 14 Jun 2008 20:19:35 GMT
Author: wrowe
Date: Sat Jun 14 13:19:35 2008
New Revision: 667871

URL: http://svn.apache.org/viewvc?rev=667871&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

Backport: 664702
Submitted by: jim

Modified:
    apr/apr/branches/1.3.x/configure.in

Modified: apr/apr/branches/1.3.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/configure.in?rev=667871&r1=667870&r2=667871&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/configure.in (original)
+++ apr/apr/branches/1.3.x/configure.in Sat Jun 14 13:19:35 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