dm-agent used a deprecated form of AM_INIT_AUTOMAKE.  This prevented the passing
of [foreign] to eliminate complaints of missing files.  In order to continue using
the VERSION shell variable it was necessary to use a m4 file.  Also changed
_BSD_SOURCES to _DEFAULT_SOURCES to prevent a deprecated notice. Eventually these
changes should be pushed upstream to eliminate the need for the patches.