Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differentiation between Darwin and MacOSX in autoconf?



Robert Monaghan wrote:

Is there a "good" way to distinguish between MacOSX and Darwin, in a
Configure script? (something like using config.guess)

I am trying to build a autoconf/automake script that would build an Xwindows
gui under darwin, but switch to a cocoa gui if MacOSX was detected.


Test whether linking with "-framework Cocoa" succeeds or fails.

Stan
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Differentiation between Darwin and MacOSX in autoconf? (From: Robert Monaghan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.