summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/files/patch-configure
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2012-05-15 06:47:10 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2012-05-15 06:47:10 +0000
commitdb38baefd003e3e65fd5b5b59e3484a6c4c69e1f (patch)
treea32db9cf3ea4903a070d10c2c3742a54eef892f5 /benchmarks/netperf/files/patch-configure
parentRespect STRIP (eg. if WITH_DEBUG is defined) (diff)
1) Add OPTIONS support for:
- SOCKETS - Unix domain socket support and tests - SCTP - Stream Control Transmission Protocol support and tests - EXS - ICSC async socket support - HISTOGRAM - Optional histogram output - OMNI - Enable OMNI tests 2) Patch to $WRKSRC/configure which fixes CPU measurement and ROUTE lookup routines in netperf, which result in this output: ------------- checking which CPU utilization measurement type to use... "none. Consider teaching configure about your platform." checking which route lookup type to use... "none. Consider teaching configure about your platform." -------------- 3) Add to default configure_args --enable-dirty --enable-demo --enable-burst --enable-intervals Note: these just add additional command arguments and options, and are not globally enabled in netperf so wont affect existing users/tests. Submitted by: koobs (No email address by the request)
Notes
Notes: svn path=/head/; revision=296647
Diffstat (limited to 'benchmarks/netperf/files/patch-configure')
-rw-r--r--benchmarks/netperf/files/patch-configure29
1 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/netperf/files/patch-configure b/benchmarks/netperf/files/patch-configure
new file mode 100644
index 000000000000..208d74066a04
--- /dev/null
+++ b/benchmarks/netperf/files/patch-configure
@@ -0,0 +1,29 @@
+--- ./configure.orig 2012-05-12 07:05:20.000000000 +1000
++++ ./configure 2012-05-12 07:22:49.000000000 +1000
+@@ -6594,7 +6594,7 @@
+ done
+
+ case "$host" in
+- *-*-freebsd78.*)
++ *-*-freebsd[7-9].*)
+ # FreeBSD 7.x and later SCTP support doesn't need -lsctp.
+ ;;
+ *)
+@@ -7169,7 +7169,7 @@
+ enable_cpuutil="kstat - auto"
+ NETCPU_SOURCE="kstat"
+ ;;
+- *-*-freebsd[4-7].* | *-*-netbsd[1-9].* )
++ *-*-freebsd[4-9].* | *-*-netbsd[1-9].* )
+ use_cpuutil=true
+
+ $as_echo "#define USE_SYSCTL /**/" >>confdefs.h
+@@ -7238,7 +7238,7 @@
+ enable_rtlookup="rtmget - auto"
+ NETRTLKUP_SOURCE="rtmget"
+ ;;
+- *-*-freebsd[4-7].* | *-*-darwin*)
++ *-*-freebsd[4-9].* | *-*-darwin*)
+ use_rtlookup=true
+ enable_rtlookup="rtmget - auto"
+ NETRTLKUP_SOURCE="rtmget"