build: check for realpath() in configure.ac
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 8 Feb 2020 19:16:59 +0000 (20:16 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 8 Feb 2020 19:16:59 +0000 (20:16 +0100)
Core library is now using realpath(). Check its availability in
configure.ac.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configure.ac

index d3fa7481e97d3083b1c8ba8cf21c425a951582b5..008499d948baed0112205f5240a76b40083e228c 100644 (file)
@@ -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])])