[MPlayer-cvslog] r30223 - trunk/configure

Diego Biurrun diego at biurrun.de
Tue Jan 5 10:23:27 CET 2010


On Tue, Jan 05, 2010 at 06:45:14AM +0100, Reimar Döffinger wrote:
> On Mon, Jan 04, 2010 at 11:32:29PM +0100, diego wrote:
> > 
> > Log:
> > Remove pointless variable declaration from DirectFB check.
> > 
> > --- trunk/configure	Mon Jan  4 23:30:41 2010	(r30222)
> > +++ trunk/configure	Mon Jan  4 23:32:28 2010	(r30223)
> > @@ -4138,7 +4138,7 @@ if test "$_directfb" = auto ; then
> >    _directfb=no
> >    cat > $TMPC <<EOF
> >  #include <directfb.h>
> > -int main(void) { IDirectFB *foo; DirectFBInit(0,0); return 0; }
> > +int main(void) { DirectFBInit(0, 0); return 0; }
> 
> I guess it doesn't matter, but how do you know it is pointless?
> There might be/have been directfb versions that didn't define
> the IDirectFB type (correctly).

I simply stopped assuming this much thought was put into old configure
code...

Diego


More information about the MPlayer-cvslog mailing list