aboutsummaryrefslogtreecommitdiffstats
path: root/mps/configure.ac
diff options
context:
space:
mode:
authorHelmut Eller2025-09-22 16:56:02 +0200
committerHelmut Eller2025-09-22 16:56:02 +0200
commit1507199e3573d7786991d181d06885d82999c3b2 (patch)
tree04732e313a5ff1eef5cc0159bc483225158fe7ed /mps/configure.ac
parenta97f6d888fcb34b416a64724e67b7d7e77df6f68 (diff)
downloademacs-scratch/mps-import2.tar.gz
emacs-scratch/mps-import2.zip
Support out-of-tree buildsscratch/mps-import2
* mps/example/scheme/Makefile.in (VPATH): Set VPATH. * mps/Makefile.in (COMMON_OPTS): New. Pass SRCDIR down to sub-make. * mps/code/comm.gmk (VPATH): Set VPATH from SRCDIR parameter * mps/configure.ac (AC_CONFIG_COMMANDS): Copy .gmk makefiles and some other things to the biuld directory.
Diffstat (limited to 'mps/configure.ac')
-rw-r--r--mps/configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/mps/configure.ac b/mps/configure.ac
index 0cbf640fdcb..18c8a1494c0 100644
--- a/mps/configure.ac
+++ b/mps/configure.ac
@@ -193,6 +193,20 @@ AC_SUBST(LDFLAGS)
193AC_SUBST(CPPFLAGS) 193AC_SUBST(CPPFLAGS)
194AC_CONFIG_FILES(Makefile example/scheme/Makefile) 194AC_CONFIG_FILES(Makefile example/scheme/Makefile)
195 195
196AC_CONFIG_COMMANDS(
197 [gmk],
198 [case $srcdir in
199 .) # in-place build
200 ;;
201 *) echo "copying .gmk files"
202 (cd $srcdir &&
203 cp --parents code/*.gmk \
204 tool/testcases.txt tool/testrun.sh \
205 example/scheme/*.scm \
206 $ac_pwd)
207 ;;
208 esac])
209
196AC_OUTPUT 210AC_OUTPUT
197 211
198echo 1>&2 "CONFIGURE/MAKE IS NOT THE BEST WAY TO BUILD THE MPS 212echo 1>&2 "CONFIGURE/MAKE IS NOT THE BEST WAY TO BUILD THE MPS