View | Details | Raw Unified
Collapse All | Expand All

(-) configure.old (-1 / +1 lines)
 Lines 55-61    Link Here 
echo "#include <stdio.h>" >> qttest.cpp
echo "#include <stdio.h>" >> qttest.cpp
echo "int main(int argc, char **argv) { fprintf( stderr, \"Found QT Version %s: \", QT_VERSION_STR );" >> qttest.cpp
echo "int main(int argc, char **argv) { fprintf( stderr, \"Found QT Version %s: \", QT_VERSION_STR );" >> qttest.cpp
echo "if (QT_VERSION >= 300) return 0; else return -1; }" >> qttest.cpp
echo "if (QT_VERSION >= 300) return 0; else return -1; }" >> qttest.cpp
gcc -I$QTDIR/include qttest.cpp
g++ -I$QTDIR/include qttest.cpp
if ./a.out
if ./a.out
then
then
echo "OK"
echo "OK"