patch-configure 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --- ffmpeg-0.5.orig/configure 2009-03-01 18:57:14.000000000 +0100
  2. +++ ffmpeg-0.5/configure 2010-01-06 20:34:48.343750000 +0100
  3. @@ -1167,7 +1167,7 @@ arch=`uname -m`
  4. cpu="generic"
  5. # OS
  6. -target_os=$(tolower $(uname -s))
  7. +target_os=linux
  8. # configurable options
  9. enable debug
  10. @@ -2486,51 +2486,6 @@ cmp -s $TMPH config.h &&
  11. rm -f $TMPC $TMPE $TMPH $TMPO $TMPS $TMPSH
  12. -# build tree in object directory if source path is different from current one
  13. -if enabled source_path_used; then
  14. - DIRS="\
  15. - doc \
  16. - libavcodec \
  17. - libavcodec/alpha \
  18. - libavcodec/arm \
  19. - libavcodec/bfin \
  20. - libavcodec/mlib \
  21. - libavcodec/ppc \
  22. - libavcodec/sh4 \
  23. - libavcodec/sparc \
  24. - libavcodec/x86 \
  25. - libavdevice \
  26. - libavfilter \
  27. - libavformat \
  28. - libavutil \
  29. - libpostproc \
  30. - libswscale \
  31. - tests \
  32. - tools \
  33. - vhook \
  34. - "
  35. - FILES="\
  36. - Makefile \
  37. - common.mak \
  38. - subdir.mak \
  39. - doc/texi2pod.pl \
  40. - libavcodec/Makefile \
  41. - libavdevice/Makefile \
  42. - libavfilter/Makefile \
  43. - libavformat/Makefile \
  44. - libavutil/Makefile \
  45. - libpostproc/Makefile \
  46. - libswscale/Makefile \
  47. - "
  48. - for dir in $DIRS ; do
  49. - mkdir -p $dir
  50. - done
  51. - for f in $FILES ; do
  52. - $ln_s "$source_path/$f" $f
  53. - done
  54. -fi
  55. -
  56. -
  57. # build pkg-config files
  58. pkgconfig_generate(){