[Ffmpeg-devel] Re: [PATH] enable-libgsm not working

Gary Corcoran gcorcoran
Thu Jun 23 18:48:03 CEST 2005


M?ns Rullg?rd wrote:
> Alban Bedel said:
> 
>>Otherwise I checked some other prog, they use gsm.h, and the rpm install it in
>>/usr/include. imho it is anyway no good idea to put gsm/gsm.h in the include
>>bcs it force everybody to have such a directory.
> 
> 
> There's no harm to adding a non-existent directory with a -I flag.  The only
> effect will be that the compilation will be ever so slightly slower.

That's the point a previous poster was trying to make.  But by hardcoding
#include "gsm/gsm.h" *in the file*, you're forcing an error if you don't
have a "gsm" subdirectory.  Better to just #include "gsm.h" and have -I's
to find the subdirectory...

Gary





More information about the ffmpeg-devel mailing list