summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/config.tests/unix/precomp.test
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/config.tests/unix/precomp.test')
-rwxr-xr-xtqtinterface/qt4/config.tests/unix/precomp.test22
1 files changed, 0 insertions, 22 deletions
diff --git a/tqtinterface/qt4/config.tests/unix/precomp.test b/tqtinterface/qt4/config.tests/unix/precomp.test
deleted file mode 100755
index 1a553d3..0000000
--- a/tqtinterface/qt4/config.tests/unix/precomp.test
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-PRECOMP_SUPPORT=no
-XPLATFORM=`basename $1`
-XCONFIG=$1/qmake.conf
-VERBOSE=$2
-
->precomp_header.h
-COMPILER=`grep QMAKE_CC $XCONFIG | sed "s,.*= *,,"`
-if $COMPILER -x c-header precomp_header.h >/dev/null 2>&1; then
- $COMPILER -x c++-header precomp_header.h && PRECOMP_SUPPORT=yes
-fi
-rm -f precomp_header.h precomp_header.h.gch
-
-# done
-if [ "$PRECOMP_SUPPORT" != "yes" ]; then
- [ "$VERBOSE" = "yes" ] && echo "Precompiled-headers support disabled."
- exit 0
-else
- [ "$VERBOSE" = "yes" ] && echo "Precompiled-headers support enabled."
- exit 1
-fi