mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Distribute prebuilt bootstraps for common hosts
* am/bootstrap.am: New file, factored out of bootstrap/Makefile.am. * bootstrap/Makefile.am: Use bootstrap.am. * prebuilt/Makefile.am: * prebuilt/i686-pc-linux-gnu/Makefile.am: * prebuilt/mips-unknown-linux-gnu/Makefile.am: * prebuilt/x86_64-unknown-linux-gnu/Makefile.am: New files. * configure.ac: Output the prebuilt/ makefiles. * Makefile.am: Descend into prebuilt/ when making dist. * meta/uninstalled-env.in: Arrange to put prebuilt/ in the beginning of the GUILE_LOAD_COMPILED_PATH. Also fix a case where bootstrap/ wasn't being correctly added to the load path.
This commit is contained in:
parent
e4be4aea34
commit
eccdeb6cc6
9 changed files with 308 additions and 143 deletions
|
@ -80,21 +80,22 @@ then
|
|||
fi
|
||||
export GUILE_LOAD_PATH
|
||||
|
||||
if test "x$GUILE_LOAD_COMPILED_PATH" = "x"
|
||||
then
|
||||
GUILE_LOAD_COMPILED_PATH="${top_builddir}/module:${top_builddir}/guile-readline"
|
||||
if test "x$GUILE_LOAD_COMPILED_PATH" = "x"; then
|
||||
GUILE_LOAD_COMPILED_PATH="${top_srcdir}/prebuilt/@host@"
|
||||
else
|
||||
for d in "/bootstrap" "/module" "/guile-readline"
|
||||
do
|
||||
# This hair prevents double inclusion.
|
||||
# The ":" prevents prefix aliasing.
|
||||
case x"$GUILE_LOAD_COMPILED_PATH" in
|
||||
x*${top_builddir}${d}:*) ;;
|
||||
x*${top_builddir}${d}) ;;
|
||||
*) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}:$GUILE_LOAD_COMPILED_PATH" ;;
|
||||
esac
|
||||
done
|
||||
GUILE_LOAD_COMPILED_PATH="${top_srcdir}/prebuilt/@host@:$GUILE_LOAD_COMPILED_PATH"
|
||||
fi
|
||||
|
||||
for d in "/bootstrap" "/module" "/guile-readline"
|
||||
do
|
||||
# This hair prevents double inclusion.
|
||||
# The ":" prevents prefix aliasing.
|
||||
case x"$GUILE_LOAD_COMPILED_PATH" in
|
||||
x*${top_builddir}${d}:*) ;;
|
||||
x*${top_builddir}${d}) ;;
|
||||
*) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}:$GUILE_LOAD_COMPILED_PATH" ;;
|
||||
esac
|
||||
done
|
||||
export GUILE_LOAD_COMPILED_PATH
|
||||
|
||||
# Don't look in installed dirs for guile modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue