[MPlayer-cvslog] r35902 - trunk/configure

al subversion at mplayerhq.hu
Sun Jan 27 13:15:19 CET 2013


Author: al
Date: Sun Jan 27 13:15:19 2013
New Revision: 35902

Log:
build: configure: Simplify check for alloca

Just test the _alloca variable instead of re-running the compiler.

The oversight was introduced in r32246

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jan 26 17:44:34 2013	(r35901)
+++ trunk/configure	Sun Jan 27 13:15:19 2013	(r35902)
@@ -3633,7 +3633,7 @@ echores "$posix_memalign"
 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'


More information about the MPlayer-cvslog mailing list