The option --without-misdn shouldn't be necessary IMO, because
configure tries to detect the presence of misdn anyway, at least
that's true for the misdn.eu repo.
It seems the compile path without WITH_MISDN was not tested, the code
does not compile for me that way.
A quick patch follows up.
Kind regards,
-Alexander Huemer