VirtualBox

Changeset 19452 in vbox for trunk


Ignore:
Timestamp:
May 6, 2009 6:16:11 PM (16 years ago)
Author:
vboxsync
Message:

configure: fix picking up qt3 tools instead of the qt4 ones on FreeBSD. they use the suffix approach there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r19419 r19452  
    14251425          test_header "Qt4 devtools"
    14261426          for q in $QT4DIR; do
    1427             if which_wrapper "$q/bin/moc" > /dev/null; then
     1427            # first try it with a suffix, some platforms use that
     1428            if which_wrapper "$q/bin/moc-qt4" > /dev/null; then
     1429              moc_ver=`$q/bin/moc-qt4 -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
     1430              if [ $? -ne 0 ]; then
     1431                log_failure "not found"
     1432                fail
     1433              else
     1434                log_success "found version $moc_ver"
     1435                cnf_append "VBOX_PATH_QT4" "$q"
     1436                cnf_append "PATH_SDK_QT4" "$q"
     1437                cnf_append "PATH_TOOL_QT4" "$q"
     1438                cnf_append "PATH_TOOL_QT4_BIN" "$q/bin"
     1439                cnf_append "TOOL_QT4_BIN_SUFF" "-qt4"
     1440                return
     1441              fi
     1442            elif which_wrapper "$q/bin/moc" > /dev/null; then
    14281443              moc_ver=`$q/bin/moc -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
    14291444              if [ $? -ne 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.

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