?H:.
?T:cont val
?LINT:change ccflags
+?LINT:unclosed $randbits))"
: How can we generate normalized random numbers ?
echo " "
echo "Looking for a random number function..." >&4
-?RCS: $Id: Chk_MANI.U,v 3.0.1.2 1997/02/28 14:57:25 ram Exp $
+?RCS: $Id: Chk_MANI.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Chk_MANI.U,v $
?RCS: Revision 3.0.1.2 1997/02/28 14:57:25 ram
?X: Files spelled uppercased and beginning with PACK are produced by the
?X: shell archive builder and may be removed by the user. Usually, they are
?X: not listed in the MANIFEST file, but you never know...
-?X: We try the new way of split and the old way of split.
- awk '$1 !~ /PACK[A-Z]+/ {print $1}' "$rsrc/MANIFEST" | (split -l 50 2>/dev/null || split -50)
+?X:
+?X: "split -l" is the new way of running a split, but we also try the older way
+?X:
+ awk '$1 !~ /PACK[A-Z]+/ {print $1}' "$rsrc/MANIFEST" |\
+ (split -l 50 2>/dev/null || split -50)
rm -f missing
tmppwd=`pwd`
for filelist in x??; do
- (cd "$rsrc"; ls `cat "$tmppwd/$filelist"` >/dev/null 2>>"$tmppwd/missing")
+ (cd "$rsrc"; ls `cat "$tmppwd/$filelist"` \
+ >/dev/null 2>>"$tmppwd/missing")
done
if test -s missing; then
cat missing >&4
-?RCS: $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
+?RCS: $Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Config_h.U,v $
?RCS: Revision 3.0.1.5 1997/02/28 14:57:43 ram
?MAKE: -pick c_h_weed $@ %<
?MAKE: -pick c_h_weed $@ ./Config_h
?MAKE: -pick c_h_weed $@ ./Obsol_h
-?LINT:extern CONFIG_H
-?LINT:extern CONFIG_SH
-?LINT:change CONFIG_H
-?LINT:change CONFIG_SH
?T:PERL_CONFIG_SH TOP
+?LINT:unclosed !GROK!THIS!
+?LINT:extern CONFIG_H CONFIG_SH
+?LINT:change CONFIG_H CONFIG_SH
+?X:?LINT:nocomment
: Set up for generating config_h.SH
case "$CONFIG_SH" in
-'') CONFIG_SH=config.sh ;;
+'') CONFIG_SH=config.sh;;
esac
case "$CONFIG_H" in
-'') CONFIG_H=config.h ;;
+'') CONFIG_H=config.h;;
esac
case $PERL_CONFIG_SH in
'')
* that running config_h.SH again will wipe out any changes you've made.
* For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
*
- * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
+ * \$Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
*/
/*
-?RCS: $Id: Config_sh.U,v 3.0.1.3 1997/02/28 14:57:53 ram Exp $
+?RCS: $Id: Config_sh.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Config_sh.U,v $
?RCS: Revision 3.0.1.3 1997/02/28 14:57:53 ram
?RCS: Revision 3.0 1993/08/18 12:04:48 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
-?X:
+?X:
?X: This unit ends up producing the config.sh script, which contains all the
?X: definitions figured out by Configure. The add.Config_sh command knows
?X: which variables need to be remembered. It also adds the EOT (ends the
?X: here document redirection with variable substitution).
-?X:
+?X:
?MAKE:Config_sh: cf_time cf_by test spitshell startsh myuname Myread \
- End Obsol_sh Loc +d_portable package src
+ End Obsol_sh Loc +d_portable package src cat
?MAKE: -pick add.Config_sh $@ %<
?MAKE: -pick add $@ ./Obsol_sh
?MAKE: -pick close.Config_sh $@ %<
-?F:!config.over
-?F:!config.arch
+?F:!config.over !config.arch
?T:file temp
+?LINT:unclosed EOT
: back to where it started
if test -d ../UU; then
cd ..
fi
-: configuration may be patched via a 'config.arch' file
+: configuration may be unconditionally patched via a 'config.arch' file
if $test -f config.arch; then
- echo "I see a config.arch file, loading it."
+ echo "I see a config.arch file, loading it." >&4
. ./config.arch
fi
?X: This method assumes there is a "basename" command available. If
?X: not, replace it with the following expr-based command:
?X: expr $temp : '.*/\(.*\)' \| $temp
-?X: Since this preserves the actual command name, we can now drop the
+?X: Since this preserves the actual command name, we can now drop the
?X: OS/2 specific code.
?X: --Andy Dougherty August 1999
?X:
# Configured by : $cf_by
# Target system : $myuname
+EOT
+?X: Command line options are saved by the Options.U unit in the
+?X: temporary file UU/cmdline.opt
+$test -f UU/cmdline.opt && $cat UU/cmdline.opt >> config.sh
+$spitshell <<EOT >>config.sh
+
-?RCS: $Id: Loc.U,v 3.0.1.10 1997/02/28 15:04:16 ram Exp $
+?RCS: $Id: Loc.U 14 2006-08-28 16:51:14Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Loc.U,v $
?RCS: Revision 3.0.1.10 1997/02/28 15:04:16 ram
?X: I put startsh at the end of the dependency list, in order to avoid the
?X: loading of the spitshell unit before the instructions.
?X:
-?MAKE:Loc Mcc awk ar bash bison byacc cat chgrp chmod chown \
+?MAKE:Loc awk ar bash bison byacc cat chgrp chmod chown \
comm compress cp cpio cpp csh date echo egrep emacs expr find flex \
gmake gzip grep inews ksh less line lint ln lp lpr ls mail mailx \
make mkdir more mv nm nroff perl pg pmake pr rm rmail sed sendmail \
shar sleep smail sort submit tail tar tbl tee test touch tr troff \
- uname uniq uuname vi zcat zip: eunicefix n c Instruct Myread \
- startsh
+ uname uniq uuname vi zcat zip: eunicefix n c startsh Instruct
?MAKE: -pick weed $@ %<
-?LINT:describe Loc Mcc awk ar bash bison byacc cat chgrp chmod chown \
+?LINT:describe awk ar bash bison byacc cat chgrp chmod chown \
comm compress cp cpio cpp csh date echo egrep emacs expr find flex \
gmake gzip grep inews ksh less line lint ln lp lpr ls mail mailx \
make mkdir more mv nm nroff perl pg pmake pr rm rmail sed sendmail \
?V::pth loclist trylist
?F:./loc test_h
?T:thisthing thing xxx dir file say _test DJGPP
-?LINT:change PATH
+?LINT:change PATH _egrep _ln _make
?LINT:extern _exe
-?LINT:change _egrep
-?LINT:change _ln
-?LINT:change _make
: find out where common programs are
echo " "
echo "Locating common programs..." >&4
exit 0
elif test "X$_exe" != X -a -f \$thisthing$_exe; then
echo \$thisthing
- exit 0
+ exit 0
elif test -f \$dir/\$thing.exe; then
if test -n "$DJGPP"; then
echo \$dir/\$thing.exe
elif test "$eunicefix" != ":"; then
: on Eunice apparently
echo \$dir/\$thing
- exit 0
fi
exit 0
fi
?lp:lp
?lpr:lpr
?mail:mail
-?make:make
?mailx:mailx
+?make:make
?more:more
?nm:nm
?nroff:nroff
?zcat:zcat
?zip:zip
"
-?LINT:set Loc Mcc awk ar bash bison byacc cat chgrp chmod chown \
- comm compress cp cpio cpp csh date echo egrep emacs expr find flex \
- gmake gzip grep inews ksh less line lint ln lp lpr ls mail mailx \
- make mkdir more mv nm nroff perl pg pmake pr rm rmail sed sendmail \
- shar sleep smail sort submit tail tar tbl tee test touch tr troff \
+?LINT:set awk ar bash bison byacc cat chgrp chmod chown \
+ comm compress cp cpio cpp csh date echo emacs expr find flex \
+ gmake gzip grep inews ksh less line lint lp lpr ls mail mailx \
+ mkdir more mv nm nroff perl pg pmake pr rm rmail sed sendmail \
+ shar sleep smail sort submit tail tar tbl tee touch tr troff \
uname uniq uuname vi zcat zip
pth=`echo $PATH | sed -e "s/$p_/ /g"`
pth="$pth /lib /usr/lib"
;;
esac
@end
+@if make || gmake
case "$make" in
make)
case "$gmake" in
fi
;;
esac
+@end
case "$test" in
test)
echo "Hopefully test is built into your sh."
-?RCS: $Id: Oldsym.U,v 3.0.1.1 1997/02/28 15:06:58 ram Exp $
+?RCS: $Id: Oldsym.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Oldsym.U,v $
?RCS: Revision 3.0.1.1 1997/02/28 15:06:58 ram
?X: which is set to true. Then, we try to keep all the new symbols that
?X: may come from a hint file or a previous config.sh file.
?X:
-?MAKE:Oldsym: Config_sh cat test hint src sort uniq perl_patchlevel
+?MAKE:Oldsym: Config_sh cat test hint src sed sort uniq perl_patchlevel
?MAKE: -pick add $@ %<
-?T:PERL_CONFIG_SH PERL_PATCHLEVEL sym tmp s
+?T:PERL_CONFIG_SH PERL_PATCHLEVEL sym tmp
?F:!UU
?X: Command line options can be saved by the Options.U unit in the
?X: temporary file UU/cmdline.opt.
?X: that did not appear in the produced config.sh (Larry Wall).
?X:
?X: Do not touch the -u flag of uniq. This means you too, Jarkko.
- sed -n 's/^\([a-zA-Z_0-9]*\)=.*/\1/p' config.sh config.sh UU/oldconfig.sh |\
- $sort | $uniq -u >UU/oldsyms
+?X:
+ $sed -n 's/^\([a-zA-Z_0-9]*\)=.*/\1/p' \
+ config.sh config.sh UU/oldconfig.sh |\
+ $sort | $uniq -u >UU/oldsyms
set X `cat UU/oldsyms`
shift
case $# in
cat <<EOM
Hmm...You had some extra variables I don't know about...I'll try to keep 'em...
EOM
- echo "# Variables propagated from previous config.sh file." >>config.sh
+ echo ": Variables propagated from previous config.sh file." >>config.sh
for sym in `cat UU/oldsyms`; do
echo " Propagating $hint variable "'$'"$sym..."
eval 'tmp="$'"${sym}"'"'
override knowitall: config_sh
?T:arg argn symbol config_arg0 config_args config_argc xxx yyy zzz uuu
?T:args_exp args_sep arg_exp libswanted ccflags
-?F:./optdef.sh ./cmdline.opt ./posthint.sh ./cmdl.opt
?F:!Configure
+?F:./optdef.sh ./cmdline.opt ./posthint.sh ./cmdl.opt
: Save command line options in file UU/cmdline.opt for later use in
: generating config.sh.
?X: This temporary file will be read by Oldsym.U. I used a temporary
-?RCS: $Id: Signal.U,v 3.0.1.1 1997/02/28 15:20:01 ram Exp $
+?RCS: $Id: Signal.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: Signal.U,v $
?RCS: Revision 3.0.1.1 1997/02/28 15:20:01 ram
?X:all files declared as "public" since they're used from other units
?F:signal.c signal_cmd signal.lst signal signal.awk
?T: xx xxx xxxfiles
+?LINT:use rm run _o _exe
: Trace out the files included by signal.h, then look for SIGxxx names.
-: Remove SIGARRAYSIZE used by HPUX.
-: Remove SIGSTKSIZE used by Linux.
-: Remove SIGSTKSZ used by Posix.
-: Remove SIGTYP void lines used by OS2.
-: Some cpps, like os390, dont give the file name anywhere
+?X: Remove SIGARRAYSIZE used by HPUX.
+?X: Remove SIGSTKSIZE used by Linux.
+?X: Remove SIGSTKSZ used by Posix.
+?X: Remove SIGTYP void lines used by OS2.
+?X: Some cpps, like os390, dont give the file name anywhere
if [ "X$fieldn" = X ]; then
: Just make some guesses. We check them later.
xxx='/usr/include/signal.h /usr/include/sys/signal.h'
xxx=`echo '#include <signal.h>' |
$cppstdin $cppminus $cppflags 2>/dev/null |
$grep '^[ ]*#.*include' |
- $awk "{print \\$$fieldn}" | $sed 's!"!!g' | $sed 's!\\\\\\\\!/!g' | $sort | $uniq`
+ $awk "{print \\$$fieldn}" | $sed 's!"!!g' |\
+ $sed 's!\\\\\\\\!/!g' | $sort | $uniq`
fi
-: Check this list of files to be sure we have parsed the cpp output ok.
-: This will also avoid potentially non-existent files, such
-: as ../foo/bar.h
+?X: Check this list of files to be sure we have parsed the cpp output ok.
+?X: This will also avoid potentially non-existent files, such
+?X: as ../foo/bar.h
xxxfiles=''
?X: Add /dev/null in case the $xxx list is empty.
for xx in $xxx /dev/null ; do
$test -f "$xx" && xxxfiles="$xxxfiles $xx"
done
-: If we have found no files, at least try signal.h
+?X: If we have found no files, at least try signal.h
case "$xxxfiles" in
'') xxxfiles=`./findhdr signal.h` ;;
esac
fi
xxx="$xxx"
EOS
-?X: Avoid variable interpolation problems, especially with
-?X: xxx, which contains newlines.
+?X: Avoid variable interpolation problems, especially with
+?X: xxx, which contains newlines.
$cat >>signal_cmd <<'EOS'
set signal
if eval $compile_ok; then
- $run ./signal$_exe | ($sort -n -k 2 2>/dev/null || $sort -n +1) | $uniq | $awk -f signal.awk >signal.lst
+ $run ./signal$_exe | ($sort -n -k 2 2>/dev/null || $sort -n +1) |\
+ $uniq | $awk -f signal.awk >signal.lst
else
echo "(I can't seem be able to compile the whole test program)" >&4
echo "(I'll try it in little pieces.)" >&4
-?RCS: $Id: afs.U,v 3.0.1.2 1997/02/28 15:23:06 ram Exp $
+?RCS: $Id: afs.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: afs.U,v $
?RCS: Revision 3.0.1.2 1997/02/28 15:23:06 ram
?RCS: Revision 3.0.1.1 1993/08/24 12:24:43 ram
?RCS: patch3: created
?RCS:
-?MAKE:afs afsroot: Nothing
+?MAKE:afs afsroot: test
?MAKE: -pick add $@ %<
?S:afs:
?S: This variable is set to 'true' if AFS (Andrew File System) is used
?S: This variable is by default set to '/afs'. In the unlikely case
?S: this is not the correct root, it is possible to override this with
?S: a hint value or command line option. This will be used in subsequent
-?S: tests for AFSness in the Perl configure and test process.
+?S: tests for AFSness in the configure and test process.
?S:.
-: is AFS running?
+: allow them to override the AFS root
case "$afsroot" in
'') afsroot=/afs ;;
*) afsroot=$afsroot ;;
esac
+: is AFS running?
echo " "
case "$afs" in
$define|true) afs=true ;;
$undef|false) afs=false ;;
-*) if test -d $afsroot; then
+*) if $test -d $afsroot; then
afs=true
else
afs=false
-?RCS: $Id: cc.U,v 3.0.1.4 1995/05/12 12:06:47 ram Exp $
+?RCS: $Id: cc.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: cc.U,v $
?RCS: Revision 3.0.1.4 1995/05/12 12:06:47 ram
?RCS: Revision 3.0 1993/08/18 12:05:30 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
-?MAKE:cc: cpp Myread Guess Options Oldconfig Loc test Checkcc
+?MAKE:cc: Myread Oldconfig Checkcc test
?MAKE: -pick add $@ %<
?S:cc:
?S: This variable holds the name of a command to execute a C compiler which
?S:.
?F:!cc.cbu
?D:cc='cc'
-?LINT:change cpp
-?LINT:extern ldflags
-: Checking the C compiler
+: Determine the C compiler to be used
+echo " "
case "$cc" in
'') dflt=cc;;
*) dflt="$cc";;
. ./myread
cc="$ans"
-: See if they have not cc but they do have gcc
+: See whether they have no cc but they do have gcc
. ./trygcc
-: Look for a hint-file generated 'call-back-unit'. Now that the
-: user has specified the compiler, we may need to set or change some
-: other defaults.
+?X: Look for a hint-file generated 'call-back-unit'. Now that the
+?X: user has specified the compiler, we may need to set or change some
+?X: other defaults.
if $test -f cc.cbu; then
. ./cc.cbu
fi
-?RCS: $Id: cf_email.U,v 3.0.1.1 1994/01/24 14:05:06 ram Exp $
+?RCS: $Id: cf_email.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: cf_email.U,v $
?RCS: Revision 3.0.1.1 1994/01/24 14:05:06 ram
?S: used by units that require the user's e-mail, like MailList.U.
?S:.
?T:cont
-: Ask for e-mail
+: determine the e-mail address of the user who is running us
$cat <<EOM
I need to get your e-mail address in Internet format if possible, i.e.
-?RCS: $Id: cf_who.U,v 3.0.1.2 1997/02/28 15:28:50 ram Exp $
+?RCS: $Id: cf_who.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: cf_who.U,v $
?RCS: Revision 3.0.1.2 1997/02/28 15:28:50 ram
?S: Login name of the person who ran the Configure script and answered the
?S: questions. This is used to tag both config.sh and config_h.SH.
?S:.
-?LINT:extern LC_ALL
-?LINT:change LC_ALL
-?LINT:extern LANGUAGE
-?LINT:change LANGUAGE
+?LINT:change LC_ALL LANGUAGE
: who configured the system
+?X: Ensure English date -- Jarkko Hietaniemi
cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1`
?X:
?X: Leave a white space between first two '(' for ksh. The sub-shell is needed
-?RCS: $Id: d_crypt.U,v 3.0.1.1 1997/02/28 15:31:47 ram Exp $
+?RCS: $Id: d_crypt.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_crypt.U,v $
?RCS: Revision 3.0.1.1 1997/02/28 15:31:47 ram
-?RCS: $Id: d_csh.U,v 3.0.1.1 1997/02/28 15:32:18 ram Exp $
+?RCS: $Id: d_csh.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_csh.U,v $
?RCS: Revision 3.0.1.1 1997/02/28 15:32:18 ram
?X: Yes, I know about the C symbol PORTABLE, but I think csh
?X: is unlikely to move, and I'm too lazy to add all the
?X: #ifdef PORTABLE sections to the perl source.
-?X:
+?X:
?C:HAS_CSH:
?C: This symbol, if defined, indicates that the C-shell exists.
?C:.
?C: This symbol, if defined, contains the full pathname of csh.
?C:.
?X: Previously, I just did $d_csh CSH "$full_csh", but that caused
-?X: problems on VMS where the config.sh extraction program changes
+?X: problems on VMS where the config.sh extraction program changes
?X: $undef to a real cpp undef, and they then had #undef CSH ""
?X: which the compiler didn't like. It's easy to work around this,
?X: so I did. --AD 3/1998.
+?X: And we don't want to define CSH if !HAS_CSH, but we don't want
+?X: those lines in config.h if they don't need CSH, so protect with ?CSH
+?X: and not ?%<. --RAM, 15/02/2004
?H:?%<:#$d_csh HAS_CSH /**/
-?H:?%<:#ifdef HAS_CSH
-?H:?%<:#define CSH "$full_csh" /**/
-?H:?%<:#endif
+?H:?CSH:#ifdef HAS_CSH
+?H:?CSH:#define CSH "$full_csh" /**/
+?H:?CSH:#endif
?H:.
?LINT:set d_csh
: get csh whereabouts
-?RCS: $Id: d_dosuid.U,v 3.0.1.2 1997/02/28 15:33:03 ram Exp $
+?RCS: $Id: d_dosuid.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: Tye McQueen <tye@metronet.com> added safe setuid script checks.
?RCS:
?H:#$d_dosuid DOSUID /**/
?H:.
?Y:TOP
+?F:!reflect
?LINT: set d_suidsafe
?LINT: set d_dosuid
: see if setuid scripts can be secure
-?RCS: $Id: d_flexfnam.U,v 3.0 1993/08/18 12:06:04 ram Exp $
+?RCS: $Id: d_flexfnam.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_flexfnam.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:04 ram
You can't even think about them!
EOM
val="$undef"
-fi
+fi
set d_flexfnam
eval $setvar
$rm -rf 123456789abcde*
-?RCS: $Id: d_gethbynm.U,v 3.0 1993/08/18 12:06:08 ram Exp $
+?RCS: $Id: d_gethbynm.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_gethbynm.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:08 ram
-?RCS: $Id: d_gethent.U,v 3.0 1993/08/18 12:06:09 ram Exp $
+?RCS: $Id: d_gethent.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_gethent.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:09 ram
-?RCS: $Id: d_gethname.U,v 3.0.1.1 1994/10/29 16:13:00 ram Exp $
+?RCS: $Id: d_gethname.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_gethname.U,v $
?RCS: Revision 3.0.1.1 1994/10/29 16:13:00 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?MAKE:d_gethname d_uname d_phostname aphostname: phostname cat \
- myhostname package d_portable Loc libc echo n c +i_whoami +usrinc \
+ myhostname package d_portable Loc echo n c +i_whoami +usrinc \
Myread Guess Oldconfig Csym
?MAKE: -pick add $@ %<
?S:d_gethname:
-?RCS: $Id: d_htonl.U,v 3.0.1.2 1994/08/29 16:09:25 ram Exp $
+?RCS: $Id: d_htonl.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_htonl.U,v $
?RCS: Revision 3.0.1.2 1994/08/29 16:09:25 ram
?H:#$d_htonl HAS_NTOHL /**/
?H:#$d_htonl HAS_NTOHS /**/
?H:.
+?F:!htonl.c
?LINT:set d_htonl
: see if htonl --and friends-- exists
val=''
-?RCS: $Id: d_msg.U,v 3.0 1993/08/18 12:06:37 ram Exp $
+?RCS: $Id: d_msg.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_msg.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:37 ram
-?RCS: $Id: d_poll.U,v 3.0.1.2 1997/02/28 15:38:17 ram Exp $
+?RCS: $Id: d_poll.U 15 2006-08-30 18:21:51Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_poll.U,v $
?RCS: Revision 3.0.1.2 1997/02/28 15:38:17 ram
?S:.
?C:HAS_POLL :
?C: This symbol, if defined, indicates that the poll routine is
-?C: available to poll active file descriptors. You may safely
-?C: include <poll.h> when both this symbol *and* I_POLL are defined.
+?C: available to poll active file descriptors. Please check I_POLL and
+?C: I_SYS_POLL to know which header should be included as well.
?C:.
?H:#$d_poll HAS_POLL /**/
?H:.
-?RCS: $Id: d_sem.U,v 3.0 1993/08/18 12:07:03 ram Exp $
+?RCS: $Id: d_sem.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_sem.U,v $
?RCS: Revision 3.0 1993/08/18 12:07:03 ram
-?RCS: $Id: d_setgrps.U,v 3.0 1993/08/18 12:06:08 ram Exp $
+?RCS: $Id: d_setgrps.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS:
+?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: d_setgrps.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:08 ram
?MAKE:d_socket d_oldsock d_sockpair socketlib sockethdr \
d_msg_ctrunc d_msg_dontroute d_msg_oob d_msg_peek d_msg_proxy \
d_scm_rights: \
- contains libc echo n c ar nm nm_opt nm_extract Inlibc Csym _a \
+ contains echo n c ar nm nm_opt nm_extract Inlibc Csym _a \
Compile cat rm_try Setvar Hasfield
?MAKE: -pick add $@ %<
?S:d_socket:
-?RCS: $Id: i_varhdr.U,v 3.0.1.3 1997/02/28 15:54:42 ram Exp $
+?RCS: $Id: i_varhdr.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: i_varhdr.U,v $
?RCS: Revision 3.0.1.3 1997/02/28 15:54:42 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?MAKE:i_stdarg i_varargs i_varhdr: cat +cc +ccflags rm test Setvar \
- Findhdr startsh _o run
+ Findhdr startsh _o
?MAKE: -pick add $@ %<
?S:i_stdarg:
?S: This variable conditionally defines the I_STDARG symbol, which
?H:#$i_varargs I_VARARGS /**/
?H:.
?W:%<:va_dcl
-?T:valstd
?F:!varargs
+?T:valstd
?LINT:set i_stdarg i_varargs
?X:
?X: Don't use setvar because the varags test below might override these.
-?RCS: $Id: libpth.U,v 3.0.1.6 1997/02/28 16:08:49 ram Exp $
+?RCS: $Id: libpth.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS:
-?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: Copyright (c) 1991-1997, 2004-2006, 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: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: libpth.U,v $
?RCS: Revision 3.0.1.6 1997/02/28 16:08:49 ram
?S: machines, like the mips. Usually, it should be empty.
?S:.
?T: xxx dlist
+?LINT:use usrinc
?INIT:: change the next line if compiling for Xenix/286 on Xenix/386
?INIT:xlibpth='/usr/lib/386 /lib/386'
?INIT:: Possible local library directories to search.
?RCS: of the source tree for dist 3.0.
?RCS:
?MAKE:gccversion gccosandvers gccansipedantic: cat cpp rm +cc \
- Mcc Myread Guess Options Oldconfig Loc osname osvers run
+ Myread Guess Options Oldconfig Loc osname osvers run
?MAKE: -pick add $@ %<
?S:gccversion:
?S: If GNU cc (gcc) is used, this variable holds '1' or '2' to