[ovs-git] [openvswitch/ovs] 9048ab: acinclude: Fix false positive search for prandom_u32

gvrose8192 noreply at github.com
Tue Oct 8 17:48:22 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9048ab600b1004476d5ba9496ba3448c192ac7e0
      https://github.com/openvswitch/ovs/commit/9048ab600b1004476d5ba9496ba3448c192ac7e0
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M acinclude.m4

  Log Message:
  -----------
  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 at gmail.com>
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list