Correction of the problem that is the compilation error when combined with the latest Pacemaker.
Correction of the problem by which booth_resource_monitord was not contained in "make rpm".
Merge cc_supports_flag implementation from pacemaker

Main change is:

Check for compiler flags with -Werror

For example for -fstack-protector, it is accepted by gcc for
all targets, however those targets where it is actually not
supported, it will print a warning like

"-fstack-protector is not supported for this platform"

which raises an error when using -Werror later. So better
not add -fstack-protector then to the CC_EXTRA_FLAGS
Some additional libraries need to be specified for linking.
Use the configured port for TCP, too.
Extended .gitignore with some more patterns.
Initialize the buffer before every use.
Parse the IP addresses directly during config parsing; don't loop over find_myself().

This saves sending/receiving the same netlink messages multiple times.
Config parsing - extract some code into a function add_node().
Make find_myself() able to find a node that's locally reachable.
A cluster node now asks on the local service IP if there's no local daemon.
Provide (and use) an inline function to get the current transport.
Rewrite ticket_broadcast().
The library doesn't take that many arguments.
We use TCP and/or UDP sockets; PF_UNIX only gets in the way.
Change the transport functions to use a booth_node as ID.

Then store the TCP filedescriptor (if used) in there, too,
and don't pass it around like a success value.
Ensure some 0-termination.
New function find_site_in_config(), and use it.
Report correct (bad) file descriptor, and mark fd as dead if it is.
Make the type what it really is.