From b9d5e3cd6932372546db572e37700405e1fdc4c7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 18 Sep 2023 12:30:19 +0200 Subject: autoconf: Add workaround for runstatedir for old autoconf versions --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e77a599..c51d53a 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,11 @@ AC_SUBST(GLOBAL_CFLAGS) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) +# workaround for older autoconf versions +if test "x$runstatedir" == "x"; then + runstatedir=$localstatedir/run +fi + AC_CONFIG_FILES([ Makefile src/Makefile -- cgit v1.1-32-gdbae