equal
deleted
inserted
replaced
1 #!/bin/bash |
1 #!/bin/bash |
2 # |
2 # |
3 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
3 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # |
5 # |
6 # This code is free software; you can redistribute it and/or modify it |
6 # This code is free software; you can redistribute it and/or modify it |
7 # under the terms of the GNU General Public License version 2 only, as |
7 # under the terms of the GNU General Public License version 2 only, as |
8 # published by the Free Software Foundation. |
8 # published by the Free Software Foundation. |
23 # |
23 # |
24 |
24 |
25 # This is a thin wrapper which will call the real configure script, and |
25 # This is a thin wrapper which will call the real configure script, and |
26 # make sure that is called using bash. |
26 # make sure that is called using bash. |
27 |
27 |
|
28 # Get an absolute path to this script, since that determines the top-level directory. |
28 this_script_dir=`dirname $0` |
29 this_script_dir=`dirname $0` |
29 bash $this_script_dir/common/autoconf/configure "$@" |
30 this_script_dir=`cd $this_script_dir > /dev/null && pwd` |
|
31 |
|
32 # Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c. |
|
33 # This trick is needed to get autoconf to co-operate properly. |
|
34 bash -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@" |