From 10ad1196e3f7f240a231e91d7cb2a612da3d6b4e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 15 Mar 2006 17:02:32 +0000 Subject: Tighter check if strerror declaration is needed. svn path=/branches/BRANCH_6-3/; revision=4743 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4fb2f4e7..1549aed9 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,8 @@ AC_CHECK_FUNCS(tcsetattr stty setsid geteuid seteuid dnl atexit inet_aton strftime setrlimit socketpair sigprocmask dnl sigaction strdup setlocale) +AC_CHECK_DECLS(strerror) + # Under Red Hat 4.0 (and many other Linuxes) -lresolv is seriously flaky # and breaks gethostbyname(2). It's better to use the bind stuff in the C # library. So don't add -lresolv to the link list unless it's necessary -- cgit v1.2.3