Commit | Line | Data |
---|---|---|
959f3c4c JH |
1 | ?RCS: $Id: d_portable.U,v 3.0.1.2 1995/01/11 15:28:52 ram Exp $ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1991-1993, Raphael Manfredi | |
0d616ccb | 4 | ?RCS: |
959f3c4c JH |
5 | ?RCS: This file is included with or a derivative work of a file included |
6 | ?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution. | |
7 | ?RCS: In accordance with clause 7 of dist's modified Artistic License: | |
0d616ccb | 8 | ?RCS: |
959f3c4c JH |
9 | ?RCS: You may distribute under the terms of either the GNU General Public |
10 | ?RCS: License or the Artistic License, as specified in the README file. | |
11 | ?RCS: | |
12 | ?RCS: $Log: d_portable.U,v $ | |
13 | ?RCS: Revision 3.0.1.2 1995/01/11 15:28:52 ram | |
14 | ?RCS: patch45: executable path stripping moved to the end in Config_sh.U | |
15 | ?RCS: | |
16 | ?RCS: Revision 3.0.1.1 1993/12/15 08:21:17 ram | |
17 | ?RCS: patch15: did not strip variables properly when needed | |
18 | ?RCS: patch15: now also strips down variables from trylist | |
19 | ?RCS: | |
20 | ?RCS: Revision 3.0 1993/08/18 12:06:48 ram | |
21 | ?RCS: Baseline for dist 3.0 netwide release. | |
22 | ?RCS: | |
23 | ?X: This is the same as the dist version, except I don't bother | |
24 | ?X: prompting people since it makes no difference for perl5, | |
25 | ?X: and only confuses people. | |
26 | ?X: | |
27 | ?X: The Loc unit is wanted to get the definition of all the locating variables. | |
28 | ?X: | |
29 | ?MAKE:d_portable: Loc Oldconfig | |
30 | ?MAKE: -pick add $@ %< | |
31 | ?S:d_portable: | |
32 | ?S: This variable conditionally defines the PORTABLE symbol, which | |
33 | ?S: indicates to the C program that it should not assume that it is | |
34 | ?S: running on the machine it was compiled on. | |
35 | ?S:. | |
36 | ?C:PORTABLE: | |
37 | ?C: This symbol, if defined, indicates to the C program that it should | |
38 | ?C: not assume that it is running on the machine it was compiled on. | |
39 | ?C: The program should be prepared to look up the host name, translate | |
40 | ?C: generic filenames, use PATH, etc. | |
41 | ?C:. | |
42 | ?H:#$d_portable PORTABLE /**/ | |
43 | ?H:. | |
44 | ?D:d_portable='' | |
45 | : decide how portable to be. Allow command line overrides. | |
46 | case "$d_portable" in | |
47 | "$undef") ;; | |
48 | *) d_portable="$define" ;; | |
49 | esac | |
50 |