Browse Source

Remove if_ppp errors with automake

Thanks to Darrell Anderson
tags/r14.0.0
Slávek Banko 6 years ago
parent
commit
60a2cf4226
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      configure.in.in

+ 5
- 1
configure.in.in View File

@@ -4,7 +4,11 @@ KDE_INIT_DOXYGEN([KDE Network API Reference], [Version $VERSION])
4 4
 
5 5
 
6 6
 dnl Checks for header files.
7
-AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h)
7
+AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h,,,
8
+     [[#if HAVE_LINUX_TCP_H
9
+     # include <linux/tcp.h>
10
+     #endif
11
+     ]])
8 12
 AC_CHECK_HEADERS(net/errno.h net/if_ppp.h)
9 13
 AC_CHECK_HEADERS(asm/param.h)
10 14
 AC_CHECK_HEADERS(sys/file.h sys/stat.h sys/time.h sys/cdefs.h sys/sockio.h)

Loading…
Cancel
Save