aboutsummaryrefslogtreecommitdiffhomepage
path: root/bootstrap.am
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-24 02:13:40 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-24 02:13:40 +0200
commit8159f5930df5cc8bde25c69e064a203dcbfdd6bf (patch)
tree338d19f1a3bac6072dd0a36bccca14d877d956c2 /bootstrap.am
parent49b287fe9fefcf21061afeecb782c8e6d04b5df4 (diff)
downloadsciteco-8159f5930df5cc8bde25c69e064a203dcbfdd6bf.tar.gz
./configure --with-launcher=LAUNCHER can be used to run SciTECO with a launcher command (e.g. wine or wine64)
* This can be used for bootstrapping Windows binaries cross-compiled on FreeBSD or Linux without requiring a native build to be installed first. It will also allow running the test suite under Wine. While Linux allows registering Wine as the launcher via binfmt_misc, on FreeBSD we have no choice than to use --with-launcher. * Unfortunately, SciTECO cannot currently be properly built with versions running under Wine and the test suite also fails.
Diffstat (limited to 'bootstrap.am')
-rw-r--r--bootstrap.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap.am b/bootstrap.am
index 61fc0d3..872ed70 100644
--- a/bootstrap.am
+++ b/bootstrap.am
@@ -11,11 +11,11 @@ export SCITECOPATH=@top_srcdir@/lib
# available after the binary has been built in src/
# (ie. in SUBDIRS after src/).
if BOOTSTRAP
-SCITECO_MINIMAL = @top_builddir@/src/sciteco-minimal$(EXEEXT)
-SCITECO_FULL = @top_builddir@/src/sciteco$(EXEEXT)
+SCITECO_MINIMAL = @LAUNCHER@ @top_builddir@/src/sciteco-minimal$(EXEEXT)
+SCITECO_FULL = @LAUNCHER@ @top_builddir@/src/sciteco$(EXEEXT)
else
-SCITECO_MINIMAL = @SCITECO@
-SCITECO_FULL = @SCITECO@
+SCITECO_MINIMAL = @LAUNCHER@ @SCITECO@
+SCITECO_FULL = @LAUNCHER@ @SCITECO@
endif
# Path of installed `sciteco` binary,