aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-05-17 06:04:44 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-05-17 06:04:44 +0000
commit0427e94465661ef1b8127c3cd483dc5ffab04f2a (patch)
treea9c6868ef5a6fdc21aeb3b89f1653eed9e82bd2f /configure.ac
parent09fd3b4935afbc6e2b564ebedb5758fed6acfa12 (diff)
Added support for compiling under Minix 3.1.3 using ACK.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 778cfdf0d..76b9dc86c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -418,6 +418,21 @@ fi
if test "$HAVE_GETHOSTBYNAME" != "1"
then
+ dnl This is for Minix 3.1
+ AC_MSG_CHECKING([for gethostbyname for Minix 3])
+ AC_TRY_LINK([
+/* Older Minix versions may need <net/gen/netdb.h> here instead */
+#include <netdb.h>],
+ [gethostbyname("www.dummysite.com");],
+ [ dnl worked!
+ AC_MSG_RESULT([yes])
+ HAVE_GETHOSTBYNAME="1"],
+ AC_MSG_RESULT(no)
+ )
+fi
+
+if test "$HAVE_GETHOSTBYNAME" != "1"
+then
dnl This is for eCos with a stubbed DNS implementation
AC_MSG_CHECKING([for gethostbyname for eCos])
AC_TRY_LINK([