From 60a2cf4226327c24b69747bf092ad78181506cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Oct 2012 13:09:44 +0200 Subject: [PATCH] Remove if_ppp errors with automake Thanks to Darrell Anderson --- configure.in.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 + #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)