summaryrefslogtreecommitdiffstats
path: root/config/user-runstatedir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/user-runstatedir.m4')
-rw-r--r--config/user-runstatedir.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/config/user-runstatedir.m4 b/config/user-runstatedir.m4
new file mode 100644
index 000000000..ded1362c7
--- /dev/null
+++ b/config/user-runstatedir.m4
@@ -0,0 +1,6 @@
+dnl For backwards compatibility; runstatedir added in autoconf 2.70.
+AC_DEFUN([ZFS_AC_CONFIG_USER_RUNSTATEDIR], [
+ if test "x$runstatedir" = x; then
+ AC_SUBST([runstatedir], ['${localstatedir}/run'])
+ fi
+])