> I am not too good with autoconf, so I have made all changes to the
> makefiles ( stetting the compiler to g++ and adding -DIRIX_5_3 and
> -DNDEBUG to the CFLAGS) after running configure.
Technically I'm not too good with autoconf either; see the configure.in
if you don't believe me.
I will try to fix it so that you don't have to edit the makefiles after
running the configure script. ("They have computers for things like
that!")
For adding -DNDEBUG to CFLAGS, you should be able to set that as an
environment variable before running the script, but I'll also see if I
can get it to work as a command-line option, like ./configure
--with-CFLAGS="-DNDEBUG -g" etc. (I like that better than some mysterious
environment variable because ./configure --help will tell you about it,
but I don't know yet whether that will work.) I will also try to do
something similar with the compiler test so that you can say at configure
time which compilers you want to use. (In your case, do you have both SGI
& GNU compilers, and the script is finding the wrong one, or do you only
have one, and the script isn't finding it?)
> - IRIX 5.3 does not have snprintf in the libc, so I have taken it from
> qpopper. I have included it in the patch file, but I am not sure if it
> has the right license to be include it into the fam-oss distribution.
> Perhaps it would be better to take it from the glibc source, but I found
> it easier to take it from qpopper.
OK, good. Actually, a quick look at their license prompted me to look for
glibc source, which (I think) shouldn't be any problem to use.
> - Cred.c++:
> my system has getpwuid_r, but with different arguments, and no
> getgrent_r, so I have included code to use getpwuid and getgrent. Is it
> important to have the reentrant versions?
I don't think so. (fam itself is single-threaded.)
Thanks a lot for your patch; I will include it in 2.6.3, which I will try
to put out sometime tonight, if everything goes OK.
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|