aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-04-16 10:54:51 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-04-16 10:54:51 +0200
commita34a7315472f825df64d553b69f30693a38a955e (patch)
treec85b39687c96633403021000fb8819cb501dc47d
parent4449096e93f1f5f6e667bc358ea48bfe335aa557 (diff)
downloadembedlog-a34a7315472f825df64d553b69f30693a38a955e.tar.gz
embedlog-a34a7315472f825df64d553b69f30693a38a955e.tar.bz2
embedlog-a34a7315472f825df64d553b69f30693a38a955e.zip
add missing checks for fync and fileno in configure
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ccb0e8b..74694a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,8 +96,7 @@ AM_CONDITIONAL([ENABLE_OUT_FILE], [test "x$enable_out_file" = "xyes"])
AS_IF([test "x$enable_out_file" = "xyes"],
[
AC_DEFINE([ENABLE_OUT_FILE], [1], [Enable printing to file])
- AC_CHECK_FUNCS(access)
- AC_CHECK_FUNCS(stat)
+ AC_CHECK_FUNCS(access stat fsync fileno)
AC_CHECK_FUNCS([fopen fclose fwrite remove rename],,
AC_MSG_ERROR(not found, needed by --enable-out-file))
])