2008-02-24 21:38:49 +01:00
|
|
|
$NetBSD: patch-ag,v 1.2 2008/02/24 20:38:49 seb Exp $
|
2007-09-12 09:33:29 +02:00
|
|
|
|
2008-02-24 21:38:49 +01:00
|
|
|
--- configure.orig 2008-02-24 19:52:42.000000000 +0000
|
2007-09-12 09:33:29 +02:00
|
|
|
+++ configure
|
2008-02-24 21:38:49 +01:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
#! /bin/sh
|
|
|
|
-# From configure.in Revision: 95 .
|
|
|
|
+# From configure.in Revision: 97 .
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
# Generated by GNU Autoconf 2.59 for nfdump 1.5.5.
|
|
|
|
#
|
|
|
|
@@ -3971,7 +3971,7 @@ echo "$as_me: error: Link with \"-lz\" f
|
2007-09-12 09:33:29 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
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
|
|
|
|
{ { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
|
|
|
|
echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
|
|
|
|
{ (exit 1); exit 1; }; }
|
2008-02-24 21:38:49 +01:00
|
|
|
@@ -3981,7 +3981,7 @@ echo "$as_me: error: ftlib.h file not fo
|
2007-09-12 09:33:29 +02:00
|
|
|
echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
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
|
|
|
|
{ { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5
|
2008-02-24 21:38:49 +01:00
|
|
|
@@ -3990,9 +3990,6 @@ echo "$as_me: error: flow-tools director
|
2007-09-12 09:33:29 +02:00
|
|
|
fi
|
|
|
|
opt_objects=ft2nfdump
|
|
|
|
|
|
|
|
-else
|
|
|
|
- opt_objects=
|
|
|
|
-
|
|
|
|
fi;
|
|
|
|
|
|
|
|
ac_ext=c
|
2008-02-24 21:38:49 +01:00
|
|
|
@@ -4777,9 +4774,7 @@ rm -f core *.core gmon.out bb.out confte
|
2007-09-12 09:33:29 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
-else
|
|
|
|
- opt_objects=
|
|
|
|
+opt_objects="$opt_objects nfprofile"
|
|
|
|
|
|
|
|
fi;
|
|
|
|
|