
9 Feb
2010
9 Feb
'10
11:04 a.m.
Library Build-depends: base >= 3 && <= 5 if (base==4.*) cpp-options: -DUSE_BASE_4 else cpp-options: -DUSE_BASE_3
Is there a way to use the if construct that check what version of dependent package has been chosen?
Flag foo Library if foo build-depends: base >=4 && <=5 cpp-options: -DUSE_BASE_4 else build-depends: base >=3 && <4 cpp-options: -DUSE_BASE_3 Regards, Malcolm