projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support autoconf's --runstatedir option.
[tinc]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
e4079bb
..
7287726
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-242,6
+242,11
@@
AC_ARG_ENABLE(jumbograms,
]
)
]
)
+dnl Ensure runstatedir is set if we are using a version of autoconf that does not suppport it
+if test "x$runstatedir" = "x"; then
+ AC_SUBST([runstatedir], ['${localstatedir}/run'])
+fi
+
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile distro/Makefile])
AC_OUTPUT
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile distro/Makefile])
AC_OUTPUT