]> git.pld-linux.org Git - packages/bash.git/blame - bash-autoconf.patch
- ipv6 support is back
[packages/bash.git] / bash-autoconf.patch
CommitLineData
21e060cb
AM
1diff -urN bash-2.05.org/Makefile.in bash-2.05/Makefile.in
2--- bash-2.05.org/Makefile.in Wed Apr 18 23:07:48 2001
3+++ bash-2.05/Makefile.in Wed Apr 18 23:27:34 2001
4@@ -563,8 +563,8 @@
5af966b5 5 $(SHELL) ./config.status --recheck
6
7 # comment out for distribution
8-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
9- cd $(srcdir) && autoconf
10+#$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
11+# cd $(srcdir) && autoconf
12
13 # for chet
14 reconfig: force
21e060cb
AM
15diff -urN bash-2.05.org/aclocal.m4 bash-2.05/aclocal.m4
16--- bash-2.05.org/aclocal.m4 Wed Apr 18 23:07:48 2001
17+++ bash-2.05/aclocal.m4 Wed Apr 18 23:33:17 2001
18@@ -606,10 +606,11 @@
19 _bash_needmsg=
20 fi
21 AC_CACHE_VAL(bash_cv_termcap_lib,
22-[AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap,
23+[AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo,
24+ [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap,
25 [AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses,
26 [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses,
27- bash_cv_termcap_lib=gnutermcap)])])])
28+ bash_cv_termcap_lib=gnutermcap)])])])])
29 if test "X$_bash_needmsg" = "Xyes"; then
30 AC_MSG_CHECKING(which library has the termcap functions)
31 fi
32@@ -620,6 +621,9 @@
33 TERMCAP_DEP="./lib/termcap/libtermcap.a"
34 elif test $bash_cv_termcap_lib = libtermcap && test -z "$prefer_curses"; then
35 TERMCAP_LIB=-ltermcap
36+TERMCAP_DEP=
37+elif test $bash_cv_termcap_lib = libtinfo; then
38+TERMCAP_LIB=-ltinfo
39 TERMCAP_DEP=
40 elif test $bash_cv_termcap_lib = libncurses; then
41 TERMCAP_LIB=-lncurses
This page took 0.034713 seconds and 4 git commands to generate.