aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 18:36:39 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 18:36:46 +0200
commitacde24745e78806a97588efe382ecae58573438d (patch)
treee11df1633577a04a1b1c9398875d36c7a7991c0f /configure.ac
parent633f43164d8245e388a71ab499aff4b3b2b79ceb (diff)
downloadblogc-acde24745e78806a97588efe382ecae58573438d.tar.gz
blogc-acde24745e78806a97588efe382ecae58573438d.tar.bz2
blogc-acde24745e78806a97588efe382ecae58573438d.zip
build: look for sys/wait globally, as it is used in common
also do not check for it in git-receiver, as it is not used
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9e6d7eb..6ed9e3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,7 @@ GIT_RECEIVER="disabled"
AC_ARG_ENABLE([git-receiver], AS_HELP_STRING([--enable-git-receiver],
[build blogc-git-receiver tool]))
AS_IF([test "x$enable_git_receiver" = "xyes"], [
- AC_CHECK_HEADERS([sys/types.h sys/stat.h sys/wait.h time.h libgen.h unistd.h errno.h dirent.h], [
+ AC_CHECK_HEADERS([sys/types.h sys/stat.h time.h libgen.h unistd.h errno.h dirent.h], [
GIT_RECEIVER="enabled"
have_git_receiver=yes
], [
@@ -220,7 +220,7 @@ AM_CONDITIONAL([USE_BGR_DEPS], [test "x$have_bgr_deps" = "xyes"])
BASH="$ac_cv_path_bash"
AC_SUBST(BASH)
-AC_CHECK_HEADERS([sys/stat.h time.h])
+AC_CHECK_HEADERS([sys/stat.h sys/wait.h time.h])
LT_LIB_M