aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-30 08:46:29 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-30 08:46:29 +0000
commit5ec8fb43a559401ee5cb5727a23f088bd827ec04 (patch)
tree905de7f6d66da36137d1540badab22ed8cc19ac1 /acinclude.m4
parent628ea3c84a241ebe19535c899543ecfa278a8d22 (diff)
IPv6 name resolution support on Solaris 8, from Heikki Vatiainen.
svn path=/trunk/; revision=4627
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e5d242a5e2..e6c9ad8f89 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2,7 +2,7 @@ dnl Macros that test for specific features.
dnl This file is part of the Autoconf packaging for Ethereal.
dnl Copyright (C) 1998-2000 by Gerald Combs.
dnl
-dnl $Id: acinclude.m4,v 1.39 2002/01/30 07:52:52 guy Exp $
+dnl $Id: acinclude.m4,v 1.40 2002/01/30 08:46:27 guy Exp $
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -103,7 +103,7 @@ AC_DEFUN(AC_ETHEREAL_IPV6_STACK,
v6lib=none
AC_MSG_CHECKING([ipv6 stack type])
- for i in v6d toshiba kame inria zeta linux linux-glibc; do
+ for i in v6d toshiba kame inria zeta linux linux-glibc solaris8; do
case $i in
v6d)
AC_EGREP_CPP(yes, [
@@ -171,6 +171,13 @@ yes
#endif],
[v6type=$i; v6lib=inet6; CFLAGS="-DINET6 $CFLAGS"])
;;
+ solaris8)
+ if test "`uname -s`" = "SunOS" && test "`uname -r`" = "5.8"; then
+ v6type=$i
+ v6lib=inet6
+ [CFLAGS="-DINET6 -DSOLARIS8_INET6 $CFLAGS"]
+ fi
+ ;;
esac
if test "$v6type" != "unknown"; then
break