Ticket #9442: configure.diff

File configure.diff, 1.0 KB (added by Lawrence Rust <lvr@…>, 15 years ago)
  • mythtv/configure

    diff --git a/mythtv/configure b/mythtv/configure
    index ae4c1ea..0275e37 100755
    a b enable $arch 
    26212621if enabled proc_opt_old; then
    26222622# first try to tune based on processor info
    26232623# Intel i7 processors (EMT64T capable)
    2624    if expr "$processor" : ".*Intel(R).*Core(TM) i7 CPU.*" > /dev/null ; then
     2624   if expr "$processor" : ".*Intel(R).*Core(TM) i[357] CPU.*" > /dev/null ; then
    26252625       cpu="core2"
    26262626# EM64T era Intel Xeon
    26272627   elif expr "$processor" : ".*Intel(R) Xeon(R) CPU.*51[1-6][08]" > /dev/null ; then
    fi 
    40204020enabled libfftw3 && check_lib2 fftw3.h fftw_init_threads -lfftw3_threads -lfftw3f -lfftw3 ||
    40214021    disable libfftw3
    40224022
     4023if enabled libxml2 ; then
     4024    if pkg-config --exists libxml-2.0 ; then
     4025        libxml2_path=`pkg-config --cflags-only-I libxml-2.0 | sed s/-I//`
     4026   else
     4027        disable libxml2
     4028   fi
     4029fi
    40234030enabled libxml2 && check_cc -I"$libxml2_path" <<EOF && add_extralibs "-lxml2" || disable libxml2
    40244031#include <libxml/xmlversion.h>
    40254032int main(void) {