Dash:
[t2.git] / package / shells / pdksh / pdksh-install.patch
blob36745f242aa4a83ff6d039e17ae1542a3b8a397e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../pdksh/pdksh-install.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- pdksh-5.2.14/configure 1999-04-20 22:01:59.000000000 +0200
17 +++ pdksh-5.2.14-patched/configure 2005-05-17 23:02:51.000000000 +0200
18 @@ -623,7 +623,7 @@
21 case $enable_shell in
22 - ksh) cat >> confdefs.h <<\EOF
23 + *ksh) cat >> confdefs.h <<\EOF
24 #define KSH 1
25 EOF
27 @@ -640,7 +640,7 @@
30 case $enable_emacs:$enable_shell in
31 - yes:*|:ksh) enable_emacs=yes; cat >> confdefs.h <<\EOF
32 + yes:*|:*ksh) enable_emacs=yes; cat >> confdefs.h <<\EOF
33 #define EMACS 1
34 EOF
36 @@ -654,7 +654,7 @@
39 case $enable_vi:$enable_shell in
40 - yes:*|:ksh) enable_vi=yes; cat >> confdefs.h <<\EOF
41 + yes:*|:*ksh) enable_vi=yes; cat >> confdefs.h <<\EOF
42 #define VI 1
43 EOF
45 @@ -682,7 +682,7 @@
48 case $enable_brace_expand:$enable_shell in
49 - yes:*|:ksh) enable_brace_expand=yes; cat >> confdefs.h <<\EOF
50 + yes:*|:*ksh) enable_brace_expand=yes; cat >> confdefs.h <<\EOF
51 #define BRACE_EXPAND 1
52 EOF
54 @@ -696,7 +696,7 @@
57 case $enable_history:$enable_shell in
58 - simple:*|:ksh) enable_history=simple; ;;
59 + simple:*|:*ksh) enable_history=simple; ;;
60 complex:*) enable_history=complex; cat >> confdefs.h <<\EOF
61 #define COMPLEX_HISTORY 1
62 EOF