|author||Manoj Srivastava <firstname.lastname@example.org>||2008-05-30 12:42:47 -0700|
|committer||Manoj Srivastava <email@example.com>||2008-05-30 12:42:47 -0700|
[dgit import orig dist_3.5-236.orig.tar.gz]
Diffstat (limited to 'mcon/U/Init.U')
1 files changed, 81 insertions, 0 deletions
diff --git a/mcon/U/Init.U b/mcon/U/Init.U
new file mode 100644
@@ -0,0 +1,81 @@
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+?RCS: You may redistribute only under the terms of the Artistic License,
+?RCS: as specified in the README file that comes with the distribution.
+?RCS: You may reuse parts of this distribution only within the terms of
+?RCS: that same Artistic License; a copy of which may be found at the root
+?RCS: of the source tree for dist 4.0.
+?RCS: $Log: Init.U,v $
+?RCS: Revision 18.104.22.168 1994/10/31 09:45:59 ram
+?RCS: patch44: removed Options from MAKE to prevent Init overrides
+?RCS: patch44: option processing now done after Myinit thanks to new Begin.U
+?RCS: patch44: moved "Beginning of configuration questions" to Begin.U
+?RCS: patch44: moved signal trapping instruction to Begin.U as well
+?RCS: Revision 3.0 1993/08/18 12:05:02 ram
+?RCS: Baseline for dist 3.0 netwide release.
+?X: This file initializes certain default variables used by Configure. They
+?X: may be overridden or added to by definitions in Myinit.U.
+?MAKE:Init eunicefix _exe: Null
+?MAKE: -pick add $@ %<
+?MAKE: -pick weed $@ ./Init
+?S: When running under Eunice this variable contains a command which will
+?S: convert a shell script to the proper form of text file for it to be
+?S: executable by the shell. On other systems it is a no-op.
+?S: This variable defines the extension used for executable files.
+?S: For unix it is empty. Other possible values include '.exe'.
+?S: DJGPP, Cygwin and OS/2 use '.exe'. Stratus VOS uses '.pm'.
+?S: On operating systems which do not require a specific extension
+?S: for executable files, this variable is empty.
+?V:define undef smallmach:rmlist
+?X: Throughout the units, one may make use of $define and $undef to reference
+?X: a defined symbol or an undefined one. There is no need to add them in
+?X: the dependency line since this unit makes them visible via ?V:, and
+?X: everyone inherits from those symbols since by convention Init.U is the
+?X: root dependency.
+: Initialize wide constants
+smallmach='pdp11 i8086 z8000 i80286 iAPX286'
+: We must find out about Eunice early
+if test -f /etc/unixtovms; then
+if test -f /etc/unixtovms.exe; then
+: Set executable suffix now -- needed before hints available
+if test -f "/libs/version.library"; then
+ : Amiga OS
+elif test -f "/system/gnu_library/bin/ar.pm"; then
+ : Stratus VOS
+elif test -n "$DJGPP"; then
+ : DOS DJGPP
+elif test -d c:/. ; then
+ : OS/2 or cygwin
+ : All other UNIX systems