summaryrefslogtreecommitdiff
blob: 6158949c73156a71bad63ad04412291ad684f312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- vtun/configure	2000-12-28 00:35:10.000000000 -0500
+++ vtun-gentoo/configure	2002-06-06 12:03:43.000000000 -0400
@@ -1992,7 +1992,9 @@
 
     done 
     if test "$ac_hdr_found" = "yes" ; then
+	if test "$p" != "/usr/include" ; then
 	CPPFLAGS="$CPPFLAGS -I$p"
+	fi
         echo "$ac_t""($p) yes " 1>&6 
 	echo $ac_n "checking for lzo1x_decompress in -llzo""... $ac_c" 1>&6
 echo "configure:1999: checking for lzo1x_decompress in -llzo" >&5
@@ -2080,7 +2082,9 @@
 
     done 
     if test "$ac_hdr_found" = "yes" ; then
+	if test "$p" != "/usr/include" ; then
 	CPPFLAGS="$CPPFLAGS -I$p"
+	fi
         echo "$ac_t""($p) yes " 1>&6 
 	echo $ac_n "checking for BF_set_key in -lcrypto""... $ac_c" 1>&6
 echo "configure:2087: checking for BF_set_key in -lcrypto" >&5