< prev index next >
make/autoconf/configure
Print this page
*** 21,43 ****
# or visit www.oracle.com if you need additional information or have any
# questions.
#
if test "x$1" != xCHECKME; then
! echo "WARNING: Calling the wrapper script directly is deprecated and unsupported."
! echo "Not all features of configure will be available."
echo "Use the 'configure' script in the top-level directory instead."
! TOPDIR=$(cd $(dirname $0)/../.. > /dev/null && pwd)
! else
! # Now the next argument is the absolute top-level directory path.
! # The TOPDIR variable is passed on to configure.ac.
! TOPDIR="$2"
! # Remove these two arguments to get to the user supplied arguments
! shift
! shift
fi
if test "x$BASH" = x; then
echo "Error: This script must be run using bash." 1>&2
exit 1
fi
# Force autoconf to use bash. This also means we must disable autoconf re-exec.
--- 21,42 ----
# or visit www.oracle.com if you need additional information or have any
# questions.
#
if test "x$1" != xCHECKME; then
! echo "ERROR: Calling this wrapper script directly is not supported."
echo "Use the 'configure' script in the top-level directory instead."
! exit 1
fi
+ # The next argument is the absolute top-level directory path.
+ # The TOPDIR variable is passed on to configure.ac.
+ TOPDIR="$2"
+ # Remove these two arguments to get to the user supplied arguments
+ shift
+ shift
+
if test "x$BASH" = x; then
echo "Error: This script must be run using bash." 1>&2
exit 1
fi
# Force autoconf to use bash. This also means we must disable autoconf re-exec.
< prev index next >