diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-01 19:36:12 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-01 19:36:12 +0000 |
commit | f0a26449c7c4eac924b5c738921172a33c9c6882 (patch) | |
tree | 6a40a9f62b2fc822babdad95df3b002b8d6f3405 /configure.ac | |
parent | f8e52e4a318b33c0f93237d8466ed6e7beda84d3 (diff) |
Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101894 f38db490-d61c-443f-a65b-d21fe96a405b
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 78b35b66e..7a20ac98b 100644 --- a/configure.ac +++ b/configure.ac @@ -404,7 +404,7 @@ if test "x${host_os}" = "xlinux-gnu" ; then AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) fi -AST_EXT_LIB_CHECK([GETIFADDRS], [c], [getifaddrs], [ifaddrs.h]) +AST_C_COMPILE_CHECK([GETIFADDRS], [struct ifaddrs *p; getifaddrs(&p)], [ifaddrs.h]) GSM_INTERNAL="yes" AC_SUBST(GSM_INTERNAL) |