mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
The original check was not compliant with autoconf's syntax, did not have a very good behaviour for user and was not easy to make evolve. The new macro: - uses as much as possible autoconf macros for portability and code consistency; - provides a consistent behaviour on yes/no/auto (if user explicitly enables support, do not silently disable if not found; if library is found but not the header, complain to let user install it or explicitly disable support); - makes uses of shell functions to keep generated configure smaller by sharing reusable stuff; - introduces a tracking of unsupported things to be reported to user It includes a fixes from a problem found by Amadeusz S-B³awiñski, because-A the function 'wm_fn_imgfmt_try_link' modified the variable LDFLAGS instead of LIBS. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>