aboutsummaryrefslogtreecommitdiffstats
path: root/configure
blob: dc0b78a419b2c770e03032cd2e2d75fad2e2852d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
# Copyright (C) 2020 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

srcpath=`dirname $0`
srcpath=`(cd "$srcpath"; pwd)`
configure=$srcpath/qtbase/configure
if [ ! -e "$configure" ]; then
    echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
    exit 1
fi

set -ex

mkdir -p qtbase
cd qtbase

exec "$configure" -top-level "$@"