summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-11 16:24:53 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-11 19:06:53 +0100
commitdbdae9f96f11a006993b659e0e7fd5cbf467f844 (patch)
treec8614477a6d6d41c4e7dba4f521ef454da27c7a2 /configure.ac
parentedc2acb7796a9f1c6d3a6caea54bad3a17cd988b (diff)
maint: Avoid macros obsolete in Autoconf 2.70.
* configure.ac: Require Autoconf 2.69. Use 'AS_HELP_STRING' instead of 'AC_HELP_STRING'. * m4/guix.m4: Likewise. * config-daemon.ac: Use 'AC_CONFIG_HEADERS' instead of the singular variant.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 942e84164a3..a5bdf24e939 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
1# -*- Autoconf -*- 1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script. 2# Process this file with autoconf to produce a configure script.
3 3
4AC_PREREQ(2.68) 4AC_PREREQ([2.69])
5AC_INIT([GNU Guix], 5AC_INIT([GNU Guix],
6 [m4_esyscmd([build-aux/git-version-gen .tarball-version])], 6 [m4_esyscmd([build-aux/git-version-gen .tarball-version])],
7 [bug-guix@gnu.org], [guix], 7 [bug-guix@gnu.org], [guix],
@@ -29,35 +29,35 @@ GUIX_ASSERT_SUPPORTED_SYSTEM
29AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"]) 29AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"])
30 30
31AC_ARG_WITH(store-dir, 31AC_ARG_WITH(store-dir,
32 AC_HELP_STRING([--with-store-dir=PATH], 32 AS_HELP_STRING([--with-store-dir=PATH],
33 [file name of the store (defaults to /gnu/store)]), 33 [file name of the store (defaults to /gnu/store)]),
34 [storedir="$withval"], 34 [storedir="$withval"],
35 [storedir="/gnu/store"]) 35 [storedir="/gnu/store"])
36AC_SUBST(storedir) 36AC_SUBST(storedir)
37 37
38AC_ARG_WITH([bash-completion-dir], 38AC_ARG_WITH([bash-completion-dir],
39 AC_HELP_STRING([--with-bash-completion-dir=DIR], 39 AS_HELP_STRING([--with-bash-completion-dir=DIR],
40 [name of the Bash completion directory]), 40 [name of the Bash completion directory]),
41 [bashcompletiondir="$withval"], 41 [bashcompletiondir="$withval"],
42 [bashcompletiondir='${sysconfdir}/bash_completion.d']) 42 [bashcompletiondir='${sysconfdir}/bash_completion.d'])
43AC_SUBST([bashcompletiondir]) 43AC_SUBST([bashcompletiondir])
44 44
45AC_ARG_WITH([zsh-completion-dir], 45AC_ARG_WITH([zsh-completion-dir],
46 AC_HELP_STRING([--with-zsh-completion-dir=DIR], 46 AS_HELP_STRING([--with-zsh-completion-dir=DIR],
47 [name of the Zsh completion directory]), 47 [name of the Zsh completion directory]),
48 [zshcompletiondir="$withval"], 48 [zshcompletiondir="$withval"],
49 [zshcompletiondir='${datadir}/zsh/site-functions']) 49 [zshcompletiondir='${datadir}/zsh/site-functions'])
50AC_SUBST([zshcompletiondir]) 50AC_SUBST([zshcompletiondir])
51 51
52AC_ARG_WITH([fish-completion-dir], 52AC_ARG_WITH([fish-completion-dir],
53 AC_HELP_STRING([--with-fish-completion-dir=DIR], 53 AS_HELP_STRING([--with-fish-completion-dir=DIR],
54 [name of the Fish completion directory]), 54 [name of the Fish completion directory]),
55 [fishcompletiondir="$withval"], 55 [fishcompletiondir="$withval"],
56 [fishcompletiondir='${datadir}/fish/vendor_completions.d']) 56 [fishcompletiondir='${datadir}/fish/vendor_completions.d'])
57AC_SUBST([fishcompletiondir]) 57AC_SUBST([fishcompletiondir])
58 58
59AC_ARG_WITH([selinux-policy-dir], 59AC_ARG_WITH([selinux-policy-dir],
60 AC_HELP_STRING([--with-selinux-policy-dir=DIR], 60 AS_HELP_STRING([--with-selinux-policy-dir=DIR],
61 [name of the SELinux policy directory]), 61 [name of the SELinux policy directory]),
62 [selinux_policydir="$withval"], 62 [selinux_policydir="$withval"],
63 [selinux_policydir='${datadir}/selinux/']) 63 [selinux_policydir='${datadir}/selinux/'])