File: 06use_tun_bsd.dpatch

package info (click to toggle)
libdumbnet 1.12-3.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,344 kB
  • sloc: sh: 16,158; ansic: 10,840; python: 222; makefile: 164
file content (23 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh /usr/share/dpatch/dpatch-run
## 06use_tun_bsd.dpatch by  <hesso@pool.math.tu-berlin.de>
##
## DP: The existence of <stropts.h> is no discerning criterion
## DP: between Solaris and BSD. Debian is only concerned with
## DP: BSD, so choose that.

@DPATCH@
--- configure.in	2009-07-29 14:35:15.646148704 +0200
+++ ../configure.in	2009-07-29 13:57:32.549129500 +0200
@@ -302,11 +302,7 @@
 if test "$ac_cv_header_linux_if_tun_h" = yes ; then
 	AC_LIBOBJ([tun-linux])
 elif test "$ac_cv_header_net_if_tun_h" = yes ; then
-	if test "$ac_cv_header_stropts_h" = yes ; then
-		AC_LIBOBJ([tun-solaris])
-	else
-		AC_LIBOBJ([tun-bsd])
-	fi
+	AC_LIBOBJ([tun-bsd])
 elif test -c "/dev/tun0" ; then
 	AC_LIBOBJ([tun-bsd])
 else