$OpenBSD: patch-configure,v 1.4 2005/06/02 07:19:56 mjc Exp $ --- configure.orig Wed Oct 6 18:24:21 2004 +++ configure Wed Jun 1 13:01:24 2005 @@ -4147,24 +4147,23 @@ fi -CPPFLAGS="${CPPFLAGS} `libnet-config --defines`" -CFLAGS="${CFLAGS} -funroll-loops -pipe" +CPPFLAGS="${CPPFLAGS} `libnet-config-1.0 --defines`" -if test `libnet-config --cflags | wc -c` = "1"; then +if test `libnet-config-1.0 --cflags | wc -c` = "1"; then CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include" 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 - { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5 -echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;} +if test `libnet-config-1.0 --libs | wc -c` = "1"; then + { echo "$as_me:$LINENO: WARNING: libnet-config-1.0 --libs is broken on your system. If you" >&5 +echo "$as_me: WARNING: libnet-config-1.0 --libs is broken on your system. If you" >&2;} { echo "$as_me:$LINENO: WARNING: are using a precompiled package please notify the maintainer." >&5 echo "$as_me: WARNING: are using a precompiled package please notify the maintainer." >&2;} LIBS="${LIBS} -L/usr/local/lib -L/sw/lib" else - LIBS="${LIBS} `libnet-config --libs | sed s/\-lnet//`" + LIBS="${LIBS} `libnet-config-1.0 --libs | sed s/\-lnet//`" fi @@ -5430,7 +5429,7 @@ if test "${LIBNET_CONFIG_BROKEN_CFLAGS}" libnet_dir="/usr/include /usr/local/include /sw/include" fi else - libnet_dir=`libnet-config --cflags | cut -dI -f2` + libnet_dir=`libnet-config-1.0 --cflags | cut -dI -f2` fi LIBNET_INC_DIR=""