[Speex-dev] [PATCH] Tweak a bit in speex.pc.in for backward compatibility.

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Fri Mar 2 01:30:39 PST 2007


Actually, I don't want to encourage people to just
#include <speex.h>
so that's why I don't put $prefix/include/speex in the include path.
Distributions are of course free to do it, but I don't want to encourage
that. Note that the last 1.0.x releases actually support the new include
location, so there shouldn't be any problem switching between 1.0.x and
1.1.x.

	Jean-Marc

Jeremy Messenger a écrit :
> Hello folks,
> 
> I had to make a bit change in speex.pc in FreeBSD ports to make it more
> backward compatibility with the other ports (applications).
> 
> Before:
> ==================================
> # pkg-config --cflags speex
> -I/usr/local/include
> ==================================
> 
> After:
> ==================================
> # pkg-config --cflags speex
> -I/usr/local/include -I/usr/local/include/speex
> ==================================
> 
> I am keeping the '-I/usr/local/include' since I don't know if anyone add
> #include <speex/speex*.h> in their source and the second one is for some
> applications that hasn't catch up with unstable version.
> 
> Patch: http://people.freebsd.org/~mezz/diff/patch-speex.pc.in
> 
> Cheers,
> Mezz
> 
> 
> --mezz7 at cox.net  -  mezz at FreeBSD.org
> FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
> http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
> http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list