X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/286b9d5fa4344de72fe6575fa089237fd7dbb56f..632b9f8daa4c1c9c417787ff49b0b9fcd1c6fd99:/test/configure.ac?ds=inline 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)