[FFmpeg-trac] #4197(build system:new): libspeex detection is broken on systems without pkg-config

FFmpeg trac at avcodec.org
Tue Dec 23 10:43:25 CET 2014

#4197: libspeex detection is broken on systems without pkg-config
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  build
              Version:  git-master   |  system
             Keywords:  libspeex     |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by Cigaes):

 Replying to [comment:14 michael]:
 > how much time is saved by removing non pkg-config cases ?

 I must admit, I got carried away. Thinking more specifically about it, the
 non pkg-config case will only take time if the library was enabled but
 pkg-config fails. It will only be a burden when auto-detection will be

 > Can you or someone else document on the wiki how to setup & use pkg
 config for the various cases that people need ?

 Sure. [http://ffmpeg.org/pipermail/ffmpeg-devel/2014-December/166877.html
 Patch on the mailing-list.]

 > One case iam aware of is cross building, or maybe configure could be
 made to just work in that case without installing wraper scripts or

 The most common cases can probably be automated, but I am not familiar
 enough with cross-compiling to know what the most common cases are. If we
 can get the linker's search path ({{{ld --verbose | grep SEARCH_DIR}}}),
 we can set {{{PKG_CONFIG_LIBDIR}}} accordingly, but I do not know if that
 default search path is usually relevant.

Ticket URL: <https://trac.ffmpeg.org/ticket/4197#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list