Question about configure.ac in libminisip

Mikael Magnusson mikma264 at gmail.com
Tue Oct 3 12:31:47 CEST 2006


Erik Eliasson wrote:
> On Mon, 2006-10-02 at 16:46 +0200, Werner Dittmann wrote:
> 
>>All,
>>
>>in configure.ac of libminisip some lines that deal with ZRTP were
>>commented out. The comment says, it breaks trunk. I enabled the lines
>>and did a complete bootstrap/configure/compile/install run of
>>minisip - it worked perfectly here.
> 
> 
> My guess is that you still have the .m4 for libzrtpcpp in
> share/aclocal?!
> 
> When do a "fresh" compile with those lines enabled, and without zrtp
> enabled I get:
> 
>   + aclocal-1.8 -I m4 -I /home/erik/share/aclocal
>   aclocal: configure.ac: 482: macro `AM_MINISIP_CHECK_LIBMSTUN' not
>     found in library
>   aclocal: configure.ac: 488: macro `AM_MINISIP_CHECK_LIBZRTPCPP' not
>     found in library
> 
> If you have at any time compiled/installed ZRTP it will work. 
> You probably get the same if you remove the installed files.
> 
> I'm don't have enough m4 experience to tell you the fix immediately, but
> I think you can see other parts of our configure.ac files for hints.
> 

I don't think any configure.ac in minisip supports auto detections of 
macros during the bootstrap. They all require that the needed m4-files 
are available.

We could copy libzrtpcpp/m4/libzrtpcpp.m4 into libminisip/m4, and add it 
as EXTRA_DIST, but it shouldn't be added to aclocal_DATA and installed. 
That will remove the dependency of libzrtpcpp during bootstrap of 
libminisip.

Mikael


More information about the Minisip-devel mailing list