LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
VLC_ADD_LIBS([avcodec access_avio swscale postproc i420_rgb_mmx x262 x264 x26410b],[-Wl,-read_only_relocs,suppress])
- VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,SystemConfiguration])
+ VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,CFNetwork])
dnl Allow binaries created on Lion to run on earlier releases
AC_EGREP_CPP(yes,
[AS_HELP_STRING([--with-macosx-version-min=VERSION],
[compile for Mac OS X VERSION and above])])
if test "${with_macosx_version_min}" != "" ; then
- MACOSX_DEPLOYMENT_TARGET=${with_macosx_version_min}
CPP="${CPP} -mmacosx-version-min=${with_macosx_version_min}"
CC="${CC} -mmacosx-version-min=${with_macosx_version_min}"
CXX="${CXX} -mmacosx-version-min=${with_macosx_version_min}"
OBJC="${OBJC} -mmacosx-version-min=${with_macosx_version_min}"
LD="${LD} -mmacosx_version_min=${with_macosx_version_min}"
- CFLAGS="${CFLAGS} -DMACOSX_DEPLOYMENT_TARGET=${with_macosx_version_min}"
- CXXFLAGS="${CXXFLAGS} -DMACOSX_DEPLOYMENT_TARGET=${with_macosx_version_min}"
- OBJCFLAGS="${OBJCFLAGS} -DMACOSX_DEPLOYMENT_TARGET=${with_macosx_version_min}"
- export MACOSX_DEPLOYMENT_TARGET
fi
;;
*mingw32* | *cygwin* | *wince* | *mingwce*)
VLC_RESTORE_FLAGS
AS_IF([test -n "$SOCKET_LIBS"], [
- VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp rtp oldrc netsync gnutls ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
+ VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp oldrc netsync gnutls ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
])
AC_SUBST(SOCKET_LIBS)
SYMBOLIC_LDFLAGS="${ac_cv_ld_bsymbolic}"
AC_SUBST(SYMBOLIC_LDFLAGS)
-dnl Check for Darwin plugin linking flags
-AS_IF([test "${SYS}" = "darwin"], [
- VLC_SAVE_FLAGS
- CFLAGS="${CFLAGS} -bundle -undefined error"
- AC_CACHE_CHECK([if $CC accepts -bundle -undefined error],
- [ac_cv_ld_darwin], [
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
- ac_cv_ld_darwin=yes
- ], [
- ac_cv_ld_darwin=no
- ])
- ])
- AS_IF([test "${ac_cv_ld_darwin}" != "no"], [
- VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error])
- ])
- VLC_RESTORE_FLAGS
-])
-
dnl Checks for __attribute__(aligned()) directive
VLC_SAVE_FLAGS
CFLAGS="${CFLAGS} -Werror"
dnl
dnl Opus plugin
dnl
-PKG_ENABLE_MODULES_VLC([OPUS], [], [ogg opus], [Opus support], [auto])
+PKG_ENABLE_MODULES_VLC([OPUS], [], [ogg opus >= 1.0.3], [Opus support], [auto])
dnl
dnl theora decoder plugin
PKG_WITH_MODULES([CHROMAPRINT],[libchromaprint >= libchromaprint_version],
VLC_ADD_PLUGIN([stream_out_chromaprint])
VLC_ADD_CFLAGS([stream_out_chromaprint],[${CHROMAPRINT_CFLAGS}] [-I./webservices -I../stream_out])
- VLC_ADD_LIBS([stream_out_chromaprint],[${CHROMAPRINT_LIBS}])
+ VLC_ADD_LIBS([stream_out_chromaprint],[${CHROMAPRINT_LIBS}]),
AS_IF([test "${enable_chromaprint}" = "yes"],
[AC_MSG_ERROR(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)],
[AC_MSG_WARN(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)]
PKG_CHECK_MODULES(PROJECTM, libprojectM,
[
VLC_ADD_PLUGIN([projectm])
- VLC_ADD_CXXFLAGS([projectm],[$PROJECTM_CFLAGS])
- VLC_ADD_LIBS([projectm],[$PROJECTM_LIBS])
- PKG_CHECK_MODULES(PROJECTM2, [libprojectM >= 2.0.0],
+ PKG_CHECK_EXISTS([libprojectM >= 2.0.0],
[ AC_DEFINE([HAVE_PROJECTM2], 1, [Define to 1 if using libprojectM 2.x]) ],
[ AC_MSG_WARN( [Using libprojectM version 1] )
])
lib/Makefile
bin/Makefile
test/Makefile
- modules/access/rtp/Makefile
modules/access_output/Makefile
modules/audio_filter/Makefile
- modules/audio_mixer/Makefile
modules/control/Makefile
modules/gui/Makefile
modules/gui/macosx/Makefile
modules/gui/macosx_dialog_provider/Makefile
modules/gui/qt4/Makefile
modules/gui/skins2/Makefile
- modules/lua/Makefile
modules/misc/Makefile
modules/mux/Makefile
- modules/notify/Makefile
modules/packetizer/Makefile
- modules/stream_filter/Makefile
modules/stream_out/Makefile
modules/text_renderer/Makefile
- modules/video_chroma/Makefile
modules/video_filter/Makefile
modules/video_output/Makefile
- modules/video_splitter/Makefile
modules/visualization/Makefile
- modules/arm_neon/Makefile
modules/hw/vdpau/Makefile
])