This looks like a bug in libtool to me.  If you rebootstrap does it work right without having to manually modify the configure script? 

On Sunday, August 16, 2015, Kim Culhan <w8hdkim@gmail.com> wrote:
When 'configure' is run on FreeBSD 10.* the configuration will not build
shared libraries.

This results from a test in the configure scipt which
results in a positive identificate for freeebsd1:

freebsd1*)
      ld_shlibs=no
      ;;

Removing the references to freebsd1 causes it to configure a
shared-lib build which compiles with no problem,

Thanks to FreeSWITCH devs for FreeBSD compile with no problem.

-kim