The sources for gmas were found only in a HPUX repository and
were setup to be compiled on HPUX. I reworked the configuration
files to make them generic again by doing the following steps:

make distclean
then edit configure.in and aclocal.m4

then

libtoolize --force
this will create config.guess config.sub ltmain.sh and libtool

automake -a--add-missing --copy --foreign --gnu
autoheader
autoconf
configure