From: Joel Rosdahl Date: Sun, 14 Feb 2010 09:25:49 +0000 (+0100) Subject: Require GNU make for now X-Git-Tag: v3.0pre0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cda0cce3cbf9d4f7e30da456a21ddf93b76e756;p=thirdparty%2Fccache.git Require GNU make for now --- diff --git a/configure.ac b/configure.ac index db87814f2..560aa7a7e 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,22 @@ AC_CHECK_HEADER( AC_MSG_ERROR(Required library zlib missing.)), AC_MSG_ERROR(Header file for required library zlib missing.)) +dnl Check for GNU make. +AC_PATH_PROGS(MAKE, gmake make) +AC_CACHE_CHECK( + for GNU make, + ccache_cv_gnu_make, + [ + if $ac_cv_path_MAKE --version | head -1 | grep GNU >/dev/null 2>&1; then + ccache_cv_gnu_make=yes + else + ccache_cv_gnu_make=no + fi + ]) +if test x$ccache_cv_gnu_make = xno; then + AC_MSG_ERROR(Please install GNU make as gmake or make) +fi + AC_CONFIG_FILES([Makefile]) AC_OUTPUT