]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Since we are using AC_CACHE_CHECK, avoid warning
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 19 Jun 2008 20:39:41 +0000 (20:39 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 19 Jun 2008 20:39:41 +0000 (20:39 +0000)
about non-cached item by adding the required _cv_

Submitted by: jim
Backports: r664701

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@669682 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index e80a2153cd3c4aae3b0e030abb4423bb1fbd604d..de3930b115d9fc590c0937d014b9bd0a4948f8ff 100644 (file)
@@ -584,15 +584,15 @@ dnl integer type.
 dnl
 AC_DEFUN([APACHE_CHECK_VOID_PTR_LEN], [
 
-AC_CACHE_CHECK([for void pointer length], [ap_void_ptr_lt_long],
+AC_CACHE_CHECK([for void pointer length], [ap_cv_void_ptr_lt_long],
 [AC_TRY_RUN([
 int main(void)
 {
     return sizeof(void *) < sizeof(long); 
-}], [ap_void_ptr_lt_long=no], [ap_void_ptr_lt_long=yes], 
-    [ap_void_ptr_lt_long=yes])])
+}], [ap_cv_void_ptr_lt_long=no], [ap_cv_void_ptr_lt_long=yes], 
+    [ap_cv_void_ptr_lt_long=yes])])
 
-if test "$ap_void_ptr_lt_long" = "yes"; then
+if test "$ap_cv_void_ptr_lt_long" = "yes"; then
     AC_MSG_ERROR([Size of "void *" is less than size of "long"])
 fi
 ])