Changeset 57930 in vbox
- Timestamp:
- Sep 28, 2015 3:14:09 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102902
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r57923 r57930 153 153 PYTHONDIR="/usr /usr/local" 154 154 QT4DIR="/usr/lib/qt4 /usr/share/qt4 /usr/lib64/qt4 /usr /usr/local" 155 if pkg-config QtCore 2>/dev/null; then156 QT4DIR_PKGCONFIG=1157 else158 QT4DIR_PKGCONFIG=0159 fi160 QT4UIC3DIR="/usr/bin"161 155 KBUILDDIR="`cd \`dirname $0\`; pwd`/kBuild" 162 156 DEVDIR="`cd \`dirname $0\`; pwd`/tools" … … 1507 1501 fi 1508 1502 else 1509 if test $QT4DIR_PKGCONFIG -eq 1; then1510 # default is to use pkg-config1511 if which_wrapper pkg-config > /dev/null; then1512 # this braindead path is necessary for mdv2008.11513 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 ]; then1517 log_failure "QtCore not found"1518 fail1519 else1520 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=11530 fi1531 else1532 log_failure "pkg-config not found"1533 fail1534 fi1535 fi1536 1503 if test -z "${foundqt4}"; then 1537 1504 # do it the old way (e.g. user has specified QT4DIR) … … 2423 2390 --with-qt-dir=*|--with-qt4-dir=*) 2424 2391 QT4DIR=`echo $option | cut -d'=' -f2` 2425 QT4DIR_PKGCONFIG=02426 2392 ;; 2427 2393 --with-openssl-dir=*)
Note:
See TracChangeset
for help on using the changeset viewer.