Richard Bos wrote:

Hello,

My first question to you: the application's makefiles use a definition called SIGFUNC which must be set manually to void or int depending on the system. Is there a similar autoconf defition (macro) that can be used to do this automatically?



Fourth occurance of the string `signal' I found in the autoconf manual:


- Macro: AC_TYPE_SIGNAL
    If `signal.h' declares `signal' as returning a pointer to a
    function returning `void', define `RETSIGTYPE' to be `void';
    otherwise, define it to be `int'.

Define signal handlers as returning type `RETSIGTYPE':

         RETSIGTYPE
         hup_handler ()
         {
         ...
         }

Derek

--
               *8^)

Email: [EMAIL PROTECTED]

Get CVS support at <http://ximbiot.com>!
--
The quickest way to double your money is to fold it in half and put it
back in your pocket.






Reply via email to