commit - a7911e35afce4de5f387f9dae0f414ae35006b25
commit + 13d9e0c5a7e03559a2b5bf405b526098b15bd0e6
blob - e48e9e394148514e94c8978e3c796849f8153c9f
blob + 92434ec7d044945f9a25914804cd0df289acade1
--- configure.in
+++ configure.in
AC_CHECK_FUNCS([ \
bind gethostbyaddr gethostbyname gethostname inet_ntoa \
- setsid setsockopt socket strcasecmp waitpid],,AC_MSG_ERROR([required function missing!]))
+ setsid setsockopt socket strcasecmp waitpid],,
+ AC_MSG_ERROR([required function missing!]))
-AC_CHECK_FUNCS(getaddrinfo getnameinfo inet_aton sigaction sigprocmask snprintf \
- vsnprintf strdup strlcpy strlcat strtok_r)
+AC_CHECK_FUNCS([ \
+ gai_strerror getaddrinfo getnameinfo inet_aton sigaction \
+ sigprocmask snprintf vsnprintf strdup strlcpy strlcat strtok_r])
# -- Configuration options --
blob - a75aa34d03ca88eb878f35cba0c93af9a1b98974
blob + 90f36a0ea0e586e3b64f6aeb762f73ba7a5f4098
--- src/portab/portab.h
+++ src/portab/portab.h
extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list args ));
#endif
+#ifndef HAVE_GAI_STRERROR
+#define gai_strerror(r) "unknown error"
+#endif
+
#ifndef PACKAGE_NAME
#define PACKAGE_NAME PACKAGE
#endif