2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 08:45:23 +00:00

configure: Remove --with-build-number.

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>
This commit is contained in:
Ben Pfaff
2012-03-19 10:07:09 -07:00
parent 8a5b3cfd91
commit 8a07709cb8
18 changed files with 23 additions and 111 deletions

View File

@@ -64,8 +64,4 @@ ALL_LOCAL += $(srcdir)/python/ovs/version.py
$(srcdir)/python/ovs/version.py: config.status
$(ro_shell) > $(@F).tmp
echo 'VERSION = "$(VERSION)"' >> $(@F).tmp
if [ "$(BUILDNR)" != "0" ]; \
then echo 'BUILDNR = "+build$(BUILDNR)"' >> $(@F).tmp; \
else echo 'BUILDNR = ""' >> $(@F).tmp; \
fi
if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi

View File

@@ -57,9 +57,8 @@ def _unixctl_help(conn, unused_argv, unused_aux):
def _unixctl_version(conn, unused_argv, unused_aux):
assert isinstance(conn, UnixctlConnection)
version = "%s (Open vSwitch) %s%s" % (ovs.util.PROGRAM_NAME,
ovs.version.VERSION,
ovs.version.BUILDNR)
version = "%s (Open vSwitch) %s" % (ovs.util.PROGRAM_NAME,
ovs.version.VERSION)
conn.reply(version)