Mail Archives: djgpp-workers/2001/08/02/21:44:10
At 10:02 AM 8/2/01 +0300, Eli Zaretskii wrote:
<Snipped>
>IMHO, that configure script has a bug which should be fixed. It
>simply didn't consider that setpgrp might be absent.
Well, the script in question is from the gawk-3.1.0.tar.gz released by
Arnold Robbins, and the test program is also commented as being
authored by him.
However, there *is* a workaround. The configure.in already has
specific bypasses of this test for VMS and BeOS, and it was fairly
trivial to add "MS-DOS" as another bypass case, which is the "right
thing" for DJGPP (void argument to getpgrp).
<Snipped>
>It's better to fix the script and send the patches to the package
>maintainer. setpgrp isn't a Posix function, so packages shouldn't
>assume it exists without checking.
I will do that. I also found another error in the M4 test he wrote for
the strtod function, which I will also send to him.
BTW, even though the gawk-3.1.0 package has a pre-built "makefile" and
other files for "pc" use, including DJGPP, I am trying to see how few
"special purpose" DJGPP exceptions need to be used to build the package
starting with configure and the all the latest DJGPP ports.
It's a "configure" learning exercise for me, but I'll pass on anything
else I find to Arnold as I find them.
Thanks for the advice.
Peter
- Raw text -