summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches/patch-ac
blob: e50c232cc18383e5d09ebce0faae785c3ae3be20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$NetBSD: patch-ac,v 1.5 1999/07/13 01:34:42 jlam Exp $

--- configure.orig	Sun Jun  8 01:25:04 1997
+++ configure	Wed Jul  7 00:05:26 1999
@@ -1069,6 +1069,7 @@
 
 
 # See if we should add -I/usr/local/include -L/usr/local/lib, etc.
+if test "$nc_cv_extra_dirs" = yes ; then
 echo "checking for extra include and lib directories..." 1>&6
 b1=`cd .. ; pwd`
 b2=`cd ../.. ; pwd`
@@ -1128,6 +1129,7 @@
 	fi
 done
 done
+fi
 
 
 # Look for SunOS' /usr/5lib and 5include directories, because
@@ -1766,7 +1768,7 @@
   echo "$ac_t""no" 1>&6
 fi
 
-      if test "$ac_cv_lib_socks5" = yes ; then
+      if test "$ac_cv_lib_socks5_SOCKSinit" = yes ; then
               nc_cv_socks=no
       else
               LIBS="$savelibs"
@@ -2345,7 +2347,7 @@
 
 		# See if we should add -I/usr/local/ncurses
 		
-incdir="/usr/local/ncurses"
+incdir="$prefix/ncurses"
 if test -r $incdir ; then
 	case "$CPPFLAGS" in
 		*${incdir}*)
@@ -2366,7 +2368,7 @@
 		# Some people (me) have two versions of ncurses on
 		# the system.  Use the one in /usr/local first.
 		case "$CPPFLAGS" in
-			*/usr/local/include/ncurses*/usr/include/ncurses*)
+			*$prefix/include/ncurses*/usr/include/ncurses*)
 				CPPFLAGS=`echo "$CPPFLAGS" | sed 's@-I/usr/include/ncurses@@g'`
 		esac
 	fi