mescc: Environment setup.
* scripts/mescc.in (MES_ARENA, MES_MAX_ARENA, MES_STACK): Reduce defaults. * build-aux/check.sh.in (MES_ARENA): Likewise. Export them. * build-aux/bootstrap.sh.in (MES_STACK): Likewise. (MES_PREFIX): Set default.
This commit is contained in:
parent
73715dab4a
commit
a56918eaa2
|
@ -19,9 +19,13 @@
|
||||||
# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
LANG=
|
LANG=
|
||||||
MES_ARENA=${MES_ARENA-100000000}
|
MES_ARENA=${MES_ARENA-20000000}
|
||||||
MES_MAX_ARENA=${MES_MAX_ARENA-100000000}
|
export MES_ARENA
|
||||||
MES_STACK=${MES_STACK-500000}
|
MES_MAX_ARENA=${MES_MAX_ARENA-${MES_ARENA}}
|
||||||
|
export MES_MAX_ARENA
|
||||||
|
MES_STACK=${MES_STACK-5000000}
|
||||||
|
export MES_STACK
|
||||||
|
MES_PREFIX=${MES_PREFIX-$PWD}
|
||||||
|
|
||||||
. build-aux/configure-lib.sh
|
. build-aux/configure-lib.sh
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
MES_ARENA=${MES_ARENA-20000000}
|
||||||
|
export MES_ARENA
|
||||||
|
MES_MAX_ARENA=${MES_MAX_ARENA-${MES_ARENA}}
|
||||||
|
export MES_MAX_ARENA
|
||||||
|
MES_STACK=${MES_STACK-5000000}
|
||||||
|
export MES_STACK
|
||||||
|
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
|
|
||||||
if $courageous; then
|
if $courageous; then
|
||||||
|
|
|
@ -81,6 +81,8 @@ srcdir=${srcdir-"@srcdir@"}
|
||||||
sysconfdir="@sysconfdir@"
|
sysconfdir="@sysconfdir@"
|
||||||
top_builddir="@top_builddir@"
|
top_builddir="@top_builddir@"
|
||||||
|
|
||||||
|
MES_PREFIX=${MES_PREFIX-$abs_top_srcdir}
|
||||||
|
|
||||||
export PACKAGE
|
export PACKAGE
|
||||||
export PACKAGE_NAME
|
export PACKAGE_NAME
|
||||||
export PACKAGE_BUGREPORT
|
export PACKAGE_BUGREPORT
|
||||||
|
@ -95,3 +97,4 @@ export courageous
|
||||||
export srcdest
|
export srcdest
|
||||||
export srcdir
|
export srcdir
|
||||||
export GUILE_AUTO_COMPILE
|
export GUILE_AUTO_COMPILE
|
||||||
|
export MES_PREFIX
|
||||||
|
|
|
@ -22,10 +22,13 @@ if [ "$V" = 2 ]; then
|
||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MES_ARENA=${MES_ARENA-100000000}
|
MES_ARENA=${MES_ARENA-20000000}
|
||||||
export MES_ARENA
|
export MES_ARENA
|
||||||
|
|
||||||
MES_STACK=${MES_STACK-500000}
|
MES_MAX_ARENA=${MES_MAX_ARENA-${MES_ARENA}}
|
||||||
|
export MES_MAX_ARENA
|
||||||
|
|
||||||
|
MES_STACK=${MES_STACK-5000000}
|
||||||
export MES_STACK
|
export MES_STACK
|
||||||
|
|
||||||
MES_PREFIX=${MES_PREFIX-@prefix@}
|
MES_PREFIX=${MES_PREFIX-@prefix@}
|
||||||
|
|
Loading…
Reference in a new issue