diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2006-09-08 16:41:45 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2006-09-08 16:41:45 +0000 |
commit | 339d53cb716fe68287eacbfffd17e7cfd2c9c4f3 (patch) | |
tree | c54b3ff612b2e9b54b47db194585f1cc2c15840c | |
parent | c03903d282f934c55aa10dcf44c00d6cbb88d9a2 (diff) | |
download | apr-339d53cb716fe68287eacbfffd17e7cfd2c9c4f3.tar.gz |
Some rare autoconf/m4 environments translitate differently and are dropping
the 'e's of our symbol, resulting in ac_cv_file__dv_zro - which then fails
all the way down the line for providing pthread mechanics. Noted this
especially on Solaris 8.x.
Depreciate APR_CHECK_FILE, which will be shot dead with APR 2.0, thus
@deprecate symbol for when we look to mass-purge dead APIs with grep.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@441558 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/apr_common.m4 | 1 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 31b9cd985..1c17591ec 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -348,6 +348,7 @@ CPPFLAGS=$apr_old_cppflags dnl APR_CHECK_FILE(filename); set ac_cv_file_filename to dnl "yes" if 'filename' is readable, else "no". +dnl @deprecated! - use AC_CHECK_FILE instead AC_DEFUN([APR_CHECK_FILE], [ dnl Pick a safe variable name define([apr_cvname], ac_cv_file_[]translit([$1], [./+-], [__p_])) diff --git a/configure.in b/configure.in index 84ad65c7a..ce72af512 100644 --- a/configure.in +++ b/configure.in @@ -727,7 +727,7 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \ create_area]) APR_CHECK_DEFINE(MAP_ANON, sys/mman.h) -APR_CHECK_FILE(/dev/zero) +AC_CHECK_FILE(/dev/zero) # Not all systems can mmap /dev/zero (such as HP-UX). Check for that. if test "$ac_cv_func_mmap" = "yes" && |