VirtualBox

Changeset 57930 in vbox


Ignore:
Timestamp:
Sep 28, 2015 3:14:09 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102902
Message:

configure: remove pkg-config support for Qt4. We can't use it to detect the Qt directory anyway to detect the location of the Qt4 dev tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r57923 r57930  
    153153PYTHONDIR="/usr /usr/local"
    154154QT4DIR="/usr/lib/qt4 /usr/share/qt4 /usr/lib64/qt4 /usr /usr/local"
    155 if pkg-config QtCore 2>/dev/null; then
    156  QT4DIR_PKGCONFIG=1
    157 else
    158  QT4DIR_PKGCONFIG=0
    159 fi
    160 QT4UIC3DIR="/usr/bin"
    161155KBUILDDIR="`cd \`dirname $0\`; pwd`/kBuild"
    162156DEVDIR="`cd \`dirname $0\`; pwd`/tools"
     
    15071501    fi
    15081502  else
    1509     if test $QT4DIR_PKGCONFIG -eq 1; then
    1510       # default is to use pkg-config
    1511       if which_wrapper pkg-config > /dev/null; then
    1512         # this braindead path is necessary for mdv2008.1
    1513         qt4_ver=`\
    1514             PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/qt4/lib/pkgconfig \
    1515             pkg-config QtCore --modversion 2>> $LOG`
    1516         if [ $? -ne 0 ]; then
    1517           log_failure "QtCore not found"
    1518           fail
    1519         else
    1520           FLGQT4=`\
    1521               PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/qt4/lib/pkgconfig \
    1522               pkg-config QtCore --cflags`
    1523           INCQT4=`strip_I "$FLGQT4"`
    1524           LIBQT4=`\
    1525               PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/qt4/lib/pkgconfig \
    1526               PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
    1527               pkg-config QtCore --libs`
    1528           test_compile "$LIBQT4 $LIBPTHREAD $I_INCQT4 $FLGQT4" qt4 qt4 nofatal &&
    1529             test_execute_path "`strip_L "$LIBQT4"`" nofatal && foundqt4=1
    1530         fi
    1531       else
    1532         log_failure "pkg-config not found"
    1533         fail
    1534       fi
    1535     fi
    15361503    if test -z "${foundqt4}"; then
    15371504      # do it the old way (e.g. user has specified QT4DIR)
     
    24232390    --with-qt-dir=*|--with-qt4-dir=*)
    24242391      QT4DIR=`echo $option | cut -d'=' -f2`
    2425       QT4DIR_PKGCONFIG=0
    24262392      ;;
    24272393    --with-openssl-dir=*)
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