[FFmpeg-devel] [PATCH] Compute absolute paths in configure

Måns Rullgård mans
Fri Jul 11 13:02:36 CEST 2008

Stefano Sabatini wrote:
> Hi all,
> if you set for example a prefix like this:
> configure --prefix=../..

Then you either have a good reason to do so, or you can blame yourself.

> then you'll find the relative path for example in the pkg-config
> files, which doesn't work properly.
> This patch make configure compute the absolute path of every path set
> by configure (yes maybe it needs to be splitted also for what regards
> the PATHS_LIST part).

Are yo sure about that?  Why are you messing with cross_prefix?

> I'm not sure if this is correct though, maybe there are cases where
> there is the need to keep relative paths (but this doesn't work for
> sure with pkg-config paths, which need to be absolute), in those cases
> the user is forced to specify absolute paths.

We should use whatever the user specifies.  There is nothing more
annoying than tools trying to be too clever.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list