You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2007/10/12 16:44:08 UTC
svn commit: r584171 - /apr/apr/trunk/build/apr_common.m4
Author: jorton
Date: Fri Oct 12 07:44:08 2007
New Revision: 584171
URL: http://svn.apache.org/viewvc?rev=584171&view=rev
Log:
* build/apr_common.m4 (APR_CHECK_TYPES_COMPATIBLE): Set the cache variable
correctly on success even if actions-if-true are specified.
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=584171&r1=584170&r2=584171&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_common.m4 (original)
+++ apr/apr/trunk/build/apr_common.m4 Fri Oct 12 07:44:08 2007
@@ -971,5 +971,6 @@
AC_CACHE_CHECK([whether $1 and $2 are the same], apr_cvname, [
AC_TRY_COMPILE(AC_INCLUDES_DEFAULT, [
int foo[0 - !__builtin_types_compatible_p($1, $2)];
-], [apr_cvname=yes $3], [apr_cvname=no])])
+], [apr_cvname=yes
+$3], [apr_cvname=no])])
])