From: Francis Dupont Date: Thu, 12 Jun 2025 15:53:46 +0000 (+0200) Subject: [#3924] Added a ChangeLog entry X-Git-Tag: Kea-3.0.0~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc8e421786424b6ae2b11a4111ad795b9f2c9432;p=thirdparty%2Fkea.git [#3924] Added a ChangeLog entry --- diff --git a/changelog_unreleased/3924-add-runstatedir-option b/changelog_unreleased/3924-add-runstatedir-option new file mode 100644 index 0000000000..bb0cb1836b --- /dev/null +++ b/changelog_unreleased/3924-add-runstatedir-option @@ -0,0 +1,7 @@ +[build] fdupont + Added the 'runstatedir' configuration option so by + giving '-D runstatedir=run' one can override the 'var/run' + default. This variable and its usage are described in + GNU Coding Standards or autoconf doc since version 2.70. + Note this variable is not in meson built-in options. + (Gitlab #3624) diff --git a/meson.build b/meson.build index 73b568562a..4e0ec39f9f 100644 --- a/meson.build +++ b/meson.build @@ -72,7 +72,7 @@ LOCALSTATEDIR_INSTALLED = PREFIX / LOCALSTATEDIR LIBDIR_INSTALLED = PREFIX / LIBDIR LOGDIR = LOCALSTATEDIR / 'log/kea' LOGDIR_INSTALLED = PREFIX / LOGDIR -if RUNSTATEDIR = '' +if RUNSTATEDIR == '' RUNSTATEDIR = LOCALSTATEDIR / 'run/kea' else RUNSTATEDIR = RUNSTATEDIR / 'kea'