Forward compatibility with automake 1.14

This update makes sure that the build still works with automake prior to
1.12 and at the same time does not give any warnings or errors with
automake 1.14
Add .dirstamp to gitignore

Seems like the subdir-objects automake option is generating .dirstamp
files which should be ignored by git.
Add forgoten source to the dist target
Update autogen.sh

Updated autogen.sh to strictly run only the autoreconf
Merge pull request #551 from grimd34th/patch-1

Update autogen.sh
Merge pull request #550 from jin-eld/automake-portability

Forward compatibility with automake 1.14
Merge remote-tracking branch 'father/master' into dev