diff options
author | Jim Jagielski <jim@apache.org> | 2008-06-09 15:32:04 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2008-06-09 15:32:04 +0200 |
commit | d82bc914aba864e604643dc7d76c2a292e230340 (patch) | |
tree | fb9610c9fa250611f89ce18e610a47a63ee1e619 /acinclude.m4 | |
parent | core: Fix address-in-use startup failure on some platforms caused (diff) | |
download | apache2-d82bc914aba864e604643dc7d76c2a292e230340.tar.xz apache2-d82bc914aba864e604643dc7d76c2a292e230340.zip |
Since we are using AC_CACHE_CHECK, avoid warning
about non-cached item by adding the required _cv_
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664701 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index f984710e52..1daf180286 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -592,15 +592,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 ]) |