summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 46291cc..9f9d305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,8 @@ MKDIR="${MKDIR:-${INSTALL} -d}"
AC_USE_SYSTEM_EXTENSIONS
# setenv() was introduced in POSIX.1-2008.
-AC_CHECK_FUNCS([setenv])
+# strtok_r() was introduced in POSIX.1-2001.
+AC_CHECK_FUNCS([setenv strtok_r])
# strndup() was introduced in POSIX.1-2008 and is also an implicitly declared built-in function in GCC.
AC_MSG_CHECKING([for strndup])