diff options
author | fanquake <fanquake@gmail.com> | 2021-03-21 08:41:26 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-29 11:09:40 +0800 |
commit | 879215e665a9f348c8d3fa92701c34065bc86a69 (patch) | |
tree | a95c1242569cc28f596a8e849eaad52573fedaf8 /configure.ac | |
parent | 87deac66aa747481e6f34fc80599e1e490de3ea0 (diff) |
build: check if -lsocket is required with *ifaddrs
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9ac2643374..c3eabad131 100644 --- a/configure.ac +++ b/configure.ac @@ -936,7 +936,7 @@ fi AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h strings.h sys/types.h sys/stat.h sys/select.h sys/prctl.h sys/sysctl.h vm/vm_param.h sys/vmmeter.h sys/resources.h]) -AC_CHECK_DECLS([getifaddrs, freeifaddrs],,, +AC_CHECK_DECLS([getifaddrs, freeifaddrs],[CHECK_SOCKET],, [#include <sys/types.h> #include <ifaddrs.h>] ) |