openbsd-ports/net/libnet/1.0/patches/patch-configure.in

30 lines
751 B
Plaintext
Raw Normal View History

--- configure.in.orig Wed Jan 17 15:59:30 2001
+++ configure.in Wed Sep 22 16:09:21 2004
@@ -33,6 +33,9 @@ AC_PREFIX_DEFAULT(/usr)
if test "$prefix" = "NONE"; then
prefix="/usr"
+else
+ LIBNET_CONFIG_CFLAGS="-I${prefix}/include/libnet-1.0"
+ LIBNET_CONFIG_LIBS="-L${prefix}/lib/libnet-1.0"
fi
dnl
@@ -49,12 +52,12 @@ AC_C_CONST
2001-01-09 20:00:36 -05:00
dnl
dnl Use these compiler flags if we have gcc.
dnl
-if test $ac_cv_prog_gcc = yes; then
+dnl if test $ac_cv_prog_gcc = yes; then
2001-02-22 02:50:22 -05:00
dnl if test -z $CFLAGS; then
- CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
- CFLAGS="$CCOPTS"
+dnl CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
+dnl CFLAGS="$CCOPTS"
dnl fi
-fi
2005-03-14 09:04:18 -05:00
+dnl fi
2001-01-09 20:00:36 -05:00
dnl
dnl Check for package inclusion/exclusion