httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Re: architecture-specific directories
Date Tue, 14 Nov 2000 19:39:48 GMT
There aren't many files that need to be done across platform, so why not
look for them at configure time and set the directory?

e.g.

look for fileio.h in include/arch/os
if it's there define something like FILEIOHDIR=include/arch/os
otherwise default to FILEIOHDIR=include/arch/unix

I think it's only fileio, networkio and threadproc that have this sort of
dependancy.

david
----- Original Message -----
From: "Greg Stein" <gstein@lyra.org>
To: <new-httpd@apache.org>
Sent: Tuesday, November 14, 2000 7:15 PM
Subject: Re: architecture-specific directories


> On Tue, Nov 14, 2000 at 11:09:32AM -0800, rbb@covalent.net wrote:
> > On Tue, 14 Nov 2000, Jeff Trawick wrote:
> > > The APR build is still messed up on OS/390, but in a different way
> > > today :)
> > >
> > > The new lib/apr/network_io/unix/Makefile.in has:
> > >
> > >   sockets.o: sockets.c $(OSDIR)/networkio.h \
> > >          (more stuff)
> > >
> > > For me, OSDIR is set to the os390 directory, but there is no
> > > networkio.h in that directory.  The dependency causes make to bail
> > > out.  I can make it work for now by editing network_io/unix/Makefile
> > > and misc/unix/Makefile and setting OSDIR to the unix directory, but
> > > obviously we need a better solution.
> > >
> > > more thought required...
> >
> > This is a dependancy issue.  Just change the dependancy to be
> > unix/networkio.h or run make depend in that directory.  The problem is
> > happening because the dependancies were created on a unix box, where
OSDIR
> > == DEFAULT_OSDIR.  If you re-run the dependancies on a 390 box and
commit
> > the changes this will go away and things will still work on Unix.
>
> That is a hack and we need a better solution. What you are saying is that
we
> can never generate the dependencies except from an OS/390 box. That is
> simply unacceptable for our development process.
>
> I don't know enough about the dependency (generation) to suggest a
solution,
> but I know enough to say OS/390 -only generation is not going to work for
us
> long-term.
>
> Cheers,
> -g
>
> --
> Greg Stein, http://www.lyra.org/
>


Mime
View raw message