VirtualBox

Changeset 11202

Show
Ignore:
Timestamp:
08/07/08 10:51:40 (4 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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} 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy