summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-09-18 12:30:19 +0200
committerGravatar Nikias Bassen2023-09-18 12:30:19 +0200
commitb9d5e3cd6932372546db572e37700405e1fdc4c7 (patch)
treef6b527eff8979af394d2504977299536fc356fb4
parent2707534fc99e706114bcc6f6f4cfa20cc68156af (diff)
downloadusbmuxd-b9d5e3cd6932372546db572e37700405e1fdc4c7.tar.gz
usbmuxd-b9d5e3cd6932372546db572e37700405e1fdc4c7.tar.bz2
autoconf: Add workaround for runstatedir for old autoconf versions
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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