Ticket #3932: 3932_diff.patch

File 3932_diff.patch, 689 bytes (added by Joe Ripley <vitaminjoe@…>, 17 years ago)

Adds error output for 'configure' if supplied $prefix is not the same as MythTV's $prefix

  • myththemes/configure

     
    2626
    2727# bring in mythtv config
    2828rm -f mythconfig.mak
    29 ln -s $prefix/include/mythtv/mythconfig.mak mythconfig.mak
     29if test -f $prefix/include/mythtv/mythconfig.mak; then
     30    ln -s $prefix/include/mythtv/mythconfig.mak mythconfig.mak
     31else
     32    cat << EOF
    3033
     34Cannot locate $prefix/include/mythtv/mythconfig.mak!
     35
     36Are you sure MythTV was compiled with --prefix=$prefix?
     37
     38EOF
     39exit 1
     40fi
     41
     42
    3143if test -x $QTDIR/bin/qmake; then
    3244  $QTDIR/bin/qmake QMAKE=${QTDIR}/bin/qmake myththemes.pro
    3345else