diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-08-27 18:22:56 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-08-27 18:22:56 +0000 |
commit | d5d752a1db8ad216db2fe018012d757c080a5927 (patch) | |
tree | f59097ac097a98a8c4d67f8c6a5f61584692534c /configure.ac | |
parent | f25d6c1f24e7dcb9d881c820fe5d269259890ace (diff) |
Fixed HAVE_STRNLEN (sheesh, we don't have strnlen.o)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0e3584e..0477767 100644 --- a/configure.ac +++ b/configure.ac @@ -239,7 +239,8 @@ AC_DEFINE(SETUID, 1,[Check for setuid])], AC_MSG_RESULT([not found])) AC_FUNC_SNPRINTF() ### Check for strnlen -AC_FUNC_STRNLEN() +AC_CHECK_LIB(c, strnlen, [ +AC_DEFINE(HAVE_STRNLEN, 1,[Check for strnlen])], AC_MSG_RESULT([not found])) ## Online unit tests AC_MSG_CHECKING(whether to enable online unit tests) |