Support platforms that don't have environ in any header (e.g. FreeBSD)
Use /bin/sh rather than /bin/bash for more portability.  The scripts
aren't using anything other than POSIX shell syntax anyway.
Set the open flags correctly for the output:
- We only write so O_WRONLY is more appropriate.
- We should set O_TRUNC because otherwise you end up producing a
  corrupted file if the new output is shorter.
Add execvP to the ExportedSymbolsList so it works on FreeBSD.
Improve the handling of the linker options.
- You can use GCC on the Mac and the current detection will be wrong,
  the issue is the the Mac isn't using a GNU ld, which CMake doesn't
  have a way to detect.
- For our purposes we can do the equivalent of what we were doing with
  -exported_sybmols_list, which should avoid symbol conflicts.
add new gcc and clang version to output filtering
Fix bashism

== is a bashism and doesn't work in dash.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
simplify documentation on build process
add install target to travis script
add pandoc to travis build
Handle errors from realloc

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Use config.h to pass DEFAULT_*_FILE instead of compiler switches

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Use temporary directory for the socket

Make it possible for multiple users on the same machine to run bear at the same
time without using the -s switch.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
add static to module only methods
bump up version number to 0.5
add bear prefix to perror messages
fix temporary socket dir problem
use config.h macros
move defines into config.h.in
use pragma once instead of include guards