Commit d0c077eca1f4946b62a0e391d3be7e2b960363b5
1 parent
2904b5dd
Removed annoying check on netinet/ip.h for OpenBSD
I prefer to remove the check rather than to add the solution used
by Wine as we don't care about the associated define:
AC_CHECK_HEADERS([ \
...
netinet/ip.h \
netinet/tcp.h \
...
],,,[
#ifdef HAVE_NETINET_IP_H
# include <netinet/ip.h>
#endif
])
Showing
1 changed file
with
15 additions
and
1 deletions
configure.ac
| @@ -65,10 +65,24 @@ AC_PROG_LIBTOOL | @@ -65,10 +65,24 @@ AC_PROG_LIBTOOL | ||
| 65 | AC_PROG_MAKE_SET | 65 | AC_PROG_MAKE_SET |
| 66 | AC_DISABLE_STATIC | 66 | AC_DISABLE_STATIC |
| 67 | AC_PROG_LIBTOOL | 67 | AC_PROG_LIBTOOL |
| 68 | +AC_CHECK_HEADERS([ \ | ||
| 69 | + termios.h \ | ||
| 70 | + sys/time.h \ | ||
| 71 | + unistd.h \ | ||
| 72 | + errno.h \ | ||
| 73 | + limits.h \ | ||
| 74 | + fcntl.h \ | ||
| 75 | + sys/types.h \ | ||
| 76 | + sys/socket.h \ | ||
| 77 | + sys/ioctl.h \ | ||
| 78 | + netinet/in.h \ | ||
| 79 | + netinet/tcp.h \ | ||
| 80 | + arpa/inet.h \ | ||
| 81 | +]) | ||
| 68 | 82 | ||
| 69 | # Checks for header files. | 83 | # Checks for header files. |
| 70 | AC_HEADER_STDC | 84 | AC_HEADER_STDC |
| 71 | -AC_CHECK_HEADERS([termios.h sys/time.h unistd.h errno.h limits.h fcntl.h sys/types.h sys/socket.h sys/ioctl.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h]) | 85 | + |
| 72 | 86 | ||
| 73 | # Checks for typedefs, structures, and compiler characteristics. | 87 | # Checks for typedefs, structures, and compiler characteristics. |
| 74 | AC_C_CONST | 88 | AC_C_CONST |