added net/route.h to configure.ac

This commit is contained in:
hyung-hwan 2020-12-20 13:29:11 +00:00
parent 801f11fa8e
commit e72e9f2c1d
3 changed files with 5 additions and 2 deletions

2
hawk/configure vendored
View File

@ -18929,7 +18929,7 @@ fi
done
for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h
for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h net/route.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "

View File

@ -248,7 +248,7 @@ AC_CHECK_HEADERS([time.h sys/time.h utime.h spawn.h execinfo.h ucontext.h])
AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h sys/sysctl.h])
AC_CHECK_HEADERS([dlfcn.h ltdl.h sys/mman.h])
AC_CHECK_HEADERS([sys/devpoll.h sys/epoll.h poll.h sys/event.h])
AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h], [], [], [
AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h net/route.h], [], [], [
#include <sys/types.h>
#include <sys/socket.h>])
AC_CHECK_HEADERS([sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h])

View File

@ -334,6 +334,9 @@
/* Define to 1 if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H
/* Define to 1 if you have the <net/route.h> header file. */
#undef HAVE_NET_ROUTE_H
/* Define to 1 if you have the `pipe2' function. */
#undef HAVE_PIPE2