info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Info-cvs] CVS for MVS: Configure question


From: Eric Siegerman
Subject: Re: [Info-cvs] CVS for MVS: Configure question
Date: Wed, 20 Sep 2000 15:00:00 -0400

address@hidden wrote:
> I am working on the port of CVS to MVS.  [...]
> As I see it, we need to modify Configure.in (which generates configure) so 
> that
> configure tests to see if this is a MVS system, and to append ../mvs/libmvs.a 
> to
> @address@hidden
>
> Any suggestions on where and how to do this?  Am I even looking in the right
> place?

There are aspects of this problem that apply in general to doing
MVS ports of Autoconf'ed software.  Detecting an MVS system
certainly fits into this category, and some of the specific
portability fixes (eg. stuff that's now in libmvs.a) might as
well.

The best solutions to these more-general problems will be the
ones that fit best, not into the existing CVS framework, but into
the existing Autoconf framework.  That way, other projects will
benefit from them too (and, with luck, CVS per se won't need any
specific code to deal with them).

Thus, it'd probably be worth asking over on the autoconf mailing
list, address@hidden (the admin address is probably
address@hidden, but I can't remember for sure.)

On Wed, Sep 20, 2000 at 02:02:49PM -0400, Derek R. Price wrote:
> In general principal, look for things in this order:
>     1) A general standard already defined and being used, such as POSIX, 
> SYSV, or
> _STDC_.
>     2) A autoconf macro that already does what you want
>     3) Some test code you could run to find out how your compiler works.

If you have to do (3), better to write it as a new autoconf
macro, and submit the results to the autoconf project (again,
this is more broadly useful than hard-coding it in CVS's
configure.in).

> If this is something that is really MVS specific and should stay that way, 
> then the
> solution I found in the ssh 2 code from Communications Security might be more
> appropriate.  It just uses uname, $host and $target (there's some 
> cross-compiling
> code at the beginning of the document to set those too) to set some lib and
> compiler variables.

See the "Manual Configuration" section of the Autoconf manual
(it's listed in the top-level menu of autoconf.info).

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Nobody ever got fired for buying Microsoft -- but they could get
fired for relying on Microsoft.
        - Chris Garrigues


reply via email to

[Prev in Thread] Current Thread [Next in Thread]