$NetBSD: patch-aa,v 1.2 2007/09/12 07:33:37 seb Exp $ --- configure.in.orig 2007-08-24 12:32:34.000000000 +0000 +++ configure.in @@ -84,20 +84,19 @@ AC_CHECK_LIB(z, zlibVersion,, AC_MSG_ERROR(Link with "-lz" failed! (Need zlib >= 1.0.2)) ) if test -d "$WHERE_FTPATH"; then - if test ! -f "$WHERE_FTPATH/lib/ftlib.h"; then + if test ! -f "$WHERE_FTPATH/include/flow-tools/ftlib.h"; then AC_MSG_ERROR(ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH) fi if test ! -f "$WHERE_FTPATH/lib/libft.a"; then AC_MSG_ERROR(libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first) fi - FT_INCLUDES="-I$WHERE_FTPATH/src -I$WHERE_FTPATH/lib" + FT_INCLUDES="-I$WHERE_FTPATH/include/flow-tools" FT_LDFLAGS="-L$WHERE_FTPATH/lib" else AC_MSG_ERROR(flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH) fi opt_objects=ft2nfdump , -opt_objects= ) AC_ARG_ENABLE(nfprofile, @@ -122,8 +121,8 @@ AC_ARG_ENABLE(nfprofile, ],, AC_MSG_ERROR(Can not load rrd library. Not in loader search path! )) ] +opt_objects="$opt_objects nfprofile" , -opt_objects= ) AC_ARG_ENABLE(sflow,