summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_make.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/check_make.m4 b/source4/build/m4/check_make.m4
index 50cabfdf3c7..343913f8846 100644
--- a/source4/build/m4/check_make.m4
+++ b/source4/build/m4/check_make.m4
@@ -8,9 +8,9 @@ dnl
AC_DEFUN([AC_SAMBA_GNU_MAKE],
[
-AC_CACHE_CHECK([whether we have GNU make], samba_cv_gnu_make, [
AC_PATH_PROGS(MAKE,gmake make)
+AC_CACHE_CHECK([whether we have GNU make], samba_cv_gnu_make, [
if ! $ac_cv_path_MAKE --version | head -1 | grep GNU 2>/dev/null >/dev/null
then
samba_cv_gnu_make=no