I was wondering about the fact that HDS was not truly autoconfed. It all
looked a bit hairy.
Anyway, all these switches will have to be generated by autoconf. The
problem will occur if you are trying to decide whether an mmap option is
useful as opposed to existing at all. Simply looking for the existence of
vfork (in general vfork is deprecated) and mmap will be easy.
Tim
On Mon, 29 Nov 2004, McIlwrath, BK (Brian) wrote:
> HDS has always had a set of machine dependent macros defining such things as
> whether file mapping was considered "good" (ie. Better than file IO,
> alignment, type of forking etc. on that system. For instance in the old "mk"
> system Linux got
>
> CFLAGS='-O2 -fPIC -D_noalign -D_vfork -D_mmap'
>
> Has this got lost in the CVS system? I seem to be getting HDS building
> *WITHOUT* file mapping?
>
> Brian
>
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|