Commit b38ba5d4 authored by Christophe Mutricy's avatar Christophe Mutricy

Add some option in configure to help Gentoo people. Closes #1045. Closes #1046

parent de4e45c3
...@@ -11,8 +11,9 @@ The VideoLAN team would like to thank the following contributors: ...@@ -11,8 +11,9 @@ The VideoLAN team would like to thank the following contributors:
Alex Antropoff <alant at transtelecom dot md> - RFC3016 (LATM) RTP packetizer extension Alex Antropoff <alant at transtelecom dot md> - RFC3016 (LATM) RTP packetizer extension
Alexander Didebulidze <alexander.didebulidze at stusta dot mhn dot de> - Georgian localization Alexander Didebulidze <alexander.didebulidze at stusta dot mhn dot de> - Georgian localization
Alexander Gall <gall at switch dot ch> - Solaris fixes and CDDB fixes Alexander Gall <gall at switch dot ch> - Solaris fixes and CDDB fixes
Andrea Guzzo <xant at xant dot net> - dc1394 firewire support Alexis Ballier <aballlier at gentoo dot org> - Additional options in configure
Alex Izvorski <aizvorski at gmail dot com> - some more x264 options Alex Izvorski <aizvorski at gmail dot com> - some more x264 options
Andrea Guzzo <xant at xant dot net> - dc1394 firewire support
André de Barros Martins Ribeiro <andrerib at ajato.com.br> - Brazilian portuguese localization André de Barros Martins Ribeiro <andrerib at ajato.com.br> - Brazilian portuguese localization
Andre Pang <adre.pang at csiro dot au> - Annodex support Andre Pang <adre.pang at csiro dot au> - Annodex support
Andres Krapf <dae at via.ecp.fr> - FreeBSD port and tests, KDE interface Andres Krapf <dae at via.ecp.fr> - FreeBSD port and tests, KDE interface
......
...@@ -3122,10 +3122,14 @@ AC_CHECK_HEADERS(sysfs/libsysfs.h, [ ...@@ -3122,10 +3122,14 @@ AC_CHECK_HEADERS(sysfs/libsysfs.h, [
dnl dnl
dnl skins2 module dnl skins2 module
dnl dnl
AC_CHECK_HEADERS(libtar.h, [ AC_ARG_ENABLE(libtar,
VLC_ADD_LDFLAGS([skins2],[-ltar]) [ --enable libtar support for skins2 (default enabled)])
] )
AS_IF([test "${enable_libtar}" != "no"],[
AC_CHECK_HEADERS(libtar.h, [
VLC_ADD_LDFLAGS([skins2],[-ltar])
] )
])
dnl dnl
...@@ -3821,6 +3825,8 @@ dnl SDL module ...@@ -3821,6 +3825,8 @@ dnl SDL module
dnl dnl
AC_ARG_ENABLE(sdl, AC_ARG_ENABLE(sdl,
[ --enable-sdl SDL support (default enabled)]) [ --enable-sdl SDL support (default enabled)])
AC_ARG_ENABLE(sdl-image,
[ --enable-sdl-image SDL image support (default enabled)])
if test "${enable_sdl}" != "no" if test "${enable_sdl}" != "no"
then then
SDL_PATH="${PATH}" SDL_PATH="${PATH}"
...@@ -3874,6 +3880,7 @@ then ...@@ -3874,6 +3880,7 @@ then
Please install it and try again. Alternatively you can also configure with Please install it and try again. Alternatively you can also configure with
--disable-sdl.]) --disable-sdl.])
])]) ])])
AS_IF([ test "${enable_sdl_image}" != "no"],[
AC_CHECK_HEADERS(${SDL_IMAGE}, [AC_DEFINE_UNQUOTED(SDL_IMAGE_INCLUDE_FILE, AC_CHECK_HEADERS(${SDL_IMAGE}, [AC_DEFINE_UNQUOTED(SDL_IMAGE_INCLUDE_FILE,
<${SDL_IMAGE}>, Indicate the path of SDL_image.h) <${SDL_IMAGE}>, Indicate the path of SDL_image.h)
VLC_ADD_PLUGINS([sdl_image]) VLC_ADD_PLUGINS([sdl_image])
...@@ -3887,8 +3894,9 @@ Please install it and try again. Alternatively you can also configure with ...@@ -3887,8 +3894,9 @@ Please install it and try again. Alternatively you can also configure with
[ AC_CHECK_HEADERS(SDL_image.h, AC_DEFINE(SDL_IMAGE_INCLUDE_FILE, <SDL_image.h>, [ AC_CHECK_HEADERS(SDL_image.h, AC_DEFINE(SDL_IMAGE_INCLUDE_FILE, <SDL_image.h>,
As a last resort we also test for SDL_image.h presence), As a last resort we also test for SDL_image.h presence),
[ AC_MSG_WARN([The development package for SDL_image is not installed. [ AC_MSG_WARN([The development package for SDL_image is not installed.
You should install it alongside your SDL package.]) You should install it alongside your SDL package.])
])]) ])])
])
CPPFLAGS="${CPPFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}"
if expr 1.1.5 \> `${SDL_CONFIG} --version` >/dev/null if expr 1.1.5 \> `${SDL_CONFIG} --version` >/dev/null
then then
......
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