2009-09-16 01:08:54 +00:00
|
|
|
# Copyright (C) 2006-2009, International Business Machines Corporation
|
2006-05-16 16:25:42 +00:00
|
|
|
# and others. All Rights Reserved.
|
|
|
|
#
|
2006-07-07 23:39:24 +00:00
|
|
|
# Use "test -x" instead of "test -f" most of the time.
|
2006-05-16 16:25:42 +00:00
|
|
|
# due to how executables are created in a different file system.
|
2006-07-07 23:39:24 +00:00
|
|
|
s/as_executable_p="test -f"/as_executable_p="test -x"/g
|
|
|
|
s/test -f "$ac_file"/test -x "$ac_file"/g
|
|
|
|
s/test -f $ac_dir\/install-sh/test -x $ac_dir\/install-sh/g
|
|
|
|
s/test -f $ac_dir\/install.sh/test -x $ac_dir\/install.sh/g
|
|
|
|
s/test -f $ac_dir\/shtool/test -x $ac_dir\/shtool/g
|
2006-05-16 16:25:42 +00:00
|
|
|
# Use the more efficient del instead of rm command.
|
2009-09-16 01:08:54 +00:00
|
|
|
s/rm[ ]*-r[ ]*-f/del -f/g
|
|
|
|
s/rm[ ]*-f[ ]*-r/del -f/g
|
2006-05-16 16:25:42 +00:00
|
|
|
s/rm[ ]*-rf/del -f/g
|
|
|
|
s/rm[ ]*-fr/del -f/g
|
|
|
|
s/rm[ ]*-f/del -f/g
|
2009-09-16 01:08:54 +00:00
|
|
|
##don't clean up some awks for debugging
|
|
|
|
#s/[ ]*del -f [^ ]*.awk/#&/
|
2006-05-16 16:25:42 +00:00
|
|
|
# Borne shell isn't always available on i5/OS
|
|
|
|
s/\/bin\/sh/\/usr\/bin\/qsh/g
|
|
|
|
# no diff in qsh the equivalent is cmp
|
2009-09-16 01:08:54 +00:00
|
|
|
s/ diff / cmp -s /g
|
|
|
|
## srl
|
|
|
|
# trouble w/ redirects.
|
|
|
|
s% >&$3%%g
|
|
|
|
s%^ac_cr=%# AWK reads ASCII, not EBCDIC\
|
|
|
|
touch -C 819 $tmp/defines.awk $tmp/subs.awk $tmp/subs1.awk conf$$subs.awk\
|
|
|
|
\
|
|
|
|
&%
|
|
|
|
##OBSOLETE
|
|
|
|
#(REPLACED BY CPP in runConfigureICU) Use -c qpponly instead of -E to enable the preprocessor on the compiler
|
|
|
|
#s/\$CC -E/\$CC -c -qpponly/g
|