annotate configure @ 1930:818603c7744d

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