<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9245">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: Enable ./configure in Solaris 11.<br><br>ASTERISK-27931<br><br>Change-Id: If298ce7f03be227a3687b9c20d382c9c55a72404<br>---<br>M autoconf/ast_check_raii.m4<br>M configure<br>2 files changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/45/9245/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/autoconf/ast_check_raii.m4 b/autoconf/ast_check_raii.m4<br>index e39a43d..571dc18 100644<br>--- a/autoconf/ast_check_raii.m4<br>+++ b/autoconf/ast_check_raii.m4<br>@@ -33,11 +33,11 @@<br>                   AST_C_COMPILER_FAMILY="gcc"<br>                 ],[<br>                   AC_MSG_CHECKING(for clang -fblocks)<br>-                  if test "`echo "int main(){return ^{return 42;}();}" | ${CC} -o /dev/null -fblocks -x c - 2>&1`" = ""; then<br>+                     if test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c - 2>&1`" = ""; then<br>                                AST_CLANG_BLOCKS_LIBS=""<br>                            AST_CLANG_BLOCKS="-Wno-unknown-warning-option -fblocks"<br>                             AC_MSG_RESULT(yes)<br>-                   elif test "`echo "int main(){return ^{return 42;}();}" | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then<br>+                   elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then<br>                              AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"<br>                             AST_CLANG_BLOCKS="-fblocks"<br>                                 AC_MSG_RESULT(yes)<br>diff --git a/configure b/configure<br>index 91fe316..3752967 100755<br>--- a/configure<br>+++ b/configure<br>@@ -9045,12 +9045,12 @@<br> <br>                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang -fblocks" >&5<br> $as_echo_n "checking for clang -fblocks... " >&6; }<br>-                    if test "`echo "int main(){return ^{return 42;}();}" | ${CC} -o /dev/null -fblocks -x c - 2>&1`" = ""; then<br>+                     if test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c - 2>&1`" = ""; then<br>                                AST_CLANG_BLOCKS_LIBS=""<br>                            AST_CLANG_BLOCKS="-Wno-unknown-warning-option -fblocks"<br>                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5<br> $as_echo "yes" >&6; }<br>-                  elif test "`echo "int main(){return ^{return 42;}();}" | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then<br>+                   elif test "`echo 'int main(){return ^{return 42;}();}' | ${CC} -o /dev/null -fblocks -x c -lBlocksRuntime - 2>&1`" = ""; then<br>                              AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"<br>                             AST_CLANG_BLOCKS="-fblocks"<br>                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9245">change 9245</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/9245"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If298ce7f03be227a3687b9c20d382c9c55a72404 </div>
<div style="display:none"> Gerrit-Change-Number: 9245 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>