Ticket #2128: configure-qmake.diff

File configure-qmake.diff, 1.1 KB (added by anonymous, 18 years ago)
  • configure

     
    127127  echo "  --enable-opengl-vsync    enable OpenGL vsync method"
    128128  echo "  --enable-directfb        enable DirectFB  (Linux non-X11 video)"
    129129  echo "  --enable-directx         enable DirectX   (Microsoft video)"
     130  echo "  --with-qmake=PATH        use qmake in PATH"
    130131  #echo ""
    131132  #echo "NOTE: The object files are build at the place where configure is launched"
    132133  exit 1
     
    317318    shift
    318319    echo "$@" | sed "s%\\<$pattern\\>%%g"
    319320}
     321qmake="qmake"
    320322
    321323x86_mmx_cpus="pentium-mmx,pentium2,pentium3,pentium3m,pentium-m"
    322324x86_mmx_cpus="$x86_mmx_cpus,pentium4,pentium4m,prescott"
     
    12111213          fi
    12121214      done
    12131215  ;;
     1216  --with-qmake=*) qmake=$optval
     1217  ;;
    12141218  --help) show_help
    12151219  ;;
    12161220  *)
     
    34733477
    34743478rm -f $TMPO $TMPC $TMPE $TMPS $TMPH
    34753479
    3476 qmake mythtv.pro
     3480$qmake mythtv.pro
     3481find `pwd` -name '*.pro' |  while read f; do (cd "`dirname $f`" && $qmake $(basename `dirname $f`).pro);  done;