1 # configmake.m4 serial 4
2 dnl Copyright (C) 2010-2020 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
11 # Guarantee all of the standard directory variables, even when used with
12 # autoconf 2.64 (runstatedir wasn't supported before 2.70) or
13 # automake 1.11 (runstatedir isn't supported even in 1.16.1).
14 AC_DEFUN([gl_CONFIGMAKE_PREP],
16 if test "x$lispdir" = x; then
17 AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
19 dnl Added in autoconf 2.70.
20 if test "x$runstatedir" = x; then
21 AC_SUBST([runstatedir], ['${localstatedir}/run'])
24 dnl Automake 1.11 provides pkglibexecdir merely without AC_SUBST.
25 dnl This blind use of AC_SUBST is safe.
26 AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])