1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

out-of-tree build fix

* test-suite/standalone/Makefile.am (GUILE_AUTO_COMPILE): Add srcdir to
  the environment.
* test-suite/standalone/test-import-order: Look for the modules in the
  srcdir.  Fixes out-of-tree builds.
This commit is contained in:
Andy Wingo 2011-05-25 10:27:46 +02:00
parent ea742d29c5
commit 7ad0737de9
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@ BUILT_SOURCES =
EXTRA_DIST = EXTRA_DIST =
TESTS_ENVIRONMENT = \ TESTS_ENVIRONMENT = \
srcdir="$(srcdir)" \
builddir="$(builddir)" \ builddir="$(builddir)" \
GUILE_AUTO_COMPILE=0 "${top_builddir}/meta/uninstalled-env" GUILE_AUTO_COMPILE=0 "${top_builddir}/meta/uninstalled-env"

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
exec guile -q -L "$builddir" -s "$0" "$@" exec guile -q -L "$srcdir" -s "$0" "$@"
!# !#
(define-module (base) (define-module (base)