2005-05-23 20:01:46 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.3 2005/05/24 00:02:57 mjc Exp $
|
|
|
|
--- configure.orig Wed Oct 6 18:24:21 2004
|
|
|
|
+++ configure Sun May 22 01:03:28 2005
|
|
|
|
@@ -4147,14 +4147,13 @@ fi
|
2005-03-26 20:10:36 -05:00
|
|
|
|
2003-09-26 02:01:13 -04:00
|
|
|
|
2005-05-23 20:01:46 -04:00
|
|
|
|
|
|
|
-CPPFLAGS="${CPPFLAGS} `libnet-config --defines`"
|
2005-03-26 20:10:36 -05:00
|
|
|
-CFLAGS="${CFLAGS} -funroll-loops -pipe"
|
2005-05-23 20:01:46 -04:00
|
|
|
+CPPFLAGS="${CPPFLAGS} `libnet-config-1.0 --defines`"
|
2003-09-26 02:01:13 -04:00
|
|
|
|
2005-05-23 20:01:46 -04:00
|
|
|
-if test `libnet-config --cflags | wc -c` = "1"; then
|
|
|
|
+if test `libnet-config-1.0 --cflags | wc -c` = "1"; then
|
2003-09-26 02:01:13 -04:00
|
|
|
CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
|
2005-05-23 20:01:46 -04:00
|
|
|
LIBNET_CONFIG_BROKEN_CFLAGS=yes
|
|
|
|
else
|
|
|
|
- CPPFLAGS="${CPPFLAGS} `libnet-config --cflags`"
|
|
|
|
+ CPPFLAGS="${CPPFLAGS} `libnet-config-1.0 --cflags`"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test `libnet-config --libs | wc -c` = "1"; then
|