Hello app tested with yocto. Check the complete tutorial in this repository.
Run the following command to compile it in stand-alone mode (i.e. wo Yocto):
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure