]> git.sesse.net Git - vlc/blob - extras/package/macosx/configure.sh
libvlc-module.c: set deinterlace option to automatic by
[vlc] / extras / package / macosx / configure.sh
1 #!/bin/sh
2
3 CFLAGS=${CFLAGS}
4 LDFLAGS=${LDFLAGS}
5
6 case "${ARCH}" in
7     x86_64*)
8         CFLAGS="${CFLAGS} -m64 -march=core2 -mtune=core2"
9         LDFLAGS="${LDFLAGS} -m64"
10         ;;
11     *x86*)
12         CFLAGS="${CFLAGS} -m32 -march=prescott -mtune=generic"
13         LDFLAGS="${LDFLAGS} -m32"
14         ;;
15 esac
16
17 OPTIONS="
18         --prefix=`pwd`/vlc_install_dir
19         --enable-macosx
20         --enable-merge-ffmpeg
21         --enable-growl
22         --enable-faad
23         --enable-flac
24         --enable-theora
25         --enable-shout
26         --enable-ncurses
27         --enable-twolame
28         --enable-realrtsp
29         --enable-libass
30         --enable-macosx-eyetv
31         --enable-macosx-qtkit
32         --enable-macosx-avfoundation
33         --disable-skins2
34         --disable-xcb
35         --disable-caca
36         --disable-sdl
37         --disable-macosx-dialog-provider
38         --with-macosx-version-min=10.6
39 "
40
41 export CFLAGS
42 export LDFLAGS
43
44 sh "$(dirname $0)"/../../../configure ${OPTIONS} $*