svn path=/trunk/; revision=19178
Other minor dependency fixes. I didn't found a way to implement the SVN version check using make, so using a new shell script instead ... svn path=/trunk/; revision=19173