On date Tuesday 2010-07-06 19:35:38 +0300, Pekka Pessi phoned this: > 2010/7/6 Stefano Sabatini <ssabat...@reilabs.com>: > > this patch fixes the configuration problem as reported here: > > http://thread.gmane.org/gmane.comp.telephony.sofia-sip.devel/3853 > > Thanks for the patch. > > >-CFLAGS="$CFLAGS -I\$(top_srcdir)/win32/pthread -DWINVER=0x0501 \ > >+CFLAGS="$CFLAGS -I${srcdir}/win32/pthread -DWINVER=0x0501 \ > > Can you actually compile sofia-sip with this? It seems to me that the > relative srcdir does dot work when make descends deeper into source > tree.
Mmh no, indeed compilation was failing with a libtool error (I had to hack the generated libtool script to fix it, as reported in another thread). So it seems that the patch defined in sac-general.m4 needs to be *absolute*. I tried to use $abs_srcdir but that is expanded to the empty string, then I hacked this: abs_srcdir=`(cd $srcdir && pwd)` CFLAGS="$CFLAGS -I${abs_srcdir}/win32/pthread -DWINVER=0x0501 \ ... and now it is working (configure and libtool and all). Now I need to understand why it isn't expanding $abs_srcdir... Regards. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel