diff options
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c8c26bbfe3..8557c60d74 100644 --- a/configure.ac +++ b/configure.ac @@ -1527,6 +1527,13 @@ AM_COND_IF([HAVE_OPTRESET], [AC_DEFINE([HAVE_OPTRESET], [1], [Check for optreset AC_DEFINE([CONFIG_H_WAS_INCLUDED], [1], [config.h inclusion marker]) +# Autoconf 2.70 has runstatedir but is not yet released. +if test "x$runstatedir" = "x"; then + AC_ARG_VAR(runstatedir, [$localstatedir/run for autoconf < 2.70]) + runstatedir="$localstatedir/run" + AC_SUBST(runstatedir) +fi + AC_CONFIG_FILES([Makefile compatcheck/Makefile doc/Makefile |