httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: os-specific directories and -Ifoo/OSDIR in APR
Date Wed, 09 Aug 2000 15:10:41 GMT

> Since OSDIR is os390, this searches for include directories which
> don't exist.  I'm surprised that nobody hit this on AIX, BeOS, or OS/2
> (in other words, what am I missing here :) ).
> 
> It looks like we need variables such as FILE_IO_OSDIR, LOCKS_OSDIR,
> and THREADPROC_OSDIR to be set in configure.in by logic like this:

This is thoroughly ugly, and I would REALLY like to avoid it.  I don't
have the time to look into this right now, so I won't vote, but I strongly
want to find another option.

Ryan

> 
>     if test -d "file_io/$OSDIR; then
>         FILE_IO_OSDIR=$OSDIR
>     else
>         FILE_IO_OSDIR=$DEFAULT_OSDIR
>     fi
> 
>     (same for LOCKS_OSDIR and THREADPROC_OSDIR)
> 
>     AC_SUBST(FILE_IO_OSDIR)
> 
>     (same for LOCKS_OSDIR and THREADPROC_OSDIR)
> 
> It looks like the "make depend" logic in Makefile.in will also need to be 
> tweaked.
> 
> Is there a better way?
> 
> This would also avoid the hard-coded #include
> "../../file_io/unix/fileio.h" in otherchild.c (not that it is a real
> problem, but...).
> 
> Thanks,
> 
> Jeff
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message