Kaydet (Commit) 15a9ef21 authored tarafından Michael Stahl's avatar Michael Stahl

configure: remove --with-solver-and-workdir-root

This was just a crude hack, obsoleted by working out-of-tree builds.

Change-Id: I2551df8dae9a7e05edc29de911ba9f9d70466148
üst 640d0f0b
...@@ -1327,11 +1327,6 @@ AC_ARG_WITH(external-tar, ...@@ -1327,11 +1327,6 @@ AC_ARG_WITH(external-tar,
TARFILE_LOCATION=$withval , TARFILE_LOCATION=$withval ,
) )
AC_ARG_WITH(solver-and-workdir-root,
AS_HELP_STRING([--with-solver-and-workdir-root=<PATH>],
[Specify path that contains SOLARVER and WORKDIR directories manually.])
)
AC_ARG_WITH(referenced-git, AC_ARG_WITH(referenced-git,
AS_HELP_STRING([--with-referenced-git=<OTHER_CHECKOUT_DIR>], AS_HELP_STRING([--with-referenced-git=<OTHER_CHECKOUT_DIR>],
[Specify another checkout directory to reference. This makes use of [Specify another checkout directory to reference. This makes use of
...@@ -2339,20 +2334,7 @@ else ...@@ -2339,20 +2334,7 @@ else
fi fi
AC_SUBST(DISABLE_DYNLOADING) AC_SUBST(DISABLE_DYNLOADING)
if test -n "${with_solver_and_workdir_root}"; then SOLARVER="${BUILDDIR}/solver"
if ! test -d ${with_solver_and_workdir_root}; then
AC_MSG_ERROR([directory does not exist: ${with_solver_and_workdir_root}])
fi
PathFormat "${with_solver_and_workdir_root}"
# IsValidFilePath in /sal/osl/w32/file_url.cxx rejects "X:\\" breaking idlc
if echo ${formatted_path} | $GREP -q '/$'; then
SOLARVER=${formatted_path}solver
else
SOLARVER=${formatted_path}/solver
fi
else
SOLARVER=${BUILDDIR}/solver
fi
# remenber SYSBASE value # remenber SYSBASE value
AC_SUBST(SYSBASE) AC_SUBST(SYSBASE)
...@@ -4387,20 +4369,8 @@ if test "$enable_headless" = "yes"; then ...@@ -4387,20 +4369,8 @@ if test "$enable_headless" = "yes"; then
fi fi
INPATH="${OUTPATH}${PROEXT}" INPATH="${OUTPATH}${PROEXT}"
if test -n "${with_solver_and_workdir_root}"; then WORKDIR="${BUILDDIR}/workdir/${INPATH}"
PathFormat "${with_solver_and_workdir_root}" INSTDIR="${BUILDDIR}/instdir/${INPATH}"
# IsValidFilePath in /sal/osl/w32/file_url.cxx rejects "X:\\" breaking idlc
if echo ${formatted_path} | $GREP -q '/$'; then
WORKDIR=${formatted_path}workdir/${INPATH}
INSTDIR=${formatted_path}instdir/${INPATH}
else
WORKDIR=${formatted_path}/workdir/${INPATH}
INSTDIR=${formatted_path}/instdir/${INPATH}
fi
else
WORKDIR=${BUILDDIR}/workdir/${INPATH}
INSTDIR=${BUILDDIR}/instdir/${INPATH}
fi
INSTROOT="${INSTDIR}${INSTROOTSUFFIX}" INSTROOT="${INSTDIR}${INSTROOTSUFFIX}"
OUTDIR="${SOLARVER}/${INPATH}" OUTDIR="${SOLARVER}/${INPATH}"
SOLARINC="-I. -I$SRC_ROOT/include $SOLARINC" SOLARINC="-I. -I$SRC_ROOT/include $SOLARINC"
...@@ -4507,7 +4477,6 @@ if test "$cross_compiling" = "yes"; then ...@@ -4507,7 +4477,6 @@ if test "$cross_compiling" = "yes"; then
test -n "$with_ant_home" && sub_conf_opts="$sub_conf_opts --with-ant-home=$with_ant_home" test -n "$with_ant_home" && sub_conf_opts="$sub_conf_opts --with-ant-home=$with_ant_home"
test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit" test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit"
test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION" test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION"
test -n "${with_solver_and_workdir_root}" && sub_conf_opts="$sub_conf_opts --with-solver-and-workdir-root=${with_solver_and_workdir_root}"
test -n "$with_system_boost_for_build" && sub_conf_opts="$sub_conf_opts --with-system-boost" test -n "$with_system_boost_for_build" && sub_conf_opts="$sub_conf_opts --with-system-boost"
test -n "$with_system_cppunit_for_build" && sub_conf_opts="$sub_conf_opts --with-system-cppunit" test -n "$with_system_cppunit_for_build" && sub_conf_opts="$sub_conf_opts --with-system-cppunit"
test -n "$with_system_expat_for_build" && sub_conf_opts="$sub_conf_opts --with-system-expat" test -n "$with_system_expat_for_build" && sub_conf_opts="$sub_conf_opts --with-system-expat"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment