This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / Loc_sed.U
1 ?RCS: $Id: Loc_sed.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1996, Andy Dougherty
4 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: 
6 ?RCS: You may redistribute only under the terms of the Artistic Licence,
7 ?RCS: as specified in the README file that comes with the distribution.
8 ?RCS: You may reuse parts of this distribution only within the terms of
9 ?RCS: that same Artistic Licence; a copy of which may be found at the root
10 ?RCS: of the source tree for dist 4.0.
11 ?RCS:
12 ?X: This is used in perl.c.
13 ?MAKE:full_sed: sed
14 ?MAKE:  -pick add $@ %<
15 ?S:full_sed:
16 ?S:     This variable contains the full pathname to 'sed', whether or
17 ?S:     not the user has specified 'portability'.  This is only used
18 ?S:     in the compiled C program, and we assume that all systems which
19 ?S:     can share this executable will have the same full pathname to
20 ?S:     'sed.'
21 ?S:.
22 ?X:     Yes, I know about the C symbol PORTABLE, but I think sed
23 ?X:     is unlikely to move, and I'm too lazy to add all the
24 ?X:     #ifdef PORTABLE sections to the perl source.
25 ?X:     
26 ?C:LOC_SED:
27 ?C:     This symbol holds the complete pathname to the sed program.
28 ?C:.
29 ?H:#define LOC_SED      "$full_sed"     /**/
30 ?H:.
31 : Store the full pathname to the sed program for use in the C program
32 full_sed=$sed
33