home *** CD-ROM | disk | FTP | other *** search
- From: ram@acri.fr (Raphael Manfredi)
- Newsgroups: comp.sources.misc
- Subject: v44i046: dist-3.0 - Configure script generator and related tools, Patch32
- Date: 5 Sep 1994 11:34:11 -0500
- Organization: Advanced Computer Research Institute, Lyon, France
- Sender: kent@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <34fha3$254@sparky.sterling.com>
- X-Md4-Signature: eaa8c058fbea5b77151e390fded6d88a
-
- Submitted-by: ram@acri.fr (Raphael Manfredi)
- Posting-number: Volume 44, Issue 46
- Archive-name: dist-3.0/patch32
- 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 #: 32
- Priority: LOW
- Subject: now sets PATH only using existing directories
- Subject: avoid message sending if they said no previously
- Subject: created
- Subject: now uses installation prefix
- Subject: propagate -posix flag from ccflags to ldflags
- Subject: created by ADO
- Subject: now properly handles htonl() and friends when macros (ADO)
- Subject: always define HAS_PERROR even when not used in C code
- Subject: now uses new Typedef unit to compute type information
- Subject: forgot to set proper value in the val variable
- Subject: set default to 'y' the first time
- Subject: now sets signal_t only once d_voidsig is known (WED)
- Subject: removed useless usage of Setvar (for now)
- Subject: removed spurious echo
- Subject: fixed typo in I_SYS_DIR symbol name
- Subject: don't include all threee I_* symbols in config.h
- Subject: (had forgotten to undo this part last time)
- Subject: added lexflags variable for lex flags setting
- Subject: now uses installation prefix to set the default
- Subject: added I-type symbols for nm output parsing on Linux
- Subject: added /lib/pa1.1 for HP-UX specially tuned PA-RISC libs (ADO)
- Subject: fixed information message, making it clearer (ADO)
- Subject: now uses installation prefix for default setting
- Subject: use cc variable instead of hardwired 'cc' in 1st compile
- Subject: don't create spitshell under the UU directory
- Subject: allow for cat in /bin or /usr/bin
- Subject: documented new Typedef.U unit for typedef lookup
- Subject: 41 new files
- Subject: fixed typo: /etc/password -> /etc/passwd (WED)
- Date: Mon Aug 29 18:38:45 MET DST 1994
- From: Raphael Manfredi <ram@acri.fr>
-
- Description:
- This patches includes many fixes and contributions made by
- Andy Dougherty <doughera@lafcol.lafayette.edu> for his Configure
- support (added to the perl5 sources). It also includes other
- random fixes sent to the dist-users list. If you sent some and
- it is not included here, then I have forgotten about it... Please
- remind me for next time :-)
-
- Everything being mostly self-explainatory, here are some quick
- descriptions of the changes.
-
- Now sets PATH only using existing directories to avoid PATH
- overflow on some small shells.
-
- MailAuthor.U now avoids message sending if they said no previously
- and Configure -d is used... Without it, people would get subscribed
- for automatic patch mailing without their explicit asking, which
- could get annoying!
-
- Installation prefix is now asked, and the information is used to
- compute some defaults for bin, libs, man pages, etc... Useful
- for saying:
- Configure -D prefix=/usr/local
- Note that this may be overridden for each of the installation
- directories, it is not a root prefix prepended to all the paths
- you give to Configure!
-
- Propagate -posix flag from ccflags to ldflags.
-
- Now properly handles htonl() and friends when macros (ADO)
-
- Always define HAS_PERROR even when not used in C code.
-
- Now uses new Typedef unit to compute type information. This
- simplifies code and helps factorization...
-
- Forgot to set proper value in the val variable with tzname[].
-
- Use vfork() by default now.
-
- Now sets signal_t only once d_voidsig is known (WED). This
- avoids spurious Woa messages.
-
- Removed useless usage of Setvar (for now) all over the place.
-
- Random cleanup in units.
-
- Added lexflags variable for lex flags setting. Useful mostly
- with flex...
-
- Added I-type symbols for nm output parsing on Linux.
-
- Added /lib/pa1.1 for HP-UX specially tuned PA-RISC libs (ADO) to
- the library lookup path.
-
- Use cc variable instead of hardwired 'cc' in 1st compile for
- archive ordering.
-
- Don't create spitshell under the UU directory and allow for cat
- in /bin or /usr/bin when testing for #! support.
-
- Documented new Typedef.U unit for typedef lookup
-
- 41 new files
-
-
- 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: 31
- 4c4
- < #define PATCHLEVEL 31
- ---
- > #define PATCHLEVEL 32
-
- Index: MANIFEST
- *** MANIFEST.old Mon Aug 29 18:38:42 1994
- --- MANIFEST Mon Aug 29 18:38:43 1994
- ***************
- *** 107,112 ****
- --- 107,113 ----
- mcon/U/Options.U Configure option parsing
- mcon/U/Rcs.U Some stupid redefinitions to keep RCS happy
- mcon/U/Setvar.U Set a variable with some sanity checks
- + mcon/U/Typedef.U Defines a typedef lookup function
- mcon/U/Warn_v7EXT.U V7 has some ideosyncracies
- mcon/U/Warn_v7ND.U V7 has no O_NDELAY read
- mcon/U/Whoa.U Warning function
- ***************
- *** 135,153 ****
- --- 136,163 ----
- mcon/U/d_PORTAR.U Do we know about portable archives?
- mcon/U/d_SHM_MAC.U SHMLBA macro stuff
- mcon/U/d_access.U Do we have access()?
- + mcon/U/d_alarm.U Do we have alarm()?
- mcon/U/d_bcmp.U Do we have bcmp() or memcmp()?
- mcon/U/d_bcopy.U Do we have bcopy() or memcpy()?
- mcon/U/d_bsdjmp.U Do we have BSD _setjmp() and _longjmp()?
- mcon/U/d_bzero.U Do we have bzero() or memset()?
- + mcon/U/d_casti32.U Can the compiler cast large flots to 32-bit ints?
- mcon/U/d_castneg.U Can the C compiler cast negative to unsigned?
- mcon/U/d_cbrt.U Do we have cubic root cbrt()?
- mcon/U/d_charsprf.U How is sprintf() defined?
- + mcon/U/d_chown.U Do we have chown()?
- + mcon/U/d_chroot.U Do we have chroot()?
- mcon/U/d_chsize.U Size of a char
- mcon/U/d_ckeypad.U Do we have the curses keypad()?
- + mcon/U/d_closedir.U Do we have closedir()?
- mcon/U/d_const.U Can cc grok the const keyword?
- mcon/U/d_crypt.U Does crypt() exist?
- mcon/U/d_csh.U csh path
- mcon/U/d_ctermid.U Do we have ctermid()?
- + mcon/U/d_cuserid.U Do we have cuserid()?
- + mcon/U/d_dbl_dig.U Is DBL_DIG defined in <limits.h> or <float.h>?
- + mcon/U/d_difftime.U Do we have difftime()?
- + mcon/U/d_dlopen.U Do we have dlopen()?
- mcon/U/d_dosuid.U Do they want setuid emulation?
- mcon/U/d_dup2.U Do we have dup2()?
- mcon/U/d_eofpipe.U Will EOF be seen on closed pipes?
- ***************
- *** 160,165 ****
- --- 170,176 ----
- mcon/U/d_fgetpos.U Do we have fgetpos()?
- mcon/U/d_flexfnam.U Long filenames?
- mcon/U/d_flock.U Do we have flock()?
- + mcon/U/d_fork.U Do we have fork()?
- mcon/U/d_fsetpos.U Do we have fsetpos()?
- mcon/U/d_ftime.U Do we have ftime()?
- mcon/U/d_ftrncate.U Do we have ftruncate()?
- ***************
- *** 168,190 ****
- --- 179,207 ----
- mcon/U/d_gethent.U Do we have gethostent()?
- mcon/U/d_gethid.U Do we have gethostid()?
- mcon/U/d_gethname.U What is the C function to get host name?
- + mcon/U/d_getlogin.U Do we have getlogin()?
- mcon/U/d_getopt.U Do we have getopt()?
- mcon/U/d_getpagsz.U Computes system's page size
- mcon/U/d_getpgrp.U Do we have getpgrp()?
- mcon/U/d_getpgrp2.U Do we have getpgrp2()? (DG/UX)
- + mcon/U/d_getppid.U Do we have getppid()?
- mcon/U/d_getprior.U Do we have getpriority()?
- mcon/U/d_getpwent.U How is passwd info gotten?
- mcon/U/d_getwd.U Do we have getwd()?
- + mcon/U/d_group.U Do we have group()?
- mcon/U/d_havetlib.U Where is termlib?
- mcon/U/d_hidnet.U Do hiddennet stuff?
- mcon/U/d_htonl.U Do we have htonl() and friends?
- mcon/U/d_inetd.U Should internet communication be done via inetd?
- mcon/U/d_internet.U Use internet addresses?
- + mcon/U/d_isascii.U Do we have isascii()?
- mcon/U/d_itimer.U Do we have setitimer()?
- mcon/U/d_keepsig.U Will signal handlers need to be rearmed?
- mcon/U/d_killpg.U Do we have killpg()?
- mcon/U/d_link.U Do we have link()?
- + mcon/U/d_lockf.U Do we have lockf()?
- mcon/U/d_lstat.U Do we have lstat()?
- + mcon/U/d_mblen.U Do we have mblen()?
- mcon/U/d_mbstowcs.U Do we have mbstowcs()?
- mcon/U/d_mbtowc.U Do we have mbtowc()?
- mcon/U/d_memccpy.U Do we have memccpy()?
- ***************
- *** 194,199 ****
- --- 211,217 ----
- mcon/U/d_memmove.U Do we have memmove()?
- mcon/U/d_memset.U Do we have memset()?
- mcon/U/d_mkdir.U Do we have mkdir()?
- + mcon/U/d_mktime.U Do we have mktime()?
- mcon/U/d_mmap.U Do we have mmap()?
- mcon/U/d_msg.U Do we have full msg(2) support?
- mcon/U/d_msgctl.U Do we have msgctl()?
- ***************
- *** 203,219 ****
- --- 221,242 ----
- mcon/U/d_msync.U Do we have msync()?
- mcon/U/d_munmap.U Do we have munmap()?
- mcon/U/d_newsadm.U Who is news administrator?
- + mcon/U/d_nice.U Do we have nice()?
- mcon/U/d_nolnbuf.U Is stdout line buffered?
- mcon/U/d_normsig.U signal() vs sigset()
- mcon/U/d_open3.U Do we have the 3 arguments form for open()?
- + mcon/U/d_passwd.U Do we have passwd()?
- + mcon/U/d_pause.U Do we have pause()?
- mcon/U/d_perror.U Do we have perror()?
- mcon/U/d_pidcheck.U Is kill(pid, 0) allowed for PID checks?
- + mcon/U/d_pipe.U Do we have pipe()?
- mcon/U/d_popen.U Do we have popen()?
- mcon/U/d_portable.U How portable do we want to be?
- mcon/U/d_psignal.U Do we have psignal()?
- mcon/U/d_raster.U Is this a Raster Tech machine?
- mcon/U/d_rdchk.U Is rdchk() there to check for input?
- mcon/U/d_readdir.U Do we have readdir()?
- + mcon/U/d_readlink.U Do we have readlink()?
- mcon/U/d_regcmp.U Do we have regcmp()?
- mcon/U/d_rename.U Do we have rename()?
- mcon/U/d_rmdir.U Do we have rmdir()?
- ***************
- *** 231,236 ****
- --- 254,260 ----
- mcon/U/d_semop.U Do we have semop()?
- mcon/U/d_setegid.U Do we have setegid()?
- mcon/U/d_seteuid.U Do we have seteuid()?
- + mcon/U/d_setlnbuf.U Do we have setlinebuf()?
- mcon/U/d_setlocale.U Do we have setlocale()?
- mcon/U/d_setpgid.U Do we have setpgid()?
- mcon/U/d_setpgrp.U Do we have setpgrp()?
- ***************
- *** 260,265 ****
- --- 284,290 ----
- mcon/U/d_stdstdio.U How standard is stdio?
- mcon/U/d_strccmp.U Do we have strcasecmp()?
- mcon/U/d_strchr.U Use strchr() or index()?
- + mcon/U/d_strcoll.U Do we have strcoll()?
- mcon/U/d_strcspn.U Do we have strcspn()?
- mcon/U/d_strctcpy.U Do we do struct copies?
- mcon/U/d_strdup.U Do we have strdup()?
- ***************
- *** 268,279 ****
- --- 293,307 ----
- mcon/U/d_strstr.U Do we have strtr()?
- mcon/U/d_strtok.U Do we have strtok()?
- mcon/U/d_strtol.U Do we have strtol()?
- + mcon/U/d_strxfrm.U Do we have strxfrm()?
- mcon/U/d_su_chown.U Do we need to be root to do a chown?
- mcon/U/d_symlink.U Does symlink() exist?
- mcon/U/d_syscall.U Do we have syscall()?
- mcon/U/d_syslog.U Do we have syslog()?
- mcon/U/d_system.U Do we have system()?
- mcon/U/d_table.U De we have table()?
- + mcon/U/d_tcgtpgrp.U Do we have tcgetpgrp()?
- + mcon/U/d_tcstpgrp.U Do we have tcsetpgrp()?
- mcon/U/d_time.U Do we have time()?
- mcon/U/d_times.U Do we have a times() function?
- mcon/U/d_tminsys.U Is struct tm in <sys/time.h>?
- ***************
- *** 281,286 ****
- --- 309,315 ----
- mcon/U/d_tzmin.U Do we use tz_minuteswest?
- mcon/U/d_tzname.U Do we have tzname[]?
- mcon/U/d_ulimit.U Do we have ulimit()?
- + mcon/U/d_umask.U Do we have umask()?
- mcon/U/d_usendir.U Use our own ndir routines?
- mcon/U/d_usleep.U Do we have usleep()?
- mcon/U/d_uwait.U Is there a 'union wait' declaration around here?
- ***************
- *** 292,297 ****
- --- 321,327 ----
- mcon/U/d_wait4.U Do we have wait4()?
- mcon/U/d_waitpid.U Do we have waitpid() system call?
- mcon/U/d_wcstombs.U Do we have wcstombs()?
- + mcon/U/d_wctomb.U Do we have wctomb()?
- mcon/U/d_xdrs.U Do we have XDR serialization routines?
- mcon/U/defeditor.U Find default editor
- mcon/U/doublesize.U What is the size of "double"?
- ***************
- *** 306,318 ****
- --- 336,352 ----
- mcon/U/h_fcntl.U Do we need to include fcntl.h?
- mcon/U/h_sysfile.U Do we need to include sys/file.h?
- mcon/U/i_arpainet.U Shall we include <arpa/inet.h>?
- + mcon/U/i_db.U Shall we include <db.h>?
- mcon/U/i_dbm.U Shall we include <dbm.h>?
- mcon/U/i_dirent.U Shall we include <dirent.h>
- + mcon/U/i_dlfcn.U Shall we include <dlfcn.h>?
- mcon/U/i_fcntl.U Shall we include <fcntl.h>?
- + mcon/U/i_float.U Shall we include <float.h>?
- mcon/U/i_gdbm.U Shall we include <gdbm.h>?
- mcon/U/i_grp.U Shall we include <grp.h>?
- mcon/U/i_limits.U Shall we include <limits.h>?
- mcon/U/i_malloc.U Shall we include <malloc.h>?
- + mcon/U/i_math.U Shall we include <math.h>?
- mcon/U/i_memory.U Shall we include <memory.h>?
- mcon/U/i_ndbm.U Shall we include <ndbm.h>?
- mcon/U/i_neterrno.U Shall we include <net/errno.h>?
- ***************
- *** 326,331 ****
- --- 360,366 ----
- mcon/U/i_sysioctl.U Include <sys/ioctl.h> or <sgtty.h>?
- mcon/U/i_sysmman.U Do we have to include <sys/mman.h>?
- mcon/U/i_sysndir.U Shall we include <sys/ndir.h>?
- + mcon/U/i_sysparam.U Shall we include <sys/param.h>?
- mcon/U/i_sysresrc.U Shall we include <sys/resource.h>?
- mcon/U/i_sysselct.U Shall we include <sys/select.h>?
- mcon/U/i_syssock.U Shall we include <sys/socket.h>?
- ***************
- *** 386,391 ****
- --- 421,427 ----
- mcon/U/patchlevel.U Grab current patchlevel out of patchlevel.h
- mcon/U/perlpath.U The full path of perl
- mcon/U/pidtype.U What is the type of a PID?
- + mcon/U/prefix.U Installation prefix setting (none, /usr/local)
- mcon/U/prefshell.U Preferred user shell
- mcon/U/privlib.U Where is the private library?
- mcon/U/prototype.U Do we support prototypes?
- ***************
- *** 401,409 ****
- --- 437,447 ----
- mcon/U/selecttype.U What type for select() file bitfields?
- mcon/U/shm_for.U More shared memory stuff
- mcon/U/sig_name.U Signal names
- + mcon/U/sizetype.U What is the type for byte size?
- mcon/U/so.U Shared object extension
- mcon/U/sockopt.U Check for socket options
- mcon/U/spitshell.U Shell comment stripper, maybe
- + mcon/U/ssizetype.U What is the signed type for byte size?
- mcon/U/startperl.U Do we start perl with #! or what?
- mcon/U/startsh.U How to guarantee sh startup
- mcon/U/stdchar.U Are chars unsigned in stdio?
-
- Index: mcon/U/Head.U
- Prereq: 3.0.1.4
- *** mcon/U/Head.U.old Mon Aug 29 18:34:38 1994
- --- mcon/U/Head.U Mon Aug 29 18:34:38 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: Head.U,v 3.0.1.4 1994/06/20 06:54:28 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: Head.U,v 3.0.1.5 1994/08/29 16:03:44 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: Head.U,v $
- + ?RCS: Revision 3.0.1.5 1994/08/29 16:03:44 ram
- + ?RCS: patch32: now sets PATH only using existing directories
- + ?RCS:
- ?RCS: Revision 3.0.1.4 1994/06/20 06:54:28 ram
- ?RCS: patch30: now computes its invocation name into 'me'
- ?RCS: patch30: symbol me is made visible to all units read-only
- ***************
- *** 32,38 ****
- ?MAKE:Head:
- ?MAKE: -pick wipe $@ %<
- ?V:PATH me
- ! ?T:argv Id
- #! /bin/sh
- #
- # If these # comments don't work, trim them. Don't worry about any other
- --- 35,41 ----
- ?MAKE:Head:
- ?MAKE: -pick wipe $@ %<
- ?V:PATH me
- ! ?T:argv Id p paths
- #! /bin/sh
- #
- # If these # comments don't work, trim them. Don't worry about any other
- ***************
- *** 66,72 ****
- ?X: by your version, not mine: It credits your work.
- ?X:
-
- ! # $Id: Head.U,v 3.0.1.4 1994/06/20 06:54:28 ram Exp $
- #
- # Generated on <DATE> [metaconfig <VERSION> PL<PATCHLEVEL>]
-
- --- 69,75 ----
- ?X: by your version, not mine: It credits your work.
- ?X:
-
- ! # $Id: Head.U,v 3.0.1.5 1994/08/29 16:03:44 ram Exp $
- #
- # Generated on <DATE> [metaconfig <VERSION> PL<PATCHLEVEL>]
-
- ***************
- *** 113,127 ****
- ?X: proper environment variable set, and some directories like /etc (where
- ?X: chown is located on some BSD systems) may be missing--RAM.
- ?X:
- ! : Sanity checks
- ! PATH=".:$PATH:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin"
- ! PATH=$PATH:'/usr/5bin:/etc:/usr/gnu/bin:/usr/new:/usr/new/bin:/usr/nbin'
- ! PATH=$PATH:'/sys5.3/bin:/sys5.3/usr/bin:/bsd4.3/bin:/bsd4.3/usr/ucb'
- ! PATH=$PATH:'/bsd4.3/usr/bin:/usr/bsd:/bsd43/bin:/usr/ccs/bin'
- ! PATH=$PATH:'/etc:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib'
- ! PATH=$PATH:'/sbin:/usr/sbin:/usr/libexec'
- export PATH
-
- if test ! -t 0; then
- echo "Say 'sh $me', not 'sh <$me'"
- exit 1
- --- 116,144 ----
- ?X: proper environment variable set, and some directories like /etc (where
- ?X: chown is located on some BSD systems) may be missing--RAM.
- ?X:
- ! ?X: We only add directories that are not already in the PATH of the
- ! ?X: user and the directories must exist also.
- !
- ! : Proper PATH setting
- ! paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
- ! paths=$paths:'/usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin'
- ! paths=$paths:'/sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb'
- ! paths=$paths:'/bsd4.3/usr/bin /usr/bsd /bsd43/bin /usr/ccs/bin'
- ! paths=$paths:'/etc /usr/lib /usr/ucblib /lib /usr/ccs/lib'
- ! paths=$paths:'/sbin /usr/sbin /usr/libexec'
- !
- ! for p in $paths
- ! do
- ! case ":$PATH:" in
- ! *:$p:*) ;;
- ! *) test -d $p && PATH=$PATH:$p ;;
- ! esac
- ! done
- !
- ! PATH=.:$PATH
- export PATH
-
- + : Sanity checks
- if test ! -t 0; then
- echo "Say 'sh $me', not 'sh <$me'"
- exit 1
-
- Index: mcon/U/d_closedir.U
- *** mcon/U/d_closedir.U.old Mon Aug 29 18:34:45 1994
- --- mcon/U/d_closedir.U Mon Aug 29 18:34:45 1994
- ***************
- *** 0 ****
- --- 1,99 ----
- + ?RCS: $Id: d_closedir.U,v 3.0.1.1 1994/08/29 16:07:21 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_closedir.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:07:21 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:d_closedir d_void_closedir: Inlibc i_dirent i_sysdir i_sysndir \
- + cc ccflags libs Setvar
- + ?MAKE: -pick add $@ %<
- + ?S:d_closedir:
- + ?S: This variable conditionally defines HAS_CLOSEDIR if closedir() is
- + ?S: available.
- + ?S:.
- + ?C:HAS_CLOSEDIR:
- + ?C: This symbol, if defined, indicates that the closedir() routine is
- + ?C: available.
- + ?C:.
- + ?H:#$d_closedir HAS_CLOSEDIR /**/
- + ?H:.
- + ?S:d_void_closedir:
- + ?S: This variable conditionally defines VOID_CLOSEDIR if closedir()
- + ?S: does not return a value.
- + ?S:.
- + ?C:VOID_CLOSEDIR:
- + ?C: This symbol, if defined, indicates that the closedir() routine
- + ?C: does not return a value.
- + ?C:.
- + ?H:#$d_void_closedir VOID_CLOSEDIR /**/
- + ?H:.
- + ?LINT:set d_closedir d_void_closedir
- + : see if closedir exists
- + set closedir d_closedir
- + eval $inlibc
- +
- + @if VOID_CLOSEDIR || d_void_closedir
- + ?X: The following contortions are designed so we can call closedir()
- + ?X: and check whether it returns a value. The contortions are designed
- + ?X: to portably pick up the correct directory header, for those
- + ?X: systems that support various mutually incompatible directory functions.
- + ?X: This is from perl5's perl.h
- + case "$d_closedir" in
- + "$define")
- + echo " "
- + echo "Checking whether closedir() returns a status..." >&4
- + cat > closedir.c <<EOM
- + #$i_dirent I_DIRENT /**/
- + #$i_sysdir I_SYS_DIR /**/
- + #$i_sysndir I_SYS_NDIR /**/
- +
- + #if defined(I_DIRENT)
- + #include <dirent.h>
- + #if defined(NeXT) && defined(I_SYS_DIR) /* NeXT needs dirent + sys/dir.h */
- + #include <sys/dir.h>
- + #endif
- + #else
- + #ifdef I_SYS_NDIR
- + #include <sys/ndir.h>
- + #else
- + #ifdef I_SYS_DIR
- + #ifdef hp9000s500
- + #include <ndir.h> /* may be wrong in the future */
- + #else
- + #include <sys/dir.h>
- + #endif
- + #endif
- + #endif
- + #endif
- + int main() { return closedir(opendir(".")); }
- + EOM
- + if $cc $ccflags -o closedir closedir.c $libs > /dev/null 2>&1; then
- + if ./closedir > /dev/null 2>&1 ; then
- + echo "Yes, it does."
- + val="$undef"
- + else
- + echo "No, it doesn't."
- + val="$define"
- + fi
- + else
- + echo "(I can't seem to compile the test program--assuming it doesn't)"
- + val="$define"
- + fi
- + ;;
- + *)
- + val="$undef";
- + ;;
- + esac
- + set d_void_closedir
- + eval $setvar
- + @end
-
- Index: mcon/U/d_times.U
- Prereq: 3.0
- *** mcon/U/d_times.U.old Mon Aug 29 18:35:06 1994
- --- mcon/U/d_times.U Mon Aug 29 18:35:07 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: d_times.U,v 3.0 1993/08/18 12:07:46 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: d_times.U,v 3.0.1.1 1994/08/29 16:14:00 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_times.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:14:00 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:07:46 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 17,23 ****
- ?X:
- ?X: Force inclusion of <sys/types.h>
- ?X:INC: i_systypes
- ! ?MAKE:d_times clocktype: contains Csym Findhdr Myread
- ?MAKE: -pick add $@ %<
- ?S:d_times:
- ?S: This variable conditionally defines the HAS_TIMES symbol, which indicates
- --- 20,26 ----
- ?X:
- ?X: Force inclusion of <sys/types.h>
- ?X:INC: i_systypes
- ! ?MAKE:d_times clocktype: Csym Myread Typedef i_systimes
- ?MAKE: -pick add $@ %<
- ?S:d_times:
- ?S: This variable conditionally defines the HAS_TIMES symbol, which indicates
- ***************
- *** 42,73 ****
- ?H:#$d_times HAS_TIMES /**/
- ?H:#define Clock_t $clocktype /* Clock time */
- ?H:.
- ! ?T:val
- : see if times exists
- echo " "
- if set times val -f d_times; eval $csym; $val; then
- echo 'times() found.' >&4
- d_times="$define"
- ! case "$clocktype" in
- ! '')
- ! if $contains 'clock_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='clock_t';
- ! ?X: Silicon graphics machines don't define clock_t in sys/types.h.
- ! elif $contains 'clock_t;' `./findhdr sys/times.h` >/dev/null 2>&1; then
- ! dflt='clock_t';
- ! else
- ! dflt='long';
- ! fi
- ! ;;
- ! *) dflt="$clocktype"
- ! ;;
- esac
- echo " "
- rp="What type is returned by times() on this sytem?"
- . ./myread
- clocktype="$ans"
- else
- ! echo 'times() not found, hope that will do.' >&4
- d_times="$undef"
- ?X: The following is needed for typedef (won't like an empty variable)
- clocktype='int'
- --- 45,69 ----
- ?H:#$d_times HAS_TIMES /**/
- ?H:#define Clock_t $clocktype /* Clock time */
- ?H:.
- ! ?T:val inc
- : see if times exists
- echo " "
- if set times val -f d_times; eval $csym; $val; then
- echo 'times() found.' >&4
- d_times="$define"
- ! inc=''
- ! case "$i_systimes" in
- ! "$define") inc='sys/times.h';;
- esac
- + set clock_t clocktype long stdio.h sys/types.h $inc
- + eval $typedef
- + dflt="$clocktype"
- echo " "
- rp="What type is returned by times() on this sytem?"
- . ./myread
- clocktype="$ans"
- else
- ! echo 'times() NOT found, hope that will do.' >&4
- d_times="$undef"
- ?X: The following is needed for typedef (won't like an empty variable)
- clocktype='int'
-
- Index: mcon/U/d_htonl.U
- Prereq: 3.0.1.1
- *** mcon/U/d_htonl.U.old Mon Aug 29 18:34:52 1994
- --- mcon/U/d_htonl.U Mon Aug 29 18:34:52 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: d_htonl.U,v 3.0.1.1 1994/05/06 14:45:00 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: d_htonl.U,v 3.0.1.2 1994/08/29 16:09:25 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: d_htonl.U,v $
- ?RCS: Revision 3.0.1.1 1994/05/06 14:45:00 ram
- ?RCS: patch23: now also check for htonl() macro (ADO)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:06:22 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:d_htonl: +cc +ccflags Inlibc i_niin i_sysin cat rm
- ?MAKE: -pick add $@ %<
- ?S:d_htonl:
- ?S: This variable conditionally defines HAS_HTONL if htonl() and its
- --- 9,25 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: d_htonl.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:09:25 ram
- + ?RCS: patch32: now properly handles htonl() and friends when macros (ADO)
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1994/05/06 14:45:00 ram
- ?RCS: patch23: now also check for htonl() macro (ADO)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:06:22 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:d_htonl: Inlibc Setvar i_niin i_sysin cat rm contains \
- ! cppstdin cppflags cppminus
- ?MAKE: -pick add $@ %<
- ?S:d_htonl:
- ?S: This variable conditionally defines HAS_HTONL if htonl() and its
- ***************
- *** 48,60 ****
- ?H:.
- ?LINT:set d_htonl
- : see if htonl --and friends-- exists
- ! set htonl d_htonl
- eval $inlibc
-
- : Maybe they are macros.
- ! case "$d_htonl" in
- ! $define) ;;
- ! *) $cat >try.c <<EOM
- #include <stdio.h>
- #include <sys/types.h>
- #$i_niin I_NETINET_IN
- --- 52,65 ----
- ?H:.
- ?LINT:set d_htonl
- : see if htonl --and friends-- exists
- ! val=''
- ! set htonl val
- eval $inlibc
-
- : Maybe they are macros.
- ! case "$val" in
- ! $undef)
- ! $cat >htonl.c <<EOM
- #include <stdio.h>
- #include <sys/types.h>
- #$i_niin I_NETINET_IN
- ***************
- *** 65,81 ****
- #ifdef I_SYS_IN
- #include <sys/in.h>
- #endif
- ! int main()
- ! {
- ! int x;
- ! printf("x = ", htonl(7));
- ! }
- EOM
- ! if $cc $ccflags -c try.c >/dev/null 2>&1; then
- ! d_htonl="$define"
- echo "But it seems to be defined as a macro." >&4
- fi
- ! $rm -f try.*
- ;;
- esac
-
- --- 70,87 ----
- #ifdef I_SYS_IN
- #include <sys/in.h>
- #endif
- ! #ifdef htonl
- ! printf("Defined as a macro.");
- ! #endif
- EOM
- ! $cppstdin $cppflags $cppminus < htonl.c >htonl.E 2>/dev/null
- ! if $contains 'Defined as a macro' htonl.E >/dev/null 2>&1; then
- ! val="$define"
- echo "But it seems to be defined as a macro." >&4
- fi
- ! $rm -f htonl.?
- ;;
- esac
- + set d_htonl
- + eval $setvar
-
-
- Index: mcon/U/ssizetype.U
- *** mcon/U/ssizetype.U.old Mon Aug 29 18:38:38 1994
- --- mcon/U/ssizetype.U Mon Aug 29 18:38:38 1994
- ***************
- *** 0 ****
- --- 1,72 ----
- + ?RCS: $Id: ssizetype.U,v 3.0.1.1 1994/08/29 16:33: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: ssizetype.U,v $
- + ?RCS: Revision 3.0.1.1 1994/08/29 16:33:06 ram
- + ?RCS: patch32: created by ADO
- + ?RCS:
- + ?MAKE:ssizetype: Myread Typedef sizetype cat rm cc ccflags libs
- + ?MAKE: -pick add $@ %<
- + ?S:ssizetype:
- + ?S: This variable defines ssizetype to be something like ssize_t,
- + ?S: long or int. It is used by functions that return a count
- + ?S: of bytes or an error condition. It must be a signed type.
- + ?S: We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
- + ?S:.
- + ?C:SSize_t:
- + ?C: This symbol holds the type used by functions that return
- + ?C: a count of bytes or an error condition. It must be a signed type.
- + ?C: It is usually ssize_t, but may be long or int, etc.
- + ?C: It may be necessary to include <sys/types.h> or <unistd.h>
- + ?C: to get any typedef'ed information.
- + ?C: We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
- + ?C:.
- + ?H:#define SSize_t $ssizetype /* signed count of bytes */
- + ?H:.
- + : see what type is used for signed size_t
- + set ssize_t ssizetype int stdio.h sys/types.h
- + eval $typedef
- + dflt="$ssizetype"
- + ?X: Now check out whether sizeof(SSize_t) == sizeof(Size_t)
- + $cat > ssize.c <<EOM
- + #include <stdio.h>
- + #include <sys/types.h>
- + #define Size_t $sizetype
- + #define SSize_t $dflt
- + main()
- + {
- + if (sizeof(Size_t) == sizeof(SSize_t))
- + printf("$dflt\n");
- + else if (sizeof(Size_t) == sizeof(int))
- + printf("int\n");
- + else
- + printf("long\n");
- + }
- + EOM
- + echo " "
- + if $cc $ccflags -o ssize ssize.c $libs > /dev/null 2>&1 ; then
- + ssizetype=`./ssize`
- + echo "I'll be using $ssizetype for functions returning a byte count." >&4
- + else
- + echo "(I can't compile the test program--please enlighten me!)"
- + $cat <<EOM
- +
- + I need a type that is the same size as $sizetype, but is guaranteed to
- + be signed. Common values are int and long.
- +
- + EOM
- + rp="What signed type is the same size as $sizetype?"
- + . ./myread
- + ssizetype="$ans"
- + fi
- + $rm -f ssize ssize.[co]
- +
-
- Index: mcon/U/gidtype.U
- Prereq: 3.0.1.2
- *** mcon/U/gidtype.U.old Mon Aug 29 18:35:11 1994
- --- mcon/U/gidtype.U Mon Aug 29 18:35:11 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: gidtype.U,v 3.0.1.2 1994/05/13 15:21:07 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: gidtype.U,v 3.0.1.3 1994/08/29 16:21:44 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: gidtype.U,v $
- + ?RCS: Revision 3.0.1.3 1994/08/29 16:21:44 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS: patch32: removed useless usage of Setvar (for now)
- + ?RCS:
- ?RCS: Revision 3.0.1.2 1994/05/13 15:21:07 ram
- ?RCS: patch27: added lint hint
- ?RCS:
- ***************
- *** 19,25 ****
- ?RCS: Revision 3.0 1993/08/18 12:08:11 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:gidtype: Myread Oldconfig contains Findhdr Setvar
- ?MAKE: -pick add $@ %<
- ?S:gidtype:
- ?S: This variable defines Gid_t to be something like gid_t, int,
- --- 23,29 ----
- ?RCS: Revision 3.0 1993/08/18 12:08:11 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:gidtype: Myread Typedef Findhdr
- ?MAKE: -pick add $@ %<
- ?S:gidtype:
- ?S: This variable defines Gid_t to be something like gid_t, int,
- ***************
- *** 36,62 ****
- ?H:#define Gid_t $gidtype /* Type for getgid(), etc... */
- ?H:.
- ?T:xxx
- - ?LINT:set gidtype
- : see what type gids are declared as in the kernel
- case "$gidtype" in
- ! '')
- ! if $contains 'gid_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='gid_t';
- ! else
- ! xxx=`./findhdr sys/user.h`
- ! set `grep 'groups\[NGROUPS\];' "$xxx" 2>/dev/null` unsigned short
- ! case $1 in
- ! unsigned) dflt="$1 $2" ;;
- ! *) dflt="$1" ;;
- ! esac
- ! fi
- ;;
- ! *) dflt="$gidtype";;
- esac
- echo " "
- rp="What is the type for group ids returned by getgid()?"
- . ./myread
- ! val="$ans"
- ! set gidtype
- ! eval $setvar
-
- --- 40,61 ----
- ?H:#define Gid_t $gidtype /* Type for getgid(), etc... */
- ?H:.
- ?T:xxx
- : see what type gids are declared as in the kernel
- + set gid_t gidtype xxx stdio.h sys/types.h
- + eval $typedef
- case "$gidtype" in
- ! xxx)
- ! xxx=`./findhdr sys/user.h`
- ! set `grep 'groups\[NGROUPS\];' "$xxx" 2>/dev/null` unsigned short
- ! case $1 in
- ! unsigned) dflt="$1 $2" ;;
- ! *) dflt="$1" ;;
- ! esac
- ;;
- ! *) dflt="$gidtype";;
- esac
- echo " "
- rp="What is the type for group ids returned by getgid()?"
- . ./myread
- ! gidtype="$ans"
-
-
- Index: mcon/U/uidtype.U
- Prereq: 3.0.1.2
- *** mcon/U/uidtype.U.old Mon Aug 29 18:38:38 1994
- --- mcon/U/uidtype.U Mon Aug 29 18:38:39 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: uidtype.U,v 3.0.1.2 1994/06/20 07:09:36 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: uidtype.U,v 3.0.1.3 1994/08/29 16:33:25 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: uidtype.U,v $
- + ?RCS: Revision 3.0.1.3 1994/08/29 16:33:25 ram
- + ?RCS: patch32: now uses new Typedef unit to compute type information
- + ?RCS:
- ?RCS: Revision 3.0.1.2 1994/06/20 07:09:36 ram
- ?RCS: patch30: comment for uidtype referred to the obsoleted symbol
- ?RCS:
- ***************
- *** 19,25 ****
- ?RCS: Revision 3.0 1993/08/18 12:09:56 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:uidtype: Myread Oldconfig contains Findhdr Setvar
- ?MAKE: -pick add $@ %<
- ?S:uidtype:
- ?S: This variable defines Uid_t to be something like uid_t, int,
- --- 22,28 ----
- ?RCS: Revision 3.0 1993/08/18 12:09:56 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:uidtype: Myread Typedef Findhdr
- ?MAKE: -pick add $@ %<
- ?S:uidtype:
- ?S: This variable defines Uid_t to be something like uid_t, int,
- ***************
- *** 33,59 ****
- ?H:#define Uid_t $uidtype /* UID type */
- ?H:.
- ?T:xxx
- - ?LINT:set uidtype
- : see what type uids are declared as in the kernel
- case "$uidtype" in
- ! '')
- ! if $contains 'uid_t;' `./findhdr sys/types.h` >/dev/null 2>&1 ; then
- ! dflt='uid_t';
- ! else
- ! xxx=`./findhdr sys/user.h`
- ! set `grep '_ruid;' "$xxx" 2>/dev/null` unsigned short
- ! case $1 in
- ! unsigned) dflt="$1 $2" ;;
- ! *) dflt="$1" ;;
- ! esac
- ! fi
- ;;
- ! *) dflt="$uidtype";;
- esac
- echo " "
- rp="What is the type for user ids returned by getuid()?"
- . ./myread
- ! val="$ans"
- ! set uidtype
- ! eval $setvar
-
- --- 36,57 ----
- ?H:#define Uid_t $uidtype /* UID type */
- ?H:.
- ?T:xxx
- : see what type uids are declared as in the kernel
- + set uid_t uidtype xxx stdio.h sys/types.h
- + eval $typedef
- case "$uidtype" in
- ! xxx)
- ! xxx=`./findhdr sys/user.h`
- ! set `grep '_ruid;' "$xxx" 2>/dev/null` unsigned short
- ! case $1 in
- ! unsigned) dflt="$1 $2" ;;
- ! *) dflt="$1" ;;
- ! esac
- ;;
- ! *) dflt="$uidtype";;
- esac
- echo " "
- rp="What is the type for user ids returned by getuid()?"
- . ./myread
- ! uidtype="$ans"
-
-
- Index: mcon/U/manfmt.U
- Prereq: 3.0.1.1
- *** mcon/U/manfmt.U.old Mon Aug 29 18:35:22 1994
- --- mcon/U/manfmt.U Mon Aug 29 18:35:22 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: manfmt.U,v 3.0.1.1 1993/09/13 16:09:22 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: manfmt.U,v 3.0.1.2 1994/08/29 16:30:31 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: manfmt.U,v $
- ?RCS: Revision 3.0.1.1 1993/09/13 16:09:22 ram
- ?RCS: patch10: allows for L1 man page extension (WAD)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:09:13 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:manfmt manfmtexp: Getfile Loc Oldconfig cat manext package
- ?MAKE: -pick add $@ %<
- ?S:manfmt:
- ?S: This variable contains the name of the directory in which formatted
- --- 9,24 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: manfmt.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:30:31 ram
- + ?RCS: patch32: now uses installation prefix for default setting
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1993/09/13 16:09:22 ram
- ?RCS: patch10: allows for L1 man page extension (WAD)
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:09:13 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:manfmt manfmtexp: Getfile Loc Oldconfig cat manext package prefix
- ?MAKE: -pick add $@ %<
- ?S:manfmt:
- ?S: This variable contains the name of the directory in which formatted
- ***************
- *** 29,34 ****
- --- 32,38 ----
- ?S: run-time.
- ?S:.
- ?LINT:change manext
- + ?T:lookpath
- : determine where manual pages go
- $cat <<EOM
-
- ***************
- *** 38,44 ****
- EOM
- case "$manfmt" in
- '')
- ! dflt=`./loc . none /usr/catman/local/man1 /usr/catman/manl /usr/catman/mann /usr/catman/u_man/man1 /usr/catman/man1`
- ;;
- *) dflt="$manfmt"
- ;;
- --- 42,54 ----
- EOM
- case "$manfmt" in
- '')
- ! lookpath="$prefix/catman/man1 $prefix/man/cat1"
- ! lookpath="$lookpath $prefix/catman/u_man/man1 $prefix/catman/l_man/man1"
- ! lookpath="$lookpath $prefix/catman/cat1 /usr/catman/local/man1"
- ! lookpath="$lookpath /usr/catman/manl /usr/man/cat1"
- ! lookpath="$lookpath /usr/catman/mann /usr/catman/l_man/man1"
- ! lookpath="$lookpath /usr/catman/u_man/man1 /usr/catman/man1"
- ! dflt=`./loc . none $lookpath`
- ;;
- *) dflt="$manfmt"
- ;;
-
- Index: mcon/U/mansrc.U
- Prereq: 3.0.1.3
- *** mcon/U/mansrc.U.old Mon Aug 29 18:35:22 1994
- --- mcon/U/mansrc.U Mon Aug 29 18:35:23 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: mansrc.U,v 3.0.1.3 1994/05/06 15:11:10 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: mansrc.U,v 3.0.1.4 1994/08/29 16:30: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: mansrc.U,v $
- + ?RCS: Revision 3.0.1.4 1994/08/29 16:30:38 ram
- + ?RCS: patch32: now uses installation prefix for default setting
- + ?RCS:
- ?RCS: Revision 3.0.1.3 1994/05/06 15:11:10 ram
- ?RCS: patch23: added lint hint, assuring that nroff is used
- ?RCS:
- ***************
- *** 22,28 ****
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ?MAKE:mansrc mansrcexp manext installmansrc: afs cat nroff Loc Oldconfig \
- ! sysman package test Getfile
- ?MAKE: -pick add $@ %<
- ?S:mansrc:
- ?S: This variable contains the name of the directory in which manual
- --- 25,31 ----
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ?MAKE:mansrc mansrcexp manext installmansrc: afs cat nroff Loc Oldconfig \
- ! sysman package test Getfile prefix
- ?MAKE: -pick add $@ %<
- ?S:mansrc:
- ?S: This variable contains the name of the directory in which manual
- ***************
- *** 63,73 ****
- echo "If you don't want the manual sources installed, answer 'none'."
- case "$mansrc" in
- '')
- ! lookpath='/usr/local/man/man1 /usr/local/man/man1 /usr/man/manl'
- lookpath="$lookpath /usr/man/local/man1 /usr/man/l_man/man1"
- lookpath="$lookpath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
- lookpath="$lookpath /usr/man/man.L"
- ! mansrc=`./loc . $lookpath`
- if $test -d "$mansrc"; then
- dflt="$mansrc"
- else
- --- 66,77 ----
- echo "If you don't want the manual sources installed, answer 'none'."
- case "$mansrc" in
- '')
- ! lookpath="$prefix/man/man1 $prefix/man/u_man/man1 $prefix/man/l_man/man1"
- ! lookpath="$lookpath /usr/local/man/man1 /usr/local/man/man1 /usr/man/manl"
- lookpath="$lookpath /usr/man/local/man1 /usr/man/l_man/man1"
- lookpath="$lookpath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
- lookpath="$lookpath /usr/man/man.L"
- ! mansrc=`./loc . $prefix/man/man1 $lookpath`
- if $test -d "$mansrc"; then
- dflt="$mansrc"
- else
-
- Index: mcon/U/libpth.U
- Prereq: 3.0.1.3
- *** mcon/U/libpth.U.old Mon Aug 29 18:35:20 1994
- --- mcon/U/libpth.U Mon Aug 29 18:35:21 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: libpth.U,v 3.0.1.3 1994/06/20 07:03:54 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: libpth.U,v 3.0.1.4 1994/08/29 16:29:15 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: libpth.U,v $
- + ?RCS: Revision 3.0.1.4 1994/08/29 16:29:15 ram
- + ?RCS: patch32: added /lib/pa1.1 for HP-UX specially tuned PA-RISC libs (ADO)
- + ?RCS: patch32: fixed information message, making it clearer (ADO)
- + ?RCS:
- ?RCS: Revision 3.0.1.3 1994/06/20 07:03:54 ram
- ?RCS: patch30: added /usr/shlib to glibpth for shared-only libraries
- ?RCS:
- ***************
- *** 40,47 ****
- ?INIT:xlibpth='/usr/lib/386 /lib/386'
- ?INIT:
- ?INIT:: general looking path for locating libraries
- ! ?INIT:glibpth="/usr/lib/large /lib /usr/lib $xlibpth /lib/large"
- ! ?INIT:glibpth="$glibpth /usr/lib/small /lib/small"
- ?INIT:glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib /usr/shlib"
- ?INIT:
- ?INIT:: Private path used by Configure to find libraries. Its value
- --- 44,52 ----
- ?INIT:xlibpth='/usr/lib/386 /lib/386'
- ?INIT:
- ?INIT:: general looking path for locating libraries
- ! ?X: /lib/pa1.1 is for HP-UX specially tuned PA-RISC libraries.
- ! ?INIT:glibpth="/lib/pa1.1 /usr/lib/large /lib /usr/lib $xlibpth"
- ! ?INIT:glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
- ?INIT:glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib /usr/shlib"
- ?INIT:
- ?INIT:: Private path used by Configure to find libraries. Its value
- ***************
- *** 78,85 ****
- $cat <<'EOM'
-
- Some systems have incompatible or broken versions of libraries. Among
- ! the directories listed in the question below, please remove the one
- ! you know not to be holding relevant libraries. Say "none" for none.
-
- EOM
- case "$libpth" in
- --- 83,91 ----
- $cat <<'EOM'
-
- Some systems have incompatible or broken versions of libraries. Among
- ! the directories listed in the question below, please remove any you
- ! know not to be holding relevant libraries, and add any that are needed.
- ! Say "none" for none.
-
- EOM
- case "$libpth" in
-
- Index: mcon/U/lex.U
- Prereq: 3.0.1.1
- *** mcon/U/lex.U.old Mon Aug 29 18:35:18 1994
- --- mcon/U/lex.U Mon Aug 29 18:35:18 1994
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: lex.U,v 3.0.1.1 1994/05/06 15:06:01 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: lex.U,v 3.0.1.2 1994/08/29 16:27:09 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 11,28 ****
- ?RCS: Orginal Author: Graham Stoney <greyham@research.canon.oz.au>
- ?RCS:
- ?RCS: $Log: lex.U,v $
- ?RCS: Revision 3.0.1.1 1994/05/06 15:06:01 ram
- ?RCS: patch23: added trailing blank line for metalint
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:08:55 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lex: Guess Myread Oldconfig flex test
- ?MAKE: -pick add $@ %<
- ?S:lex:
- ?S: This variable holds the name of the lexical analyser generator we
- ?S: want to use in the Makefile. It can be lex or flex.
- ?S:.
- : determine lexical analyser generator
- case "$lex" in
- '')
- --- 11,35 ----
- ?RCS: Orginal Author: Graham Stoney <greyham@research.canon.oz.au>
- ?RCS:
- ?RCS: $Log: lex.U,v $
- + ?RCS: Revision 3.0.1.2 1994/08/29 16:27:09 ram
- + ?RCS: patch32: added lexflags variable for lex flags setting
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1994/05/06 15:06:01 ram
- ?RCS: patch23: added trailing blank line for metalint
- ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:08:55 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ! ?MAKE:lex lexflags: Guess Myread Oldconfig flex test
- ?MAKE: -pick add $@ %<
- ?S:lex:
- ?S: This variable holds the name of the lexical analyser generator we
- ?S: want to use in the Makefile. It can be lex or flex.
- ?S:.
- + ?S:lexflags:
- + ?S: This variable holds any flags that should be passed to the lexical
- + ?S: analyzer. It is up to the Makefile to use it.
- + ?S:.
- : determine lexical analyser generator
- case "$lex" in
- '')
- ***************
- *** 39,41 ****
- --- 46,62 ----
- . ./myread
- lex="$ans"
-
- + @if lexflags
- + : if using lex this'll normally be useless, but flex frequently takes args
- + echo " "
- + case "$lexflags" in
- + '') dflt='none';;
- + *) dflt="$lexflags";;
- + esac
- + rp="What flags should be given to $lex?"
- + . ./myread
- + case "$ans" in
- + none) lexflags='';;
- + *) lexflags="$ans";;
- + esac
- + @end
-
- *** End of Patch 32 ***
-
- exit 0 # Just in case...
-