Files
buildroot/package
Peter Korsgaard d3d5822fb3 package/imagemagick: fix configure error with --disable-opencl in setups without libltdl
Fixes:
http://autobuild.buildroot.net/results/d9a/d9a84b642357f758c3f84270fb9a109abd7e2684/

configure.ac contains a test using $ax_cv_check_cl_libcl:

if test "$build_modules" != 'no' || test "X$ax_cv_check_cl_libcl" != Xno; then
  AC_MSG_RESULT([-------------------------------------------------------------])
  AC_MSG_CHECKING([for libltdl])

But ax_cv_check_cl_libcl is only assigned a value (yes/no) if
--disable-opencl is NOT passed, as the assignment logic is inside a
conditional:

AC_ARG_ENABLE([opencl],
    [AC_HELP_STRING([--disable-opencl],
                    [do not use OpenCL])],
    [disable_opencl=$enableval],
    [disable_opencl='yes'])

if test "$disable_opencl" = 'yes'; then
  ..
  AC_CACHE_CHECK([for OpenCL library], [ax_cv_check_cl_libcl],

So configure errors out if --disable-opencl is passed on setups where
libltdl isn't available:

checking if libltdl package is complete... no
configure: error: in `/home/naourr/work/instance-0/output-1/build/imagemagick-7.0.8-59':
configure: error: libltdl is required for modules and OpenCL builds

As a workaround, explictly set ax_cv_check_cl_libcl=no to skip this
conditional.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit cf9591660a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-03-10 21:50:35 +01:00
..
2019-10-26 09:51:38 +02:00
2019-12-22 20:31:57 +01:00
2019-11-28 20:08:42 +01:00
2019-11-10 20:37:35 +01:00
2019-10-17 09:49:06 +02:00
2019-10-27 10:09:37 +01:00
2019-12-22 22:01:55 +01:00
2020-01-11 10:58:10 +01:00
2019-10-27 12:47:05 +01:00
2019-10-22 20:41:27 +02:00
2019-10-16 22:20:36 +02:00
2019-11-10 14:32:08 +01:00
2019-10-18 11:29:25 +02:00
2020-03-07 14:59:27 +01:00
2019-11-24 12:15:40 +01:00
2019-10-13 22:48:03 +02:00
2019-10-22 23:27:58 +02:00
2019-10-13 22:48:19 +02:00
2019-10-29 10:42:15 +01:00
2019-11-24 22:18:12 +01:00
2019-10-16 22:27:49 +02:00
2019-10-21 23:22:52 +02:00
2019-10-16 22:18:42 +02:00
2019-10-26 16:26:56 +02:00
2019-12-22 20:33:50 +01:00
2019-12-23 19:14:38 +01:00
2019-11-18 22:12:21 +01:00
2019-11-04 21:58:37 +01:00
2020-01-10 21:05:31 +01:00
2019-11-18 23:23:44 +01:00
2019-11-29 14:10:54 +01:00
2019-10-18 16:42:22 +02:00
2019-11-07 21:09:45 +01:00
2019-10-17 09:49:15 +02:00
2019-10-21 21:36:51 +02:00
2019-10-27 10:09:53 +01:00
2019-11-13 22:32:10 +01:00
2019-11-06 22:58:27 +01:00
2019-10-27 16:35:15 +01:00
2019-10-31 23:19:11 +01:00
2019-10-19 20:48:03 +02:00
2019-11-23 19:23:35 +01:00
2019-11-02 22:32:19 +01:00
2019-12-22 19:37:00 +01:00
2020-01-07 23:03:55 +01:00
2019-11-04 21:48:26 +01:00
2019-11-01 08:03:51 +01:00
2019-12-25 22:27:15 +01:00
2019-11-04 22:39:26 +01:00
2019-10-20 15:57:44 +02:00
2020-02-29 08:07:52 +01:00
2019-11-08 20:15:21 +01:00
2019-10-21 23:33:59 +02:00
2019-11-24 20:14:40 +01:00
2019-11-29 11:38:34 +01:00
2019-10-12 15:37:14 +02:00
2019-10-22 20:40:48 +02:00
2019-10-21 21:40:56 +02:00
2019-11-05 21:45:27 +01:00
2019-12-22 19:43:06 +01:00
2019-12-25 22:32:15 +01:00
2019-10-26 12:32:25 +02:00