# HG changeset patch # User al # Date 1359288919 0 # Node ID aa7d8771205e3a9a4c01ef97aeda8c6639bae8ed # Parent b5f83ea354e72e78d261b68f11b7e2182e2e3383 build: configure: Simplify check for alloca Just test the _alloca variable instead of re-running the compiler. The oversight was introduced in r32246 diff -r b5f83ea354e7 -r aa7d8771205e configure --- 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'