VirtualBox

Changeset 57819 in vbox for trunk/configure


Ignore:
Timestamp:
Sep 18, 2015 9:51:10 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102768
Message:

configure: give Qt from tools priority if present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r57803 r57819  
    14901490    fi
    14911491  else
    1492     if [ $QT4DIR_PKGCONFIG -eq 1 ]; then
     1492    if ! test -d "$PWD/tools/linux.$TARGET_MACHINE/qt" &&
     1493      test $QT4DIR_PKGCONFIG -eq 1; then
    14931494      # default is to use pkg-config
    14941495      if which_wrapper pkg-config > /dev/null; then
     
    15321533}
    15331534EOF
    1534       for q in $QT4DIR "$PWD/tools/linux.$TARGET_MACHINE"/qt/v4.8.*; do
     1535      for q in "$PWD/tools/linux.$TARGET_MACHINE"/qt/v4.8.* $QT4DIR; do
    15351536        INCQT4="$q/include $q/include/QtCore"
    15361537        FLGQT4="-DQT_SHARED"
     
    15971598          fi
    15981599          test_header "Qt4 devtools"
    1599           for q in $QT4DIR "$PWD/tools/linux.$TARGET_MACHINE"/qt/v4.8.*; do
     1600          for q in "$PWD/tools/linux.$TARGET_MACHINE"/qt/v4.8.* $QT4DIR; do
    16001601            # first try it with a suffix, some platforms use that
    16011602            if which_wrapper "$q/bin/moc-qt4" > /dev/null; then
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette