scm: fix build-scm check

This commit is contained in:
Dirk-Jan C. Binnema
2026-07-23 16:30:02 +03:00
committed by Seth Ladygo
parent 391cc3c556
commit 40ee042b6d
2 changed files with 4 additions and 4 deletions

View File

@ -253,7 +253,7 @@ public:
Type::Boolean,
Flags::System,
"scm-enabled",
[]()->std::string { return mu_format("{}", BUILD_GUILE); },
[]()->std::string { return mu_format("{}", BUILD_SCM); },
"Is SCM/Guile supported?"
},
{

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2020-2025 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2020-2026 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -29,7 +29,7 @@
#include "mu-cmd.hh"
#include "mu-server.hh"
#ifdef BUILD_SCM
#if BUILD_SCM
#include "scm/mu-scm.hh"
#endif/*BUILD_SCM*/
@ -120,7 +120,7 @@ maybe_setup_readline(const Mu::Options& opts)
static std::string
maybe_listen_path(const Mu::Store& store, const Mu::Options& opts)
{
#ifdef BUILD_SCM
#if BUILD_SCM
if (!opts.scm.socket_path)
return {};
const auto socket_path{*opts.scm.socket_path};