annotate m4/configmake.m4 @ 40186:8964917f9574

autoupdate
author Karl Berry <karl@freefriends.org>
date Mon, 18 Feb 2019 08:02:49 -0800
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39943
b1ba0c77fa16 Assume Automake >= 1.11.
Bruno Haible <bruno@clisp.org>
parents: 19484
diff changeset
1 # configmake.m4 serial 3
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 39944
diff changeset
2 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc.
13932
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
6
39944
eb64273b66c2 Assume Autoconf >= 2.63.
Bruno Haible <bruno@clisp.org>
parents: 39943
diff changeset
7 AC_PREREQ([2.60])
eb64273b66c2 Assume Autoconf >= 2.63.
Bruno Haible <bruno@clisp.org>
parents: 39943
diff changeset
8
13932
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
9 # gl_CONFIGMAKE_PREP
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
10 # ------------------
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
11 # Guarantee all of the standard directory variables, even when used with
39944
eb64273b66c2 Assume Autoconf >= 2.63.
Bruno Haible <bruno@clisp.org>
parents: 39943
diff changeset
12 # autoconf 2.63 (runstatedir wasn't supported before 2.70) or
eb64273b66c2 Assume Autoconf >= 2.63.
Bruno Haible <bruno@clisp.org>
parents: 39943
diff changeset
13 # automake 1.11 (runstatedir isn't supported even in 1.16.1).
13932
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
14 AC_DEFUN([gl_CONFIGMAKE_PREP],
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
15 [
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
16 if test "x$lispdir" = x; then
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
17 AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
18 fi
39944
eb64273b66c2 Assume Autoconf >= 2.63.
Bruno Haible <bruno@clisp.org>
parents: 39943
diff changeset
19 dnl Added in autoconf 2.70.
17492
bac0ab510bc8 configmake: support new --runstatedir option
Eric Blake <eblake@redhat.com>
parents: 17249
diff changeset
20 if test "x$runstatedir" = x; then
bac0ab510bc8 configmake: support new --runstatedir option
Eric Blake <eblake@redhat.com>
parents: 17249
diff changeset
21 AC_SUBST([runstatedir], ['${localstatedir}/run'])
bac0ab510bc8 configmake: support new --runstatedir option
Eric Blake <eblake@redhat.com>
parents: 17249
diff changeset
22 fi
13932
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
23
39943
b1ba0c77fa16 Assume Automake >= 1.11.
Bruno Haible <bruno@clisp.org>
parents: 19484
diff changeset
24 dnl Automake 1.11 provides pkglibexecdir merely without AC_SUBST.
b1ba0c77fa16 Assume Automake >= 1.11.
Bruno Haible <bruno@clisp.org>
parents: 19484
diff changeset
25 dnl This blind use of AC_SUBST is safe.
13932
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
26 AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
435d0aba5282 configmake: provide fallbacks for oldest supported autotools
Eric Blake <eblake@redhat.com>
parents:
diff changeset
27 ])