aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@xbmc.org>2011-02-19 12:07:35 +0200
committerAnssi Hannula <anssi@xbmc.org>2011-02-19 12:07:35 +0200
commitbc57d598e74f984f5a89d446e6ea462c3ffed508 (patch)
tree8586306ec0053dacab1a1609cc3bdbebc6a32e4f /configure.in
parentca68de7039e347075dee46e9175a6665a6ddaf9e (diff)
parent2886a8afbe4af0a37e224328280743d8ca69c220 (diff)
Merge removal of unneeded libdts and liba52
Conflicts: .gitignore XBMC.xcodeproj/project.pbxproj configure.in lib/Makefile.in project/VS2010Express/XBMC.vcxproj project/VS2010Express/XBMC.vcxproj.filters tools/Linux/packaging/debian/copyright xbmc/DllPaths_win32.h xbmc/cores/dvdplayer/DVDCodecs/Audio/Makefile.in
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in151
1 files changed, 0 insertions, 151 deletions
diff --git a/configure.in b/configure.in
index e5f80da9ce..028371a2a5 100644
--- a/configure.in
+++ b/configure.in
@@ -94,10 +94,6 @@ external_libraries_enabled="== Use of all supported external libraries enabled.
external_libraries_disabled="== Use of all supported external libraries disabled. =="
external_ffmpeg_enabled="== Use of external ffmpeg enabled. =="
external_ffmpeg_disabled="== Use of external ffmpeg disabled. =="
-external_liba52_enabled="== Use of external liba52 enabled. =="
-external_liba52_disabled="== Use of external liba52 disabled. =="
-external_libdts_enabled="== Use of external libdts enabled. =="
-external_libdts_disabled="== Use of external libdts disabled. =="
external_python_enabled="== Use of external python enabled. =="
external_python_disabled="== Use of external python disabled. =="
ffmpeg_vdpau_not_supported="== External ffmpeg doesn't support VDPAU. VDPAU support disabled. =="
@@ -274,18 +270,6 @@ AC_ARG_ENABLE([optical-drive],
[use_optical_drive=$enableval],
[use_optical_drive=yes])
-AC_ARG_ENABLE([libdts],
- [AS_HELP_STRING([--enable-libdts],
- [enable deprecated libdts support])],
- [use_libdts=$enableval],
- [use_libdts=no])
-
-AC_ARG_ENABLE([liba52],
- [AS_HELP_STRING([--enable-liba52],
- [enable deprecated liba52 support])],
- [use_liba52=$enableval],
- [use_liba52=no])
-
AC_ARG_ENABLE([libbluray],
[AS_HELP_STRING([--enable-libbluray],
[enable libbluray support])],
@@ -312,18 +296,6 @@ AC_ARG_ENABLE([external-ffmpeg],
[use_external_ffmpeg=$enableval],
[use_external_ffmpeg=$use_external_libraries])
-AC_ARG_ENABLE([external-liba52],
- [AS_HELP_STRING([--enable-external-liba52],
- [enable use of external liba52 library (default is no) 'Linux only'])],
- [use_external_liba52=$enableval],
- [use_external_liba52=$use_external_libraries])
-
-AC_ARG_ENABLE([external-libdts],
- [AS_HELP_STRING([--enable-external-libdts],
- [enable use of external libdts library (default is no) 'Linux only'])],
- [use_external_libdts=$enableval],
- [use_external_libdts=$use_external_libraries])
-
AC_ARG_ENABLE([external-python],
[AS_HELP_STRING([--enable-external-python],
[enable use of external python library (default is no) 'Linux only'])],
@@ -888,34 +860,6 @@ else
AC_DEFINE([PIX_FMT_VDPAU_MPEG4_IN_AVUTIL], [1], [Whether AVUtil defines PIX_FMT_VDPAU_MPEG4.])
fi
-# External liba52 if deprecated a52 support is enabled
-if test "$use_liba52" = "yes" && "$use_external_liba52" = "yes"; then
- AC_CHECK_LIB([a52], [main],, AC_MSG_ERROR($missing_library))
-
- AC_MSG_NOTICE($external_liba52_enabled)
- USE_EXTERNAL_LIBA52=1
- AC_DEFINE([USE_EXTERNAL_LIBA52], [1], [Whether to use external liba52 library.])
- USE_INTERNAL_LIBA52=0
- SKIP_CONFIG_LIBA52=1
-else
- AC_MSG_NOTICE($external_liba52_disabled)
- USE_EXTERNAL_LIBA52=0
-fi
-
-# External libdts if deprecated dts support enabled
-if test "$use_libdts" = "yes" && "$use_external_libdts" = "yes"; then
- AC_CHECK_LIB([dts], [main],, AC_MSG_ERROR($missing_library))
-
- AC_MSG_NOTICE($external_libdts_enabled)
- USE_EXTERNAL_LIBDTS=1
- AC_DEFINE([USE_EXTERNAL_LIBDTS], [1], [Whether to use external libdts library.])
- USE_INTERNAL_LIBDTS=0
- SKIP_CONFIG_LIBDTS=1
-else
- AC_MSG_NOTICE($external_libdts_disabled)
- USE_EXTERNAL_LIBDTS=0
-fi
-
# External Python
if test "$use_external_python" = "yes"; then
AC_CHECK_LIB([python2.6], [main],
@@ -1348,54 +1292,12 @@ else
final_message="$final_message\n Optical drive:\tNo"
fi
-if test "$use_libdts" = "yes"; then
- USE_LIBDTS_DECODER=1
- AC_DEFINE([USE_LIBDTS_DECODER], [1], [Define to 1 to enable deprecated libdts support])
- if ! test "$USE_EXTERNAL_LIBDTS" = "1"; then
- USE_INTERNAL_LIBDTS=1
- SKIP_CONFIG_LIBDTS=0
- fi
- final_message="$final_message\n Deprecated libdts:\tYes"
-else
- USE_INTERNAL_LIBDTS=0
- SKIP_CONFIG_LIBDTS=1
- final_message="$final_message\n Deprecated libdts:\tNo"
-fi
-
-if test "$use_liba52" = "yes"; then
- USE_LIBA52_DECODER=1
- AC_DEFINE([USE_LIBA52_DECODER], [1], [Define to 1 to enable deprecated liba52 support])
- if ! test "$USE_EXTERNAL_LIBA52" = "1"; then
- USE_INTERNAL_LIBA52=1
- SKIP_CONFIG_LIBA52=0
- fi
- final_message="$final_message\n Deprecated liba52:\tYes"
-else
- USE_INTERNAL_LIBA52=0
- SKIP_CONFIG_LIBA52=1
- final_message="$final_message\n Deprecated liba52:\tNo"
-fi
-
### External libraries messages
if test "$use_external_ffmpeg" = "yes"; then
final_message="$final_message\n External FFmpeg:\tYes"
else
final_message="$final_message\n External FFmpeg:\tNo"
fi
-if test "$use_liba52" = "yes"; then
- if test "$use_external_liba52" = "yes"; then
- final_message="$final_message\n External liba52:\tYes"
- else
- final_message="$final_message\n External liba52:\tNo"
- fi
-fi
-if test "$use_libdts" = "yes"; then
- if test "$use_external_libdts" = "yes"; then
- final_message="$final_message\n External libdts:\tYes"
- else
- final_message="$final_message\n External libdts:\tNo"
- fi
-fi
if test "$use_external_python" = "yes"; then
final_message="$final_message\n External Python:\tYes"
else
@@ -1490,11 +1392,7 @@ AC_SUBST(SDL_DEFINES)
AC_SUBST(BUILD_DVDCSS)
AC_SUBST(BUILD_GOOM)
AC_SUBST(USE_EXTERNAL_FFMPEG)
-AC_SUBST(USE_EXTERNAL_LIBA52)
-AC_SUBST(USE_INTERNAL_LIBA52)
AC_SUBST(USE_EXTERNAL_LIBASS)
-AC_SUBST(USE_EXTERNAL_LIBDTS)
-AC_SUBST(USE_INTERNAL_LIBDTS)
AC_SUBST(USE_EXTERNAL_LIBMPEG2)
AC_SUBST(USE_EXTERNAL_LIBWAVPACK)
AC_SUBST(USE_EXTERNAL_PYTHON)
@@ -1700,28 +1598,6 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
fi
], [$USE_EXTERNAL_FFMPEG])
-XB_CONFIG_MODULE([lib/libdts], [
- if test "$host_vendor" = "apple" ; then
- CFLAGS="$CFLAGS -fno-common"
- LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
- ./configure \
- --disable-oss \
- --disable-solaris-audio \
- --disable-al-audio \
- --disable-win
- else
- ./configure \
- --host=$host_alias \
- --build=$build_alias \
- --target=$target_alias \
- --disable-oss \
- --disable-solaris-audio \
- --disable-al-audio \
- --disable-win \
- CFLAGS="$CFLAGS"
- fi
-], [$SKIP_CONFIG_LIBDTS])
-
XB_CONFIG_MODULE([lib/libdvd/libdvdcss], [
if test "$host_vendor" = "apple" ; then
./configure MACOSX_DEPLOYMENT_TARGET=10.4 \
@@ -1795,33 +1671,6 @@ XB_CONFIG_MODULE([lib/libdvd/libdvdnav], [
fi
], [0])
-XB_CONFIG_MODULE([lib/liba52], [
- if test "$host_vendor" = "apple" ; then
- CFLAGS="$CFLAGS -fno-common" \
- ./configure MACOSX_DEPLOYMENT_TARGET=10.4 \
- --with-pic \
- --disable-static \
- --enable-shared \
- --disable-oss \
- --disable-solaris-audio \
- --disable-win \
- --disable-al-audio
- else
- ./configure \
- --host=$host_alias \
- --build=$build_alias \
- --target=$target_alias \
- --with-pic \
- --disable-static \
- --enable-shared \
- --disable-oss \
- --disable-solaris-audio \
- --disable-win \
- --disable-al-audio \
- CFLAGS="$CFLAGS"
- fi
-], [$SKIP_CONFIG_LIBA52])
-
XB_CONFIG_MODULE([lib/libmad], [
if test "$host_vendor" = "apple" ; then
CFLAGS="$CFLAGS -fno-common" \