ensure work_queue_mutex is locked when signaling files_ready.

Fixes #182
Update makefile for win32
Merge pull request #221 from mattn/win32make

Update makefile for win32
Fix possible memory leaks while using 'realloc'
Add cleanup()'s before process termination
install ag.bashcomp.sh
add automake to BuildRequires
Merge pull request #234 from fujiwara/rpm_spec

fix rpm spec
Merge pull request #230 from rev112/main_cleanup_options

Add cleanup()'s before process termination
Merge pull request #229 from rev112/realloc_leak

Fix possible memory leaks while using 'realloc'
Merge pull request #224 from jmesmon/fix_182

ensure work_queue_mutex is locked when signaling files_ready.
Tag new release.
Merge branch 'master' of https://github.com/ggreer/the_silver_searcher
Merge branch 'master' of github.com:mcphail/the_silver_searcher