aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e4b8ce0..caaf057 100644
--- a/configure.ac
+++ b/configure.ac
@@ -489,6 +489,12 @@ AC_ARG_ENABLE(static-executables,
[static_executables=$enableval], [static_executables=no])
AM_CONDITIONAL(STATIC_EXECUTABLES, [test x$static_executables = xyes])
+AC_ARG_WITH(launcher,
+ AS_HELP_STRING([--with-launcher=LAUNCHER],
+ [Use the given launcher when executing SciTECO (e.g. wine)]),
+ [LAUNCHER=$withval], [LAUNCHER=])
+AC_SUBST(LAUNCHER)
+
AC_CONFIG_FILES([GNUmakefile:Makefile.in src/GNUmakefile:src/Makefile.in]
[src/interface-gtk/GNUmakefile:src/interface-gtk/Makefile.in]
[src/interface-curses/GNUmakefile:src/interface-curses/Makefile.in]