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. 8 s/as_executable_p="test -f"/as_executable_p="test -x"/g 9 s/test -f "$ac_file"/test -x "$ac_file"/g 10 s/test -f $ac_dir\/install-sh/test -x $ac_dir\/install-sh/g 11 s/test -f $ac_dir\/install.sh/test -x $ac_dir\/install.sh/g 12 s/test -f $ac_dir\/shtool/test -x $ac_dir\/shtool/g 13 # Use the more efficient del instead of rm command. 14 s/rm[ ]*-r[ ]*-f/del -f/g 15 s/rm[ ]*-f[ ]*-r/del -f/g 16 s/rm[ ]*-rf/del -f/g 17 s/rm[ ]*-fr/del -f/g 18 s/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 22 s/\/bin\/sh/\/usr\/bin\/qsh/g 23 # no diff in qsh the equivalent is cmp 24 s/ diff / cmp -s /g 25 ## srl 26 # trouble w/ redirects. 27 s% >&$3%%g 28 s% >&$4% >$4%g 29 s%^ac_cr=%# AWK reads ASCII, not EBCDIC\ 30 touch -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