VirtualBox

Changeset 2665 in vbox


Ignore:
Timestamp:
May 16, 2007 1:11:42 PM (18 years ago)
Author:
vboxsync
Message:

adapted QTDIR for rhel5-x86_64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2572 r2665  
    5454INCPNG=""
    5555LIBPNG="-lpng"
    56 QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3"
     56QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3"
    5757KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
    5858DEVDIR="`cd $(dirname $0); pwd`/tools"
     
    856856' > .tmp_src.cc
    857857  found_qt=0
     858  libs="lib"
     859  [ "$LIB" = "lib64" ] && libs="$libs lib64"
    858860  for q in $QTDIR; do
    859     echo "compiling the following source file:" >> $LOG
    860     cat .tmp_src.cc >> $LOG
    861     echo "using the following command line:" >> $LOG
    862     echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$LIB -lqt-mt" >> $LOG
     861    for l in $libs; do
     862      echo "compiling the following source file:" >> $LOG
     863      cat .tmp_src.cc >> $LOG
     864      echo "using the following command line:" >> $LOG
     865      echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt" >> $LOG
    863866   
    864     $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$LIB -lqt-mt >> $LOG 2>&1
    865     if (($?==0)); then
    866       if test_execute; then
    867         cnf_append "QTDIR" `cd $q ; pwd`
    868         found_qt=1
    869         break
     867      $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt >> $LOG 2>&1
     868      if (($?==0)); then
     869        if test_execute; then
     870          cnf_append "QTDIR" `cd $q ; pwd`
     871          found_qt=1
     872          break
     873        fi
    870874      fi
    871     fi
     875    done
    872876  done
    873877  if (($found_qt!=1)); then
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