diff --git a/configure.ac b/configure.ac
index fe8dfacafd48520d353a3cfe2378207323d40930..7f4d4fcdf172b5115313965dc1c081a302739ee4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1562,7 +1562,8 @@ AC_CHECK_FUNCS( strtoll \
                 poll \
                 getprotobyname \
                 getrlimit \
-                setrlimit,
+                setrlimit \
+                fork,
 dnl if found
 [],
 dnl if not found, $ac_func is the name we check for