This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
evat => eval as found by Tom Hukins
[metaconfig.git] / U / modified / Init.U
CommitLineData
26470d78
JH
1?RCS: $Id: Init.U,v 3.0.1.1 1994/10/31 09:45:59 ram Exp $
2?RCS:
3?RCS: Copyright (c) 1991-1993, Raphael Manfredi
2f125bce 4?RCS:
65a32477 5?RCS: You may redistribute only under the terms of the Artistic License,
26470d78
JH
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
65a32477 8?RCS: that same Artistic License; a copy of which may be found at the root
26470d78
JH
9?RCS: of the source tree for dist 3.0.
10?RCS:
11?RCS: $Log: Init.U,v $
12?RCS: Revision 3.0.1.1 1994/10/31 09:45:59 ram
13?RCS: patch44: removed Options from MAKE to prevent Init overrides
14?RCS: patch44: option processing now done after Myinit thanks to new Begin.U
15?RCS: patch44: moved "Beginning of configuration questions" to Begin.U
16?RCS: patch44: moved signal trapping instruction to Begin.U as well
17?RCS:
18?RCS: Revision 3.0 1993/08/18 12:05:02 ram
19?RCS: Baseline for dist 3.0 netwide release.
20?RCS:
2f125bce 21?X:
26470d78
JH
22?X: This file initializes certain default variables used by Configure. They
23?X: may be overridden or added to by definitions in Myinit.U.
24?X:
25?MAKE:Init eunicefix: Null
26?MAKE: -pick add $@ %<
27?MAKE: -pick weed $@ ./Init
28?S:eunicefix:
29?S: When running under Eunice this variable contains a command which will
30?S: convert a shell script to the proper form of text file for it to be
31?S: executable by the shell. On other systems it is a no-op.
32?S:.
33?V:define undef smallmach:rmlist
34?X:
35?X: Throughout the units, one may make use of $define and $undef to reference
36?X: a defined symbol or an undefined one. There is no need to add them in
37?X: the dependency line since this unit makes them visible via ?V:, and
38?X: everyone inherits from those symbols since by convention Init.U is the
39?X: root dependency.
40?X:
9f542ee7
JH
41?LINT:extern DJGPP
42?LINT:extern _exe
43?LINT:change _exe
1056f0f3 44?LINT:extern is_os2
2f125bce 45: Detect odd OSs
26470d78
JH
46define='define'
47undef='undef'
48smallmach='pdp11 i8086 z8000 i80286 iAPX286'
49rmlist=''
50
51: We must find out about Eunice early
52eunicefix=':'
53if test -f /etc/unixtovms; then
54 eunicefix=/etc/unixtovms
55fi
56if test -f /etc/unixtovms.exe; then
57 eunicefix=/etc/unixtovms.exe
58fi
59
e9bd8172 60: Set executable suffix now -- needed before hints available
c7c0d3d1
JH
61if test -f "/libs/version.library"; then
62: Amiga OS
63 _exe=""
64elif test -f "/system/gnu_library/bin/ar.pm"; then
65: Stratus VOS
e9bd8172 66 _exe=".pm"
c7c0d3d1
JH
67elif test -n "$DJGPP"; then
68: DOS DJGPP
e9bd8172 69 _exe=".exe"
0b34e910
MBT
70elif test -f /kern/cookiejar; then
71: MiNT
72 _exe=""
1056f0f3 73elif test -d c:/. -o -n "$is_os2" ; then
fa24cb85 74: OS/2 or cygwin
a3b901d6
JH
75 _exe=".exe"
76fi
26470d78 77