[DVDnav-discuss] [PATCH] Improve build system similarly to FFmpeg's

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Mon Apr 16 12:38:32 CEST 2007


Hi,

as I'm working on integrating this new libdvdnav sources into xine-lib
(1.2), I've found a bit limited the build system as it is; the attached
patch adds a few extra features like the ones present in FFmpeg's
configure.

Namely it replaces --enable-debug with --disable-strip (more proper
name, --enable-debug would make me think about debug code sincerely),
adds an option to disable passing -O3 to CFLAGS, and adds options to
decide which CC and MAKE to use, plus adds support for passing extra
CFLAGS/LDFLAGS, exactly as FFmpeg.

Unfortunately it's not yet enough for what I need, as it doesn't
support (yet) to build with srcdir != builddir, but I'll probably give
it a try later on to handle that.

For who's interested to see what I'm doing in xine-lib, the branch
where I'm working is
http://hg.debian.org/hg/xine-lib/playgrounds/xine-lib-1.2-newdvdnav .

HTH,
-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070416/e9794154/attachment.pgp>


More information about the DVDnav-discuss mailing list