[Ffmpeg-devel] [PATCH] configure fails if there are spaces in `pwd`
Steve Lhomme
slhomme
Fri Nov 3 23:01:01 CET 2006
Diego Biurrun wrote:
> On Fri, Nov 03, 2006 at 04:59:43PM +0100, Steve Lhomme wrote:
>> Diego Biurrun wrote:
>>> On Fri, Nov 03, 2006 at 03:38:10PM +0100, Steve Lhomme wrote:
>>>> Steve Lhomme wrote:
>>>>> So here is a patch to allow running configure (in Msys) when the current
>>>>> folder has spaces.
>>>> BTW, even after this patch, make will still fail because it doesn't
>>>> handle spaces in includes like:
>>>> include $(SRC_PATH)/common.mak
>>>>
>>>> Even some double quotes don't help... Why not using '..' ? Like 'include
>>>> ../config.mak' in the same Makefiles ???
>>> out-of-tree builds
>> Can you elaborate a little ? Why is config.mak assume to be at a set
>> position and common.mak is assumed to be at another location ?
>
> If you call configure from outside the source directory objects and
> binaries will be created in the current directory.
OK. Let's try:
./ffmpeg/configure
so I have config.h and config.mak in the current dir.
make -C ffmpeg/Makefile
It does the compilation as expected. So that means that the "include
../config.mak" used in the one in my "current dir" ? Otherwise make
would output an error that it can't find the include, I suppose. Maybe
it's smart enough to find the common.mak the same way ?
Steve
More information about the ffmpeg-devel
mailing list