sigset_t dectection of mingw configure

Tatsuro MATSUOKA tmacchant at yahoo.co.jp
Mon Dec 3 03:31:54 CST 2007


Hello

In the mingw, after the ./configure
in 'config.h'

#if !defined(HAVE_SIGSET_T)
typedef int sigset_t;
#endif

is defined.

But actually, in the mingw system, 'sigset_t' is defined in  .../MinGW/include/sys/types.h.
(In Cygwin, it is defined in 'signal.h'. Perhaps in Unix it is place in 'signal.h'??)


So that

#if !defined(HAVE_SIGSET_T)
typedef int sigset_t;
#endif

will always gives the depucated definition in the 'make'.

So I alwas comment out after ./configure, I comment out like the following,

#if !defined(HAVE_SIGSET_T)
// typedef int sigset_t;
#endif

This is a trivial problem.  
However it is grateful for the mingw people to be solved.
If have enough knowledge of autoconf, I can make a patch.
However, i do not have a such knowledge. 

Please help me.

Thanks in advance.

Regards

Tatsuro
  


--------------------------------------
New Design Yahoo! JAPAN  2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/


More information about the Octave-maintainers mailing list