mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Add cmake check for getifaddrs.
This commit is contained in:
parent
9b7e3801f4
commit
d8ee54c633
3 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,7 @@ SET(HAVE_FSYNC CACHE INTERNAL "")
|
|||
SET(HAVE_FTIME 1 CACHE INTERNAL "")
|
||||
SET(HAVE_FTRUNCATE CACHE INTERNAL "")
|
||||
SET(HAVE_GETADDRINFO 1 CACHE INTERNAL "")
|
||||
SET(HAVE_GETIFADDRS CACHE INTERNAL "")
|
||||
SET(HAVE_GETCWD 1 CACHE INTERNAL "")
|
||||
SET(HAVE_GETHOSTBYADDR_R CACHE INTERNAL "")
|
||||
SET(HAVE_GETHRTIME CACHE INTERNAL "")
|
||||
|
|
|
@ -164,6 +164,7 @@
|
|||
#cmakedefine HAVE_FSYNC 1
|
||||
#cmakedefine HAVE_FTIME 1
|
||||
#cmakedefine HAVE_GETADDRINFO 1
|
||||
#cmakedefine HAVE_GETIFADDRS 1
|
||||
#cmakedefine HAVE_GETCWD 1
|
||||
#cmakedefine HAVE_GETHOSTBYADDR_R 1
|
||||
#cmakedefine HAVE_GETHRTIME 1
|
||||
|
|
|
@ -368,6 +368,7 @@ CHECK_FUNCTION_EXISTS (getpassphrase HAVE_GETPASSPHRASE)
|
|||
CHECK_FUNCTION_EXISTS (getpwnam HAVE_GETPWNAM)
|
||||
CHECK_FUNCTION_EXISTS (getpwuid HAVE_GETPWUID)
|
||||
CHECK_FUNCTION_EXISTS (getrlimit HAVE_GETRLIMIT)
|
||||
CHECK_FUNCTION_EXISTS (getifaddrs HAVE_GETIFADDRS)
|
||||
CHECK_FUNCTION_EXISTS (getrusage HAVE_GETRUSAGE)
|
||||
CHECK_FUNCTION_EXISTS (getwd HAVE_GETWD)
|
||||
CHECK_FUNCTION_EXISTS (gmtime_r HAVE_GMTIME_R)
|
||||
|
|
Loading…
Reference in a new issue