|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../pdksh/pdksh-install.patch
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
--- pdksh-5.2.14/configure 1999-04-20 22:01:59.000000000 +0200
|
|
|
|
+++ pdksh-5.2.14-patched/configure 2005-05-17 23:02:51.000000000 +0200
|
|
|
|
@@ -623,7 +623,7 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $enable_shell in
|
|
|
|
- ksh) cat >> confdefs.h <<\EOF
|
|
|
|
+ *ksh) cat >> confdefs.h <<\EOF
|
|
|
|
#define KSH 1
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
@@ -640,7 +640,7 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $enable_emacs:$enable_shell in
|
|
|
|
- yes:*|:ksh) enable_emacs=yes; cat >> confdefs.h <<\EOF
|
|
|
|
+ yes:*|:*ksh) enable_emacs=yes; cat >> confdefs.h <<\EOF
|
|
|
|
#define EMACS 1
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
@@ -654,7 +654,7 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $enable_vi:$enable_shell in
|
|
|
|
- yes:*|:ksh) enable_vi=yes; cat >> confdefs.h <<\EOF
|
|
|
|
+ yes:*|:*ksh) enable_vi=yes; cat >> confdefs.h <<\EOF
|
|
|
|
#define VI 1
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
@@ -682,7 +682,7 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $enable_brace_expand:$enable_shell in
|
|
|
|
- yes:*|:ksh) enable_brace_expand=yes; cat >> confdefs.h <<\EOF
|
|
|
|
+ yes:*|:*ksh) enable_brace_expand=yes; cat >> confdefs.h <<\EOF
|
|
|
|
#define BRACE_EXPAND 1
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
@@ -696,7 +696,7 @@
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $enable_history:$enable_shell in
|
|
|
|
- simple:*|:ksh) enable_history=simple; ;;
|
|
|
|
+ simple:*|:*ksh) enable_history=simple; ;;
|
|
|
|
complex:*) enable_history=complex; cat >> confdefs.h <<\EOF
|
|
|
|
#define COMPLEX_HISTORY 1
|
|
|
|
EOF
|