-dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.100 2000-01-18 03:46:49 fenner Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.101 2000-01-18 05:25:06 itojun Exp $ (LBL)
dnl
dnl Copyright (c) 1994, 1995, 1996, 1997
dnl The Regents of the University of California. All rights reserved.
dnl Process this file with autoconf to produce a configure script.
dnl
-AC_REVISION($Revision: 1.100 $)
+AC_REVISION($Revision: 1.101 $)
AC_PREREQ(2.13)
AC_INIT(tcpdump.c)
}
}
- if (inet6 != 2 || inet4 != 2)
- goto bad;
+ /* supported family should be 2, unsupported family should be 0 */
+ if (inet4 == 0 || inet4 == 2)
+ goto good;
+ if (inet6 == 0 || inet6 == 2)
+ goto good;
+ goto bad;
+ good:
if (aitop)
freeaddrinfo(aitop);
exit(0);