Skip to content

Commit

Permalink
OpenBSD has pidfile() in -lutil
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
  • Loading branch information
troglobit committed Jun 6, 2017
1 parent 8db127b commit 4a49a32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ AC_CHECK_HEADERS([net/if.h], [], [], [
# include <sys/socket.h>
#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])

Expand Down

0 comments on commit 4a49a32

Please sign in to comment.