From: Bartosz Golaszewski Date: Sat, 8 Feb 2020 19:16:59 +0000 (+0100) Subject: build: check for realpath() in configure.ac X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5fd3712d0ea6d37a850cd9d323425f1378f180e8;p=qemu-gpiodev%2Flibgpiod.git build: check for realpath() in configure.ac Core library is now using realpath(). Check its availability in configure.ac. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index d3fa748..008499d 100644 --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,7 @@ AC_CHECK_FUNC([asprintf], [], [FUNC_NOT_FOUND_LIB([asprintf])]) AC_CHECK_FUNC([scandir], [], [FUNC_NOT_FOUND_LIB([scandir])]) AC_CHECK_FUNC([alphasort], [], [FUNC_NOT_FOUND_LIB([alphasort])]) AC_CHECK_FUNC([ppoll], [], [FUNC_NOT_FOUND_LIB([ppoll])]) +AC_CHECK_FUNC([realpath], [], [FUNC_NOT_FOUND_LIB([realpath])]) AC_CHECK_HEADERS([getopt.h], [], [HEADER_NOT_FOUND_LIB([getopt.h])]) AC_CHECK_HEADERS([dirent.h], [], [HEADER_NOT_FOUND_LIB([dirent.h])]) AC_CHECK_HEADERS([sys/poll.h], [], [HEADER_NOT_FOUND_LIB([sys/poll.h])])