diff options
author | Nikias Bassen | 2023-09-18 12:30:19 +0200 |
---|---|---|
committer | Nikias Bassen | 2023-09-18 12:30:19 +0200 |
commit | b9d5e3cd6932372546db572e37700405e1fdc4c7 (patch) | |
tree | f6b527eff8979af394d2504977299536fc356fb4 | |
parent | 2707534fc99e706114bcc6f6f4cfa20cc68156af (diff) | |
download | usbmuxd-b9d5e3cd6932372546db572e37700405e1fdc4c7.tar.gz usbmuxd-b9d5e3cd6932372546db572e37700405e1fdc4c7.tar.bz2 |
autoconf: Add workaround for runstatedir for old autoconf versions
-rw-r--r-- | configure.ac | 5 |
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 |