Revert "vlc: fix some configure options"

This reverts commit 020047730b5a30491751b81f9bc7017818d29269.

The change of configuration option from --{enable,disable}-* to
--{with,without} was made because we autoreconf vlc, but some vlc m4
functions are overriden by functions coming from our pkg.m4. An
upcoming patch from Arnout fixes the problem in a better way by
renaming the problematic macro so that they have a different name
between their vlc specific variants and the pkg.m4 variants.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2014-03-01 14:51:49 +01:00
parent fa8327edc9
commit d7f13e500e

View File

@ -14,23 +14,23 @@ VLC_AUTORECONF = YES
VLC_CONF_OPT += \ VLC_CONF_OPT += \
--disable-a52 \ --disable-a52 \
--without-shout \ --disable-shout \
--without-twolame \ --disable-twolame \
--without-dca \ --disable-dca \
--without-dirac \ --disable-dirac \
--without-schroedinger \ --disable-schroedinger \
--without-quicksync \ --disable-quicksync \
--without-fluidsynth \ --disable-fluidsynth \
--disable-zvbi \ --disable-zvbi \
--without-kate \ --disable-kate \
--without-caca \ --disable-caca \
--disable-jack \ --disable-jack \
--without-samplerate \ --disable-samplerate \
--without-chromaprint \ --disable-chromaprint \
--without-goom \ --disable-goom \
--disable-projectm \ --disable-projectm \
--disable-vsxu \ --disable-vsxu \
--without-mtp \ --disable-mtp \
--without-opencv --without-opencv
# Building static and shared doesn't work, so force static off. # Building static and shared doesn't work, so force static off.
@ -54,10 +54,10 @@ endif
# bonjour support needs avahi-client, which needs avahi-daemon and dbus # bonjour support needs avahi-client, which needs avahi-daemon and dbus
ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy) ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
VLC_CONF_OPT += --with-bonjour VLC_CONF_OPT += --enable-bonjour
VLC_DEPENDENCIES += avahi dbus VLC_DEPENDENCIES += avahi dbus
else else
VLC_CONF_OPT += --without-bonjour VLC_CONF_OPT += --disable-bonjour
endif endif
ifeq ($(BR2_PACKAGE_DBUS),y) ifeq ($(BR2_PACKAGE_DBUS),y)
@ -101,10 +101,10 @@ VLC_CONF_OPT += --disable-swscale
endif endif
ifeq ($(BR2_PACKAGE_FLAC),y) ifeq ($(BR2_PACKAGE_FLAC),y)
VLC_CONF_OPT += --with-flac VLC_CONF_OPT += --enable-flac
VLC_DEPENDENCIES += flac VLC_DEPENDENCIES += flac
else else
VLC_CONF_OPT += --without-flac VLC_CONF_OPT += --disable-flac
endif endif
ifeq ($(BR2_PACKAGE_MESA3D),y) ifeq ($(BR2_PACKAGE_MESA3D),y)
@ -115,10 +115,10 @@ VLC_CONF_OPT += --disable-glx
endif endif
ifeq ($(BR2_PACKAGE_OPUS),y) ifeq ($(BR2_PACKAGE_OPUS),y)
VLC_CONF_OPT += --with-opus VLC_CONF_OPT += --enable-opus
VLC_DEPENDENCIES += opus VLC_DEPENDENCIES += opus
else else
VLC_CONF_OPT += --without-opus VLC_CONF_OPT += --disable-opus
endif endif
ifeq ($(BR2_PACKAGE_LIBASS),y) ifeq ($(BR2_PACKAGE_LIBASS),y)
@ -152,10 +152,10 @@ VLC_CONF_OPT += --disable-mod
endif endif
ifeq ($(BR2_PACKAGE_LIBMPEG2),y) ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
VLC_CONF_OPT += --with-libmpeg2 VLC_CONF_OPT += --enable-libmpeg2
VLC_DEPENDENCIES += libmpeg2 VLC_DEPENDENCIES += libmpeg2
else else
VLC_CONF_OPT += --without-libmpeg2 VLC_CONF_OPT += --disable-libmpeg2
endif endif
ifeq ($(BR2_PACKAGE_LIBPNG),y) ifeq ($(BR2_PACKAGE_LIBPNG),y)
@ -166,31 +166,31 @@ VLC_CONF_OPT += --disable-png
endif endif
ifeq ($(BR2_PACKAGE_LIBRSVG),y) ifeq ($(BR2_PACKAGE_LIBRSVG),y)
VLC_CONF_OPT += --with-svg VLC_CONF_OPT += --enable-svg
VLC_DEPENDENCIES += librsvg VLC_DEPENDENCIES += librsvg
else else
VLC_CONF_OPT += --without-svg VLC_CONF_OPT += --disable-svg
endif endif
ifeq ($(BR2_PACKAGE_LIBTHEORA),y) ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
VLC_CONF_OPT += --with-theora VLC_CONF_OPT += --enable-theora
VLC_DEPENDENCIES += libtheora VLC_DEPENDENCIES += libtheora
else else
VLC_CONF_OPT += --without-theora VLC_CONF_OPT += --disable-theora
endif endif
ifeq ($(BR2_PACKAGE_LIBUPNP),y) ifeq ($(BR2_PACKAGE_LIBUPNP),y)
VLC_CONF_OPT += --with-upnp VLC_CONF_OPT += --enable-upnp
VLC_DEPENDENCIES += libupnp VLC_DEPENDENCIES += libupnp
else else
VLC_CONF_OPT += --without-upnp VLC_CONF_OPT += --disable-upnp
endif endif
ifeq ($(BR2_PACKAGE_LIBVORBIS),y) ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
VLC_CONF_OPT += --with-vorbis VLC_CONF_OPT += --enable-vorbis
VLC_DEPENDENCIES += libvorbis VLC_DEPENDENCIES += libvorbis
else else
VLC_CONF_OPT += --without-vorbis VLC_CONF_OPT += --disable-vorbis
endif endif
ifeq ($(BR2_PACKAGE_LIBV4L),y) ifeq ($(BR2_PACKAGE_LIBV4L),y)
@ -208,10 +208,10 @@ VLC_CONF_OPT += --disable-xcb
endif endif
ifeq ($(BR2_PACKAGE_LIBXML2),y) ifeq ($(BR2_PACKAGE_LIBXML2),y)
VLC_CONF_OPT += --with-libxml2 VLC_CONF_OPT += --enable-libxml2
VLC_DEPENDENCIES += libxml2 VLC_DEPENDENCIES += libxml2
else else
VLC_CONF_OPT += --without-libxml2 VLC_CONF_OPT += --disable-libxml2
endif endif
# live555 installs a static library only, and vlc tries to link it into a # live555 installs a static library only, and vlc tries to link it into a
@ -261,10 +261,10 @@ VLC_CONF_OPT += --disable-sdl-image
endif endif
ifeq ($(BR2_PACKAGE_SPEEX),y) ifeq ($(BR2_PACKAGE_SPEEX),y)
VLC_CONF_OPT += --with-speex VLC_CONF_OPT += --enable-speex
VLC_DEPENDENCIES += speex VLC_DEPENDENCIES += speex
else else
VLC_CONF_OPT += --without-speex VLC_CONF_OPT += --disable-speex
endif endif
ifeq ($(BR2_PACKAGE_TREMOR),y) ifeq ($(BR2_PACKAGE_TREMOR),y)
@ -275,10 +275,10 @@ VLC_CONF_OPT += --disable-tremor
endif endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y) ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
VLC_CONF_OPT += --with-udev VLC_CONF_OPT += --enable-udev
VLC_DEPENDENCIES += udev VLC_DEPENDENCIES += udev
else else
VLC_CONF_OPT += --without-udev VLC_CONF_OPT += --disable-udev
endif endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)