Hi,

I have finally been able to look at the actual problem with the
install_strip target. 

I found out that the solution of modifying
configure.in and makeopts.in is not needed. The reason is that the binary
is compiled with or without debug info anyway. So there is only a need to
modify the existing install_bin target, which has the -s switch hardcoded, 
and add a new target called, as we know by now, install_strip.

My solution is removing the -s switch in the install command and replace it
with a variable which is set if the target install_strip is run (because
in the other cases, the debug info inclusion is already decided by the
--eanble-debug option to configure).

And here is where my question comes in, how should I tell the sub make
what the value of the variable shold be? Because teh install_strip decision is
dynamic we cant set it by the configure script, so it has to be set by the
target itself. 

The only way I can see this working is by adding the variable as an
argument to the sub make, but that makes the make configuration a little
less dynamic, than when set in the makeopts file (but the makeopts file is
only set during configure, so it static.)

Any suggestions? If not I'll do it by sub make arguments.

cheers

-- 
Thomas Finneid

email: [EMAIL PROTECTED]






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to