summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDirk Mueller <mueller@kde.org>2009-04-16 11:29:25 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-04-18 11:23:23 (GMT)
commit18911afe29858e2b89107024d4dc27f115210822 (patch)
treea471ce5ee5e805ad57bc5a08c08379ae7b531bfc /configure
parent5e3cae2754bf5f50aa10fef2c8d3bb7d33407b96 (diff)
downloadQt-18911afe29858e2b89107024d4dc27f115210822.zip
Qt-18911afe29858e2b89107024d4dc27f115210822.tar.gz
Qt-18911afe29858e2b89107024d4dc27f115210822.tar.bz2
Run syncqt when available and necessary
The nightly public snapshots contain bin/syncqt but do not contain the include/ directory. Hence configure needs to detect this case and run syncqt to create the include tree so that configure actually passes Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9f2b28d..b582d85 100755
--- a/configure
+++ b/configure
@@ -3973,7 +3973,7 @@ if [ -n "$PERL" ] && [ -x "$relpath/bin/syncqt" ]; then
[ "$CFG_DEV" = "yes" ] && SYNCQT_OPTS="$SYNCQT_OPTS -check-includes"
if [ "$OPT_SHADOW" = "yes" ]; then
"$outpath/bin/syncqt" $SYNCQT_OPTS
- elif [ "$CFG_DEV" = "yes" ]; then
+ elif [ "$CFG_DEV" = "yes" ] || [ ! -d $relpath/include ]; then
QTDIR="$relpath" perl "$outpath/bin/syncqt" $SYNCQT_OPTS
fi
fi