Commit e4d3e52f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Reorder configure.ac to improve --help readability

parent 0d4e25c3
...@@ -1622,6 +1622,7 @@ then ...@@ -1622,6 +1622,7 @@ then
fi fi
AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"]) AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
dnl dnl
dnl HTTP daemon dnl HTTP daemon
dnl dnl
...@@ -1634,6 +1635,7 @@ then ...@@ -1634,6 +1635,7 @@ then
fi fi
AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"]) AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"])
dnl dnl
dnl VideoLAN manager dnl VideoLAN manager
dnl dnl
...@@ -1649,42 +1651,23 @@ AS_IF([test "${enable_vlm}" != "no"], [ ...@@ -1649,42 +1651,23 @@ AS_IF([test "${enable_vlm}" != "no"], [
]) ])
AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"]) AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"])
dnl
dnl Growl notification plugin
dnl
AC_ARG_ENABLE(growl,
[ --enable-growl growl notification plugin (default disabled)],,
[enable_growl=no])
AS_IF([test "${enable_growl}" != "no"], [
AC_CHECK_HEADERS(${CONTRIB_DIR}/Growl/Growl.framework/Versions/A/Headers/GrowlDefines.h, [
VLC_ADD_PLUGIN([growl])
VLC_ADD_LIBS([growl], [-F${CONTRIB_DIR}/Growl -Wl,-framework,Growl,-framework,CoreFoundation])
VLC_ADD_OBJCFLAGS([growl], [-F${CONTRIB_DIR}/Growl])
VLC_ADD_OBJCFLAGS([growl], [-fobjc-exceptions] )
])
]
)
dnl
dnl Libnotify notification plugin
dnl
PKG_ENABLE_MODULES_VLC([NOTIFY], [], [libnotify gtk+-2.0], [libnotify notification], [auto])
dnl dnl
dnl Taglib plugin dnl ipv6 support
dnl dnl
AC_ARG_ENABLE(taglib, have_ipv6=no
[AS_HELP_STRING([--disable-taglib], AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[
[do not use TagLib (default enabled)])]) AC_CHECK_LIB(nsl,inet_pton, [have_ipv6=yes])
AS_IF([test "${enable_taglib}" != "no"], [
PKG_CHECK_MODULES(TAGLIB, taglib >= 1.5, [
VLC_ADD_PLUGIN([taglib])
VLC_ADD_LIBS([taglib],[$TAGLIB_LIBS -lz])
VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS])
], [
AC_MSG_WARN(TagLib library not found)])
]) ])
AS_IF([test "${have_ipv6}" = "yes"], [
AC_DEFINE(HAVE_INET_PTON, 1, [Define to 1 if you have inet_pton().])])
AC_CHECK_FUNCS(inet_ntop,[
AC_DEFINE(HAVE_INET_NTOP, 1, [Define to 1 if you have inet_ntop().])])
dnl dnl
dnl Input plugins dnl Input plugins
dnl dnl
...@@ -1979,7 +1962,7 @@ AC_ARG_ENABLE(decklink, ...@@ -1979,7 +1962,7 @@ AC_ARG_ENABLE(decklink,
[disable Blackmagic DeckLink SDI input (default auto)])]) [disable Blackmagic DeckLink SDI input (default auto)])])
AC_ARG_WITH(decklink_sdk, AC_ARG_WITH(decklink_sdk,
[AS_HELP_STRING[--with-decklink-sdk=DIR], [AS_HELP_STRING[--with-decklink-sdk=DIR],
[location of Blackmagic DeckLink SDI SDK])]) [ location of Blackmagic DeckLink SDI SDK])])
if test "${enable_decklink}" != "no" if test "${enable_decklink}" != "no"
then then
if test "${with_decklink_sdk}" != "no" -a -n "${with_decklink_sdk}" if test "${with_decklink_sdk}" != "no" -a -n "${with_decklink_sdk}"
...@@ -2098,13 +2081,6 @@ EXPLODE ...@@ -2098,13 +2081,6 @@ EXPLODE
])]) ])])
AM_CONDITIONAL([HAVE_LINUX_DVB], [test "$ac_cv_linux_s2api" = "yes"]) AM_CONDITIONAL([HAVE_LINUX_DVB], [test "$ac_cv_linux_s2api" = "yes"])
dnl
dnl libdvbpsi check for ts mux/demux
dnl
have_dvbpsi="no"
PKG_WITH_MODULES([DVBPSI], [libdvbpsi], [have_dvbpsi="yes"])
AM_CONDITIONAL(HAVE_DVBPSI, [test "${have_dvbpsi}" = "yes"])
dnl dnl
dnl Screen capture module dnl Screen capture module
dnl dnl
...@@ -2128,19 +2104,53 @@ if test "${enable_screen}" != "no"; then ...@@ -2128,19 +2104,53 @@ if test "${enable_screen}" != "no"; then
fi fi
dnl dnl
dnl ipv6 support dnl Real RTSP plugin
dnl dnl
have_ipv6=no AC_ARG_ENABLE(realrtsp,
AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[ [ --enable-realrtsp Real RTSP module (default disabled)])
AC_CHECK_LIB(nsl,inet_pton, [have_ipv6=yes]) if test "${enable_realrtsp}" = "yes"; then
]) VLC_ADD_PLUGIN([access_realrtsp])
fi
AS_IF([test "${have_ipv6}" = "yes"], [ dnl
AC_DEFINE(HAVE_INET_PTON, 1, [Define to 1 if you have inet_pton().])]) dnl MacOS eyeTV
AC_ARG_ENABLE(macosx-eyetv,
[ --enable-macosx-eyetv Mac OS X EyeTV (TNT Tuner) module (default enabled on Mac OS X)])
if test "x${enable_macosx_eyetv}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_eyetv}" = "yes")
then
VLC_ADD_LIBS([access_eyetv], [-Wl,-framework,Foundation])
VLC_ADD_PLUGIN([access_eyetv])
fi
dnl
dnl QTCapture
AC_ARG_ENABLE(macosx-qtcapture,
[ --enable-macosx-qtcapture Mac OS X qtcapture (iSight) module (default enabled on Mac OS X)])
if test "x${enable_macosx_qtcapture}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_qtcapture}" = "yes")
then
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,Cocoa])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QTKit])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,CoreAudio])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QuartzCore])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,CoreVideo])
VLC_ADD_PLUGIN([qtcapture])
fi
AC_CHECK_FUNCS(inet_ntop,[ dnl
AC_DEFINE(HAVE_INET_NTOP, 1, [Define to 1 if you have inet_ntop().])]) dnl Demux plugins
dnl
EXTEND_HELP_STRING([Mux/Demux plugins:])
dnl
dnl libdvbpsi check for ts mux/demux
dnl
have_dvbpsi="no"
PKG_WITH_MODULES([DVBPSI], [libdvbpsi], [have_dvbpsi="yes"])
AM_CONDITIONAL(HAVE_DVBPSI, [test "${have_dvbpsi}" = "yes"])
dnl dnl
...@@ -2352,7 +2362,7 @@ dnl ...@@ -2352,7 +2362,7 @@ dnl
dnl CrystalHD codec plugin dnl CrystalHD codec plugin
dnl dnl
AC_ARG_ENABLE(crystalhd, AC_ARG_ENABLE(crystalhd,
[ --enable-crystalhd crystalhd codec plugin (default auto)]) [ --enable-crystalhd crystalhd codec plugin (default auto)])
if test "${enable_crystalhd}" != "no"; then if test "${enable_crystalhd}" != "no"; then
AC_CHECK_HEADER(libcrystalhd/libcrystalhd_if.h, [ AC_CHECK_HEADER(libcrystalhd/libcrystalhd_if.h, [
VLC_ADD_PLUGIN([crystalhd]) VLC_ADD_PLUGIN([crystalhd])
...@@ -2481,7 +2491,7 @@ dnl ...@@ -2481,7 +2491,7 @@ dnl
dnl libva needs avcodec dnl libva needs avcodec
dnl dnl
AC_ARG_ENABLE(libva, AC_ARG_ENABLE(libva,
[ --enable-libva libva VAAPI support (default auto)]) [ --enable-libva VAAPI GPU decoding support (libVA) (default auto)])
AS_IF([test "${enable_libva}" != "no"], [ AS_IF([test "${enable_libva}" != "no"], [
AS_IF([test "x${have_avcodec}" = "xyes"], [ AS_IF([test "x${have_avcodec}" = "xyes"], [
...@@ -2517,7 +2527,7 @@ dnl ...@@ -2517,7 +2527,7 @@ dnl
dnl dxva2 needs avcodec dnl dxva2 needs avcodec
dnl dnl
AC_ARG_ENABLE(dxva2, AC_ARG_ENABLE(dxva2,
[ --enable-dxva2 DxVA2 support (default auto)]) [ --enable-dxva2 DxVA2 GPU decoding support (default auto)])
AS_IF([test "${enable_dxva2}" != "no"], [ AS_IF([test "${enable_dxva2}" != "no"], [
if test "${SYS}" = "mingw32"; then if test "${SYS}" = "mingw32"; then
...@@ -2719,20 +2729,11 @@ dnl ...@@ -2719,20 +2729,11 @@ dnl
dnl Real plugin dnl Real plugin
dnl dnl
AC_ARG_ENABLE(real, AC_ARG_ENABLE(real,
[ --enable-real Real media module (default disabled)]) [ --enable-real Real video decoder module (default disabled)])
if test "${enable_real}" = "yes"; then if test "${enable_real}" = "yes"; then
VLC_ADD_PLUGIN([realvideo]) VLC_ADD_PLUGIN([realvideo])
fi fi
dnl
dnl Real RTSP plugin
dnl
AC_ARG_ENABLE(realrtsp,
[ --enable-realrtsp Real RTSP module (default disabled)])
if test "${enable_realrtsp}" = "yes"; then
VLC_ADD_PLUGIN([access_realrtsp])
fi
dnl dnl
dnl A52/AC3 decoder plugin dnl A52/AC3 decoder plugin
dnl dnl
...@@ -2946,11 +2947,6 @@ dnl libfluidsynth (MIDI synthetizer) plugin ...@@ -2946,11 +2947,6 @@ dnl libfluidsynth (MIDI synthetizer) plugin
dnl dnl
PKG_ENABLE_MODULES_VLC([FLUIDSYNTH], [], [fluidsynth], [MIDI synthetiser with libfluidsynth], [auto]) PKG_ENABLE_MODULES_VLC([FLUIDSYNTH], [], [fluidsynth], [MIDI synthetiser with libfluidsynth], [auto])
dnl
dnl libsamplerate plugin
dnl
PKG_ENABLE_MODULES_VLC([SAMPLERATE], [], [samplerate], [Resampler with libsamplerate], [auto])
dnl dnl
dnl Teletext Modules dnl Teletext Modules
dnl vbi decoder plugin (using libzbvi) dnl vbi decoder plugin (using libzbvi)
...@@ -3156,6 +3152,20 @@ then ...@@ -3156,6 +3152,20 @@ then
]) ])
fi fi
dnl
dnl Mac Vout
AC_ARG_ENABLE(macosx-vout,
[ --enable-macosx-vout Mac OS X video output module (default enabled on Mac OS X)])
if test "x${enable_macosx_vout}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_vout}" = "yes")
then
VLC_ADD_LIBS([vout_macosx],[-Wl,-framework,Cocoa])
VLC_ADD_LIBS([vout_macosx],[-Wl,-framework,OpenGL])
VLC_ADD_PLUGIN([vout_macosx])
fi
dnl dnl
dnl freetype module dnl freetype module
dnl dnl
...@@ -3207,10 +3217,18 @@ if test "${enable_freetype}" != "no"; then ...@@ -3207,10 +3217,18 @@ if test "${enable_freetype}" != "no"; then
]) ])
fi fi
dnl dnl
dnl libxml2 module dnl QuartzText vout module (iOS/Mac OS)
dnl dnl
PKG_ENABLE_MODULES_VLC([LIBXML2], [xml], [libxml-2.0 >= 2.5], [libxml2 support],[auto]) AC_ARG_ENABLE(macosx-quartztext,
[ --enable-macosx-quartztext Mac OS X quartz text module (default enabled on Mac OS X)])
if test "x${enable_macosx_quartztext}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_quartztext}" = "yes")
then
VLC_ADD_PLUGIN([quartztext])
VLC_ADD_LIBS([quartztext],[-Wl,-framework,ApplicationServices])
fi
dnl dnl
dnl SVG module dnl SVG module
...@@ -3242,18 +3260,6 @@ then ...@@ -3242,18 +3260,6 @@ then
VLC_ADD_LIBS([vout_ios], [-Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit,-framework,Foundation]) VLC_ADD_LIBS([vout_ios], [-Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit,-framework,Foundation])
fi fi
dnl
dnl QuartzText vout module (iOS/Mac OS)
dnl
AC_ARG_ENABLE(macosx-quartztext,
[ --enable-macosx-quartztext Mac OS X quartz text module (default enabled on Mac OS X)])
if test "x${enable_macosx_quartztext}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_quartztext}" = "yes")
then
VLC_ADD_PLUGIN([quartztext])
VLC_ADD_LIBS([quartztext],[-Wl,-framework,ApplicationServices])
fi
dnl dnl
dnl Windows DirectX module dnl Windows DirectX module
dnl dnl
...@@ -3291,7 +3297,7 @@ dnl ...@@ -3291,7 +3297,7 @@ dnl
dnl Windows Direct2D plugin dnl Windows Direct2D plugin
dnl dnl
AC_ARG_ENABLE(direct2d, AC_ARG_ENABLE(direct2d,
[ --enable-direct2d Win7/VistaPU Direct2D support (default auto on Win32)],, [ [ --enable-direct2d Win7/VistaPU Direct2D support (default auto on Win32)],, [
AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [ AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
enable_direct2d="no" enable_direct2d="no"
]) ])
...@@ -3541,7 +3547,7 @@ dnl ...@@ -3541,7 +3547,7 @@ dnl
dnl AudioQueue plugin dnl AudioQueue plugin
dnl dnl
AC_ARG_ENABLE(audioqueue, AC_ARG_ENABLE(audioqueue,
[ --enable-audioqueue AudioQueue audio module (default disabled)]) [ --enable-audioqueue AudioQueue audio module (default disabled)])
if test "${enable_audioqueue}" = "yes" if test "${enable_audioqueue}" = "yes"
then then
VLC_ADD_PLUGIN([audioqueue]) VLC_ADD_PLUGIN([audioqueue])
...@@ -3567,10 +3573,9 @@ if test "${HAVE_ANDROID}" = "1"; then ...@@ -3567,10 +3573,9 @@ if test "${HAVE_ANDROID}" = "1"; then
fi fi
dnl dnl
dnl UPnP Plugin (Intel SDK) dnl libsamplerate plugin
dnl dnl
PKG_ENABLE_MODULES_VLC([UPNP], [upnp], [libupnp], [Intel UPnp SDK],[auto]) PKG_ENABLE_MODULES_VLC([SAMPLERATE], [], [samplerate], [Resampler with libsamplerate], [auto])
VLC_ADD_CXXFLAGS([upnp],[${UPNP_CFLAGS}])
dnl dnl
dnl Interface plugins dnl Interface plugins
...@@ -3719,7 +3724,7 @@ AS_IF([test "${enable_skins2}" != "no" && test "x$enable_qt4" = "xno"], [ ...@@ -3719,7 +3724,7 @@ AS_IF([test "${enable_skins2}" != "no" && test "x$enable_qt4" = "xno"], [
]) ])
dnl dnl
dnl MacOS X video output/gui modules dnl MacOS X gui module
dnl dnl
AC_ARG_ENABLE(macosx, AC_ARG_ENABLE(macosx,
[ --enable-macosx Mac OS X gui support (default enabled on Mac OS X)]) [ --enable-macosx Mac OS X gui support (default enabled on Mac OS X)])
...@@ -3746,19 +3751,8 @@ then ...@@ -3746,19 +3751,8 @@ then
fi fi
dnl dnl
dnl MacOS X related modules dnl MacOS X dialor provider
dnl dnl
AC_ARG_ENABLE(macosx-vout,
[ --enable-macosx-vout Mac OS X video output module (default enabled on Mac OS X)])
if test "x${enable_macosx_vout}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_vout}" = "yes")
then
VLC_ADD_LIBS([vout_macosx],[-Wl,-framework,Cocoa])
VLC_ADD_LIBS([vout_macosx],[-Wl,-framework,OpenGL])
VLC_ADD_PLUGIN([vout_macosx])
fi
AC_ARG_ENABLE(macosx-dialog-provider, AC_ARG_ENABLE(macosx-dialog-provider,
[ --enable-macosx-dialog-provider Mac OS X dialog module (default enabled on Mac OS X)]) [ --enable-macosx-dialog-provider Mac OS X dialog module (default enabled on Mac OS X)])
if test "x${enable_macosx_dialog_provider}" != "xno" && if test "x${enable_macosx_dialog_provider}" != "xno" &&
...@@ -3768,33 +3762,6 @@ then ...@@ -3768,33 +3762,6 @@ then
VLC_ADD_PLUGIN([macosx_dialog_provider]) VLC_ADD_PLUGIN([macosx_dialog_provider])
fi fi
AC_ARG_ENABLE(macosx-qtcapture,
[ --enable-macosx-qtcapture Mac OS X qtcapture (iSight) module (default enabled on Mac OS X)])
if test "x${enable_macosx_qtcapture}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_qtcapture}" = "yes")
then
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,Cocoa])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QTKit])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,CoreAudio])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QuartzCore])
VLC_ADD_LIBS([qtcapture], [-Wl,-framework,CoreVideo])
VLC_ADD_PLUGIN([qtcapture])
fi
AC_ARG_ENABLE(macosx-eyetv,
[ --enable-macosx-eyetv Mac OS X EyeTV (TNT Tuner) module (default enabled on Mac OS X)])
if test "x${enable_macosx_eyetv}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_eyetv}" = "yes")
then
VLC_ADD_LIBS([access_eyetv], [-Wl,-framework,Foundation])
VLC_ADD_PLUGIN([access_eyetv])
fi
AC_ARG_ENABLE(macosx-vlc-app,
[ --enable-macosx-vlc-app build the VLC media player (default enabled on Mac OS X)])
AM_CONDITIONAL(BUILD_MACOSX_VLC_APP, [test "${enable_macosx_vlc_app}" != "no" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_vlc_app}" = "yes") ])
dnl dnl
dnl ncurses module dnl ncurses module
dnl dnl
...@@ -3852,6 +3819,22 @@ then ...@@ -3852,6 +3819,22 @@ then
]) ])
fi fi
dnl
dnl Lirc plugin
dnl
AC_ARG_ENABLE(lirc,
[ --enable-lirc lirc support (default disabled)])
if test "${enable_lirc}" = "yes"
then
AC_CHECK_HEADER(lirc/lirc_client.h, AC_CHECK_LIB(lirc_client, lirc_init, have_lirc="true", have_lirc="false"),have_lirc="false")
if test "${have_lirc}" = "true"
then
VLC_ADD_PLUGIN([lirc])
VLC_ADD_LIBS([lirc],[-llirc_client])
fi
fi
EXTEND_HELP_STRING([Visualisations and Video filter plugins:])
dnl dnl
dnl Visualisation plugin dnl Visualisation plugin
dnl dnl
...@@ -3871,7 +3854,7 @@ dnl ...@@ -3871,7 +3854,7 @@ dnl
dnl libprojectM visualization plugin dnl libprojectM visualization plugin
dnl dnl
AC_ARG_ENABLE(projectm, AC_ARG_ENABLE(projectm,
[ --enable-projectm projectM visualization plugin (default enabled)]) [ --enable-projectm projectM visualization plugin (default enabled)])
AS_IF([test "${enable_projectm}" != "no"], AS_IF([test "${enable_projectm}" != "no"],
[ [
PKG_CHECK_MODULES(PROJECTM, libprojectM, PKG_CHECK_MODULES(PROJECTM, libprojectM,
...@@ -3902,6 +3885,7 @@ AS_IF([test "${enable_atmo}" != no], [ ...@@ -3902,6 +3885,7 @@ AS_IF([test "${enable_atmo}" != no], [
]) ])
]) ])
EXTEND_HELP_STRING([Service Discovery plugins:])
dnl dnl
dnl Bonjour services discovery dnl Bonjour services discovery
PKG_ENABLE_MODULES_VLC([BONJOUR], [], [avahi-client >= 0.6], [Bonjour services discovery], [auto]) PKG_ENABLE_MODULES_VLC([BONJOUR], [], [avahi-client >= 0.6], [Bonjour services discovery], [auto])
...@@ -3915,22 +3899,19 @@ dnl MTP devices services discovery ...@@ -3915,22 +3899,19 @@ dnl MTP devices services discovery
PKG_ENABLE_MODULES_VLC([MTP], [mtp access_mtp], [libmtp >= 1.0.0], [MTP devices support], [auto]) PKG_ENABLE_MODULES_VLC([MTP], [mtp access_mtp], [libmtp >= 1.0.0], [MTP devices support], [auto])
dnl dnl
dnl Lirc plugin dnl UPnP Plugin (Intel SDK)
dnl dnl
AC_ARG_ENABLE(lirc, PKG_ENABLE_MODULES_VLC([UPNP], [upnp], [libupnp], [Intel UPNP SDK],[auto])
[ --enable-lirc lirc support (default disabled)]) VLC_ADD_CXXFLAGS([upnp],[${UPNP_CFLAGS}])
if test "${enable_lirc}" = "yes"
then
AC_CHECK_HEADER(lirc/lirc_client.h, AC_CHECK_LIB(lirc_client, lirc_init, have_lirc="true", have_lirc="false"),have_lirc="false")
if test "${have_lirc}" = "true"
then
VLC_ADD_PLUGIN([lirc])
VLC_ADD_LIBS([lirc],[-llirc_client])
fi
fi
EXTEND_HELP_STRING([Misc options:]) EXTEND_HELP_STRING([Misc options:])
dnl
dnl libxml2 module
dnl
PKG_ENABLE_MODULES_VLC([LIBXML2], [xml], [libxml-2.0 >= 2.5], [libxml2 support],[auto])
dnl dnl
dnl libgcrypt dnl libgcrypt
dnl dnl
...@@ -4033,6 +4014,22 @@ AS_IF([test -f "/etc/maemo_version"], [ ...@@ -4033,6 +4014,22 @@ AS_IF([test -f "/etc/maemo_version"], [
]) ])
dnl
dnl Taglib plugin
dnl
AC_ARG_ENABLE(taglib,
[AS_HELP_STRING([--disable-taglib],
[do not use TagLib (default enabled)])])
AS_IF([test "${enable_taglib}" != "no"], [
PKG_CHECK_MODULES(TAGLIB, taglib >= 1.5, [
VLC_ADD_PLUGIN([taglib])
VLC_ADD_LIBS([taglib],[$TAGLIB_LIBS -lz])
VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS])
], [
AC_MSG_WARN(TagLib library not found)])
])
dnl dnl
dnl update checking system dnl update checking system
dnl dnl
...@@ -4082,10 +4079,32 @@ else ...@@ -4082,10 +4079,32 @@ else
fi fi
AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" != "no"]) AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" != "no"])
dnl
dnl Growl notification plugin
dnl
AC_ARG_ENABLE(growl,
[ --enable-growl growl notification plugin (default disabled)],,
[enable_growl=no])
AS_IF([test "${enable_growl}" != "no"], [
AC_CHECK_HEADERS(${CONTRIB_DIR}/Growl/Growl.framework/Versions/A/Headers/GrowlDefines.h, [
VLC_ADD_PLUGIN([growl])
VLC_ADD_LIBS([growl], [-F${CONTRIB_DIR}/Growl -Wl,-framework,Growl,-framework,CoreFoundation])
VLC_ADD_OBJCFLAGS([growl], [-F${CONTRIB_DIR}/Growl])
VLC_ADD_OBJCFLAGS([growl], [-fobjc-exceptions] )
])
]
)
dnl
dnl Libnotify notification plugin
dnl
PKG_ENABLE_MODULES_VLC([NOTIFY], [], [libnotify gtk+-2.0], [libnotify notification], [auto])
dnl dnl
dnl media library dnl media library
dnl dnl
AC_ARG_ENABLE(media-library, [--enable-media-library media library (default disabled)]) AC_ARG_ENABLE(media-library,
[ --enable-media-library media library (default disabled)])
if test "${enable_media_library}" = "yes"; then if test "${enable_media_library}" = "yes"; then
if test "${enable_sqlite}" != "yes"; then if test "${enable_sqlite}" != "yes"; then
AC_MSG_ERROR([SQLite module is required for the media library]) AC_MSG_ERROR([SQLite module is required for the media library])
...@@ -4162,6 +4181,11 @@ AC_ARG_ENABLE(vlc, ...@@ -4162,6 +4181,11 @@ AC_ARG_ENABLE(vlc,
[ --enable-vlc build the VLC media player (default enabled)]) [ --enable-vlc build the VLC media player (default enabled)])
AM_CONDITIONAL(BUILD_VLC, [test "${enable_vlc}" != "no"]) AM_CONDITIONAL(BUILD_VLC, [test "${enable_vlc}" != "no"])
AC_ARG_ENABLE(macosx-vlc-app,
[ --enable-macosx-vlc-app build the VLC media player (default enabled on Mac OS X)])
AM_CONDITIONAL(BUILD_MACOSX_VLC_APP, [test "${enable_macosx_vlc_app}" != "no" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_vlc_app}" = "yes") ])
dnl dnl
dnl Pic and shared libvlc stuff dnl Pic and shared libvlc stuff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment