You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2006/09/08 18:41:46 UTC
svn commit: r441558 - in /apr/apr/trunk: build/apr_common.m4 configure.in
Author: wrowe
Date: Fri Sep 8 09:41:45 2006
New Revision: 441558
URL: http://svn.apache.org/viewvc?view=rev&rev=441558
Log:
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.
Modified:
apr/apr/trunk/build/apr_common.m4
apr/apr/trunk/configure.in
Modified: apr/apr/trunk/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_common.m4?view=diff&rev=441558&r1=441557&r2=441558
==============================================================================
--- apr/apr/trunk/build/apr_common.m4 (original)
+++ apr/apr/trunk/build/apr_common.m4 Fri Sep 8 09:41:45 2006
@@ -348,6 +348,7 @@
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_]))
Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?view=diff&rev=441558&r1=441557&r2=441558
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri Sep 8 09:41:45 2006
@@ -727,7 +727,7 @@
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" &&