patch-configure_in 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --- xbmc-13.1.orig/configure.in 2014-06-12 10:25:21.000000000 +0200
  2. +++ xbmc-13.1/configure.in 2014-06-26 20:29:26.343281621 +0200
  3. @@ -601,7 +601,7 @@ MAKE="${MAKE:-make}"
  4. OBJDUMP="${OBJDUMP:-objdump}"
  5. use_external_ffmpeg=no
  6. -use_static_ffmpeg=no
  7. +use_static_ffmpeg=yes
  8. # ffmpeg needs the output of uname -s (e.x. linux, darwin) for the target_os
  9. # there is no autoconf variable which will give
  10. @@ -609,7 +609,7 @@ use_static_ffmpeg=no
  11. # so we have to use our own var here
  12. # defaults to the build side target_os
  13. # and should be overridden for cross below (see android)
  14. -ffmpeg_target_os=$(tolower $(uname -s))
  15. +ffmpeg_target_os=linux
  16. # host detection and setup
  17. case $host in
  18. @@ -626,7 +626,7 @@ case $host in
  19. use_x11=no
  20. build_shared_lib=yes
  21. ;;
  22. - i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
  23. + i*86*-linux-*)
  24. ARCH="i486-linux"
  25. if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
  26. use_arch="x86"
  27. @@ -634,7 +634,7 @@ case $host in
  28. fi
  29. use_static_ffmpeg=yes
  30. ;;
  31. - x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
  32. + x86_64-*-linux-*)
  33. ARCH="x86_64-linux"
  34. if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
  35. use_arch="x86_64"
  36. @@ -680,13 +680,13 @@ case $host in
  37. ARCH="powerpc-osx"
  38. use_arch="ppc"
  39. ;;
  40. - powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*)
  41. + powerpc-*-linux-*)
  42. ARCH="powerpc-linux"
  43. ;;
  44. - powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
  45. + powerpc64-*-linux-*)
  46. ARCH="powerpc64-linux"
  47. ;;
  48. - arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
  49. + arm*-*-linux-*)
  50. ARCH="arm"
  51. use_arch="arm"
  52. ffmpeg_target_os=linux
  53. @@ -1048,7 +1048,7 @@ if test "$use_gles" = "yes"; then
  54. AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."])
  55. AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."])
  56. AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.)
  57. - LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
  58. + LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lkhrn_static -lpthread -lm"
  59. else
  60. AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library))
  61. AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library))
  62. @@ -2532,11 +2532,8 @@ OUTPUT_FILES="Makefile \
  63. xbmc/cores/AudioEngine/Makefile \
  64. xbmc/cores/paplayer/Makefile \
  65. xbmc/cores/omxplayer/Makefile \
  66. - lib/timidity/Makefile \
  67. lib/asap/Makefile \
  68. - lib/nosefart/Makefile \
  69. lib/libsidplay2/Makefile \
  70. - lib/vgmstream/Makefile \
  71. lib/snesapu/SNES/SNESAPU/Makefile \
  72. lib/stsound/StSoundLibrary/Makefile \
  73. xbmc/cores/playercorefactory/Makefile \