mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
configure detects which set of prebuilt binaries to use
* configure.ac: Use detected endianness and word size to automatically select which set of prebuilt binaries to use. * meta/build-env.in (top_builddir): * meta/uninstalled-env.in (top_builddir): Update to use SCM_PREBUILT_BINARIES for prebuilt entry in GUILE_LOAD_COMPILED_PATH. * prebuilt/32-bit-big-endian: * prebuilt/32-bit-little-endian: * prebuilt/64-bit-little-endian: New links. * prebuilt/x86_64-pc-linux-gnu: Remove this link now that it's unneeded.
This commit is contained in:
parent
0543ec96b2
commit
c50c3a47b3
7 changed files with 19 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2003, 2006, 2008-2012, 2016 Free Software Foundation
|
||||
# Copyright (C) 2003, 2006, 2008-2012, 2016, 2017 Free Software Foundation
|
||||
#
|
||||
# This file is part of GNU Guile.
|
||||
#
|
||||
|
@ -54,7 +54,7 @@ then
|
|||
GUILE_LOAD_PATH="$GUILE_LOAD_PATH:${top_builddir}/module:${top_builddir}/guile-readline"
|
||||
fi
|
||||
export GUILE_LOAD_PATH
|
||||
GUILE_LOAD_COMPILED_PATH="${top_builddir}/module:${top_builddir}/bootstrap:${top_srcdir}/prebuilt/@host@:${top_builddir}/guile-readline"
|
||||
GUILE_LOAD_COMPILED_PATH="${top_builddir}/module:${top_builddir}/bootstrap:${top_srcdir}/prebuilt/@SCM_PREBUILT_BINARIES@:${top_builddir}/guile-readline"
|
||||
export GUILE_LOAD_COMPILED_PATH
|
||||
|
||||
# Don't look in installed dirs for guile modules
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2015 Free Software Foundation
|
||||
# Copyright (C) 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2015, 2017 Free Software Foundation
|
||||
#
|
||||
# This file is part of GUILE.
|
||||
#
|
||||
|
@ -80,7 +80,7 @@ then
|
|||
fi
|
||||
export GUILE_LOAD_PATH
|
||||
|
||||
for d in "/prebuilt/@host@" "/bootstrap" "/module" "/guile-readline"
|
||||
for d in "/prebuilt/@SCM_PREBUILT_BINARIES@" "/bootstrap" "/module" "/guile-readline"
|
||||
do
|
||||
# This hair prevents double inclusion.
|
||||
# The ":" prevents prefix aliasing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue