Commit e1ac8d51 authored by Jean-Paul Saman's avatar Jean-Paul Saman

configure.ac: Test for net/if.h

parent 3b68bd17
...@@ -67,6 +67,12 @@ dnl AC_CHECK_FUNCS([gettimeofday]) ...@@ -67,6 +67,12 @@ dnl AC_CHECK_FUNCS([gettimeofday])
AC_CHECK_HEADERS(sys/socket.h, [ac_have_sys_socket_h=yes]) AC_CHECK_HEADERS(sys/socket.h, [ac_have_sys_socket_h=yes])
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "${ac_have_sys_socket_h}" = "yes") AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "${ac_have_sys_socket_h}" = "yes")
AC_CHECK_HEADERS([net/if.h], [], [],
[
#include <sys/types.h>
#include <sys/socket.h>
])
dnl Check for variadic macros dnl Check for variadic macros
AC_CACHE_CHECK([for variadic cpp macros], AC_CACHE_CHECK([for variadic cpp macros],
[ac_cv_cpp_variadic_macros], [ac_cv_cpp_variadic_macros],
......
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