projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb147a
)
configure: verify the availability of twalk_r() for tests
author
Bartosz Golaszewski
<bartosz.golaszewski@linaro.org>
Thu, 9 Feb 2023 20:03:56 +0000
(21:03 +0100)
committer
Bartosz Golaszewski
<bartosz.golaszewski@linaro.org>
Fri, 10 Feb 2023 08:54:44 +0000
(09:54 +0100)
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
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 2ad1fee12935f1f59c0e9ab3ed57fe599a9773f5..2b40a785bac20a7bd928a391303a84d5f7a92715 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-161,6
+161,7
@@
then
AC_CHECK_FUNC([openat], [], [FUNC_NOT_FOUND_LIB([openat])])
AC_CHECK_FUNC([mkdirat], [], [FUNC_NOT_FOUND_LIB([mkdirat])])
AC_CHECK_FUNC([write], [], [FUNC_NOT_FOUND_LIB([write])])
+ AC_CHECK_FUNC([twalk_r], [], [FUNC_NOT_FOUND_LIB([twalk_r])])
AC_CHECK_HEADERS([sys/utsname.h], [], [HEADER_NOT_FOUND_LIB([sys/utsname.h])])
AC_CHECK_HEADERS([sys/mount.h], [], [HEADER_NOT_FOUND_LIB([sys/mount.h])])
AC_CHECK_HEADERS([sys/prctl.h], [], [HEADER_NOT_FOUND_LIB([sys/prctl.h])])