Changeset b135888 for configure.in


Ignore:
Timestamp:
07/02/18 18:23:32 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, master, ringdecrementfix, ringperformance
Children:
5864acd
Parents:
97d0351
Message:

Fix bad check for recvmmsg after switching to AC_CHECK_DECLS

Two problems:

  1. recvmmsg requires an extra #include, which we have to add specifically.
  2. HAVE_RECVMMSG is no longer the right macro to check; instead we needed HAVE_DECL_RECVMMSG
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r47d64ce rb135888  
    122122
    123123# Fail if any of these functions are missing
    124 AC_CHECK_DECLS([socket, strdup, strlcpy, strcasecmp, strncasecmp, snprintf, vsnprintf, recvmmsg, strndup])
    125 
     124AC_CHECK_DECLS([strdup, strlcpy, strcasecmp, strncasecmp, snprintf, vsnprintf, strndup])
     125AC_CHECK_DECLS([socket, recvmmsg], [], [], [[#include <sys/socket.h>]])
    126126AC_CHECK_SIZEOF([long int])
    127127
Note: See TracChangeset for help on using the changeset viewer.