0007-fix-linux-configure.patch 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. From 595f0468e127f204741b6c37a479d71daaf571eb Mon Sep 17 00:00:00 2001
  2. From: 21pages <sunboeasy@gmail.com>
  3. Date: Tue, 10 Dec 2024 21:17:14 +0800
  4. Subject: [PATCH] fix linux configure
  5. Signed-off-by: 21pages <sunboeasy@gmail.com>
  6. ---
  7. configure | 6 ------
  8. 1 file changed, 6 deletions(-)
  9. diff --git a/configure b/configure
  10. index d77a55b653..48ca90ac5e 100755
  11. --- a/configure
  12. +++ b/configure
  13. @@ -7071,12 +7071,6 @@ enabled mmal && { check_lib mmal interface/mmal/mmal.h mmal_port_co
  14. check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host; } ||
  15. die "ERROR: mmal not found" &&
  16. check_func_headers interface/mmal/mmal.h "MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"; }
  17. -enabled openal && { check_pkg_config openal "openal >= 1.1" "AL/al.h" alGetError ||
  18. - { for al_extralibs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; do
  19. - check_lib openal 'AL/al.h' alGetError "${al_extralibs}" && break; done } ||
  20. - die "ERROR: openal not found"; } &&
  21. - { test_cpp_condition "AL/al.h" "defined(AL_VERSION_1_1)" ||
  22. - die "ERROR: openal must be installed and version must be 1.1 or compatible"; }
  23. enabled opencl && { check_pkg_config opencl OpenCL CL/cl.h clEnqueueNDRangeKernel ||
  24. check_lib opencl OpenCL/cl.h clEnqueueNDRangeKernel "-framework OpenCL" ||
  25. check_lib opencl CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||
  26. --
  27. 2.34.1