Advertisement
Guest User

Untitled

a guest
Nov 25th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. diff --git a/configure b/configure
  2. index a83b1f0..b5b7f04 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -1222,6 +1222,7 @@ EXTERNAL_LIBRARY_LIST="
  6. libzvbi
  7. openal
  8. opencl
  9. + rpi
  10. openssl
  11. x11grab
  12. zlib
  13. @@ -1239,6 +1240,7 @@ HWACCEL_LIST="
  14. vaapi
  15. vda
  16. vdpau
  17. + rpi
  18. "
  19.  
  20. LIBRARY_LIST="
  21. @@ -4340,6 +4342,7 @@ enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -l
  22. check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
  23. check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
  24. die "ERROR: openssl not found"; }
  25. +enabled rpi && require_pkg_config rpi bcm_host.h bcm_host_init
  26.  
  27. if enabled gnutls; then
  28. { check_lib nettle/bignum.h nettle_mpz_get_str_256 -lnettle -lhogweed -lgmp && enable nettle; } ||
  29. @@ -4370,6 +4373,9 @@ else
  30. enable sdl
  31. fi
  32. fi
  33. +if check_pkg_config rpi bcm_host.h bcm_host_init; then
  34. + enable rpi
  35. +fi
  36. enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
  37.  
  38. texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
  39. @@ -4742,6 +4748,7 @@ echo "texi2html enabled ${texi2html-no}"
  40. echo "perl enabled ${perl-no}"
  41. echo "pod2man enabled ${pod2man-no}"
  42. echo "makeinfo enabled ${makeinfo-no}"
  43. +echo "rpi gpu decode enabled ${rpi-no}"
  44. test -n "$random_seed" &&
  45. echo "random seed ${random_seed}"
  46. echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement