[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: maint: Avoid macros obsolete in Autoconf 2.70.
From: |
guix-commits |
Subject: |
01/09: maint: Avoid macros obsolete in Autoconf 2.70. |
Date: |
Fri, 11 Dec 2020 13:07:31 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit dbdae9f96f11a006993b659e0e7fd5cbf467f844
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Dec 11 16:24:53 2020 +0100
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.
---
config-daemon.ac | 2 +-
configure.ac | 12 ++++++------
m4/guix.m4 | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/config-daemon.ac b/config-daemon.ac
index 50ead35..19958d3 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -13,7 +13,7 @@ if test "x$guix_build_daemon" = "xyes"; then
GUIX_ASSERT_CXX11
AC_PROG_RANLIB
- AC_CONFIG_HEADER([nix/config.h])
+ AC_CONFIG_HEADERS([nix/config.h])
dnl Use 64-bit file system calls so that we can support files > 2 GiB.
AC_SYS_LARGEFILE
diff --git a/configure.ac b/configure.ac
index 942e841..a5bdf24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.68)
+AC_PREREQ([2.69])
AC_INIT([GNU Guix],
[m4_esyscmd([build-aux/git-version-gen .tarball-version])],
[bug-guix@gnu.org], [guix],
@@ -29,35 +29,35 @@ GUIX_ASSERT_SUPPORTED_SYSTEM
AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"])
AC_ARG_WITH(store-dir,
- AC_HELP_STRING([--with-store-dir=PATH],
+ AS_HELP_STRING([--with-store-dir=PATH],
[file name of the store (defaults to /gnu/store)]),
[storedir="$withval"],
[storedir="/gnu/store"])
AC_SUBST(storedir)
AC_ARG_WITH([bash-completion-dir],
- AC_HELP_STRING([--with-bash-completion-dir=DIR],
+ AS_HELP_STRING([--with-bash-completion-dir=DIR],
[name of the Bash completion directory]),
[bashcompletiondir="$withval"],
[bashcompletiondir='${sysconfdir}/bash_completion.d'])
AC_SUBST([bashcompletiondir])
AC_ARG_WITH([zsh-completion-dir],
- AC_HELP_STRING([--with-zsh-completion-dir=DIR],
+ AS_HELP_STRING([--with-zsh-completion-dir=DIR],
[name of the Zsh completion directory]),
[zshcompletiondir="$withval"],
[zshcompletiondir='${datadir}/zsh/site-functions'])
AC_SUBST([zshcompletiondir])
AC_ARG_WITH([fish-completion-dir],
- AC_HELP_STRING([--with-fish-completion-dir=DIR],
+ AS_HELP_STRING([--with-fish-completion-dir=DIR],
[name of the Fish completion directory]),
[fishcompletiondir="$withval"],
[fishcompletiondir='${datadir}/fish/vendor_completions.d'])
AC_SUBST([fishcompletiondir])
AC_ARG_WITH([selinux-policy-dir],
- AC_HELP_STRING([--with-selinux-policy-dir=DIR],
+ AS_HELP_STRING([--with-selinux-policy-dir=DIR],
[name of the SELinux policy directory]),
[selinux_policydir="$withval"],
[selinux_policydir='${datadir}/selinux/'])
diff --git a/m4/guix.m4 b/m4/guix.m4
index 4fa7cdf..f8eb5aa 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -26,7 +26,7 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
AC_REQUIRE([AC_CANONICAL_HOST])
AC_PATH_PROG([SED], [sed])
- AC_ARG_WITH(system, AC_HELP_STRING([--with-system=SYSTEM],
+ AC_ARG_WITH(system, AS_HELP_STRING([--with-system=SYSTEM],
[Platform identifier (e.g., `i686-linux').]),
[guix_system="$withval"],
[case "$host_cpu" in
@@ -78,7 +78,7 @@ dnl Assert that this is a system to which the distro is
ported.
AC_DEFUN([GUIX_ASSERT_SUPPORTED_SYSTEM], [
AC_REQUIRE([GUIX_SYSTEM_TYPE])
- AC_ARG_WITH([courage], [AC_HELP_STRING([--with-courage],
+ AC_ARG_WITH([courage], [AS_HELP_STRING([--with-courage],
[Assert that even if this platform is unsupported, you will be
courageous and port the GNU System distribution to it (see
"GNU Distribution" in the manual.)])],
- branch master updated (edc2acb -> eee3af8), guix-commits, 2020/12/11
- 01/09: maint: Avoid macros obsolete in Autoconf 2.70.,
guix-commits <=
- 02/09: maint: Remove unused 'NIX_VERSION' macro., guix-commits, 2020/12/11
- 03/09: Revert "services: openssh: Warn about 'password-authentication?' default.", guix-commits, 2020/12/11
- 05/09: self: Move Guile early in the module search path., guix-commits, 2020/12/11
- 06/09: guix: 'guile' executable ignores GUILE_LOAD_PATH during startup., guix-commits, 2020/12/11
- 04/09: build: 'script/guix' uses our own 'guile' executable., guix-commits, 2020/12/11
- 07/09: self: Remove the empty string from '%load-extensions'., guix-commits, 2020/12/11
- 09/09: gnu: esbuild: Update to 0.8.21., guix-commits, 2020/12/11
- 08/09: gnu: Add hsetroot., guix-commits, 2020/12/11