Diffstat (limited to 'mcon/U/i_fcntl.U')
1 files changed, 61 insertions, 0 deletions
diff --git a/mcon/U/i_fcntl.U b/mcon/U/i_fcntl.U
new file mode 100644
@@ -0,0 +1,61 @@
+?RCS: $Id: i_fcntl.U,v 3.0 1993/08/18 12:08:18 ram Exp $
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?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 Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 3.0.
+?RCS: $Log: i_fcntl.U,v $
+?RCS: Revision 3.0 1993/08/18 12:08:18 ram
+?RCS: Baseline for dist 3.0 netwide release.
+?MAKE:i_fcntl: h_fcntl h_sysfile +i_sysfile Inhdr Setvar
+?MAKE: -pick add $@ %<
+?S: This variable controls the value of I_FCNTL (which tells
+?S: the C program to include <fcntl.h>).
+?C:I_FCNTL (HDR_O_STUFF FCNTL):
+?C: This manifest constant tells the C program to include <fcntl.h>.
+?H:#$i_fcntl I_FCNTL /**/
+?X: Make line lists +i_sysfile to ensure tests for <sys/file.h> will be
+?X: conducted prior tests for <fcntl.h>, hece making sure the h_sysfile
+?X: variable is correctly set when we reach that unit.
+: see if fcntl.h is there
+set fcntl.h val
+: see if we can include fcntl.h
+case "$val" in
+ echo " "
+ if $h_fcntl; then
+ echo "We'll be including <fcntl.h>." >&4
+ if $h_sysfile; then
+ echo "We don't need to include <fcntl.h> if we include <sys/file.h>." >&4
+ echo "We won't be including <fcntl.h>." >&4