fix configure.in so that libnet-config is actually useful, as requested by Matt Behrens <matt@zigg.com>.

This commit is contained in:
dugsong 2001-06-04 05:50:51 +00:00
parent 2e2d6a93da
commit e3251b2bb6
4 changed files with 15 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2001/04/21 15:01:02 brad Exp $
# $OpenBSD: Makefile,v 1.23 2001/06/04 05:50:51 dugsong Exp $
COMMENT= "raw IP packet construction library"
@ -16,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_STYLE= autoconf
WRKDIST= ${WRKDIR}/Libnet-1.0.2a

View File

@ -1,14 +0,0 @@
--- configure.orig Mon Feb 19 00:53:23 2001
+++ configure Mon Feb 19 00:54:54 2001
@@ -958,11 +958,6 @@ fi
-if test $ac_cv_prog_gcc = yes; then
- CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
- CFLAGS="$CCOPTS"
-fi
-
# Check whether --with-pf_packet or --without-pf_packet was given.
if test "${with_pf_packet+set}" = set; then
withval="$with_pf_packet"

View File

@ -1,6 +1,16 @@
--- configure.in.orig Mon Feb 19 00:45:54 2001
+++ configure.in Mon Feb 19 00:46:59 2001
@@ -49,12 +49,12 @@ AC_C_CONST
--- configure.in.orig Wed Jan 17 15:59:30 2001
+++ configure.in Mon Jun 4 01:41:14 2001
@@ -33,6 +33,9 @@
if test "$prefix" = "NONE"; then
prefix="/usr"
+else
+ LIBNET_CONFIG_CFLAGS="-I${prefix}/include"
+ LIBNET_CONFIG_LIBS="-L${prefix}/lib"
fi
dnl
@@ -49,12 +52,12 @@
dnl
dnl Use these compiler flags if we have gcc.
dnl