$NetBSD: patch-ac,v 1.2 2007/02/18 18:56:47 adrianp Exp $ --- configure.orig 2001-01-07 06:06:39.000000000 +0000 +++ configure @@ -1651,11 +1651,11 @@ if test "${with_libnet+set}" = set; then ;; esac else - if test -f ${prefix}/include/libnet.h; then + if test -f @@LN_INC@@/libnet.h; then CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`" - LNETINC="-I${prefix}/include" - LNETLIB="-L${prefix}/lib -lnet" - LDFLAGS="$LDFLAGS -L${prefix}/lib" + LNETINC="-I@@LN_INC@@" + LNETLIB="-L@@LN_LIB@@ -lnet" + LDFLAGS="$LDFLAGS -L@@LN_LIB@@" elif test -f /usr/include/libnet.h; then CFLAGS="$CFLAGS `libnet-config --defines`" LNETLIB="-lnet" @@ -1908,7 +1908,7 @@ EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then