annotate configure @ 29662:78c47f0002c3

8076060: Improve make bootstrap process Reviewed-by: erikj
author ihse
date Thu, 26 Mar 2015 16:17:30 +0100
parents 03797b5d2ba3
children 72e3ae9a25eb
rev   line source
ohair@14111 1 #!/bin/bash
ohair@14111 2 #
ihse@22722 3 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
ohair@14111 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@14111 5 #
ohair@14111 6 # This code is free software; you can redistribute it and/or modify it
ohair@14111 7 # under the terms of the GNU General Public License version 2 only, as
ohair@14111 8 # published by the Free Software Foundation.
ohair@14111 9 #
ohair@14111 10 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@14111 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@14111 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@14111 13 # version 2 for more details (a copy is included in the LICENSE file that
ohair@14111 14 # accompanied this code).
ohair@14111 15 #
ohair@14111 16 # You should have received a copy of the GNU General Public License version
ohair@14111 17 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@14111 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@14111 19 #
ohair@14111 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@14111 21 # or visit www.oracle.com if you need additional information or have any
ohair@14111 22 # questions.
ohair@14111 23 #
ohair@14111 24
ohair@14111 25 # This is a thin wrapper which will call the real configure script, and
ohair@14111 26 # make sure that is called using bash.
ohair@14111 27
ihse@22722 28 # Get an absolute path to this script, since that determines the top-level directory.
ohair@14111 29 this_script_dir=`dirname $0`
ihse@22722 30 this_script_dir=`cd $this_script_dir > /dev/null && pwd`
ihse@22722 31
ihse@22722 32 # Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
ihse@22722 33 # This trick is needed to get autoconf to co-operate properly.
ihse@29662 34 # The ${-:+-$-} construction passes on bash options.
ihse@29662 35 bash ${-:+-$-} -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"