aboutsummaryrefslogtreecommitdiff
path: root/net/tmsnc/files/patch-configure
blob: 893473b6e817bc372c7a181e433dbd3829b945c4 (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
--- configure.orig	Wed Aug 10 17:42:42 2005
+++ configure	Wed Sep 14 08:29:30 2005
@@ -6145,81 +6145,12 @@
 
     if $search_ncurses
     then
-        if test -f /usr/include/ncurses.h
-	then
-	    echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/include/ncurses.h" >&6
- 	    CURSES_LIBS="-lncurses"
-	    CURSES_INCLUDEDIR=""
-	    search_ncurses=false
-	    screen_manager="ncurses on /usr/include"
-            cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
-            has_curses=true
-	    cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
-	fi
-    fi
-
-
-    if $search_ncurses
-    then
-        if test -f /usr/include/ncurses/ncurses.h
-	then
-	    echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h" >&6
- 	    CURSES_LIBS="-lncurses"
-	    CURSES_INCLUDEDIR="-I/usr/include/ncurses"
-	    search_ncurses=false
-	    screen_manager="ncurses on /usr/include/ncurses"
-            cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
-            has_curses=true
-	    cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
-	fi
-    fi
-
-
-    if $search_ncurses
-    then
-        if test -f /usr/local/include/ncurses.h
-	then
-	    echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses.h" >&6
- 	    CURSES_LIBS="-L/usr/local/lib -lncurses"
-	    CURSES_INCLUDEDIR="-I/usr/local/include"
-	    search_ncurses=false
-	    screen_manager="ncurses on /usr/local"
-            cat >>confdefs.h <<\_ACEOF
-#define HAS_CURSES 1
-_ACEOF
-
-            has_curses=true
-	    cat >>confdefs.h <<\_ACEOF
-#define USE_NCURSES 1
-_ACEOF
-
-	fi
-    fi
-
-
-    if $search_ncurses
-    then
         if test -f /usr/local/include/ncurses/ncurses.h
 	then
 	    echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h" >&5
 echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h" >&6
- 	    CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -lncurses"
-	    CURSES_INCLUDEDIR="-I/usr/local/include/ncurses"
+ 	    CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -Wl,-rpath,/usr/local/lib -lncurses"
+	    CURSES_INCLUDEDIR="-I/usr/local/include -I/usr/local/include/ncurses"
 	    search_ncurses=false
 	    screen_manager="ncurses on /usr/local/include/ncurses"
             cat >>confdefs.h <<\_ACEOF