dosfstools: switch to AC_CHECK_LIB
authorDavid Bauer <mail@david-bauer.net>
Mon, 16 Jan 2023 00:30:29 +0000 (01:30 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 16 Jan 2023 22:58:16 +0000 (23:58 +0100)
commit807483d3365f3dd011e3790695512d443cf2f267
treee02b2e346af6775767f49a82e5b40ee07ee91ea3
parent3bc6d2af76e29dea23ffd1a96cbbf9c36fc915a3
dosfstools: switch to AC_CHECK_LIB

This fixes spurious build-errors on OpenWrt, where the AM_ICONV macro
is undefined while invoking autoconfig. Later in the build, the ICONV
LDOPTIONS are set to @LIBICONV@, failing the build.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 9300a20dcce2217b121bd2020cc1a4ea41fa4475)
tools/dosfstools/patches/101-config-switch-to-AC_CHECK_LIB.patch [new file with mode: 0644]