build: Support running out-of-tree.

* build-aux/pre-inst-env.in (MES_PREFIX): Use absolute name.
This commit is contained in:
Jan Nieuwenhuizen 2018-12-27 16:36:39 +01:00
parent 8e8e2fd6d3
commit d52357cb71
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -24,7 +24,7 @@ abs_top_builddir="@abs_top_builddir@"
prefix=${prefix-@prefix@}
program_prefix=${program_prefix-@program_prefix@}
MES_PREFIX=${MES_PREFIX-${srcdest}mes}
MES_PREFIX=${MES_PREFIX-${abs_top_srcdir}/mes}
export MES_PREFIX
GUILE_LOAD_COMPILED_PATH="$abs_top_builddir/scripts:$abs_top_builddir/module${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"