diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-29 19:50:56 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-01 23:48:36 +0200 |
commit | 2156f62d2ecddf48844bfa558c7e9bc33edca53c (patch) | |
tree | e2407f910c45e2a1599fd5b28fe01fe717266b40 /configure.cmake | |
parent | edd1de3d1c348ef9f5bfc4f602692f4e438e7fcb (diff) | |
download | mariadb-git-2156f62d2ecddf48844bfa558c7e9bc33edca53c.tar.gz |
portability: use getifaddrs()
instead of exec'ing /usr/sbin/ifconfig|grep|sed|awk
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index c562b583830..6997a3c3478 100644 --- a/configure.cmake +++ b/configure.cmake @@ -371,6 +371,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) |