[Development] Update configure script

Ahumada Sergio Sergio.Ahumada at digia.com
Mon Jun 24 07:49:42 CEST 2013


This is already fixed in the release branch https://codereview.qt-project.org/59617 and will be fixed in the stable branch as soon as possible.

Sergio Ahumada
Release Engineer - Digia, Qt
From: development-bounces+sergio.ahumada=digia.com at qt-project.org [development-bounces+sergio.ahumada=digia.com at qt-project.org] on behalf of Alexey Pavlov [alexpux at gmail.com]
Sent: Monday, June 24, 2013 07:37
To: development at qt-project.org
Subject: [Development] Update configure script


I see that top configure script are updated from Perl version to Bash version.
But it doesn't work, for example for shadows builds, because:

srcpath=`dirname $0`
configure=$srcpath/qtbase/configure  <-- This line get relative path of configure script if I build outside source tree

if [ ! -e "$configure" ]; then
    echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
    exit 1

mkdir -p qtbase || exit

echo "+ cd qtbase"
cd qtbase || exit  <-- After that line relative path is break because we change directory

echo "+ $configure $@"
"../$configure" "$@" || exit 1  <-- Proposed solution is using "../" before configure

echo "+ cd .."
cd ..

echo "+ qtbase/bin/qmake $srcpath"
exec qtbase/bin/qmake "$srcpath"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130624/c192d57f/attachment.html>

More information about the Development mailing list