[vlc-devel] [RFC] add iOS support to configure
Felix Paul Kühne
fkuehne.videolan at googlemail.com
Wed Mar 21 19:59:13 CET 2012
Hello,
this patch adds iOS support to configure.
For some of you, it might look shocking at first. The rationale is that Mac OS X and iOS can't be easily split by configure, so I implemented the following:
By default, configure will compile VLC for Mac OS X once it runs on Darwin (same behavior as before).
However, you can specify --enable-ios and --disable-macosx to disable the Mac OS X support and enable iOS (regardless of the iOS architecture, since x86_64 and i686 are valid targets as well). By doing so, configure will try to find an iOS SDK and will use slightly different CFLAGS.
The previous --enable-macosx check was renamed to --enable-macosx-gui, as actually just enables the Cocoa interface in modules/gui/macosx and isn't related to configure's actual OS X support.
Feedback is welcome!
Best regards,
Felix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-configure.ac-added-support-for-iOS.patch
Type: application/octet-stream
Size: 3946 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120321/16a511f8/attachment.obj>
More information about the vlc-devel
mailing list