common/autoconf/configure
changeset 22725 c382bed20726
parent 22722 03797b5d2ba3
child 22727 7d0c85ad2eec
equal deleted inserted replaced
22724:072f729936a9 22725:c382bed20726
    21 # or visit www.oracle.com if you need additional information or have any
    21 # or visit www.oracle.com if you need additional information or have any
    22 # questions.
    22 # questions.
    23 #
    23 #
    24 
    24 
    25 if test "x$1" != xCHECKME; then
    25 if test "x$1" != xCHECKME; then
    26   echo "This script cannot be run directly."
    26   echo "WARNING: Calling the wrapper script directly is deprecated and unsupported."
       
    27   echo "Not all features of configure will be available."
    27   echo "Use the 'configure' script in the top-level directory instead."
    28   echo "Use the 'configure' script in the top-level directory instead."
    28   exit 1
    29   TOPDIR=$(cd $(dirname $0)/../.. > /dev/null && pwd)
    29 fi
    30 else
    30 
    31   # Now the next argument is the absolute top-level directory path.
    31 # Now the next argument is the absolute top-level directory path.
    32   # The TOPDIR variable is passed on to configure.ac.
    32 # The TOPDIR variable is passed on to configure.ac.
    33   TOPDIR="$2"
    33 TOPDIR="$2"
    34   # Remove these two arguments to get to the user supplied arguments
    34 # Remove these two arguments to get to the user supplied arguments
    35   shift
    35 shift
    36   shift
    36 shift
    37 fi
    37 
    38 
    38 conf_script_dir="$TOPDIR/common/autoconf"
    39 conf_script_dir="$TOPDIR/common/autoconf"
    39 
    40 
    40 if [ "$CUSTOM_CONFIG_DIR" = "" ]; then
    41 if [ "$CUSTOM_CONFIG_DIR" = "" ]; then
    41   conf_custom_script_dir="$TOPDIR/closed/autoconf"
    42   conf_custom_script_dir="$TOPDIR/closed/autoconf"