From 4a49a329007df5849d1eb18ff03d2dd8d151f600 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 6 Jun 2017 18:10:35 +0200 Subject: [PATCH] OpenBSD has pidfile() in -lutil Signed-off-by: Joachim Nilsson --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0e8f58a5..b9ee8912 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,9 @@ AC_CHECK_HEADERS([net/if.h], [], [], [ # include #endif]) +# Check if some func is not in libc +AC_CHECK_LIB([util], [pidfile]) + # Check for required functions in libc AC_CHECK_FUNCS([atexit getifaddrs if_nametoindex])