projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New upstream version 1.10
[debian/gzip]
/
m4
/
gnu-make.m4
diff --git
a/m4/gnu-make.m4
b/m4/gnu-make.m4
index 1f833d96bc4d5794378818b3d84b140221be4203..507dad6ec8a0711ca5e5e35dceeeef2119b411cd 100644
(file)
--- a/
m4/gnu-make.m4
+++ b/
m4/gnu-make.m4
@@
-10,10
+10,8
@@
# Set GNU_MAKE if we are using a recent-enough version of GNU make.
# Set GNU_MAKE if we are using a recent-enough version of GNU make.
-# Use --version AND trailing junk, because SGI Make doesn't fail on --version.
-
AC_DEFUN([gl_GNU_MAKE],
[
AM_CONDITIONAL([GNU_MAKE],
AC_DEFUN([gl_GNU_MAKE],
[
AM_CONDITIONAL([GNU_MAKE],
- [
${MAKE-make} --version /cannot/make/this >/dev/null 2>&1
])
+ [
LC_ALL=C ${MAKE-make} --version 2>/dev/null | sed -e '2,$d' | grep GNU >/dev/null
])
])
])