summaryrefslogtreecommitdiff
path: root/misc/mc/patches/patch-aa
blob: 418066cc6ad745c5baed2000841bda182e6b6d9b (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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
*** configure.orig	Tue Jun 17 09:51:22 1997
--- configure	Fri Jun 20 00:03:50 1997
*************** if test "x$CCOPTS" = x; then
*** 1382,1388 ****
              CCOPTS='-O'
  	    if test x$use_cc_g_flag = xyes; then
  		if test $cc_uses_g = yes; then
! 		    CCOPTS='-g -O'
  		fi
  	    fi
  	fi
--- 1382,1388 ----
              CCOPTS='-O'
  	    if test x$use_cc_g_flag = xyes; then
  		if test $cc_uses_g = yes; then
! 		    CCOPTS='-O2 -m486 -pipe'
  		fi
  	    fi
  	fi
*************** ac_configure=$ac_aux_dir/configure # Thi
*** 1437,1442 ****
--- 1437,1443 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+ INSTALL="/usr/bin/install -c"
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*************** if test "${with_ncurses+set}" = set; the
*** 5411,5417 ****
  	then
  		search_ncurses=true
  	else
! 		LIBS="$LIBS -L$withval/lib -lncurses"
  		CPPFLAGS="$CPPFLAGS -I$withval/include"
  		search_ncurses=false
  		screen_manager="ncurses"
--- 5412,5418 ----
  	then
  		search_ncurses=true
  	else
! 		LIBS="$LIBS -L$withval/lib -lncurses -lmytinfo"
  		CPPFLAGS="$CPPFLAGS -I$withval/include"
  		search_ncurses=false
  		screen_manager="ncurses"
*************** then
*** 6372,6378 ****
          if test -f /usr/include/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses"
  	    CPPFLAGS="$CPPFLAGS "
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/include"
--- 6373,6379 ----
          if test -f /usr/include/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo"
  	    CPPFLAGS="$CPPFLAGS "
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/include"
*************** EOF
*** 6389,6395 ****
          if test -f /usr/include/ncurses/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses"
  	    CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/include/ncurses"
--- 6390,6396 ----
          if test -f /usr/include/ncurses/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo"
  	    CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/include/ncurses"
*************** EOF
*** 6406,6412 ****
          if test -f /usr/local/include/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -L/usr/local/lib"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/local"
--- 6407,6413 ----
          if test -f /usr/local/include/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/local"
*************** EOF
*** 6423,6429 ****
          if test -f /usr/local/include/ncurses/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -L/usr/local/lib -L/usr/local/lib/ncurses"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/local/include/ncurses"
--- 6424,6430 ----
          if test -f /usr/local/include/ncurses/ncurses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib -L/usr/local/lib/ncurses"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses"
  	    search_ncurses=false
  	    screen_manager="ncurses on /usr/local/include/ncurses"
*************** EOF
*** 6441,6447 ****
          if test -f /usr/local/include/ncurses/curses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -L/usr/local/lib"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES"
  	    search_ncurses=false
  	    screen_manager="renamed ncurses on /usr/local/.../ncurses"
--- 6442,6448 ----
          if test -f /usr/local/include/ncurses/curses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib"
  	    CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES"
  	    search_ncurses=false
  	    screen_manager="renamed ncurses on /usr/local/.../ncurses"
*************** EOF
*** 6459,6465 ****
          if test -f /usr/include/ncurses/curses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6
!  	    LIBS="$LIBS -lncurses"
  	    CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES"
  	    search_ncurses=false
  	    screen_manager="renamed ncurses on /usr/include/ncurses"
--- 6460,6466 ----
          if test -f /usr/include/ncurses/curses.h
  	then
  	    echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6
!  	    LIBS="$LIBS -lncurses -lmytinfo"
  	    CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES"
  	    search_ncurses=false
  	    screen_manager="renamed ncurses on /usr/include/ncurses"