perl5.000 patch.0j: fix minor portability and build problems remaining even after...
[p5sagit/p5-mst-13.2.git] / U / Loc_sed.U
1 ?RCS: $Id: Loc_sed.U,v $
2 ?RCS:
3 ?X: This is used in perl.c.
4 ?MAKE:full_sed: sed
5 ?MAKE:  -pick add $@ %<
6 ?S:full_sed:
7 ?S:     This variable contains the full pathname to 'sed', whether or
8 ?S:     not the user has specified 'portability'.  This is only used
9 ?S:     in the compiled C program, and we assume that all systems which
10 ?S:     can share this executable will have the same full pathname to
11 ?S:     'sed.'
12 ?S:.
13 ?X:     Yes, I know about the C symbol PORTABLE, but I think sed
14 ?X:     is unlikely to move, and I'm too lazy to add all the
15 ?X:     #ifdef PORTABLE sections to the perl source.
16 ?X:     
17 ?C:LOC_SED:
18 ?C:     This symbol holds the complete pathname to the sed program.
19 ?C:.
20 ?H:#define LOC_SED      "$full_sed"     /**/
21 ?H:.
22 ?LINT:use sed
23 ?LINT:extern sed
24 : Store the full pathname to the sed program for use in the C program
25 full_sed=$sed
26