projects
/
chise
/
concord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Don't use "AC_CHECK_FUNCS(strnlen)".
[chise/concord.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
8ac29b6
..
f9b2ce7
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-61,8
+61,9
@@
AC_C_INLINE
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_STRNLEN
-
-AC_CHECK_FUNCS(strnlen)
+if test "x$ac_cv_func_strnlen_working" = "xyes"; then
+ AC_DEFINE([HAVE_STRNLEN])
+fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT