diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-14 18:12:57 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-14 18:12:57 (GMT) |
commit | 11017b172dc2525079fe8a6f17650b2fc048c9e6 (patch) | |
tree | ca1c91cb4a3752fdff3c277f8e85958024bc84e0 /configure.in | |
parent | 015f72b254019027c73a2f13925c77d0dbcdb028 (diff) | |
download | cpython-11017b172dc2525079fe8a6f17650b2fc048c9e6.zip cpython-11017b172dc2525079fe8a6f17650b2fc048c9e6.tar.gz cpython-11017b172dc2525079fe8a6f17650b2fc048c9e6.tar.bz2 |
Patch #1103116: AF_NETLINK sockets basic support.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7ab92e0..17483b7 100644 --- a/configure.in +++ b/configure.in @@ -994,8 +994,8 @@ dnl AC_MSG_RESULT($cpp_type) # checks for header files AC_HEADER_STDC -AC_CHECK_HEADERS(curses.h dlfcn.h fcntl.h grp.h shadow.h langinfo.h \ -libintl.h ncurses.h poll.h pthread.h \ +AC_CHECK_HEADERS(asm/types.h curses.h dlfcn.h fcntl.h grp.h \ +shadow.h langinfo.h libintl.h ncurses.h poll.h pthread.h \ stropts.h termios.h thread.h \ unistd.h utime.h \ sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h \ @@ -1014,6 +1014,16 @@ AC_CHECK_HEADERS(term.h,,,[ #endif ]) +# On Linux, netlink.h requires asm/types.h +AC_CHECK_HEADERS(linux/netlink.h,,,[ +#ifdef HAVE_ASM_TYPES_H +#include <asm/types.h> +#endif +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif +]) + # checks for typedefs was_it_defined=no AC_MSG_CHECKING(for clock_t in time.h) |