- hstrerror: if not found, look in libresolv as well (Solaris)
This commit is contained in:
+4
-1
@@ -319,7 +319,10 @@ AC_CHECK_FUNCS(getopt_long daemon syslog)
|
||||
AC_CHECK_FUNCS(getuid setuid getgid setgid getpwnam chroot)
|
||||
AC_CHECK_FUNCS(socket bind select read send sendto)
|
||||
AC_CHECK_FUNCS(strncpy strchr strstr sprintf vfprintf vsnprintf)
|
||||
AC_CHECK_FUNCS(fgets sscanf hstrerror)
|
||||
AC_CHECK_FUNCS(fgets sscanf)
|
||||
AC_CHECK_FUNCS(hstrerror,,AC_CHECK_LIB(resolv,hstrerror,[
|
||||
AC_DEFINE_UNQUOTED(HAVE_HSTRERROR)
|
||||
LIBS="$LIBS -lresolv"]))
|
||||
AC_CHECK_FUNCS(inet_pton inet_ntop inet_aton inet_ntoa)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user