OK - looks sensible, I think.

Can you post this stuff on an STR to make sure we don't lose sight of
it, please.
 

> Problem:
> 
> 1. In the beginning of configure, --with_archflags option 
> value is added to CFLAGS, so that configure checks will see 
> the given -arch flags. However, fltk makefiles expect the 
> arch flags to be in ARCHFLAGS, not in CFLAGS. The problem is 
> that configure leaves the arch flags in CFLAGS, which makes 
> the fltk-config return the arch flags in e.g. "fltk-config 
> --cflags". For universal builds this is wrong, as it "forces" 
> apps to build as universal as well, while the intent of an 
> universal library is to be usable for e.g. both 32-bit and 
> 64-bit apps, not only for universal apps.
> 
> 2. DSOCOMMAND for OSX does not have ARCHFLAGS.
> 
> 
> Solutions:
> 
> 1. Remove the architecture flags from CFLAGS after configure 
> checks are done (on OSX)
> 
> 2. Add $(ARCHFLAGS) to DSOCOMMAND= line (on OSX)
> 
> A patch to this effect is attached (patch-configure.in.diff).
> 




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to