blob: 16fe23c3dfaa4934a41a1712d62d8e0609573da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
https://bugs.gentoo.org/880531
Let’s assume that strlcat and strlcpy are declared in string.h
It avoids a failure while checking
diff --git a/configure.ac b/configure.ac
index f727770..a57d048 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,8 +166,6 @@ AC_LIBOBJ([iswalnum])
AC_LIBOBJ([towlower])
# AC_LIBOBJ([wcwidth])
-AC_REPLACE_FUNCS(strlcpy strlcat)
-
echo .
echo Making output files
diff --git a/dictP.h b/dictP.h
index 198cce7..fa8ed25 100644
--- a/dictP.h
+++ b/dictP.h
@@ -85,14 +85,6 @@ extern wint_t towlower__ (wint_t wc);
#include <wchar.h>
-#if !HAVE_STRLCPY
-extern size_t strlcpy (char *s, const char * wc, size_t size);
-#endif
-
-#if !HAVE_STRLCAT
-size_t strlcat(char *dst, const char *src, size_t siz);
-#endif
-
#if !HAVE_WCRTOMB
extern size_t wcrtomb__ (char *s, wchar_t wc, mbstate_t *ps);
#else
|