Commit dbc4c346 authored by Youness Alaoui's avatar Youness Alaoui

Add the AC_DEFINE for HAVE_GETIFADDRS

parent 20c1dbe7
......@@ -56,7 +56,9 @@ AC_HEADER_ASSERT
AC_HEADER_STDBOOL
AC_DEFINE([_FORTIFY_SOURCE], [2], [Define to `2' to get GNU/libc warnings.])
AC_DEFINE([NICEAPI_EXPORT], [ ], [Public library function implementation])
AC_CHECK_HEADERS([arpa/inet.h net/in.h ifaddrs.h])
AC_CHECK_HEADERS([arpa/inet.h net/in.h ifaddrs.h], \
[AC_DEFINE(HAVE_GETIFADDRS, [1], \
[Whether getifaddrs() is available on the system])])
LIBNICE_CFLAGS="-Wall"
dnl if asked for, add -Werror if supported
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment