]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[682-keactrl-unable-to-kill-kea-processes] Added expansion of runstatdir when it...
authorFrancis Dupont <fdupont@isc.org>
Thu, 20 Jun 2019 15:34:12 +0000 (17:34 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 25 Jun 2019 12:56:42 +0000 (14:56 +0200)
configure.ac

index 4ccfdb500a52a1ca89c06346834ff6069e19681a..737bc64f6d4ec8effa1423f782a329757d793116 100644 (file)
@@ -1536,6 +1536,11 @@ if test "x$runstatedir" = "x"; then
     runstatedir="$localstatedir/run"
 fi
 
+# Expand runstatedir to remove ${localstatedir} from it
+if (echo ${runstatedir} | grep -q localstatedir); then
+    runstatedir="$(eval echo ${runstatedir})"
+fi
+
 AC_CONFIG_FILES([Makefile
                  compatcheck/Makefile
                  doc/Makefile