Don't crash on presence from bare room JID
While handling MUC presence, check whether it was sent from the bare
room JID before assuming a non-NULL resource name. These days, some
servers send presence from the bare room JID to handle MUC avatars.
#! /bin/sh
libtoolize --force --automake --copy
aclocal -I macros/
autoheader
autoconf
automake -a --copy