[MPlayer-dev-eng] CygWin doc to be added under DOCS/tech

Alex Beregszaszi alex at naxine.org
Tue Jun 25 18:41:53 CEST 2002


Hi,

> > >  >  There are several changes that need to be made to the 'config.mak' file after
> > >  >  running configure.
> > >  > 
> > >  >  Line 52 should read:
> > >  > SDL_LIB = -L/usr/local/lib -lSDLmain -lSDL -mwindows -mcygwin
> > >  > 
> > >  >  Line 73 should read:
> > >  > SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -DWIN32 -Uunix
> > >  > 
> > >  >  - If you have installed AAlib, ncurses and CygWin/XFree86 as well, another 
> > >  > 	change may be needed.
> > >  >  Line 54 should read:
> > >  > AA_LIB = -laa -lncurses -lX11
> > > 
> > > 
> > > Hmm, shouldn't configure be fixed instead of describing these
> > > workarounds?  Why don't you implement something like --enable-cygwin
> > > for configure?
> > Yes, please make a patch. (--enable-cygwin should disable also win32 (--disable-win32)!)
> 
> Autodetecting cygwin and configuring properly makes more sense than
> using a special option, no?
not in our configure. the --enable/--disable switches are always present,
and the autodetect is optional. So if we add CygWin autodetect, you can
force it with --en/--disable switches.

-
alex



More information about the MPlayer-dev-eng mailing list