VirtualBox

Changeset 57938 in vbox


Ignore:
Timestamp:
Sep 29, 2015 11:36:11 AM (9 years ago)
Author:
vboxsync
Message:

configure: more tweaks for detecting Qt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r57936 r57938  
    15161516          INCQT4=`strip_I "$FLGQT4"`
    15171517          LIBQT4=`PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 pkg-config QtCore --libs`
    1518           foundqt4=3 # pkg-config
    15191518          TOOLQT4=`pkg-config QtCore --variable=prefix`
    15201519          TOOLQT4MOC="`pkg-config QtCore --variable=moc_location`"
    15211520          TOOLQT4BIN="`dirname $TOOLQT4MOC`"
     1521          if test_compile "$LIBQT4 $LIBPTHREAD $I_INCQT4 $FLGQT4" qt4 qt4 nofatal; then
     1522            test_execute_path "`strip_L "$LIBQT4"`" nofatal && foundqt4=3 # pkg-config
     1523          fi
    15221524        fi
    15231525      else
     
    16061608            QT4BINSUFF=""
    16071609          fi
    1608           moc_ver=`$TOOLQT4/bin/moc-$QT4BINSUFF -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
     1610          moc_ver=`$TOOLQT4/bin/moc$QT4BINSUFF -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
    16091611          if [ $? -ne 0 ]; then
    1610             log_failure "moc-$QT4BINSUFF not working"
     1612            log_failure "moc$QT4BINSUFF not working"
    16111613            fail
    16121614          else
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