summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: Add if_mib.h prerequisites.Ed Maste2013-05-231-2/+3
| | | | | Signed-off-by: Ed Maste <emaste@freebsd.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
* add minimal NetBSD supportYAMAMOTO Takashi2013-05-221-1/+3
| | | | | | | mostly ride on the existing FreeBSD support. Signed-off-by: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Allow master to build on Fedora with the recent threading changesBen Pfaff2013-05-061-0/+1
| | | | | | | | | | | The recent threading changes have broken the build on Fedora, and presumably other Red Hat based distributions. This adds an explicit "-lpthread" to the linker command line and allows the latest master to build on Fedora. I've also tested this on Ubuntu and it builds fine there. Signed-off-by: Kyle Mestery <kmestery@cisco.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ed Maste <emaste@freebsd.org>
* system-stats: Use getmntent_r() for thread-safety.Ben Pfaff2013-05-031-1/+1
| | | | | | | | getmntent_r() is a GNU extension so we test for its existence and just disable this feature of system stats if it is not present, because this feature is not very important. Signed-off-by: Ben Pfaff <blp@nicira.com>
* Prepare for post-1.11.0 (1.11.90).Justin Pettit2013-04-291-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for 1.11.0Justin Pettit2013-04-291-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* timeval: Check for HAVE_BACKTRACE instead of HAVE_EXECINFO_H.Ben Pfaff2013-04-241-1/+1
| | | | | | | | | | | Other code in the tree uses HAVE_BACKTRACE and then blindly includes <execinfo.h> if it is present, so this doesn't make anything worse. Once we do that, HAVE_EXECINFO_H has no further users, so this commit also removes the check for <execinfo.h> Reported-by: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> Signed-off-by: Ben Pfaff <blp@nicira.com>
* datapath: Provide simple version of if_ether.h on non-Linux systems.Jesse Gross2013-03-291-1/+1
| | | | Signed-off-by: Jesse Gross <jesse@nicira.com>
* configure: Only link against libpcap on FreeBSD.Ben Pfaff2013-03-201-2/+1
| | | | | | | | On other platforms there is no benefit to linking against libpcap, because it is not used. Signed-off-by: Ben Pfaff <blp@nicira.com> CC: Ed Maste <emaste@freebsd.org>
* Prepare for post-1.10.0 (1.10.90).Justin Pettit2013-02-041-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for 1.10.0.Justin Pettit2013-02-041-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Makefile.am: add check that <assert.h> is not used from unexpected files.Ben Pfaff2013-01-161-0/+1
| | | | | | | | | In general, with a few specific exceptions, ovs_assert is now preferred over assert, so this commit adds a check for that in the top-level Makefile. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* openvswitch: Remove Linux bridge compatibility.Pravin B Shelar2012-12-271-1/+0
| | | | | | | | | Currently brcompat does not work on master due to recent datapath changes. We have decided to remove it as it is not used very widely. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* Prepare for post-1.9.0 (1.9.90).Ben Pfaff2012-10-241-1/+1
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* Prepare for 1.9.0.Ben Pfaff2012-10-241-1/+1
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* timeval: Optionally enable cached timing at configure time.Ethan Jackson2012-10-171-0/+1
| | | | | | | | Often when developing, it would be convenient to force OVS to either enable or disable cached timing so that a feature can be tested under both strategies. Signed-off-by: Ethan Jackson <ethan@nicira.com>
* timeval: Add new "backtrace" appctl command.Ethan Jackson2012-10-141-1/+1
| | | | | | | | | | | | | | Often, it can be quite difficult to debug performance issues in Open vSwitch. Typically one needs to run something like gprof, but that requires rebuilding and installing on the affected system which is often problematic. This patch adds a light weight profiling solution which can be used in these situations. The ovs-appctl backtrace command prints out backtraces taken at 100 millisecond intervals over a 5 second period of time. It is currently only supported on systems which have the execinfo library and enable time caching. Signed-off-by: Ethan Jackson <ethan@nicira.com>
* config: Add explicit support for building on ESX.Ethan Jackson2012-10-091-0/+6
| | | | | | | | | | | | | The ESX userspace looks quite a bit like linux, but has some key differences which need to be specially handled in the build. To distinguish between ESX and systems which use the linux datapath module, this patch adds two new macros "ESX" and "LINUX_DATAPATH". It uses these macros to disable building code on ESX which only applies to a true Linux environment. In addition, it adds a new route-table-stub implementation which is required for the build to complete successfully on ESX. Signed-off-by: Ethan Jackson <ethan@nicira.com>
* Avoid requiring autom4te when it won't necessarily be needed.Ben Pfaff2012-10-041-4/+1
| | | | | | | | | | | | | Commit 7fd3e43db07 (tests: Allow environment specified autom4te.) added a requirement for Autom4te without anyone noticing it in advance. This caused a build failure in the XenServer DDK, which doesn't have Autom4te. Since Autom4te is only needed if the testsuite is modified, this commit makes it optional. (Autom4te is part of Autoconf.) Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* tests: Allow environment specified autom4te.Ethan Jackson2012-10-041-0/+5
| | | | | | | | In the ESX build system, autom4te is in a funny location specified by an environment variable. Before this patch, this environment variable was overridden by the tests automake file. Signed-off-by: Ethan Jackson <ethan@nicira.com>
* Make the location of the database separately configurable.Ben Pfaff2012-08-011-0/+1
| | | | | | | | | The default is unchanged, /etc/openvswitch/conf.db. This makes it possible to transition each Open vSwitch packaging from /etc/openvswitch/conf.db to /var/lib/openvswitch/conf.db independently. Signed-off-by: Ben Pfaff <blp@nicira.com>
* netdev implementation for FreeBSDGiuseppe Lettieri2012-07-261-0/+1
| | | | | | | | | | | | This patch adds new netdev classes that implement "system" and "tap" devices on FreeBSD using the libpcap library. This enables the use of the "netdev" datapath_type of Open vSwitch on FreeBSD. Signed-off-by: Gaetano Catalli <gaetano.catalli@gmail.com> Signed-off-by: Ed Maste <emaste@adaranet.com> Signed-off-by: Giuseppe Lettieri <g.lettieri@iet.unipi.it> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Makefiles: Enable "dist-hook-git" check only when GNU make is in use.Ben Pfaff2012-07-251-0/+1
| | | | | | | | Otherwise, it will always fail because the Makefile in datapath/linux requires GNU make to generate the list of distributed files. Signed-off-by: Ben Pfaff <blp@nicira.com> Reported-by: Ed Maste <emaste@freebsd.org>
* Prepare for post-1.8.0 (1.8.90).Justin Pettit2012-07-161-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for 1.8.Justin Pettit2012-07-161-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Route-table implementation for (Free)BSDEd Maste2012-06-291-0/+1
| | | | | | | | | This is a trivial implementation of the route-table functionality for FreeBSD, as needed by ofproto/ofproto-dpif-sflow.c. It has not yet been extensively tested. Signed-off-by: Ed Maste <emaste@freebsd.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Prepare for post-1.7.0 (1.7.90).Justin Pettit2012-05-081-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for 1.7.Justin Pettit2012-05-081-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* configure: Remove --with-build-number.Ben Pfaff2012-03-191-2/+1
| | | | | | | | | | From early days, Nicira used the --with-build-number option to configure to stamp our internal builds. We've since switched to another scheme, so this option is obsolete. Good riddance. Signed-off-by: Ben Pfaff <blp@nicira.com>
* configure: add configure option to disable building brcompatChris Wright2012-03-131-0/+1
| | | | | | | | | | | | | | | | | | This adds ability to do: ./configure --disable-brcompat to disable building userspace and kernel module associated with providing linux bridge compatibility. Sources should still be distributed w/ make dist. While there, update comment referring to long removed veth driver which is now relevant for brcompat module. Cc: Jesse Gross <jesse@nicira.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Acked-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
* Prepare for post-1.6.0 (1.6.90).Justin Pettit2012-02-241-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for post-1.5.0 (1.5.90).Justin Pettit2012-01-121-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@nicira.com>
* Prepare for post-1.4.0 (1.4.90).Justin Pettit2011-12-011-1/+1
|
* Declare the version as "1.4.0".Justin Pettit2011-11-301-1/+1
|
* Fix build on FreeBSD.Edward Tomasz NapieraƂa2011-11-011-0/+1
| | | | | | | Patch below fixes build on FreeBSD; tested on 10.0-CURRENT. Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Prepare for post-1.3.0 (1.3.90).Justin Pettit2011-10-251-1/+1
|
* Declare the version as "1.3.0".Justin Pettit2011-10-251-1/+1
|
* datapath-protocol: Use Linux kernel types directly.Ben Pfaff2011-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We want datapath-protocol.h to be acceptable as a Linux kernel header, so it must use Linux kernel types and must not have references to Open vSwitch symbols or header files. This commit primarily makes that change to datapath-protocol.h. At the same time, at least for now we also want datapath-protocol.h to be usable on non-Linux platforms, so we need some kind of compatiblity. Thus, this commit also introduces a <linux/types.h> header file that defines the necessary Linux kernel types on non-Linux platforms. In turn, this requires openvswitch/types.h to use the Linux types directly for ovs_be<N>; otherwise, sparse complains because now __be<N> and ovs_be<N> are incompatible from its perspective, so this commit makes that change too. I don't have a non-Linux kernel platform readily available, so I only tested the non-Linux part of the linux/types.h substitute by forcing that case to be triggered with #if 0. It worked, except for errors in actual Linux kernel headers included explicitly from OVS source files, so I think it's likely to work in practice. Bug #7559. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* datapath: Always use generic stats for devices (vports)Pravin Shelar2011-09-151-1/+0
| | | | | | | | | | | | | | | Currently ovs is using device stats for Linux devices and count them itself in other situations. This leads to overlap with hardware stats, inconsistencies, etc. It's much better to just always count the packets flowing through the switch and let userspace do any merging that it wants. Following patch removes vport->get_stats() interface. vport-stat is changed to use new `struct ovs_vport_stat` rather than rtnl_link_stats64. Definitions of rtnl_link_stats64 is removed from OVS. dipf_port->stat is also removed as aggregate stats are only available at netdev layer. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* docs: Add Makefile rule to check syntax of manpages.Ben Pfaff2011-08-241-0/+1
| | | | | This should catch future nroff syntax errors immediately, instead of much later.
* Prepare for a post-1.2.0 world (1.2.90).Justin Pettit2011-08-031-1/+1
|
* Prepare Open vSwitch 1.2.0 release.Justin Pettit2011-08-031-1/+1
|
* Update version to reflect this branch is for post-1.1.x development.Justin Pettit2011-07-261-1/+1
| | | | | | | | | | | | | | | | | | When development for a new long-term release is started, we haven't typically updated the version string. This means that version numbers used in binaries generated on this branch tend to lag behind "current" stable releases. We considered using a "pre" string in the version (eg, "1.2.0-pre1") but this causes some pain for RPMs. Instead, we will now use "90" as the version's bug-fix number to indicate that this will form a new release. For example, the current stable series is "1.1.x" in the "branch-1.1" branch, so the master branch will be labeled "1.1.90" in anticipation that it will be the basis for the "1.2.x" series. Code in "branch-1.1" will have the expected version numbers (ie, 1.1.0, 1.1.1, 1.1.2, etc) and versions in-branch will lag slightly before an official release. Suggested-by: Ben Pfaff <blp@nicira.com>
* ovs-bugtool: Add plugins previously used only under XenServer.Ben Pfaff2011-07-131-0/+1
| | | | | | All of the xen-bugtool plugins that OVS has previously installed only under XenServer are equally useful with Debian and other distributions, so this commit installs and uses them everywhere.
* datapath: Rename linux-2.6 and compat-2.6 directories.Jesse Gross2011-06-241-3/+3
| | | | | | | | The linux-2.6 and compat-2.6 directories apply equally to the upcoming Linux 3.0 release, so this drops the 2.6 suffix and updates Makefiles. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* configure: Remove "26" from Linux variable names.Ben Pfaff2011-06-221-1/+1
| | | | | | | | | OVS used to support Linux 2.4 and Linux 2.6, but now it only supports Linux 2.6. Linux 3.0 is coming up, and it's just an evolution of 2.6, so OVS should stop referring to it as "2.6". This takes a first step by removing "26" from internal variable names. There should be no user-visible changes.
* configure: Run sparse automatically if C=1 specified on "make" command.Ben Pfaff2011-05-161-0/+1
| | | | | The C=1 convention matches the kernel's convention, so running "make C=1" will now get sparse results for both userspace and kernel compiles.
* backtrace: Make backtrace_capture() work on more systems.Ben Pfaff2011-05-131-0/+1
| | | | | | | | | | The backtrace_capture() implementation only worked properly with GNU C on systems that have a simple stack frame with a frame pointer. Notably, the x86-64 ABI by default has no frame pointer, so this failed on x86-64. However, glibc has a function named backtrace() that does what we want. This commit tests for this function and uses it when it is present, fixing x86-64 backtraces.
* configure: Add option --enable-Werror to add -Werror to CFLAGS.Ben Pfaff2011-04-121-0/+1
| | | | | | | | | | | | | | -Werror is useful for development, but it screws up configure because it's impossible to guess what new warnings compilers will add in the future. This commit adds a new configure option to add CFLAGS after the configure checks are done. The use of AC_CONFIG_COMMANDS_PRE is based on Eric Blake's suggestion on the autoconf mailing list: "AC_CONFIG_COMMANDS_PRE probably fits the bill as the ideal macro to use for guaranteeing that you inject your shell code at the last possible moment." Requested-by: Andrew Evans <aevans@nicira.com>