configure
author thomaswue
Sun, 11 Dec 2016 12:05:57 -0800
changeset 42649 28238583a459
parent 29662 78c47f0002c3
child 47217 72e3ae9a25eb
permissions -rw-r--r--
8166417: Integrate Graal-core into JDK for AOT compiler Reviewed-by: iveresov, kvn, erikj, ihse, mchung Contributed-by: Doug Simon <doug.simon@oracle.com>, Lukas Stadler <lukas.stadler@oracle.com>, Tom Rodriguez <tom.rodriguez@oracle.com>, Roland Schatz <roland.schatz@oracle.com>, Josef Eisl <josef.eisl@jku.at>, Christian Wimmer <christian.wimmer@oracle.com>, Chris Thalinger <cthalinger@twitter.com>, Gilles Duboscq <gilles.m.duboscq@oracle.com>, David Leopoldseder <david.d.leopoldseder@oracle.com>, Stefan Anzinger <stefan.anzinger@oracle.com>, Christian Humer <christian.humer@oracle.com>, Michael Berg <michael.c.berg@intel.com>, Bernhard Urban <bernhard.urban@jku.at>, Miguel Garcia <miguel.m.garcia@oracle.com>, Yudi Zheng <yudi.zheng@usi.ch>, Christos Kotselidis <christos.kotselidis@oracle.com>, Andreas Woess <andreas.woess@jku.at>, Stefan Rumzucker <stefan.rumzucker@jku.at>, Aleksandar Prokopec <aleksandar.prokopec@oracle.com>, Christian Haeubl <haeubl@ssw.jku.at>, Morris Meyer <morris.meyer@oracle.com>, Matthias Grimmer <grimmer@ssw.jku.at>, Erik Eckstein <erik.eckstein@oracle.com>, Josef Haider <josef.haider@jku.at>, Manuel Rigger <rigger.manuel@gmail.com>, Michael Haupt <michael.haupt@oracle.com>, Niclas Adlertz <niclas.adlertz@oracle.com>, Jaroslav Tulach <jaroslav.tulach@oracle.com>, Chris Seaton <chris.seaton@oracle.com>, Peter Kessler <peter.b.kessler@oracle.com>, Christian Wirth <christian.wirth@oracle.com>, Benoit Daloze <benoit.d.daloze@oracle.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     1
#!/bin/bash
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     2
#
22722
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
     3
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     4
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     5
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     6
# This code is free software; you can redistribute it and/or modify it
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     7
# under the terms of the GNU General Public License version 2 only, as
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     8
# published by the Free Software Foundation.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     9
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    10
# This code is distributed in the hope that it will be useful, but WITHOUT
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    11
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    12
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    13
# version 2 for more details (a copy is included in the LICENSE file that
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    14
# accompanied this code).
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    15
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    16
# You should have received a copy of the GNU General Public License version
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    17
# 2 along with this work; if not, write to the Free Software Foundation,
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    18
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    19
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    20
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    21
# or visit www.oracle.com if you need additional information or have any
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    22
# questions.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    23
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    24
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    25
# This is a thin wrapper which will call the real configure script, and
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    26
# make sure that is called using bash.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    27
22722
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
    28
# Get an absolute path to this script, since that determines the top-level directory.
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    29
this_script_dir=`dirname $0`
22722
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
    30
this_script_dir=`cd $this_script_dir > /dev/null && pwd`
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
    31
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
    32
# Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
03797b5d2ba3 8035495: Improvements in autoconf integration
ihse
parents: 14111
diff changeset
    33
# This trick is needed to get autoconf to co-operate properly.
29662
78c47f0002c3 8076060: Improve make bootstrap process
ihse
parents: 22722
diff changeset
    34
# The ${-:+-$-} construction passes on bash options.
78c47f0002c3 8076060: Improve make bootstrap process
ihse
parents: 22722
diff changeset
    35
bash ${-:+-$-} -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"