aboutsummaryrefslogtreecommitdiff
path: root/config/user-runstatedir.m4
diff options
context:
space:
mode:
authorChris Dunlap <cdunlap@llnl.gov>2014-01-07 00:15:45 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2014-03-31 23:11:13 +0000
commit07917db9908516aa3fd55d39d2c1792aca8bebcd (patch)
tree16f130e7e36fe8d7e579e60c1830aa6fadce74e5 /config/user-runstatedir.m4
parent9b101a73203faecdc6d466fe446d787bc341ee14 (diff)
downloadsrc-07917db9908516aa3fd55d39d2c1792aca8bebcd.tar.gz
src-07917db9908516aa3fd55d39d2c1792aca8bebcd.zip
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 000000000000..ded1362c7b22
--- /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
+])