Ross Richardson wrote:
- in str.c, use of STR causes errors because /usr/include/sys/
stropts.h contains: #define STR ('S'<<8) The this just requires replacing "STR" with something safer, such as "XSTR".
Thank you. I'll publish the changes with stunnel 4.37.
- things fail horribly because SIZEOF_UNSIGNED_CHAR and friends get
defined to 0. AFAICT, this happens because configure erroneously decides that cc suports -pendantic (which it appears to, but which causes linking to fail with the symbol "mcount" undefined). The following patch works around this:
configure script is automatically generated from configure.ac. I have updated this file to test allowed compiler options with AC_LINK_IFELSE instead of AC_COMPILE_IFELSE. I'll publish the changes with stunnel 4.37.
Mike