configure.ac improved after lots of hints
AM_PROG_AR added
Merge pull request #39 from tpltnt/master

fixes for automake 1.12