After a few tries at something automatic, I decided to stick to the simple
approach for now to improve the regex problems on BSDI and other
platforms. One catch is that in 3.1.6, we don't have the host
"triplet," so we don't know that it's *-*-bsdi or the like.

Attached is a patch for a --with-rx flag to configure which ignores the
regex test and won't build the regex.o file. It will also switch HtRegex
to use the rxposix header, which should use rx like Joe was suggesting.

(Joe, I fixed the problem with the previous patch I sent you. This one
will definitely not build regex.o.)

For me to make this automatic, I'll need to get a regex test that reliably
fails. I can't dig up what causes the segfault with the included regex.o,
which would allow me to improve the current testprogram.

I still need to do some minor cleanups on this--it doesn't currently
confirm that a rxposix.h header exists and it doesn't handle the case
where the user tries --without-rx. But if the approach works, then these
are easy fixes.

-Geoff

Attachment: htdig-rx.diff.gz
Description: Binary data

Reply via email to