diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-10-26 13:09:44 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-10-26 13:09:44 +0200 |
commit | 60a2cf4226327c24b69747bf092ad78181506cab (patch) | |
tree | 6798154bc74ae2065587f970948885faa864cbe5 | |
parent | 5df439b28de8a028b4940bd2b4772e54654b4e89 (diff) | |
download | tdenetwork-60a2cf4226327c24b69747bf092ad78181506cab.tar.gz tdenetwork-60a2cf4226327c24b69747bf092ad78181506cab.zip |
Remove if_ppp errors with automake
Thanks to Darrell Anderson
-rw-r--r-- | configure.in.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in.in b/configure.in.in index fc9ade39..4cb96bc1 100644 --- a/configure.in.in +++ b/configure.in.in @@ -4,7 +4,11 @@ KDE_INIT_DOXYGEN([KDE Network API Reference], [Version $VERSION]) dnl Checks for header files. -AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h) +AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h,,, + [[#if HAVE_LINUX_TCP_H + # include <linux/tcp.h> + #endif + ]]) AC_CHECK_HEADERS(net/errno.h net/if_ppp.h) AC_CHECK_HEADERS(asm/param.h) AC_CHECK_HEADERS(sys/file.h sys/stat.h sys/time.h sys/cdefs.h sys/sockio.h) |