VirtualBox

Changeset 10599 in vbox


Ignore:
Timestamp:
Jul 14, 2008 2:41:10 PM (17 years ago)
Author:
vboxsync
Message:

configure: handle the case where the Qt4 libs are installed to /usr/lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r10581 r10599  
    12741274      if which_wrapper pkg-config > /dev/null; then
    12751275        # this braindead path is necessary for mdv2008.1
    1276         qt4_ver=`PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig pkg-config QtCore --modversion 2>> $LOG`
     1276        qt4_ver=`\
     1277            PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig
     1278            pkg-config QtCore --modversion 2>> $LOG`
    12771279        if [ $? -ne 0 ]; then
    12781280          log_failure "not found"
    12791281          fail
    12801282        else
    1281           FLGQT4=`PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig pkg-config QtCore --cflags`
     1283          FLGQT4=`\
     1284              PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig \
     1285              pkg-config QtCore --cflags`
    12821286          INCQT4=`strip_I "$FLGQT4"`
    1283           LIBQT4=`PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig pkg-config QtCore --libs`
     1287          LIBQT4=`\
     1288              PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig \
     1289              PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
     1290              pkg-config QtCore --libs`
    12841291          foundqt4=1
    12851292        fi
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