Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
As described in th comment of the patch the function cc_supports_flag returns the correct results if bash is used instead of ksh93 (which is called by /bin/sh). The feature tests work but not all compiler flags. But they are now recognized as non-working and they are not used.

-fstack-protector-all is a special case. gcc 4.4 in does not have compiled in the macros to handle ssp but supports the flag. The libraries -lssp_nonshared -lssp must be defined in LDFLAGS.