I am doing the following steps:
git clone git://github.com/processone/ejabberd.git ejabberd
cd ejabberd
./configure --enable-mysql --enable-tools --enable-stun --enable-debug
Warning configure: WARNING: unrecognized options: --enable-stun
Does that mean that stun is not really available?
Since ejabberd 14.05,
Since ejabberd 14.05, compilation of STUN and SIP is always enabled, and there isn't an option to enable or disable their compilation.
Where did you read about the option --enable-stun?