blob: a27a88610ed7f0e3489f617d6446acfb3deb9233 (
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
|
--- configure.orig Sun Dec 1 03:08:35 1996
+++ configure Sun Feb 1 18:10:55 1998
@@ -605,14 +605,7 @@
echo $ac_n "checking for default include-directory""... $ac_c" 1>&6
echo "configure:607: checking for default include-directory" >&5
for nc_symbol in \
- $includedir \
- $includedir/ncurses \
- $prefix/include \
- $prefix/include/ncurses \
- /usr/include \
- /usr/include/ncurses \
- /usr/local/include \
- /usr/local/include/ncurses
+ $includedir
do
nc_dir=`eval echo $nc_symbol`
if test -f $nc_dir/curses.h ; then
@@ -1283,12 +1283,7 @@
do
nc_test=`echo $nc_name | sed -e 's/*//'`
if test "x$nc_test" = "x$nc_name" ; then
- case "$nc_name" in
- *.gz) nc_form=gzip; nc_name=`basename $nc_name .gz`;;
- *.Z) nc_form=compress; nc_name=`basename $nc_name .Z`;;
- *.0) nc_form=BSDI; nc_format=yes;;
- *) nc_form=cat;;
- esac
+ nc_form=cat
break
fi
done
@@ -1392,7 +1387,7 @@
BSDI)
cat >>man/edit_man.sh <<NC_EOF
# BSDI installs only .0 suffixes in the cat directories
- target="\`echo \$target|sed -e 's/\.[1-9]\+.\?/.0/'\`"
+ target="\`echo \$target|sed -e 's/\.[1-9]\(\.gz|\.Z\)\{0,1\}/.0\1/'\`"
NC_EOF
;;
esac
|