From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/imagemagick: fix configure error with --disable-opencl in setups without libltdl
Date: Tue, 10 Mar 2020 21:51:14 +0100 [thread overview]
Message-ID: <87k13sorwd.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20200204212910.13935-1-peter@korsgaard.com> (Peter Korsgaard's message of "Tue, 4 Feb 2020 22:29:09 +0100")
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> 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>
Committed to 2019.02.x and 2019.11.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2020-03-10 20:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 21:29 [Buildroot] [PATCH] package/imagemagick: fix configure error with --disable-opencl in setups without libltdl Peter Korsgaard
2020-02-04 21:55 ` Yann E. MORIN
2020-03-10 20:51 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k13sorwd.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.