mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
Get more paranoid by checking for headers too
This commit is contained in:
parent
b6b2e35190
commit
630b4d4ea9
@ -1,11 +1,11 @@
|
||||
local compressed_flags = <include>.. <define>HAVE_ZLIB ;
|
||||
local compressed_deps = /top//z ;
|
||||
if [ test_library "bz2" ] {
|
||||
if [ test_library "bz2" ] && [ test_header "bzlib.h" ] {
|
||||
external-lib bz2 ;
|
||||
compressed_flags += <define>HAVE_BZLIB ;
|
||||
compressed_deps += bz2 ;
|
||||
}
|
||||
if [ test_library "lzma" ] {
|
||||
if [ test_library "lzma" ] && [ test_header "lzma.h" ] {
|
||||
external-lib lzma ;
|
||||
compressed_flags += <define>HAVE_XZLIB ;
|
||||
compressed_deps += lzma ;
|
||||
|
Loading…
Reference in New Issue
Block a user