[MPlayer-dev-eng] configure: alloca.h detection

Alexander Strasser eclipse7 at gmx.net
Sun Jan 27 13:20:07 CET 2013


Hi Alex,

Alex Sisson wrote:
> Stupidly minor thing in configure i just noticed,
> 
> the "if cc_check" , should be "if test $_alloca = yes" ,  as currently it summons the cc twice (config.log confirms)
> 
> echocheck "alloca.h"
> _alloca=no
> statement_check alloca.h 'alloca(0)' && _alloca=yes
> if cc_check ; then    # <------- ******* THIS BIT ***********

  I changed this line to test the _alloca variable.

>   def_alloca_h='#define HAVE_ALLOCA_H 1'
> else
>   def_alloca_h='#undef HAVE_ALLOCA_H'
> fi
> echores "$_alloca"

  Thanks for the report!


  Alexander


More information about the MPlayer-dev-eng mailing list