build: Resurrect --with-cheating.

* build-aux/config.sh.in (SCHEME): New substitute.
* build-aux/config.make.in: Likewise.
* configure: Substitute them.
This commit is contained in:
Jan Nieuwenhuizen 2019-07-20 18:56:58 +02:00
parent 3970a8797b
commit 2e98d03699
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
4 changed files with 8 additions and 6 deletions

View file

@ -29,11 +29,8 @@ GUILE_EFFECTIVE_VERSION:=@GUILE_EFFECTIVE_VERSION@
GUIX:=@GUIX@
HELP2MAN:=@HELP2MAN@
HEX2:=@HEX2@
#HEX2FLAGS:=@HEX2FLAGS@
MAKEINFO:=@MAKEINFO@
M1:=@M1@
#M1FLAGS:=@M1FLAGS@
MES:=@MES@
MES_FOR_BUILD:=@MES_FOR_BUILD@
MES_SEED:=@MES_SEED@
NYACC:=@NYACC@
@ -41,8 +38,8 @@ PACKAGE:=@PACKAGE@
PACKAGE_NAME:=@PACKAGE_NAME@
PACKAGE_BUGREPORT:=@PACKAGE_BUGREPORT@
PERL:=@PERL@
SCHEME:=@SCHEME@
SHELL:=@SHELL@
TINYCC_PREFIX:=@TINYCC_PREFIX@
VERSION:=@VERSION@
V:=@V@
colors:=@colors@

View file

@ -30,10 +30,8 @@ GUILE_EFFECTIVE_VERSION="@GUILE_EFFECTIVE_VERSION@"
GUIX="@GUIX@"
HELP2MAN="@HELP2MAN@"
HEX2="@HEX2@"
#HEX2FLAGS="@HEX2FLAGS@"
MAKEINFO="@MAKEINFO@"
M1="@M1@"
#M1FLAGS="@M1FLAGS@"
MES_FOR_BUILD="@MES_FOR_BUILD@"
MES_SEED="@MES_SEED@"
NYACC="@NYACC@"
@ -41,6 +39,7 @@ PACKAGE="@PACKAGE@"
PACKAGE_NAME="@PACKAGE_NAME@"
PACKAGE_BUGREPORT="@PACKAGE_BUGREPORT@"
PERL="@PERL@"
#SCHEME="@SCHEME@"
SHELL="@SHELL@"
TINYCC_PREFIX="@TINYCC_PREFIX@"
VERSION="@VERSION@"

View file

@ -115,6 +115,10 @@ ifdef PERL
export PERL
endif
ifdef SCHEME
export SCHEME
endif
ifdef SHELL
export SHELL
endif

2
configure vendored
View file

@ -598,6 +598,8 @@ See \"Porting GNU Mes\" in the manual, or try --with-courage\n" mes-system)
guile))
("@MES_SEED@" . ,(or mes-seed ""))
("@PERL@" . ,(or (file-name "perl" deps) ""))
("#SCHEME=\"@SCHEME@\"" . ,(if with-cheating? (string-append "\nSCHEME=\"" guile "\"") ""))
("@SCHEME@" . ,(if with-cheating? guile ""))
("@SHELL@" . ,(or (file-name "bash" deps)
(file-name "sh" deps)
"sh"))