summaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAgeFilesLines
* openflow: Use types and accessors for half-aligned 64-bit fields.Ben Pfaff2011-02-051-0/+1
| | | | | | Without this commit, many of the unit tests for ofp-print.c fail with bus errors on RISC architectures (tested on sparc) and presumably so would any other code that uses these same struct members.
* Automatically extract error types and codes for formatting.Ben Pfaff2011-01-121-0/+225
|
* python: Use os.path.basename instead of open-coding it.Ben Pfaff2011-01-121-4/+2
| | | | Reported-by: Justin Pettit <jpettit@nicira.com>
* vlog: Generate vlog-modules.def automatically.Ben Pfaff2010-11-301-66/+0
|
* Make the ovs_be<N> types generally available.Ben Pfaff2010-10-291-0/+3
| | | | | Using these types for data in network byte order makes code clearer, and allows the "sparse" checker to give warnings for misuse.
* vlog: Make client supply semicolon for VLOG_DEFINE_THIS_MODULE.Ben Pfaff2010-10-291-1/+1
| | | | | It's kind of odd for VLOG_DEFINE_THIS_MODULE to supply its own semicolon, so this commit switches to the more common form.
* vlog: Make the vlog module catalog program-specific.Ben Pfaff2010-07-211-0/+66
| | | | | | | | | | | | | | | | | | | | | | Until now, the collection of vlog modules supported by a given OVS program was not specific to that program. That means that, for example, even though ovs-dpctl does not have anything to do with jsonrpc, it still has a vlog module for it. This is confusing, at best. This commit fixes the problem on some systems, in particular on ones that use GCC and the GNU linker. It uses the feature of the GNU linker described in its manual as: If an orphaned section's name is representable as a C identifier then the linker will automatically see PROVIDE two symbols: __start_SECNAME and __end_SECNAME, where SECNAME is the name of the section. These indicate the start address and end address of the orphaned section respectively. Systems that don't support these features retain the earlier behavior. This commit also fixes the annoyance that modifying lib/vlog-modules.def causes all sources files that #include "vlog.h" to recompile.
* debian: Check for accurate Debian changelog version at build time too.Ben Pfaff2010-07-211-37/+0
| | | | | | | | | When we increment the Open vSwitch version number, we tend to forget to update it in debian/changelog at the same time. Right now this gets fixed up automatically at "make dist" time, but it's even better if we can always have it be correct in the repository. This commit should help with that, by making both "make" and "make dist" refuse to proceed if the version number is out of sync.
* update-debian-changelog: Pass "-f" to "mv" to fix "make distcheck".Ben Pfaff2010-06-171-1/+1
| | | | | | "make distcheck" unsets the "writable" bit of files as it installs them on "make dist", so to avoid an error (or a user query) updating debian/changelog in such a situation we must use the -f option.
* debian: Fix version number check for changelog.Jesse Gross2010-05-271-1/+1
| | | | | | The test to see if the current version is present in the Debian changelog wasn't properly quoted so we would add a new entry every time configure was run.
* debian: Attempt to keep debian/changelog up-to-date.Ben Pfaff2010-05-271-0/+37
| | | | | | | | | | | | | Invariably we forget to update the version number in debian/changelog as we change OVS's own version number. This is embarrassing. This commit introduces two different times to automatically update the debian/changelog version number: whenever boot.sh runs and whenever "make dist" runs. In the latter case, only the version number in the distributed tarball is updated, but that seems OK. Reported by Joan Cirer <joan@ev0.net> most recently, and by others over the last year or so too.
* Add build checks for portable OpenFlow structure padding and alignment.Ben Pfaff2010-01-252-0/+271
This causes the build to fail with an error message if openflow.h contains a structure whose members are not aligned in a portable way.