1# Copyright (C) 2016 and later: Unicode, Inc. and others. 2# License & terms of use: http://www.unicode.org/copyright.html 3# Copyright (C) 2006-2011, International Business Machines Corporation 4# and others. All Rights Reserved. 5# 6# Use "test -x" instead of "test -f" most of the time. 7# due to how executables are created in a different file system. 8s/as_executable_p="test -f"/as_executable_p="test -x"/g 9s/test -f "$ac_file"/test -x "$ac_file"/g 10s/test -f $ac_dir\/install-sh/test -x $ac_dir\/install-sh/g 11s/test -f $ac_dir\/install.sh/test -x $ac_dir\/install.sh/g 12s/test -f $ac_dir\/shtool/test -x $ac_dir\/shtool/g 13# Use the more efficient del instead of rm command. 14s/rm[ ]*-r[ ]*-f/del -f/g 15s/rm[ ]*-f[ ]*-r/del -f/g 16s/rm[ ]*-rf/del -f/g 17s/rm[ ]*-fr/del -f/g 18s/rm[ ]*-f/del -f/g 19##don't clean up some awks for debugging 20#s/[ ]*del -f [^ ]*.awk/#&/ 21# Borne shell isn't always available on i5/OS 22s/\/bin\/sh/\/usr\/bin\/qsh/g 23# no diff in qsh the equivalent is cmp 24s/ diff / cmp -s /g 25## srl 26# trouble w/ redirects. 27s% >&$3%%g 28s% >&$4% >$4%g 29s%^ac_cr=%# AWK reads ASCII, not EBCDIC\ 30touch -C 819 $tmp/defines.awk $tmp/subs.awk $tmp/subs1.awk conf$$subs.awk\ 31\ 32&% 33##OBSOLETE 34#(REPLACED BY CPP in runConfigureICU) Use -c qpponly instead of -E to enable the preprocessor on the compiler 35#s/\$CC -E/\$CC -c -qpponly/g 36