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