Re: linphone: SDL and configure ?

2007-02-15 Thread Alex Dupre
Luigi Rizzo wrote:
> but if i just add -lpthread to LDFLAGS the linking (during configure)
> fails. Any ideas why ?

Probably simply a bad coded configure. Try to look at m4/video.m4.

--
Alex Dupre
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


linphone: SDL and configure ?

2007-02-15 Thread Luigi Rizzo
This is related to the linphone-base port, which has its own
problems, but still...

I am trying to enable video support for it, and the first
problem is that its configure script does not detect SDL
unless i put an additiona -lpthread in CFLAGS (because libSDL
requires some pthread functions). The following patch does the job:

 USE_AUTOTOOLS= libtool:15
 LIBTOOLFILES=  configure oRTP/configure
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -lpthread" CPPFLAGS="${CPPFLAGS}" 
LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=--disable-ipv6 --disable-gtk-doc --enable-gnome_ui=no \
--disable-ewarning --without-ilbc --disable-strict \
--with-speex=${LOCALBASE} --with-osip=${LOCALBASE} \
+   --enable-video --with-sdl=${LOCALBASE} \
--with-html-dir=${DOCSDIR}


but if i just add -lpthread to LDFLAGS the linking (during configure)
fails. Any ideas why ?

cheers
luigi
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"