Apply patch for bug #170 from José Romildo, for the case when EDELIBINCLUDE is empty

This commit is contained in:
Sanel Zukan 2009-10-13 14:50:55 +00:00
parent 4ad4b4ca71
commit 34e75159fd

View File

@ -76,8 +76,8 @@ rule Program
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'. # and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgram rule EdeProgram
{ {
if ! $(EDELIBINCLUDE) || ! $(EDELIBLIB) { if ! $(EDELIBLIB) {
Echo "EDELIBINCLUDE or EDELIBLIB not defined; $(1) will not be built" ; Echo "EDELIBLIB not defined; $(1) will not be built" ;
return ; return ;
} }
@ -95,8 +95,8 @@ rule EdeProgram
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'. # and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgramAsFltkBare rule EdeProgramAsFltkBare
{ {
if ! $(EDELIBINCLUDE) || ! $(EDELIBLIB) { if ! $(EDELIBLIB) {
Echo "EDELIBINCLUDE or EDELIBLIB not defined; $(1) will not be built" ; Echo "EDELIBLIB not defined; $(1) will not be built" ;
return ; return ;
} }