From 5fd3712d0ea6d37a850cd9d323425f1378f180e8 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sat, 8 Feb 2020 20:16:59 +0100 Subject: [PATCH] build: check for realpath() in configure.ac Core library is now using realpath(). Check its availability in configure.ac. Signed-off-by: Bartosz Golaszewski --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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])]) -- 2.30.2