This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: [perl #26136] localtime(3) calls tzset(3), but localtime_r(3) may not.
[metaconfig.git] / U / modified / Init.U
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
4 ?RCS: 
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
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
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
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:
21 ?X: 
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:
41 ?LINT:extern DJGPP
42 ?LINT:extern _exe
43 ?LINT:change _exe
44 ?LINT:extern is_os2
45 define='define'
46 undef='undef'
47 smallmach='pdp11 i8086 z8000 i80286 iAPX286'
48 rmlist=''
49
50 : We must find out about Eunice early
51 eunicefix=':'
52 if test -f /etc/unixtovms; then
53         eunicefix=/etc/unixtovms
54 fi
55 if test -f /etc/unixtovms.exe; then
56         eunicefix=/etc/unixtovms.exe
57 fi
58
59 : Set executable suffix now -- needed before hints available
60 if test -f "/libs/version.library"; then
61 : Amiga OS
62     _exe=""
63 elif test -f "/system/gnu_library/bin/ar.pm"; then
64 : Stratus VOS
65     _exe=".pm"
66 elif test -n "$DJGPP"; then
67 : DOS DJGPP
68     _exe=".exe"
69 elif test -d c:/. -o -n "$is_os2" ; then
70 : OS/2 or cygwin
71     _exe=".exe"
72 fi
73