1 --- configure.orig 2007-08-23 21:34:25.000000000 +0200
2 +++ configure 2007-08-23 21:39:54.000000000 +0200
7 -QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3 /usr/X11R6"
8 KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
9 DEVDIR="`cd $(dirname $0); pwd`/tools"
10 if [ -d "/lib/modules/`uname -r`/build" ]; then
12 echo "compiling the following source file:" >> $LOG
13 cat .tmp_src.cc >> $LOG
14 echo "using the following command line:" >> $LOG
15 - echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc \"$1\"" >> $LOG
16 - $CXX -O -Wall -o .tmp_out .tmp_src.cc $1 >> $LOG 2>&1
17 + echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib \"$1\"" >> $LOG
18 + $CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib $1 >> $LOG 2>&1
27 - [ "$LIB" = "lib64" ] && libs="$libs lib64"
30 - echo "compiling the following source file:" >> $LOG
31 - cat .tmp_src.cc >> $LOG
32 - echo "using the following command line:" >> $LOG
33 - echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt" >> $LOG
34 + echo "compiling the following source file:" >> $LOG
35 + cat .tmp_src.cc >> $LOG
36 + echo "using the following command line:" >> $LOG
37 + echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt" >> $LOG
39 - $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt >> $LOG 2>&1
40 - if [ $? -eq 0 ]; then
41 - if test_execute; then
42 - cnf_append "QTDIR" "`cd $q ; pwd`"
48 - if [ $found_qt -eq 1 ]; then
50 + $CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt >> $LOG 2>&1
51 + if [ $? -eq 0 ]; then
52 + if test_execute; then
57 if [ $found_qt -ne 1 ]; then
59 - echo " Qt not found at \"$QTDIR\" or Qt headers not found"
60 + echo " Qt not found or Qt headers not found"
61 echo " Check the file $LOG for detailed error information."
65 test_header "Qt devtools"
66 - if check_avail "$q/bin/moc" QTDIR/bin; then
67 - moc_ver=`$q/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
68 + if check_avail "/usr/bin/moc"; then
69 + moc_ver=`/usr/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
71 log_failure "not found"
74 --with-hal=LIB location of the libhal libraries [$LIBHAL]
75 --with-linux=DIR Linux kernel source directory [$LINUX]
76 --with-mkisofs=PATH location of mkisofs [$MKISOFS]
77 - --with-qt-dir=DIR directory for QT headers/libraries [$QTDIR]
78 --with-xalan=LIB location of the xalan library [$LIBXALAN]
79 --with-xerces=LIB location of the xerces library [$LIBXERCES]
86 - QTDIR=`echo $option | cut -d'=' -f2`
89 IASL=`echo $option | cut -d'=' -f2`