home *** CD-ROM | disk | FTP | other *** search
- From: ram@acri.fr (Raphael Manfredi)
- Newsgroups: comp.sources.misc
- Subject: v44i047: dist-3.0 - Configure script generator and related tools, Patch33
- Date: 5 Sep 1994 11:34:30 -0500
- Organization: Advanced Computer Research Institute, Lyon, France
- Sender: kent@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <34fham$25q@sparky.sterling.com>
- X-Md4-Signature: 6f11db6115aa4ced9b422f6e21c94b0e
-
- Submitted-by: ram@acri.fr (Raphael Manfredi)
- Posting-number: Volume 44, Issue 47
- Archive-name: dist-3.0/patch33
- Environment: UNIX, Perl, RCS
- Patch-To: dist-3.0: Volume 39, Issue 5-32
-
- [The latest patch for dist version 3.0 is #35.]
-
- System: dist version 3.0
- Patch #: 33
- Priority: LOW
- Subject: patch #32, continued
- Date: Mon Aug 29 18:47:30 MET DST 1994
- From: Raphael Manfredi <ram@acri.fr>
-
- Description:
- See patch #32.
-
-
- Fix: From rn, say "| patch -p -N -d DIR", where DIR is your dist source
- directory. Outside of rn, say "cd DIR; patch -p -N <thisarticle".
- If you don't have the patch program, apply the following by hand,
- or get patch (version 2.0, latest patchlevel).
-
- After patching:
- *** DO NOTHING--INSTALL ALL PATCHES UP THROUGH #35 FIRST ***
-
- If patch indicates that patchlevel is the wrong version, you may need
- to apply one or more previous patches, or the patch may already
- have been applied. See the patchlevel.h file to find out what has or
- has not been applied. In any event, don't continue with the patch.
-
- If you are missing previous patches they can be obtained from me:
-
- Raphael Manfredi <ram@acri.fr>
-
- If you send a mail message of the following form it will greatly speed
- processing:
-
- Subject: Command
- @SH mailpatch PATH dist 3.0 LIST
- ^ note the c
-
- where PATH is a return path FROM ME TO YOU either in Internet notation,
- or in bang notation from some well-known host, and LIST is the number
- of one or more patches you need, separated by spaces, commas, and/or
- hyphens. Saying 35- says everything from 35 to the end.
-
- To get some more detailed instructions, send me the following mail:
-
- Subject: Command
- @SH mailhelp PATH
-
-
- Index: patchlevel.h
- Prereq: 32
- 4c4
- < #define PATCHLEVEL 32
- ---
- > #define PATCHLEVEL 33
-
- Index: mcon/U/spitshell.U
- Prereq: 3.0.1.1
- *** mcon/U/spitshell.U.old Mon Aug 29 18:38:37 1994
- --- mcon/U/spitshell.U Mon Aug 29 18:38:37 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: spitshell.U,v 3.0.1.1 1993/09/13 16:12:58 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: spitshell.U,v 3.0.1.2 1994/08/29 16:33:00 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,18 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: spitshell.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:33:00 ram
- + ?RCS: patch32: don't create spitshell under the UU directory
- + ?RCS: patch32: allow for cat in /bin or /usr/bin
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1993/09/13 16:12:58 ram
- ?RCS: patch10: made #!-failure message more friendly (WAD)
- ?RCS:
- ***************
- *** 29,34 ****
- --- 33,39 ----
- ?S: This variable contains the string #! if this system supports that
- ?S: construct.
- ?S:.
- + ?T:xcat
- : see if sh knows # comments
- echo " "
- echo "Checking your sh to see if it knows about # comments..." >&4
- ***************
- *** 38,44 ****
- spitshell=cat
- echo " "
- echo "Okay, let's see if #! works on this system..."
- ! echo "#!/bin/cat" >try
- $eunicefix try
- chmod +x try
- ./try > today
- --- 43,51 ----
- spitshell=cat
- echo " "
- echo "Okay, let's see if #! works on this system..."
- ! xcat=/bin/cat
- ! test -r $xcat || xcat=/usr/bin/cat
- ! echo "#!$xcat" >try
- $eunicefix try
- chmod +x try
- ./try > today
- ***************
- *** 46,52 ****
- echo "It does."
- sharpbang='#!'
- else
- ! echo "#! /bin/cat" > try
- $eunicefix try
- chmod +x try
- ./try > today
- --- 53,59 ----
- echo "It does."
- sharpbang='#!'
- else
- ! echo "#! $xcat" > try
- $eunicefix try
- chmod +x try
- ./try > today
- ***************
- *** 61,70 ****
- --- 68,80 ----
- else
- echo "Your sh doesn't grok # comments--I will strip them later on."
- shsharp=false
- + ?X: The spitshell script will be perused, so leave it out the UU directory
- + cd ..
- echo "exec grep -v '^[ ]*#'" >spitshell
- chmod +x spitshell
- $eunicefix spitshell
- spitshell=`pwd`/spitshell
- + cd UU
- echo "I presume that if # doesn't work, #! won't work either!"
- sharpbang=': use '
- fi
-
- Index: mcon/U/d_casti32.U
- *** mcon/U/d_casti32.U.old Mon Aug 29 18:34:42 1994
- --- mcon/U/d_casti32.U Mon Aug 29 18:34:43 1994
- ***************
- *** 0 ****
- --- 1,80 ----
- + ?RCS: $Id: d_casti32.U,v 3.0.1.1 1994/08/29 16:07:06 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: d_casti32.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:07:06 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?X:
- + ?X: Can the compiler cast large floats to 32-bit integers?
- + ?X:
- + ?MAKE:d_casti32: cat cc ccflags rm intsize Setvar test
- + ?MAKE: -pick add $@ %<
- + ?S:d_casti32:
- + ?S: This variable conditionally defines CASTI32, which indicates
- + ?S: whether the C compiler can cast large floats to 32-bit ints.
- + ?S:.
- + ?C:CASTI32:
- + ?C: This symbol is defined if the C compiler can cast negative
- + ?C: or large floating point numbers to 32-bit ints.
- + ?C:.
- + ?T:xxx yyy
- + ?H:#$d_casti32 CASTI32 /**/
- + ?H:.
- + ?LINT:set d_casti32
- + : check for ability to cast large floats to 32-bit ints.
- + echo " "
- + echo 'Checking whether your C compiler can cast large floats to int32.' >&4
- + if $test "$intsize" -eq 4; then
- + xxx=int
- + else
- + xxx=long
- + fi
- + $cat >try.c <<EOCP
- + #include <sys/types.h>
- + #include <signal.h>
- + blech() { exit(3); }
- + main()
- + {
- + $xxx i32;
- + double f;
- + int result = 0;
- + signal(SIGFPE, blech);
- +
- + f = (double) 0x7fffffff;
- + f = 10 * f;
- + i32 = ($xxx) f;
- +
- + if (i32 != ($xxx) f)
- + result |= 1;
- + exit(result);
- + }
- + EOCP
- + if $cc -o try $ccflags try.c >/dev/null 2>&1; then
- + ./try
- + yyy=$?
- + else
- + echo "(I can't seem to compile the test program--assuming it can't)"
- + yyy=1
- + fi
- + case "$yyy" in
- + 0) val="$define"
- + echo "Yup, it can."
- + ;;
- + *) val="$undef"
- + echo "Nope, it can't."
- + ;;
- + esac
- + set d_casti32
- + eval $setvar
- + $rm -f try try.*
- +
-
- Index: mcon/U/d_voidsig.U
- Prereq: 3.0.1.1
- *** mcon/U/d_voidsig.U.old Mon Aug 29 18:35:09 1994
- --- mcon/U/d_voidsig.U Mon Aug 29 18:35:09 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: d_voidsig.U,v 3.0.1.1 1994/06/20 06:59:54 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: d_voidsig.U,v 3.0.1.2 1994/08/29 16:20:35 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: d_voidsig.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:20:35 ram
- + ?RCS: patch32: now sets signal_t only once d_voidsig is known (WED)
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1994/06/20 06:59:54 ram
- ?RCS: patch30: now properly sets signal_t when re-using previous value
- ?RCS:
- ***************
- *** 50,64 ****
- if $contains 'int.*\*[ ]*signal' $$.tmp >/dev/null 2>&1 ; then
- echo "You have int (*signal())() instead of void." >&4
- val="$undef"
- - signal_t="int"
- elif $contains 'void.*\*[ ]*signal' $$.tmp >/dev/null 2>&1 ; then
- echo "You have void (*signal())() instead of int." >&4
- val="$define"
- - signal_t="void"
- elif $contains 'extern[ ]*[(\*]*signal' $$.tmp >/dev/null 2>&1 ; then
- echo "You have int (*signal())() instead of void." >&4
- val="$undef"
- - signal_t="int"
- else
- case "$d_voidsig" in
- '')
- --- 53,64 ----
- ***************
- *** 66,81 ****
- dflt=void
- rp="What type does your signal handler return?"
- . ./myread
- ! signal_t="$ans"
- ! ;;
- ! *) echo "As you already told me, signal handler returns $signal_t." >&4;;
- ! esac
- ! case "$signal_t" in
- ! void) val="$define";;
- ! *) val="$undef";;
- esac
- fi
- set d_voidsig
- eval $setvar
- $rm -f $$.tmp
-
- --- 66,86 ----
- dflt=void
- rp="What type does your signal handler return?"
- . ./myread
- ! case "$ans" in
- ! v*) val="$define";;
- ! *) val="$undef";;
- ! esac;;
- ! "$define")
- ! echo "As you already told me, signal handler returns void." >&4;;
- ! *)
- ! echo "As you already told me, signal handler returns int." >&4;;
- esac
- fi
- set d_voidsig
- eval $setvar
- + case "$d_voidsig" in
- + "$define") signal_t="void";;
- + *) signal_t="int";;
- + esac
- $rm -f $$.tmp
-
-
- Index: mcon/U/d_dbl_dig.U
- *** mcon/U/d_dbl_dig.U.old Mon Aug 29 18:34:46 1994
- --- mcon/U/d_dbl_dig.U Mon Aug 29 18:34:46 1994
- ***************
- *** 0 ****
- --- 1,60 ----
- + ?RCS: $Id: d_dbl_dig.U,v 3.0.1.1 1994/08/29 16:07:28 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: d_dbl_dig.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:07:28 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:d_dbl_dig: Myread contains cat rm Setvar i_limits i_float \
- + cppstdin cppflags cppminus
- + ?MAKE: -pick add $@ %<
- + ?S:d_dbl_dig:
- + ?S: This variable conditionally defines d_dbl_dig if this system's
- + ?S: header files provide DBL_DIG, which is the number of significant
- + ?S: digits in a double precision number.
- + ?S:.
- + ?C:HAS_DBL_DIG:
- + ?C: This symbol, if defined, indicates that this system's <float.h>
- + ?C: or <limits.h> defines the symbol DBL_DIG, which is the number
- + ?C: of significant digits in a double precision number. If this
- + ?C: symbol is not defined, a guess of 15 is usually pretty good.
- + ?C:.
- + ?H:#$d_dbl_dig HAS_DBL_DIG /* */
- + ?H:.
- + ?LINT:set d_dbl_dig
- + : See if number of significant digits in a double precision number is known
- + echo " "
- + $cat >dbl_dig.c <<EOM
- + #$i_limits I_LIMITS
- + #$i_float I_FLOAT
- + #ifdef I_LIMITS
- + #include <limits.h>
- + #endif
- + #ifdef I_FLOAT
- + #include <float.h>
- + #endif
- + #ifdef DBL_DIG
- + printf("Contains DBL_DIG");
- + #endif
- + EOM
- + $cppstdin $cppflags $cppminus < dbl_dig.c >dbl_dig.E 2>/dev/null
- + if $contains 'DBL_DIG' dbl_dig.E >/dev/null 2>&1; then
- + echo "DBL_DIG found." >&4
- + val="$define"
- + else
- + echo "DBL_DIG NOT found." >&4
- + val="$undef"
- + fi
- + $rm -f dbl_dig.?
- + set d_dbl_dig
- + eval $setvar
- +
-
- Index: mcon/U/fpostype.U
- Prereq: 3.0.1.1
- *** mcon/U/fpostype.U.old Mon Aug 29 18:35:11 1994
- --- mcon/U/fpostype.U Mon Aug 29 18:35:11 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: fpostype.U,v 3.0.1.1 1994/06/20 06:59:59 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: fpostype.U,v 3.0.1.2 1994/08/29 16:20:52 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,18 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: fpostype.U,v $
- ?RCS: Revision 3.0.1.1 1994/06/20 06:59:59 ram
- ?RCS: patch30: created
- ?RCS:
- ! ?MAKE:fpostype: Myread Oldconfig contains Findhdr Setvar
- ?MAKE: -pick add $@ %<
- ?S:fpostype:
- ?S: This variable defines Fpos_t to be something like fpost_t, long,
- --- 9,21 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: fpostype.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:20:52 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1994/06/20 06:59:59 ram
- ?RCS: patch30: created
- ?RCS:
- ! ?MAKE:fpostype: Myread Typedef
- ?MAKE: -pick add $@ %<
- ?S:fpostype:
- ?S: This variable defines Fpos_t to be something like fpost_t, long,
- ***************
- *** 25,46 ****
- ?C:.
- ?H:#define Fpos_t $fpostype /* File position type */
- ?H:.
- - ?LINT:set fpostype
- : see what type file positions are declared as in the library
- echo " "
- ! case "$fpostype" in
- ! '')
- ! if $contains 'fpos_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='fpos_t'
- ! else
- ! dflt='long'
- ! fi
- ! ;;
- ! *) dflt="$fpostype";;
- ! esac
- rp="What is the type for file position used by fsetpos()?"
- . ./myread
- ! val="$ans"
- ! set fpostype
- ! eval $setvar
-
- --- 28,39 ----
- ?C:.
- ?H:#define Fpos_t $fpostype /* File position type */
- ?H:.
- : see what type file positions are declared as in the library
- + set fpos_t fpostype long stdio.h sys/types.h
- + eval $typedef
- echo " "
- ! dflt="$fpostype"
- rp="What is the type for file position used by fsetpos()?"
- . ./myread
- ! fpostype="$ans"
-
-
- Index: mcon/U/scriptdir.U
- Prereq: 3.0
- *** mcon/U/scriptdir.U.old Mon Aug 29 18:38:36 1994
- --- mcon/U/scriptdir.U Mon Aug 29 18:38:36 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: scriptdir.U,v 3.0 1993/08/18 12:09:45 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: scriptdir.U,v 3.0.1.1 1994/08/29 16:32:04 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,19 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: scriptdir.U,v $
- ?RCS: Revision 3.0 1993/08/18 12:09:45 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ?MAKE:scriptdir scriptdirexp installscript: afs cat test Getfile Loc \
- ! Oldconfig +bin
- ?MAKE: -pick add $@ %<
- ?S:scriptdir:
- ?S: This variable holds the name of the directory in which the user wants
- --- 9,22 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: scriptdir.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:32:04 ram
- + ?RCS: patch32: now uses installation prefix
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:09:45 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ?MAKE:scriptdir scriptdirexp installscript: afs cat test Getfile Loc \
- ! Oldconfig +bin prefix
- ?MAKE: -pick add $@ %<
- ?S:scriptdir:
- ?S: This variable holds the name of the directory in which the user wants
- ***************
- *** 45,51 ****
- ?H:#define SCRIPTDIR "$scriptdir" /**/
- ?H:#define SCRIPTDIR_EXP "$scriptdirexp" /**/
- ?H:.
- ! : determine where public executables go
- case "$scriptdir" in
- '')
- dflt="$bin"
- --- 48,54 ----
- ?H:#define SCRIPTDIR "$scriptdir" /**/
- ?H:#define SCRIPTDIR_EXP "$scriptdirexp" /**/
- ?H:.
- ! : determine where public executable scripts go
- case "$scriptdir" in
- '')
- dflt="$bin"
- ***************
- *** 53,58 ****
- --- 56,62 ----
- $test -d /usr/share/scripts && dflt=/usr/share/scripts
- $test -d /usr/share/bin && dflt=/usr/share/bin
- $test -d /usr/local/script && dflt=/usr/local/script
- + $test -d $prefix/script && dflt=$prefix/script
- ;;
- *) dflt="$scriptdir"
- ;;
-
- Index: mcon/U/prefix.U
- *** mcon/U/prefix.U.old Mon Aug 29 18:35:24 1994
- --- mcon/U/prefix.U Mon Aug 29 18:35:24 1994
- ***************
- *** 0 ****
- --- 1,51 ----
- + ?RCS: $Id: prefix.U,v 3.0.1.1 1994/08/29 16:31:34 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: prefix.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:31:34 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:prefix: Getfile Loc Oldconfig cat package
- + ?MAKE: -pick add $@ %<
- + ?S:prefix:
- + ?S: This variable holds the name of the directory below which the
- + ?S: user will install the package. Usually, this is /usr/local, and
- + ?S: executables go in /usr/local/bin, library stuff in /usr/local/lib,
- + ?S: man pages in /usr/local/man, etc. It is only used to set defaults
- + ?S: for things in bin.U, mansrc.U, privlib.U, or scriptdir.U.
- + ?S:.
- + : determine root of directory hierarchy where package will be installed.
- + case "$prefix" in
- + '')
- + dflt=`./loc . /usr/local /usr/local /local /opt /usr`
- + ;;
- + *)
- + dflt="$prefix"
- + ;;
- + esac
- + $cat <<EOM
- +
- + By default, $package will be installed in $dflt/bin, manual
- + pages under $dflt/man, etc..., i.e. with $dflt as prefix for
- + all installation directories. Typically set to /usr/local, but you
- + may choose /usr if you wish to install $package among your system
- + binaries. If you wish to have binaries under /bin but manual pages
- + under /usr/local/man, that's ok: you will be prompted separately
- + for each of the installation directories, the prefix being only used
- + to set defaults.
- +
- + EOM
- + fn=d~
- + rp='Installation prefix to use?'
- + . ./getfile
- + prefix="$ans"
- +
-
- Index: mcon/U/lseektype.U
- Prereq: 3.0
- *** mcon/U/lseektype.U.old Mon Aug 29 18:35:21 1994
- --- mcon/U/lseektype.U Mon Aug 29 18:35:21 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: lseektype.U,v 3.0 1993/08/18 12:09:08 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: lseektype.U,v 3.0.1.1 1994/08/29 16:30:10 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,18 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: lseektype.U,v $
- ?RCS: Revision 3.0 1993/08/18 12:09:08 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lseektype: Myread Oldconfig Loc contains Findhdr
- ?MAKE: -pick add $@ %<
- ?S:lseektype:
- ?S: This variable defines lseektype to be something like off_t, long,
- --- 9,21 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: lseektype.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:30:10 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:09:08 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lseektype: Myread Typedef
- ?MAKE: -pick add $@ %<
- ?S:lseektype:
- ?S: This variable defines lseektype to be something like off_t, long,
- ***************
- *** 27,44 ****
- ?H:#define Off_t $lseektype /* <offset> type */
- ?H:.
- : see what type lseek is declared as in the kernel
- ! case "$lseektype" in
- ! '')
- ! if $contains 'off_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='off_t';
- ! else
- ! dflt='long';
- ! fi
- ! ;;
- ! *) dflt="$lseektype"
- ! ;;
- ! esac
- echo " "
- rp="What type is lseek's offset on this system declared as?"
- . ./myread
- lseektype="$ans"
- --- 30,39 ----
- ?H:#define Off_t $lseektype /* <offset> type */
- ?H:.
- : see what type lseek is declared as in the kernel
- ! set off_t lseektype long stdio.h sys/types.h
- ! eval $typedef
- echo " "
- + dflt="$lseektype"
- rp="What type is lseek's offset on this system declared as?"
- . ./myread
- lseektype="$ans"
-
- Index: mcon/U/d_perror.U
- Prereq: 3.0
- *** mcon/U/d_perror.U.old Mon Aug 29 18:35:00 1994
- --- mcon/U/d_perror.U Mon Aug 29 18:35:00 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: d_perror.U,v 3.0 1993/08/18 12:06:45 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: d_perror.U,v 3.0.1.1 1994/08/29 16:11:38 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: d_perror.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:11:38 ram
- + ?RCS: patch32: always define HAS_PERROR even when not used in C code
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:06:45 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 20,35 ****
- ?S: that the perror() routine is not available to print system
- ?S: error messages.
- ?S:.
- ! ?C:HAS_PERROR:
- ?C: This symbol, if defined, indicates that the perror() routine is
- ?C: available to print system error messages. If not defined, you should
- ?C: use your own diagnostic routine...
- ?C:.
- ! ?C:perror:
- ?C: This symbol is maped to null if the perror() routine is not
- ?C: available to print system error messages.
- ?C:.
- ! ?H:#$d_perror HAS_PERROR /**/
- ?H:?%<:#ifndef HAS_PERROR
- ?H:?%<:#define perror(s) ; /* mapped to a null statement */
- ?H:?%<:#endif
- --- 23,38 ----
- ?S: that the perror() routine is not available to print system
- ?S: error messages.
- ?S:.
- ! ?C:HAS_PERROR ~ %<:
- ?C: This symbol, if defined, indicates that the perror() routine is
- ?C: available to print system error messages. If not defined, you should
- ?C: use your own diagnostic routine...
- ?C:.
- ! ?C:perror ~ %<:
- ?C: This symbol is maped to null if the perror() routine is not
- ?C: available to print system error messages.
- ?C:.
- ! ?H:?%<:#$d_perror HAS_PERROR /**/
- ?H:?%<:#ifndef HAS_PERROR
- ?H:?%<:#define perror(s) ; /* mapped to a null statement */
- ?H:?%<:#endif
-
- Index: mcon/U/Typedef.U
- *** mcon/U/Typedef.U.old Mon Aug 29 18:34:40 1994
- --- mcon/U/Typedef.U Mon Aug 29 18:34:40 1994
- ***************
- *** 0 ****
- --- 1,56 ----
- + ?RCS: $Id: Typedef.U,v 3.0.1.1 1994/08/29 16:05:14 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: $Log: Typedef.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:05:14 ram
- + ?RCS: patch32: created
- + ?RCS:
- + ?X:
- + ?X: This unit checks for the definition of a given typedef.
- + ?X:
- + ?X: To use it, say:
- + ?X: set typedef val_t default [includes]
- + ?X: eval $typedef
- + ?X:
- + ?MAKE:Typedef: cppstdin cppminus cppflags rm contains Oldconfig
- + ?MAKE: -pick add $@ %<
- + ?LINT:define typedef
- + ?V:typedef
- + ?S:typedef:
- + ?S: This shell variable is used internally by Configure to check
- + ?S: wether a given typedef is defined or not. A typical use is:
- + ?S: set typedef val_t default [includes]
- + ?S: eval $typedef
- + ?S: That will return val_t set to default if the typedef was not found,
- + ?S: to typedef otherwise. If no includes are specified, look in sys/types.h.
- + ?S:.
- + ?T:type var def inclist val inc
- + : define an is-a-typedef? function
- + typedef='type=$1; var=$2; def=$3; shift; shift; shift; inclist=$@;
- + case "$inclist" in
- + "") inclist="sys/types.h";;
- + esac;
- + eval "val=\$$var";
- + case "$val" in
- + "")
- + $rm -f temp.c;
- + for inc in $inclist; do
- + echo "#include <$inc>" >>temp.c;
- + done;
- + $cppstdin $cppflags $cppminus < temp.c >temp.E 2>/dev/null;
- + if $contains $type temp.E >/dev/null 2>&1; then
- + eval "$var=$type";
- + else
- + eval "$var=$def";
- + fi;
- + $rm -f temp.?;;
- + *) eval "$var=$val";;
- + esac'
- +
-
- Index: mcon/man/mconfig.SH
- Prereq: 3.0.1.9
- *** mcon/man/mconfig.SH.old Mon Aug 29 18:38:40 1994
- --- mcon/man/mconfig.SH Mon Aug 29 18:38:41 1994
- ***************
- *** 20,26 ****
- .TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
- ''' @(#) Manual page for metaconfig
- '''
- ! ''' $Id: mconfig.SH,v 3.0.1.9 1994/06/20 07:10:14 ram Exp $
- '''
- ''' Copyright (c) 1991-1993, Raphael Manfredi
- '''
- --- 20,26 ----
- .TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
- ''' @(#) Manual page for metaconfig
- '''
- ! ''' $Id: mconfig.SH,v 3.0.1.10 1994/08/29 16:33:40 ram Exp $
- '''
- ''' Copyright (c) 1991-1993, Raphael Manfredi
- '''
- ***************
- *** 31,36 ****
- --- 31,39 ----
- ''' of the source tree for dist 3.0.
- '''
- ''' $Log: mconfig.SH,v $
- + ''' Revision 3.0.1.10 1994/08/29 16:33:40 ram
- + ''' patch32: documented new Typedef.U unit for typedef lookup
- + '''
- ''' Revision 3.0.1.9 1994/06/20 07:10:14 ram
- ''' patch30: added -L option for easier unit testing
- ''' patch30: new -D and -U options supported by Configure
- ***************
- *** 1544,1549 ****
- --- 1547,1566 ----
- getting the old answers from \fIconfig.sh\fR or providing useful hints
- when running on a given platform for the first time. See the \fIConfigure
- Hints\fR paragraph for more information about hints.
- + .TP
- + Typedef.U
- + This unit produces the \fI\$typedef\fR shell variable, used internally by
- + \fIConfigure\fR to check whether a typedef exists or not. A typical
- + use is:
- + .Ex
- + set typedef val_t default [ includes ]
- + eval \$\&typedef
- + .Ef
- + This will set the variable \fIval_t\fR to the value of \fIdefault\fR if the
- + typedef was not found among the listed include files, or to \fItypedef\fR
- + if found. If no include files are specified, the unit looks
- + in \fI<sys/types.h>\fR only. If you specifiy some includes, only those are
- + looked at.
- .TP
- Setvar.U
- This unit produces the \fI$setvar\fR variable, which is used internally
-
- Index: mcon/U/pidtype.U
- Prereq: 3.0
- *** mcon/U/pidtype.U.old Mon Aug 29 18:35:24 1994
- --- mcon/U/pidtype.U Mon Aug 29 18:35:24 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: pidtype.U,v 3.0 1993/08/18 12:09:33 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: pidtype.U,v 3.0.1.1 1994/08/29 16:31:27 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,18 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: pidtype.U,v $
- ?RCS: Revision 3.0 1993/08/18 12:09:33 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:pidtype: Myread Oldconfig contains Findhdr
- ?MAKE: -pick add $@ %<
- ?S:pidtype:
- ?S: This variable defines PIDTYPE to be something like pid_t, int,
- --- 9,21 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: pidtype.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:31:27 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:09:33 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:pidtype: Myread Typedef
- ?MAKE: -pick add $@ %<
- ?S:pidtype:
- ?S: This variable defines PIDTYPE to be something like pid_t, int,
- ***************
- *** 26,41 ****
- ?H:#define Pid_t $pidtype /* PID type */
- ?H:.
- : see what type pids are declared as in the kernel
- ! case "$pidtype" in
- ! '')
- ! if $contains 'pid_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='pid_t';
- ! else
- ! dflt="int"
- ! fi
- ! ;;
- ! *) dflt="$pidtype";;
- ! esac
- echo " "
- rp="What type are process ids on this system declared as?"
- . ./myread
- --- 29,37 ----
- ?H:#define Pid_t $pidtype /* PID type */
- ?H:.
- : see what type pids are declared as in the kernel
- ! set pid_t pidtype int stdio.h sys/types.h
- ! eval $typedef
- ! dflt="$pidtype"
- echo " "
- rp="What type are process ids on this system declared as?"
- . ./myread
-
- Index: mcon/U/privlib.U
- Prereq: 3.0.1.1
- *** mcon/U/privlib.U.old Mon Aug 29 18:38:35 1994
- --- mcon/U/privlib.U Mon Aug 29 18:38:35 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: privlib.U,v 3.0.1.1 1993/09/13 16:12:34 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: privlib.U,v 3.0.1.2 1994/08/29 16:31:52 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: privlib.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:31:52 ram
- + ?RCS: patch32: now uses installation prefix
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1993/09/13 16:12:34 ram
- ?RCS: patch10: added support for /local/lib (WAD)
- ?RCS: patch10: prompt phrasing made more explicit (WAD)
- ***************
- *** 16,23 ****
- ?RCS: Revision 3.0 1993/08/18 12:09:35 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:privlib privlibexp installprivlib: afs package test cat Getfile \
- ! Oldconfig
- ?MAKE: -pick add $@ %<
- ?S:privlib:
- ?S: This variable contains the eventual value of the PRIVLIB symbol,
- --- 19,26 ----
- ?RCS: Revision 3.0 1993/08/18 12:09:35 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:privlib privlibexp installprivlib: afs package cat Getfile \
- ! Oldconfig prefix
- ?MAKE: -pick add $@ %<
- ?S:privlib:
- ?S: This variable contains the eventual value of the PRIVLIB symbol,
- ***************
- *** 50,58 ****
- : determine where private executables go
- case "$privlib" in
- '')
- ! dflt=/usr/lib/$package
- ! $test -d /usr/local/lib && dflt=/usr/local/lib/$package
- ! $test -d /local/lib && dflt=/local/lib/$package
- ;;
- *) dflt="$privlib"
- ;;
- --- 53,59 ----
- : determine where private executables go
- case "$privlib" in
- '')
- ! dflt=$prefix/lib/$package
- ;;
- *) dflt="$privlib"
- ;;
-
- Index: mcon/U/MailAuthor.U
- Prereq: 3.0.1.3
- *** mcon/U/MailAuthor.U.old Mon Aug 29 18:34:39 1994
- --- mcon/U/MailAuthor.U Mon Aug 29 18:34:39 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: MailAuthor.U,v 3.0.1.3 1993/10/16 13:47:30 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: MailAuthor.U,v 3.0.1.4 1994/08/29 16:05:09 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 11,16 ****
- --- 11,19 ----
- ?RCS: Original Author: Graham Stoney <greyham@research.canon.oz.au>
- ?RCS:
- ?RCS: $Log: MailAuthor.U,v $
- + ?RCS: Revision 3.0.1.4 1994/08/29 16:05:09 ram
- + ?RCS: patch32: avoid message sending if they said no previously
- + ?RCS:
- ?RCS: Revision 3.0.1.3 1993/10/16 13:47:30 ram
- ?RCS: patch12: now makes sure user-specified address is in Internet format
- ?RCS:
- ***************
- *** 84,89 ****
- --- 87,96 ----
- EOM
- rp='Should I send mail to <MAINTLOC>?'
- dflt=y
- + ?X: Ensure default is 'n' if question has been asked already, in case they
- + ?X: run Configure -d next time and answered 'n' the first time. Therefore,
- + ?X: an empty nomail will be created later on even if no mail is sent.
- + $test -f ../.config/nomail && dflt=n
- fi
- . ./myread
- case "$ans" in
- ***************
- *** 167,178 ****
-
- $atsh package $usermail $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor
- cp ../patchlevel.h ../.config/mailauthor
- ;;
- *)
- case "$dflt" in
- ! "y") echo "Oh well, maybe next time.";;
- esac
- ;;
- esac
- --- 174,188 ----
-
- $atsh package $usermail $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor ../.config/nomail
- cp ../patchlevel.h ../.config/mailauthor
- ;;
- *)
- case "$dflt" in
- ! "y")
- ! echo "Oh well, maybe next time."
- ! cp /dev/null ../.config/nomail
- ! ;;
- esac
- ;;
- esac
-
- Index: mcon/U/bin.U
- Prereq: 3.0.1.1
- *** mcon/U/bin.U.old Mon Aug 29 18:34:40 1994
- --- mcon/U/bin.U Mon Aug 29 18:34:40 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: bin.U,v 3.0.1.1 1993/09/13 15:56:51 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: bin.U,v 3.0.1.2 1994/08/29 16:05:28 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,21 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: bin.U,v $
- ?RCS: Revision 3.0.1.1 1993/09/13 15:56:51 ram
- ?RCS: patch10: made prompting more explicit (WAD)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:05:26 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:bin binexp installbin: Getfile Loc Oldconfig afs cat
- ?MAKE: -pick add $@ %<
- ?S:bin:
- ?S: This variable holds the name of the directory in which the user wants
- --- 9,24 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: bin.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:05:28 ram
- + ?RCS: patch32: now uses installation prefix
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1993/09/13 15:56:51 ram
- ?RCS: patch10: made prompting more explicit (WAD)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:05:26 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:bin binexp installbin: Getfile Oldconfig afs cat prefix
- ?MAKE: -pick add $@ %<
- ?S:bin:
- ?S: This variable holds the name of the directory in which the user wants
- ***************
- *** 48,54 ****
- echo " "
- case "$bin" in
- '')
- ! dflt=`./loc . /bin /usr/local/bin /usr/lbin /usr/local /usr/bin`
- ;;
- *)
- dflt="$bin"
- --- 51,57 ----
- echo " "
- case "$bin" in
- '')
- ! dflt="$prefix/bin"
- ;;
- *)
- dflt="$bin"
-
- Index: mcon/U/d_isascii.U
- *** mcon/U/d_isascii.U.old Mon Aug 29 18:34:53 1994
- --- mcon/U/d_isascii.U Mon Aug 29 18:34:53 1994
- ***************
- *** 0 ****
- --- 1,54 ----
- + ?RCS: $Id: d_isascii.U,v 3.0.1.1 1994/08/29 16:09:32 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: d_isascii.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:09:32 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:d_isascii: cc cat ccflags rm libs Setvar
- + ?MAKE: -pick add $@ %<
- + ?S:d_isascii:
- + ?S: This variable conditionally defines the HAS_ISASCII constant,
- + ?S: which indicates to the C program that isascii() is available.
- + ?S:.
- + ?C:HAS_ISASCII:
- + ?C: This manifest constant lets the C program know that isascii
- + ?C: is available.
- + ?C:.
- + ?H:#$d_isascii HAS_ISASCII /**/
- + ?H:.
- + ?LINT:set d_isascii
- + ?X: Can't use Inlibc because isascii() might be a macro.
- + : Look for isascii
- + echo " "
- + $cat >isascii.c <<'EOCP'
- + #include <stdio.h>
- + #include <ctype.h>
- + main() {
- + int c = 'A';
- + if (isascii(c))
- + exit(0);
- + else
- + exit(1);
- + }
- + EOCP
- + if $cc $ccflags -o isascii isascii.c $libs >/dev/null 2>&1 ; then
- + echo "isascii() found." >&4
- + val="$define"
- + else
- + echo "isascii() NOT found." >&4
- + val="$undef"
- + fi
- + set d_isascii
- + eval $setvar
- + $rm -f isascii*
- +
-
- Index: mcon/U/sizetype.U
- *** mcon/U/sizetype.U.old Mon Aug 29 18:38:37 1994
- --- mcon/U/sizetype.U Mon Aug 29 18:38:37 1994
- ***************
- *** 0 ****
- --- 1,40 ----
- + ?RCS: $Id: sizetype.U,v 3.0.1.1 1994/08/29 16:32:10 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: sizetype.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:32:10 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:sizetype: Myread Typedef
- + ?MAKE: -pick add $@ %<
- + ?S:sizetype:
- + ?S: This variable defines sizetype to be something like size_t,
- + ?S: unsigned long, or whatever type is used to declare length
- + ?S: parameters for string functions.
- + ?S:.
- + ?C:Size_t:
- + ?C: This symbol holds the type used to declare length parameters
- + ?C: for string functions. It is usually size_t, but may be
- + ?C: unsigned long, int, etc. It may be necessary to include
- + ?C: <sys/types.h> to get any typedef'ed information.
- + ?C:.
- + ?H:#define Size_t $sizetype /* length paramater for string functions */
- + ?H:.
- + : see what type is used for size_t
- + set size_t sizetype 'unsigned int' stdio.h sys/types.h
- + eval $typedef
- + dflt="$sizetype"
- + echo " "
- + rp="What type is used for the length parameter for string functions?"
- + . ./myread
- + sizetype="$ans"
- +
-
- Index: mcon/U/lib.U
- Prereq: 3.0
- *** mcon/U/lib.U.old Mon Aug 29 18:35:18 1994
- --- mcon/U/lib.U Mon Aug 29 18:35:18 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: lib.U,v 3.0 1993/08/18 12:08:56 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: lib.U,v 3.0.1.1 1994/08/29 16:27:40 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,18 ****
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: lib.U,v $
- ?RCS: Revision 3.0 1993/08/18 12:08:56 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lib libexp: Getfile Loc Oldconfig
- ?MAKE: -pick add $@ %<
- ?S:lib:
- ?S: This variable holds the name of the directory in which the user wants
- --- 9,21 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: lib.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:27:40 ram
- + ?RCS: patch32: now uses installation prefix to set the default
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:08:56 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lib libexp: Getfile Loc Oldconfig prefix
- ?MAKE: -pick add $@ %<
- ?S:lib:
- ?S: This variable holds the name of the directory in which the user wants
- ***************
- *** 26,32 ****
- ?S:.
- : determine where public libraries go
- case "$lib" in
- ! '') dflt=`./loc . "." /usr/local/lib /usr/lib /lib`;;
- *) dflt="$lib";;
- esac
- echo " "
- --- 29,35 ----
- ?S:.
- : determine where public libraries go
- case "$lib" in
- ! '') dflt=`./loc . "." $prefix/lib /usr/local/lib /usr/lib /lib`;;
- *) dflt="$lib";;
- esac
- echo " "
-
- Index: mcon/U/libc.U
- Prereq: 3.0.1.5
- *** mcon/U/libc.U.old Mon Aug 29 18:35:20 1994
- --- mcon/U/libc.U Mon Aug 29 18:35:20 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: libc.U,v 3.0.1.5 1994/06/20 07:03:24 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: libc.U,v 3.0.1.6 1994/08/29 16:28:10 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: libc.U,v $
- + ?RCS: Revision 3.0.1.6 1994/08/29 16:28:10 ram
- + ?RCS: patch32: added I-type symbols for nm output parsing on Linux
- + ?RCS:
- ?RCS: Revision 3.0.1.5 1994/06/20 07:03:24 ram
- ?RCS: patch30: checks are now presented by succession of if/elif
- ?RCS: patch30: uniformized checks for shared objects with new so symbol
- ***************
- *** 207,214 ****
- ?X:
- xscan='eval "<libc.ptf $com >libc.list"; $echo $n ".$c" >&4'
- xrun='eval "<libc.tmp $com >libc.list"; echo "done" >&4'
- ! ?X: BSD-like output
- ! if com="$sed -n -e 's/^.* [ADTS] *_[_.]*//p' -e 's/^.* [ADTS] //p'";\
- eval $xscan;\
- $contains '^fprintf$' libc.list >/dev/null 2>&1; then
- eval $xrun
- --- 210,217 ----
- ?X:
- xscan='eval "<libc.ptf $com >libc.list"; $echo $n ".$c" >&4'
- xrun='eval "<libc.tmp $com >libc.list"; echo "done" >&4'
- ! ?X: BSD-like output, I-type for Linux
- ! if com="$sed -n -e 's/^.* [ADTSI] *_[_.]*//p' -e 's/^.* [ADTSI] //p'";\
- eval $xscan;\
- $contains '^fprintf$' libc.list >/dev/null 2>&1; then
- eval $xrun
-
- Index: mcon/U/d_setlnbuf.U
- *** mcon/U/d_setlnbuf.U.old Mon Aug 29 18:35:02 1994
- --- mcon/U/d_setlnbuf.U Mon Aug 29 18:35:02 1994
- ***************
- *** 0 ****
- --- 1,36 ----
- + ?RCS: $Id: d_setlnbuf.U,v 3.0.1.1 1994/08/29 16:11:57 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: d_setlnbuf.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:11:57 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:d_setlinebuf: Inlibc
- + ?MAKE: -pick add $@ %<
- + ?S:d_setlinebuf:
- + ?S: This variable conditionally defines the HAS_SETLINEBUF symbol, which
- + ?S: indicates to the C program that the setlinebuf() routine is available
- + ?S: to change stderr or stdout from block-buffered or unbuffered to a
- + ?S: line-buffered mode.
- + ?S:.
- + ?C:HAS_SETLINEBUF :
- + ?C: This symbol, if defined, indicates that the setlinebuf routine is
- + ?C: available to change stderr or stdout from block-buffered or unbuffered
- + ?C: to a line-buffered mode.
- + ?C:.
- + ?H:#$d_setlinebuf HAS_SETLINEBUF /**/
- + ?H:.
- + ?LINT:set d_setlinebuf
- + : see if setlinebuf exists
- + set setlinebuf d_setlinebuf
- + eval $inlibc
- +
-
- Index: mcon/U/i_termio.U
- Prereq: 3.0.1.2
- *** mcon/U/i_termio.U.old Mon Aug 29 18:35:17 1994
- --- mcon/U/i_termio.U Mon Aug 29 18:35:17 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: i_termio.U,v 3.0.1.2 1994/05/13 15:25:03 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: i_termio.U,v 3.0.1.3 1994/08/29 16:26:38 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,18 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: i_termio.U,v $
- + ?RCS: Revision 3.0.1.3 1994/08/29 16:26:38 ram
- + ?RCS: patch32: don't include all threee I_* symbols in config.h
- + ?RCS: patch32: (had forgotten to undo this part last time)
- + ?RCS:
- ?RCS: Revision 3.0.1.2 1994/05/13 15:25:03 ram
- ?RCS: patch27: undone ADO's fix in previous patch since it was useless
- ?RCS:
- ***************
- *** 51,59 ****
- ?C: <sgtty.h> rather than <termio.h>. There are also differences in
- ?C: the ioctl() calls that depend on the value of this symbol.
- ?C:.
- ! ?H:?%<:#$i_termio I_TERMIO /**/
- ! ?H:?%<:#$i_termios I_TERMIOS /**/
- ! ?H:?%<:#$i_sgtty I_SGTTY /**/
- ?H:.
- ?T:val2 val3
- ?LINT:set i_termio i_sgtty i_termios
- --- 55,63 ----
- ?C: <sgtty.h> rather than <termio.h>. There are also differences in
- ?C: the ioctl() calls that depend on the value of this symbol.
- ?C:.
- ! ?H:#$i_termio I_TERMIO /**/
- ! ?H:#$i_termios I_TERMIOS /**/
- ! ?H:#$i_sgtty I_SGTTY /**/
- ?H:.
- ?T:val2 val3
- ?LINT:set i_termio i_sgtty i_termios
-
- Index: mcon/U/i_float.U
- *** mcon/U/i_float.U.old Mon Aug 29 18:35:13 1994
- --- mcon/U/i_float.U Mon Aug 29 18:35:13 1994
- ***************
- *** 0 ****
- --- 1,35 ----
- + ?RCS: $Id: i_float.U,v 3.0.1.1 1994/08/29 16:21:57 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: i_float.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:21:57 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:i_float: Inhdr
- + ?MAKE: -pick add $@ %<
- + ?S:i_float:
- + ?S: This variable conditionally defines the I_FLOAT symbol, and indicates
- + ?S: whether a C program may include <float.h> to get symbols like DBL_MAX
- + ?S: or DBL_MIN, i.e. machine dependent floating point values.
- + ?S:.
- + ?C:I_FLOAT:
- + ?C: This symbol, if defined, indicates to the C program that it should
- + ?C: include <float.h> to get definition of symbols like DBL_MAX or
- + ?C: DBL_MIN, i.e. machine dependent floating point values.
- + ?C:.
- + ?H:#$i_float I_FLOAT /**/
- + ?H:.
- + ?LINT:set i_float
- + : see if this is a float.h system
- + set float.h i_float
- + eval $inhdr
- +
-
- Index: mcon/U/d_tcgtpgrp.U
- *** mcon/U/d_tcgtpgrp.U.old Mon Aug 29 18:35:05 1994
- --- mcon/U/d_tcgtpgrp.U Mon Aug 29 18:35:05 1994
- ***************
- *** 0 ****
- --- 1,34 ----
- + ?RCS: $Id: d_tcgtpgrp.U,v 3.0.1.1 1994/08/29 16:12:08 ram Exp $
- + ?RCS:
- + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- + ?RCS:
- + ?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:
- + ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
- + ?RCS:
- + ?RCS: $Log: d_tcgtpgrp.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:12:08 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:d_tcgetpgrp: Inlibc
- + ?MAKE: -pick add $@ %<
- + ?S:d_tcgetpgrp:
- + ?S: This variable conditionally defines the HAS_TCGETPGRP symbol, which
- + ?S: indicates to the C program that the tcgetpgrp() routine is available.
- + ?S: to get foreground process group ID.
- + ?S:.
- + ?C:HAS_TCGETPGRP :
- + ?C: This symbol, if defined, indicates that the tcgetpgrp routine is
- + ?C: available to get foreground process group ID.
- + ?C:.
- + ?H:#$d_tcgetpgrp HAS_TCGETPGRP /**/
- + ?H:.
- + ?LINT:set d_tcgetpgrp
- + : see if tcgetpgrp exists
- + set tcgetpgrp d_tcgetpgrp
- + eval $inlibc
- +
-
- *** End of Patch 33 ***
-
- exit 0 # Just in case...
-