Commit 711b7cea authored by Jan Gerber's avatar Jan Gerber
Browse files

changes the SConstruct file so that library dependencies are determined...

changes the SConstruct file so that library dependencies are determined independently. This means that if you're missing one of the ogg libraries, it tells you specifically which one you're missing, rather than saying vaguely you're missing one of four possible libraries. (patch by Chris Pearce)


parent d20cba65
......@@ -112,6 +112,22 @@ if not conf.CheckPKGConfig(pkgconfig_version):
print 'pkg-config >= %s not found.' % pkgconfig_version
Exit(1)
if not conf.CheckPKG("ogg >= 1.1"):
print 'ogg >= 1.1 missing'
Exit(1)
if not conf.CheckPKG("vorbis"):
print 'vorbis missing'
Exit(1)
if not conf.CheckPKG("vorbisenc"):
print 'vorbisenc missing'
Exit(1)
if not conf.CheckPKG("theoraenc >= 1.1.0"):
print 'theoraenc >= 1.1.0 missing'
Exit(1)
XIPH_LIBS="ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0"
if not conf.CheckPKG(XIPH_LIBS):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment