From 5af72f739441ab906f086b094d6d1c886dc7b339 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 14 Apr 2016 19:20:37 +0200 Subject: [PATCH] More configure checks. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index d3e380df..b9ba84d1 100644 --- a/configure.ac +++ b/configure.ac @@ -74,8 +74,14 @@ AS_IF([test "x$enable_i3support" != xno && test "x$enable_windowmode" != "xno"], dnl --------------------------------------------------------------------- dnl Check for C functions. dnl --------------------------------------------------------------------- +AC_CHECK_FUNC([getline],, AC_MSG_ERROR("Could not find getline in c library")) AC_CHECK_FUNC([getdelim],, AC_MSG_ERROR("Could not find getdelim in c library")) AC_CHECK_FUNC([sysconf],, AC_MSG_ERROR("Could not find sysconf")) +AC_CHECK_FUNC([getenv],, AC_MSG_ERROR("Could not find getenv")) +AC_CHECK_FUNC([strtok_r],, AC_MSG_ERROR("Could not find strtok_r")) +AC_CHECK_FUNC([flock],, AC_MSG_ERROR("Could not find flock")) +AC_CHECK_FUNC([ftruncate],,AC_MSG_ERROR("Could not find ftruncate")) +AC_CHECK_FUNC([fcntl],, AC_MSG_ERROR("Could not find fcntl")) dnl --------------------------------------------------------------------- dnl Check dependencies