$NetBSD: patch-ab,v 1.5 2012/04/07 09:23:11 obache Exp $ --- configure.orig 1997-04-18 09:33:57.000000000 +0000 +++ configure @@ -538,7 +538,7 @@ ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. -subdirs="libpcap-0.3" +subdirs= # Extract the first word of "gcc", so it can be a program name with args. @@ -996,7 +996,7 @@ cat >> confdefs.h <> confdefs.h <<\EOF #define FREEBSD 1 EOF @@ -1304,6 +1304,14 @@ EOF OS_OPT= ;; +netbsd*) + cat >> confdefs.h <<\EOF +#define NETBSD 1 +EOF + + OS_OPT= + + ;; *) echo "NOT A SUPPORTED SYSTEM / OR SYSTEM NOT RECOGNISED" echo "Contact if you feel it might be a bug."