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