[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test
From: |
Bernhard Reutner-Fischer |
Subject: |
[PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test |
Date: |
Thu, 9 Apr 2015 14:43:31 +0200 |
2015-04-08 Bernhard Reutner-Fischer <address@hidden>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Rephrase
test for empty CONFIG_FILES.
Signed-off-by: Bernhard Reutner-Fischer <address@hidden>
---
lib/autoconf/status.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index 7ccc847..6a00739 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -327,7 +327,7 @@ m4_define([_AC_OUTPUT_FILES_PREPARE],
[# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
+if [[ ${CONFIG_FILES:+y} ]]; then
dnl For AC_SUBST_FILE, check for usable getline support in awk,
dnl at config.status execution time.
--
1.7.10.4
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', (continued)
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', Paul Eggert, 2015/04/08
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', Eric Blake, 2015/04/08
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', Eric Blake, 2015/04/08
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', Paul Eggert, 2015/04/09
- Re: [PATCH] Replace 'test "${var+set}" = set' with 'test -n "${var+set}"', Eric Blake, 2015/04/09
- [PATCH 2/4] AC_PROG_LEX: Rephrase LEX is set test, Bernhard Reutner-Fischer, 2015/04/09
- Re: [PATCH 2/4] AC_PROG_LEX: Rephrase LEX is set test, Eric Blake, 2015/04/09
- Re: [PATCH 2/4] AC_PROG_LEX: Rephrase LEX is set test, Bernhard Reutner-Fischer, 2015/04/09
- [PATCH 0/4] misc test(1) invocation tweaks, Bernhard Reutner-Fischer, 2015/04/09
- Re: [PATCH 0/4] misc test(1) invocation tweaks, Eric Blake, 2015/04/09
- [PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test,
Bernhard Reutner-Fischer <=
- Re: [PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test, Eric Blake, 2015/04/09
- Re: [PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test, Bernhard Reutner-Fischer, 2015/04/09
- [PATCH 3/4] AC_PROG_MKDIR_P: Also accept BusyBox mkdir -p, Bernhard Reutner-Fischer, 2015/04/09
- Re: [PATCH 3/4] AC_PROG_MKDIR_P: Also accept BusyBox mkdir -p, Eric Blake, 2015/04/09
- Re: [PATCH 3/4] AC_PROG_MKDIR_P: Also accept BusyBox mkdir -p, Eric Blake, 2015/04/09
- [PATCH v2 1/4] Replace 'test "${var+set}" = set' with '[ ${var+y} ]', Bernhard Reutner-Fischer, 2015/04/09
- Re: [PATCH v2 1/4] Replace 'test "${var+set}" = set' with '[ ${var+y} ]', Eric Blake, 2015/04/09
- Re: [PATCH v2 1/4] Replace 'test "${var+set}" = set' with '[ ${var+y} ]', Bernhard Reutner-Fischer, 2015/04/09
- Re: [PATCH v2 1/4] Replace 'test "${var+set}" = set' with '[ ${var+y} ]', Eric Blake, 2015/04/09
- Re: [PATCH v2 1/4] Replace 'test "${var+set}" = set' with '[ ${var+y} ]', Bernhard Reutner-Fischer, 2015/04/22