Ticket #4882: configure_check_xxf86vm.patch

File configure_check_xxf86vm.patch, 853 bytes (added by Teemu Rytilahti <tpr@…>, 16 years ago)

Check for xxf86vm. Modification also to has_library to check for .so files only

  • configure

     
    17321732
    17331733    HAS_IT="no"
    17341734    for LIBPATH in $LIBPATHS ; do
    1735         if test x`ls $LIBPATH/$1* 2> /dev/null | head -n 1` != x"" ; then
     1735        if test x`ls $LIBPATH/$1*.so 2> /dev/null | head -n 1` != x"" ; then
    17361736            HAS_IT="yes"
    17371737        fi
    17381738    done
     
    26802680enabled freetype2 ||
    26812681    die "ERROR! You must have FreeType installed to compile MythTV."
    26822682
     2683enabled xv && has_library libXxf86vm ||
     2684    die "ERROR! You must have X11 XFree86 video mode extension library (Xxf86vm installed to compile MythTV with xv support."
     2685
    26832686#has_library libmysqlclient || has_library mysql/libmysqlclient ||
    26842687#    die "ERROR! You must have a MySQL library installed to run MythTV."
    26852688#