Article View: gnu.utils.bug
Article #211autoconf 1.0 ideas...
From: Paul D. Smith
Date: Thu, 23 Jul 1992 12:52
Date: Thu, 23 Jul 1992 12:52
53 lines
2546 bytes
2546 bytes
A few ideas for additional doodads in autoconf (I haven't gotten
around to adding them myself yet, just having obtained autoconf about
an hour ago, but thought I'd mention them to see if anyone has any
opinions...):
1) It'd be nice if there were some configuration for building man
pages instead of just copying them, so that SysV systems that have
a /usr/catman instead of /usr/man can have man pages compiled
correctly.
I use something like this in my makefiles:
mandir = /usr/local/man
manext = 1
#makeman =
#makeman = | eqn | tbl | nroff -man | col -x
makeman = | groff -Tlatin1 -man -et | col -x
#packman = :
#packman = compress
packman = pack
install.man:
-cat foo.man $(makeman) > $(mandir)/foo.$(manext);\
$(packman) $(mandir)/foo.$(manext)
Then on systems with /usr/man you use the empty version of
$(makeman). You could figure out whether or not to pack/compress
the man page by looking to see if the normal man pages are packed
(foo.1.z) or compressed (foo.1.Z).
2) I'd like to see _sys_siglist[] and variants handled: I've seen the
following variants:
_sys_siglist[]
sys_siglist[]
const char *dg_strsignal()
Perhaps the configuration could defined a macro, say STRSIGNAL(),
which takes a signal number as an argument and returns a char*
which is a text name for the signal, or something like
"<unavailable>" if there is no siglist or the signal is not a
member of the list.
paul
-----
------------------------------------------------------------------
| Paul D. Smith | paul_smith@dg.com |
| Data General Corp. | pds@lemming.webo.dg.com |
| Network Systems Development Division | |
| Open Network Systems Development | "Pretty Damn S..." |
------------------------------------------------------------------
Technical Details
Message-ID:
<9207232052.AA19382@lemming.webo.dg.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lemming.webo.dg.com!pdsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lemming.webo.dg.com!pds From: pds@lemming.webo.dg.com (Paul D. Smith) Newsgroups: gnu.utils.bug Subject: autoconf 1.0 ideas... Message-ID: <9207232052.AA19382@lemming.webo.dg.com> Date: 23 Jul 92 12:52:46 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 53 Approved: bug-gnu-utils@prep.ai.mit.edu