Only generate 'configure --with-...' for build-time (B-type) dependencies.
authorZdeněk Šustr <sustr4@cesnet.cz>
Thu, 2 Apr 2009 08:32:34 +0000 (08:32 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Thu, 2 Apr 2009 08:32:34 +0000 (08:32 +0000)
org.glite.lb/configure

index 9a7e696..9445d53 100755 (executable)
@@ -545,8 +545,10 @@ sub mode_etics {
        @ge{@{$etics_projects{'org.glite'}}} = (1) x ($#{$etics_projects{'org.glite'}}+1);
 
        for (@{$need_externs{"$subsys.$module"}}) {
+           if ($need_externs_type{"$subsys.$module"}->{$_}=~/B/) {
                my $eext = $etics_externs{$_} ? $etics_externs{$_} : $_;
                push @copts,$ge{$_} ? "--with-$_=\${stageDir}" : "--with-$_=\${$eext.location}";
+           }
        }
 
        for (@{$need_jars{"$subsys.$module"}}) {