2.2.5 doesn't build on systems without sig_t #765

Closed
coyhile opened this Issue Aug 20, 2014 · 0 comments

Projects

None yet

1 participant

@coyhile
coyhile commented Aug 20, 2014

On systems without the BSD sig_t typedef (most notably Solaris and any Illumos distributions), 2.2.5 fails to build because sig_t is an unknown type. Notably, configure checks for sig_t, conspicuously notes its absence and then gleefully does nothing about it. It puts a

define sig_t void (*sig_t)(int)

in confdefs.h which is utterly useless. Arguably it should instead set a #define similar to

define HAVE_SIG_T_TYPEDEF 1

and then in src/include/iibradius.h, it should do something like

if !HAVE_SIG_T_TYPEDEF

typedef void (*sig_t)(int)

endif

@alandekok alandekok closed this in bb82693 Aug 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment