build: Have configure respect GUILE_LOAD_PATH for mes to find Nyacc.
[mes.git] / build-aux / config.sh.in
1 # GNU Mes --- Maxwell Equations of Software
2 # Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
3 #
4 # This file is part of GNU Mes.
5 #
6 # GNU Mes is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or (at
9 # your option) any later version.
10 #
11 # GNU Mes is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Mes.  If not, see <http://www.gnu.org/licenses/>.
18
19 config_sh=1
20 AR=${AR-"@AR@"}
21 BASH="@BASH@"
22 BLOOD_ELF="@BLOOD_ELF@"
23 CC=${CC-"@CC@"}
24 CFLAGS=${CFLAGS-"@CFLAGS@"}
25 CPPFLAGS=${CPPFLAGS-"@CPPFLAGS@"}
26 DIFF=${DIFF-@DIFF@}
27 DOT="@DOT@"
28 GIT="@GIT@"
29 GUILD="@GUILD@"
30 GUILE="@GUILE@"
31 GUILE_EFFECTIVE_VERSION="@GUILE_EFFECTIVE_VERSION@"
32 GUILE_LOAD_PATH="@GUILE_LOAD_PATH@"
33 GUIX="@GUIX@"
34 HELP2MAN="@HELP2MAN@"
35 HEX2="@HEX2@"
36 LDFLAGS=${LDFLAGS-"@LDFLAGS@"}
37 MAKEINFO="@MAKEINFO@"
38 M1="@M1@"
39 MES_FOR_BUILD="@MES_FOR_BUILD@"
40 NYACC="@NYACC@"
41 PACKAGE="@PACKAGE@"
42 PACKAGE_NAME="@PACKAGE_NAME@"
43 PACKAGE_BUGREPORT="@PACKAGE_BUGREPORT@"
44 PERL="@PERL@"
45 #SCHEME="@SCHEME@"
46 SHELL="@SHELL@"
47 TINYCC_PREFIX="@TINYCC_PREFIX@"
48 VERSION="@VERSION@"
49 V=${V-"@V@"}
50 colors=${colors-@colors@}
51
52 abs_top_builddir="@abs_top_builddir@"
53 abs_top_srcdir="@abs_top_srcdir@"
54 arch="@arch@"
55 build="@build@"
56 host="@host@"
57 numbered_arch=${numbered_arch-"@numbered_arch@"}
58
59 bootstrap=${bootstrap-@bootstrap@}
60 compiler=${compiler-@compiler@}
61 courageous=${courageous-@courageous@}
62 mes_system=@mes_system@
63 mes_cpu=@mes_cpu@
64 mes_bits=@mes_bits@
65 mes_libc=@mes_libc@
66 mes_kernel=@mes_kernel@
67
68 prefix="@prefix@"
69
70 bindir="@bindir@"
71 datadir="@datadir@"
72 pkgdatadir="@pkgdatadir@"
73 docdir="@docdir@"
74 guile_site_ccache_dir="@guile_site_ccache_dir@"
75 guile_site_dir="@guile_site_dir@"
76 includedir="@includedir@"
77 infodir="@infodir@"
78 libdir="@libdir@"
79 mandir="@mandir@"
80 moduledir="@moduledir@"
81 with_glibc_p="@with_glibc_p@"
82 program_prefix="@program_prefix@"
83 srcdest=${srcdest-"@srcdest@"}
84 srcdir=${srcdir-"@srcdir@"}
85 sysconfdir="@sysconfdir@"
86 top_builddir="@top_builddir@"
87
88 MES_PREFIX=${MES_PREFIX-$abs_top_srcdir}
89
90 export PACKAGE
91 export PACKAGE_NAME
92 export PACKAGE_BUGREPORT
93 export AR
94 export CC
95 export DIFF
96 export SHELL
97 export V
98 export colors
99 export compiler
100 export courageous
101 export srcdest
102 export srcdir
103 export GUILE_AUTO_COMPILE
104 export MES_PREFIX