configure: verify the availability of twalk_r() for tests
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 9 Feb 2023 20:03:56 +0000 (21:03 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 10 Feb 2023 08:54:44 +0000 (09:54 +0100)
commitceaf80e5aba71a01b2df0d708e11ffbf74875842
tree434074f55a2b9cd8fc20121e7bae83274b216b9e
parentbfb147a14de5309f2add2c4d26ed2590d1e68ded
configure: verify the availability of twalk_r() for tests

Some C libraries (notably musl) don't have twalk_r() as of yet. Add a
check for it in configure so that we fail sooner rather than at
build-time.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
configure.ac