changeset 35808:aa7d8771205e

build: configure: Simplify check for alloca Just test the _alloca variable instead of re-running the compiler. The oversight was introduced in r32246
author al
date Sun, 27 Jan 2013 12:15:19 +0000
parents b5f83ea354e7
children 98b531e7c38e
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jan 26 16:44:34 2013 +0000
+++ b/configure	Sun Jan 27 12:15:19 2013 +0000
@@ -3633,7 +3633,7 @@
 echocheck "alloca.h"
 _alloca=no
 statement_check alloca.h 'alloca(0)' && _alloca=yes
-if cc_check ; then
+if test "$_alloca" = yes ; then
   def_alloca_h='#define HAVE_ALLOCA_H 1'
 else
   def_alloca_h='#undef HAVE_ALLOCA_H'