[mythtv-commits] Ticket #13302: Configure check_lib updates for FFMpeg merge

MythTV noreply at mythtv.org
Thu Jul 5 18:05:43 UTC 2018

#13302: Configure check_lib updates for FFMpeg merge
     Reporter:  Gary Buhrmaster            |      Owner:  Peter Bennett
         Type:  Patch - Bug Fix            |     Status:  new
     Priority:  minor                      |  Milestone:  needs_triage
    Component:  MythTV - configure script  |    Version:  Master Head
     Severity:  medium                     |   Keywords:
Ticket locked:  0                          |
 The FFMpeg resync in 24f44de changed the function check_lib calling
 sequence (it adds a name first param).  There are a couple of check_lib
 calls there were not converted in the MythTV configure script.

 To reproduce failure for the first case (without patch):  {{{./configure
 No reproducer provided for the second case (the external mpeg2 library
 support is still a WIP I believe).

 Proposed patch:

 diff --git a/mythtv/configure b/mythtv/configure
 index 32e0098b9f..7bfac0307a 100755
 --- a/mythtv/configure
 +++ b/mythtv/configure
 @@ -5874,7 +5874,7 @@ enabled ffmpeg_pthreads && enable pthreads
  # Check for libuuid for zeromq
  enabled mythlogserver || disable libuuid
  if enabled libuuid ; then
 -  check_lib uuid/uuid.h uuid_generate -luuid || disable libuuid
 +  check_lib uuid uuid/uuid.h uuid_generate -luuid || disable libuuid
    if disabled libuuid ; then
      die "ERROR: can not find libuuid. (debian uuid-dev; RedHat libuuid-
 @@ -5987,7 +5987,7 @@ enabled opengl            && { check_lib opengl
 GL/glx.h glXGetProcAddress "-lGL
                                 die "ERROR: opengl not found."
  if enabled libmpeg2external; then
 -    check_lib mpeg2dec/mpeg2.h mpeg2_init -lmpeg2 || disable
 +    check_lib libmpeg2external mpeg2dec/mpeg2.h mpeg2_init -lmpeg2 ||
 disable libmpeg2external
      if disabled libmpeg2external; then
          die "Warning! No suitable external libmpeg2 found, use internal

Ticket URL: <https://code.mythtv.org/trac/ticket/13302>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list