Hi,

> As a solution, I would suggest to use 'gcj' everywhere, but to introduce
> a configure check which tests if 'gcj' and the installed version of 
> 'libgcj-dev' match, i.e. gcj==gcj-3.3/libgcj4-dev, gcj==gcj-3.4/libgcj5-dev
> and gcj==gcj-4.0/libgcj6-dev.

But what will you do if the test fails?  The problem is not just at the
debian/rules level, it goes all the way back to the build-depends level.
Build-depending on gcj will give you a precise version of gcj (the
default), whereas build-depending on libgcj-dev gives you no guarantee
on what version of libgcj-dev you get.

The only solution I can see at this stage is to build-depend on a
specific version of libgcj-dev (e.g., libgcj4-dev).  And at this point
you then have to build-depend on the specific version of gcj to match,
and we're back at the current state of affairs.

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to