Ticket #1198: mythplugins_configure.diff

File mythplugins_configure.diff, 959 bytes (added by mythtv@…, 15 years ago)

Patch to mythplugins's configure script

  • configure

     
    287287        done
    288288    fi
    289289
    290     LIBPATHS="`echo $LIBPATHS $prefix/lib /lib /usr/lib /usr/local/lib /usr/X11R6/lib | sed s/'\/ '/' '/g` "
     290    LIBDIR="lib"
     291    if test x`uname -m` = x"x86_64" ; then
     292       LIBDIR="lib64"
     293    fi
     294    LIBPATHS="`echo $LIBPATHS $prefix/$LIBDIR /$LIBDIR /usr/$LIBDIR /usr/local/$LIBDIR /usr/X11R6/$LIBDIR | sed s/'\/ '/' '/g` "
    291295
    292296    HAS_IT="no"
    293297    for LIBPATH in $LIBPATHS ; do
     
    302306{
    303307    HPATHS="$prefix/include /usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include /"
    304308    INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g`
    305     HPATHS="$HPATHS `echo $INCL | sed s/lib/include/g` "
     309    HPATHS="$HPATHS `echo $INCL | sed s/lib64/lib/g | sed s/lib/include/g` "
    306310
    307311    HAS_IT="no"
    308312    for HPATH in $HPATHS ; do