bootstrap: Use ./pre-inst-env mescc default.
* configure.sh: When CC is mescc, M2-Planet or unset, use "./pre-inst-env mescc" as default.
This commit is contained in:
parent
99adc7efdc
commit
aac33c44b7
10
configure.sh
10
configure.sh
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
# GNU Mes --- Maxwell Equations of Software
|
||||
# Copyright © 2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
# Copyright © 2018,2019,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
#
|
||||
# This file is part of GNU Mes.
|
||||
#
|
||||
|
@ -221,7 +221,13 @@ elif $CC --version | grep tcc; then
|
|||
compiler=gcc
|
||||
else
|
||||
compiler=mescc
|
||||
AR=${AR-$PWD/scripts/mesar}
|
||||
if ! $CC --version; then
|
||||
CC="$PWD/pre-inst-env mescc"
|
||||
fi
|
||||
if test "$CC" = "M2-Planet"; then
|
||||
CC="$PWD/pre-inst-env mescc"
|
||||
fi
|
||||
AR=${AR-$PWD/pre-inst-env mesar}
|
||||
fi
|
||||
|
||||
AR=${AR-$(command -v ar)} || true
|
||||
|
|
Loading…
Reference in a new issue