Ticket #1198: mythtv_configure.diff

File mythtv_configure.diff, 913 bytes (added by mythtv@…, 15 years ago)

Patch to mythtv's configure script

  • configure

     
    889889        done
    890890    fi
    891891
    892     LIBPATHS="`echo $LIBPATHS /lib /usr/lib /usr/local/lib /usr/X11R6/lib | sed s/'\/ '/' '/g` "
     892    LIBDIR="lib"
     893    if test x`uname -m` = x"x86_64" ; then
     894       LIBDIR="lib64"
     895    fi
     896    LIBPATHS="`echo $LIBPATHS /$LIBDIR /usr/$LIBDIR /usr/local/$LIBDIR /usr/X11R6/$LIBDIR | sed s/'\/ '/' '/g` "
    893897
    894898    HAS_IT="no"
    895899    for LIBPATH in $LIBPATHS ; do
     
    904908{
    905909    HPATHS="/usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include"
    906910    INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g`
    907     HPATHS="$HPATHS `echo $INCL | sed s/lib/include/g` "
     911    HPATHS="$HPATHS `echo $INCL | sed s/lib64/lib/g | sed s/lib/include/g` "
    908912
    909913    HAS_IT="no"
    910914    for HPATH in $HPATHS ; do