Michael wrote:
i am looking at the same problem compiling groff and found his report to them, in their reply they directed him to come here
I assume "their reply" means Werner Lemberg's message here: http://lists.gnu.org/archive/html/bug-groff/2014-10/msg00008.html
i'm not seeing a solution in either location, and I didn't modify my .cshrc file as Jon had, so i don't know how to get around this, I don't know what causes the hang in the first place.
It's a problem related to the groff source code, and it's not something Autoconf can fix. The attached patch might fix it. I haven't tested this patch, as I stopped using csh over 35 years ago and never want to go back. I think groff would be better off if it didn't worry about csh at all.
diff --git a/m4/groff.m4 b/m4/groff.m4 index 7d9350a..a3a58d9 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -397,7 +397,7 @@ exit 1 EOF chmod +x conftest.sh - if echo ./conftest.sh | (csh >/dev/null 2>&1) >/dev/null 2>&1; then + if echo ./conftest.sh | (csh -f >/dev/null 2>&1) >/dev/null 2>&1; then AC_MSG_RESULT([yes]) $1 else