You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ma...@apache.org on 2006/07/18 16:38:02 UTC
svn commit: r423091 - /apr/apr/trunk/build/apr_common.m4
Author: maxb
Date: Tue Jul 18 07:38:02 2006
New Revision: 423091
URL: http://svn.apache.org/viewvc?rev=423091&view=rev
Log:
Undo breakage of APR_CHECK_SIZEOF_EXTENDED when applied to pointer types
or types containing upper-case letters, introduced in r421074.
* build/apr_common.m4 (APR_CHECK_SIZEOF_EXTENDED): Resynchronize with
upstream autoconf 2.59's AC_CHECK_SIZEOF, including reimporting correct
transliterations, one of which was broken in r421074, and the other of
which has been broken for many years, and was changed to a different
broken form in r421074.
Modified:
apr/apr/trunk/build/apr_common.m4
Modified: apr/apr/trunk/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_common.m4?rev=423091&r1=423090&r2=423091&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_common.m4 (original)
+++ apr/apr/trunk/build/apr_common.m4 Tue Jul 18 07:38:02 2006
@@ -444,11 +444,11 @@
dnl sizes of non-builtin types
dnl
AC_DEFUN([APR_CHECK_SIZEOF_EXTENDED],
-[changequote(<<,>>)dnl
-dnl The name to #define
-define(<<AC_TYPE_NAME>>, translit(sizeof_$2, [a-z ], [A-Z_]))dnl
-dnl The cache variable
-define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$2, [A-Z ],[a-z_]))dnl
+[changequote(<<, >>)dnl
+dnl The name to #define.
+define(<<AC_TYPE_NAME>>, translit(sizeof_$2, [a-z *], [A-Z_P]))dnl
+dnl The cache variable name.
+define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$2, [ *], [_p]))dnl
changequote([, ])dnl
AC_MSG_CHECKING(size of $2)
AC_CACHE_VAL(AC_CV_NAME,
@@ -456,7 +456,7 @@
$1
main()
{
- FILE *f=fopen("conftestval","w");
+ FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof($2));
exit(0);