]> git.proxmox.com Git - ovs.git/commit
acinclude: Fix false positive search for prandom_u32
authorGreg Rose <gvrose8192@gmail.com>
Tue, 8 Oct 2019 16:21:15 +0000 (09:21 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 8 Oct 2019 17:48:06 +0000 (10:48 -0700)
commit9048ab600b1004476d5ba9496ba3448c192ac7e0
tree45e8bcec0da8e84eb63a62295c422c630ca01d1e
parent4cdc7b4db41c5dd06c5889683bc585c0b4899162
acinclude: Fix false positive search for prandom_u32

Searching random.h for prandom_u32 will also match when prandom_u32_max
is present and cause a false positive HAVE_PRANDOM_U32.  Fix this up
by looking for the parenthesis following prandom_u32 so it won't
match on prandom_u32_max.

Passes Travis:
https://travis-ci.org/gvrose8192/ovs-experimental/builds/595171808

Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
acinclude.m4