mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 22:05:06 -05:00
configure: check if getaddrinfo() is available
This allows disabling IPv6 support and keeping getaddrinfo().
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -413,6 +413,12 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if test_code 'getaddrinfo()' 'sys/types.h sys/socket.h netdb.h' '' '' \
|
||||
'return getaddrinfo(0, 0, 0, 0);'
|
||||
then
|
||||
add_def HAVE_GETADDRINFO
|
||||
fi
|
||||
|
||||
timepps_h=""
|
||||
if [ $feat_pps = "1" ]; then
|
||||
if test_code '<sys/timepps.h>' 'sys/timepps.h' '' '' ''; then
|
||||
|
||||
Reference in New Issue
Block a user