42 lines
956 B
Diff
42 lines
956 B
Diff
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -184,6 +184,7 @@
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wall])
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wpointer-arith])
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wuninitialized])
|
|
+ OSSH_CHECK_CFLAG_COMPILE([-Wimplicit-function-declaration])
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wsign-compare])
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wformat-security])
|
|
OSSH_CHECK_CFLAG_COMPILE([-Wsizeof-pointer-memaccess])
|
|
@@ -1761,8 +1760,6 @@
|
|
strcasestr \
|
|
strdup \
|
|
strerror \
|
|
- strlcat \
|
|
- strlcpy \
|
|
strmode \
|
|
strnlen \
|
|
strnvis \
|
|
@@ -1774,7 +1771,6 @@
|
|
swap32 \
|
|
sysconf \
|
|
tcgetpgrp \
|
|
- timingsafe_bcmp \
|
|
truncate \
|
|
unsetenv \
|
|
updwtmpx \
|
|
@@ -1785,6 +1781,13 @@
|
|
waitpid \
|
|
warn \
|
|
])
|
|
+AC_CHECK_DECLS([ \
|
|
+ explicit_bzero, \
|
|
+ strlcat, \
|
|
+ strlcpy,
|
|
+ timingsafe_bcmp \
|
|
+], [], [], [[#include <string.h>]])
|
|
+AC_CHECK_DECLS([reallocarray], [], [], [[#include <stdlib.h>]])
|
|
|
|
dnl Wide character support.
|
|
AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])
|