summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f507c28..e497325 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,10 @@ AC_CHECK_HEADERS([endian.h poll.h sys/poll.h])
AC_CHECK_FUNCS([poll readlink])
AC_SEARCH_LIBS([strlcat], [bsd])
AC_CONFIG_LIBOBJ_DIR([src/util])
-AC_REPLACE_FUNCS([reallocarray strlcat strlcpy])
+AC_REPLACE_FUNCS([reallocarray realpath strlcat strlcpy])
+
+# Check for BSDish err.h
+AC_CHECK_HEADERS([err.h])
# If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
# must first be located explicitly.