GNOME Bugzilla – Bug 733487
openjpeg: Win32-compatible OpenJPEG-2.0 detection
Last modified: 2014-07-22 12:33:26 UTC
Openjpeg 2.x switched to using stdcall on W32 by default, which prevents normal autoconf macros from detecting it. Do a real, honest-to-god linking with a real header to determine Openjpeg presence.
Created attachment 281297 [details] [review] W32-compatible OpenJPEG-2.0 detection OpenJPEG 2.0 API uses stdcall on W32 by default. This prevents normal autoconf library macros from finding its functions. A more compatible check is to acutally link a program that includes a real header.
commit 3ac444d2b7266512b53070cdda17e158697c89cf Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Tue May 6 09:28:14 2014 +0000 openjpeg: Win32-compatible OpenJPEG-2.0 detection OpenJPEG 2.0 API uses stdcall on W32 by default. This prevents normal autoconf library macros from finding its functions. A more compatible check is to acutally link a program that includes a real header. https://bugzilla.gnome.org/show_bug.cgi?id=733487