3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
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 License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
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
18 ?RCS: Revision 3.0 1993/08/18 12:05:02 ram
19 ?RCS: Baseline for dist 3.0 netwide release.
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.
25 ?MAKE:Init eunicefix _exe: Null
26 ?MAKE: -pick add $@ %<
27 ?MAKE: -pick weed $@ ./Init
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.
34 ?S: This variable defines the extension used for executable files.
35 ?S: For unix it is empty. Other possible values include '.exe'.
36 ?S: DJGPP, Cygwin and OS/2 use '.exe'. Stratus VOS uses '.pm'.
37 ?S: On operating systems which do not require a specific extension
38 ?S: for executable files, this variable is empty.
40 ?V:define undef smallmach:rmlist
42 ?X: Throughout the units, one may make use of $define and $undef to reference
43 ?X: a defined symbol or an undefined one. There is no need to add them in
44 ?X: the dependency line since this unit makes them visible via ?V:, and
45 ?X: everyone inherits from those symbols since by convention Init.U is the
49 : Initialize wide constants
52 smallmach='pdp11 i8086 z8000 i80286 iAPX286'
55 : We must find out about Eunice early
57 if test -f /etc/unixtovms; then
58 eunicefix=/etc/unixtovms
60 if test -f /etc/unixtovms.exe; then
61 eunicefix=/etc/unixtovms.exe
64 : Set executable suffix now -- needed before hints available
65 if test -f "/libs/version.library"; then
68 elif test -f "/system/gnu_library/bin/ar.pm"; then
71 elif test -n "$DJGPP"; then
74 elif test -d c:/. ; then
78 : All other UNIX systems