VirtualBox

Changeset 11202 in vbox for trunk


Ignore:
Timestamp:
Aug 7, 2008 8:51:40 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34239
Message:

configure: fixed qt4 test if user specified his own Qt4 directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r11134 r11202  
    12971297    else
    12981298      # do it the old way (e.g. user has specified QT4DIR)
     1299      cat > .tmp_src.cc << EOF
     1300#include <cstdio>
     1301#include <QtGlobal>
     1302extern "C" int main(void)
     1303{
     1304  printf("found version %s", QT_VERSION_STR);
     1305#if QT_VERSION >= 0x040300
     1306  printf(", OK.\n");
     1307  return 0;
     1308  printf(", expected version 4.3.0 or higher\n");
     1309  return 1;
     1310#endif
     1311}
     1312EOF
    12991313      for q in $QT4DIR; do
    13001314        INCQT4="$q/include $q/include/QtCore"
     
    13681382      fail
    13691383    fi
     1384  else
     1385    log_failure "not found"
     1386    fail
    13701387  fi
    13711388}
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