X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/286b9d5fa4344de72fe6575fa089237fd7dbb56f..d901e231acd1917d24b688cbd7823efc2bed45c4:/test/configure.ac diff --git a/test/configure.ac b/test/configure.ac index 858b8e30f..8b4fafa83 100644 --- a/test/configure.ac +++ b/test/configure.ac @@ -31,7 +31,7 @@ dnl "install" script for some weird reason. host_os=`uname -s` case $CC-$host_os in - gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD) + gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* ) LOADED=bin/loaded LOADED_OPT="-shared -fPIC" echo "Using gcc on $host_os: will compile dynamically loaded module" @@ -57,6 +57,8 @@ AC_SEARCH_LIBS([connect], [socket]) AC_SEARCH_LIBS([inet_pton], [nsl socket resolv]) AC_SEARCH_LIBS([inet_ntop], [nsl socket resolv]) +AC_CHECK_FUNCS_ONCE(getaddrinfo) + dnl "Export" these variables AC_SUBST(BIND_8_COMPAT)