> Ian, would you please test both fixes in your environment again? I 
> checked it with cygwin with and w/o local libs, and it seems to work 
> okay. I also got the *PNG_ALPHA_* macro defined correctly, 
> but I didn't 
> do any runtime checks.

Looks OK so far. The PNG checks seem to be good, and the ldstatic flags
stuff is better.

Still an issue with it not forcing the image libs to "static" if I use
the system image libs, but that's probably not a show stopper...

i.e., if I have configured to use the fltk built-in image libs, I get:

/d/IanMacarthur/svn/fltk-1.1-local
$ ../fltk-1.1/fltk-config --use-images --ldstaticflags
-mwindows -L/usr/local/lib -mno-cygwin ../fltk-1.1/lib/libfltk_images.a
-lpng -lz -ljpeg ../fltk-1.1/lib/libfltk.a -lole32 -luuid -lcomctl32
-lwsock32


Whereas if I configure to use the system libs I get:

/d/IanMacarthur/svn/fltk-1.1
$ ../fltk-1.1/fltk-config --use-images --ldstaticflags
-mwindows -L/usr/local/lib -mno-cygwin ../fltk-1.1/lib/libfltk_images.a
-lpng -lz -ljpeg ../fltk-1.1/lib/libfltk.a -lole32 -luuid -lcomctl32
-lwsock32

Which of course means that the build picks up the shared libs for png, z
and jpeg.

Still, I am happy with what we have for now.

Cheers,
-- 
Ian


SELEX Sensors and Airborne Systems Limited
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