Raise minimum Autoconf version to 2.64.
authorBen Pfaff <blp@nicira.com>
Fri, 26 Feb 2010 20:19:58 +0000 (12:19 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 8 Mar 2010 22:25:20 +0000 (14:25 -0800)
Our configure scripts were actually using Autoconf features introduced in
version 2.64 (e.g. AT_SKIP_IF, AT_CHECK_UNQUOTED), so we should not
claim 2.63 as prerequisite.

Reported-by: Andy Southgate <andy.southgate@citrix.com>
INSTALL.Linux
configure.ac
debian/control
tests/ovsdb-row.at
tests/ovsdb.at

index e25c193c91621398e3e74781e5ac8dd9857b04fd..9115581771acef166ec91676946b6f298e912b2c 100644 (file)
@@ -61,7 +61,7 @@ If you are working from a Git tree or snapshot (instead of from a
 distribution tarball), or if you modify the Open vSwitch build system,
 you will also need the following software:
 
-    - Autoconf version 2.63 or later.
+    - Autoconf version 2.64 or later.
 
     - Automake version 1.10 or later.
 
index ac854508494ecaf476ea71958b91771975cb4c2c..1fc6a479ca67499c51ccb87c27c59cb05cb6ce71 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-AC_PREREQ(2.63)
+AC_PREREQ(2.64)
 AC_INIT(openvswitch, 0.99.2, ovs-bugs@openvswitch.org)
 NX_BUILDNR
 AC_CONFIG_SRCDIR([datapath/datapath.c])
index f5126e871ae2968385a375d4b99bf088cef43632..458d23d9f843020f4ddf2c3f3b71fb404c102bf9 100644 (file)
@@ -2,7 +2,7 @@ Source: openvswitch
 Section: net
 Priority: extra
 Maintainer: Open vSwitch developers <dev@openvswitch.org>
-Build-Depends: debhelper (>= 5), autoconf (>= 2.60), automake1.10, libssl-dev, pkg-config (>= 0.21), po-debconf, bzip2, openssl, libncurses5-dev, libpcre3-dev
+Build-Depends: debhelper (>= 5), autoconf (>= 2.64), automake1.10, libssl-dev, pkg-config (>= 0.21), po-debconf, bzip2, openssl, libncurses5-dev, libpcre3-dev
 Standards-Version: 3.7.3
 
 Package: openvswitch-datapath-source
index d5bfcda25716ff3f8eda4a44739aae235fb4c523..34a102c359520e761a0628e8799c953188361eb6 100644 (file)
@@ -1,9 +1,5 @@
 AT_BANNER([OVSDB -- rows])
 
-# Autoconf 2.63 has a bug that causes the double-quotes below to be
-# lost, so that the following tests fail, so we mark them as XFAIL for
-# Autoconf < 2.64.
-
 m4_define([RESERVED_COLUMNS], [["_uuid":["uuid","00000000-0000-0000-0000-000000000000"],"_version":["uuid","00000000-0000-0000-0000-000000000000"]]])
 
 OVSDB_CHECK_POSITIVE([row with one string column],
@@ -20,7 +16,7 @@ name
 {RESERVED_COLUMNS,"name":"longer string with spaces"}
 name
 {RESERVED_COLUMNS,"name":""}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with one integer column],
   [[parse-rows \
@@ -36,7 +32,7 @@ count
 {RESERVED_COLUMNS,"count":20000000000}
 count
 {RESERVED_COLUMNS,"count":0}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with one real column],
   [[parse-rows \
@@ -52,7 +48,7 @@ cost
 {RESERVED_COLUMNS,"cost":123000}
 cost
 {RESERVED_COLUMNS,"cost":0}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with one boolean column],
   [[parse-rows \
@@ -65,7 +61,7 @@ feasible
 {RESERVED_COLUMNS,"feasible":false}
 feasible
 {RESERVED_COLUMNS,"feasible":false}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with one uuid column],
   [[parse-rows \
@@ -78,7 +74,7 @@ ref
 {RESERVED_COLUMNS,"ref":[["uuid","33583cc5-d2f4-43de-b1ca-8aac14071b51"]]}
 ref
 {RESERVED_COLUMNS,"ref":[["uuid","00000000-0000-0000-0000-000000000000"]]}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with set of 1 to 2 elements],
   [[parse-rows \
@@ -92,7 +88,7 @@ OVSDB_CHECK_POSITIVE([row with map of 1 to 2 elements],
     '{"columns": {"mymap": {"type": {"key": "integer", "value": "uuid", "min": 1, "max": 2}}}}' \
     '{}']],
   [{RESERVED_COLUMNS,["mymap":["map",[[0,["uuid","00000000-0000-0000-0000-000000000000"]]]]]}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row with several columns],
   [[parse-rows \
@@ -114,7 +110,7 @@ OVSDB_CHECK_POSITIVE([row with several columns],
  [{RESERVED_COLUMNS,["controller":["set",[]],"datapath_id":"000ae4256bb0","hwaddr":"00:0a:e4:25:6b:b0","listeners":["set",[]],"mirrors":["set",[]],"name":"br0","netflows":["set",[]],"snoops":["set",[]],"vswitch":["uuid","1a5c7280-0d4c-4e34-9ec7-c772339f7774"]]}
 datapath_id, hwaddr, name, vswitch
 {RESERVED_COLUMNS,["controller":["set",[]],"datapath_id":["set",[]],"hwaddr":"","listeners":["set",[]],"mirrors":["set",[]],"name":"","netflows":["set",[]],"snoops":["set",[]],"vswitch":["uuid","00000000-0000-0000-0000-000000000000"]]}
-<none>], [], [2.64])
+<none>], [])
 
 OVSDB_CHECK_POSITIVE([row hashing (scalars)],
   [[compare-rows \
index 141417aad284bccf31651f40944a71236944486a..1ee9c03785b3d37c3ba722bc10c9daf107e6a993 100644 (file)
@@ -3,13 +3,9 @@
 # Runs "test-ovsdb TEST-OVSDB-ARGS" and checks that it exits with
 # status 0 and prints OUTPUT on stdout.
 #
-# TITLE is provided to AT_SETUP and KEYWORDS to AT_KEYWORDS.  If
-# PREREQ is specified then the test is skipped if the Autoconf version
-# is less than PREREQ.
+# TITLE is provided to AT_SETUP and KEYWORDS to AT_KEYWORDS.
 m4_define([OVSDB_CHECK_POSITIVE], 
   [AT_SETUP([$1])
-   m4_if([$5], [], [], 
-         [AT_XFAIL_IF([m4_version_prereq([$5], [false], [true])])])
    AT_KEYWORDS([ovsdb positive $4])
    AT_CHECK([test-ovsdb $2], [0], [$3
 ], [])