bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU ed signal handling problem


From: Claudio Fontana
Subject: GNU ed signal handling problem
Date: Fri, 1 Oct 2004 04:58:47 +0200 (CEST)

I have written a temporary solution for the signal
handling problem in ed 0.2.
The current configure.in does 

AC_CHECK_FUNCS(sigsetjmp)

but the sigsetjmp function is misteriously not found,
and the HAVE_SIGSETJMP macro is not defined as a
consequence.
(Someone can explain?)

Doing

AC_CHECK_FUNCS(siglongjmp)

which looks pretty equivalent to me for the scope of
checking whether sigsetjmp/siglongjmp pair can be
used, works.

There is also a problem with LIBOBJ vs AC_LIBOBJ,
which I ignored since I have not enough autoconf
knowledge to fix it the right way.

Replacing HAVE_SIGSETJMP with HAVE_SIGLONGJMP
throughout the code solves the signal problem under
GNU/Linux for the time being. It requires autoconf to
be run prior to ./configure of course.

I attach the unified diffs. Maybe someone with more
autotools knowledge can work on these to produce
something better.

Claudio



                
___________________________________
Scopri Mister Yahoo! - il fantatorneo sul calcio di Yahoo! Sport
http://it.seriea.fantasysports.yahoo.com/

Attachment: configure.in.diff
Description: configure.in.diff

Attachment: main.c.diff
Description: main.c.diff

Attachment: signal.c.diff
Description: signal.c.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]