summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-04-14 19:20:37 +0200
committerDave Davenport <qball@gmpclient.org>2016-04-14 19:20:37 +0200
commit5af72f739441ab906f086b094d6d1c886dc7b339 (patch)
treef30e60cd519faae6e942a4289971d40dc4ee0741
parentc867b911987c334dea211bba65f6d5b13992a34a (diff)
More configure checks.
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
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