summaryrefslogtreecommitdiff
path: root/m4/ax_check_gnu_make.m4
diff options
context:
space:
mode:
authorIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>2019-01-23 18:42:20 +0100
committerIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>2019-01-23 19:00:31 +0100
commit41bbaf079cb4c843b6cb2f2d067b42fa160449f4 (patch)
tree51b6b53381f5e9c9b93cc4abf3072f4068f8e9be /m4/ax_check_gnu_make.m4
parent33139a04bb228c5ca851a25fb747e40ae1a2b80a (diff)
downloadautoconf-archive-41bbaf079cb4c843b6cb2f2d067b42fa160449f4.tar.gz
ax_check_gnu_make: Fix setting of ifGNUmake and ifnGNUmake.
The addition of support for ifnGNUmake introduced a bug that made ifGNUmake be set to "#" in the case GNU Make is detected. Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Diffstat (limited to 'm4/ax_check_gnu_make.m4')
-rw-r--r--m4/ax_check_gnu_make.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_check_gnu_make.m4 b/m4/ax_check_gnu_make.m4
index 6811043..785dc96 100644
--- a/m4/ax_check_gnu_make.m4
+++ b/m4/ax_check_gnu_make.m4
@@ -69,7 +69,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 11
+#serial 12
AC_DEFUN([AX_CHECK_GNU_MAKE],dnl
[AC_PROG_AWK
@@ -87,7 +87,7 @@ dnl Search all the common names for GNU make
done ;])
dnl If there was a GNU version, then set @ifGNUmake@ to the empty string, '#' otherwise
AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifGNUmake], ["#"])], [AS_VAR_SET([ifGNUmake], [""])])
- AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifnGNUmake], [""])], [AS_VAR_SET([ifGNUmake], ["#"])])
+ AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifnGNUmake], [""])], [AS_VAR_SET([ifnGNUmake], ["#"])])
AS_VAR_IF([_cv_gnu_make_command], [""], [AS_UNSET(ax_cv_gnu_make_command)], [AS_VAR_SET([ax_cv_gnu_make_command], [${_cv_gnu_make_command}])])
AS_VAR_IF([_cv_gnu_make_command], [""],[$2],[$1])
AC_SUBST([ifGNUmake])