com php-src: fix detection of mbstate_t with clang: e xt/standard/config.m4

From: Date: Sun, 15 Feb 2015 08:25:03 +0000
Subject: com php-src: fix detection of mbstate_t with clang: e xt/standard/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84921@lists.php.net to get a copy of this message
Commit: 4137956d0e72690da76c0e1bbca9ba038cade1ae Author: Michael Wallner <mike@php.net> Sun, 8 Feb 2015 21:45:19 +0100 Parents: 1db720cd6d63f5feafb5c7ecc5fada35e2189cff Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4137956d0e72690da76c0e1bbca9ba038cade1ae Log: fix detection of mbstate_t with clang AC_TRY_COMPILE expexts a function body Changed paths: M ext/standard/config.m4 Diff: diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 3d00d88..d9e0bb7 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -575,7 +575,7 @@ AC_TRY_COMPILE([ # include <wchar.h> #endif ],[ -int __tmp__() { mbstate_t a; } +mbstate_t a; ],[ ac_cv_type_mbstate_t=yes ],[

« previous php.cvs (#84921) next »