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:
Jan Nieuwenhuizen 2019-09-06 23:24:23 +02:00
parent 73715dab4a
commit a56918eaa2
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
4 changed files with 22 additions and 5 deletions

View file

@ -19,9 +19,13 @@
# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
LANG=
MES_ARENA=${MES_ARENA-100000000}
MES_MAX_ARENA=${MES_MAX_ARENA-100000000}
MES_STACK=${MES_STACK-500000}
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
MES_PREFIX=${MES_PREFIX-$PWD}
. build-aux/configure-lib.sh

View file

@ -20,6 +20,13 @@
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
if $courageous; then

View file

@ -81,6 +81,8 @@ srcdir=${srcdir-"@srcdir@"}
sysconfdir="@sysconfdir@"
top_builddir="@top_builddir@"
MES_PREFIX=${MES_PREFIX-$abs_top_srcdir}
export PACKAGE
export PACKAGE_NAME
export PACKAGE_BUGREPORT
@ -95,3 +97,4 @@ export courageous
export srcdest
export srcdir
export GUILE_AUTO_COMPILE
export MES_PREFIX

View file

@ -22,10 +22,13 @@ if [ "$V" = 2 ]; then
set -x
fi
MES_ARENA=${MES_ARENA-100000000}
MES_ARENA=${MES_ARENA-20000000}
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-@prefix@}