diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index ac4b77cef0e..8598a0d2d80 100644 --- a/configure.ac +++ b/configure.ac @@ -26,11 +26,7 @@ dnl Check for progs AC_PROG_CPP AC_PROG_CC AC_PROG_CXX -AC_PATH_PROG(GMAKE, gmake, [not_found]) -AC_PATH_PROG(MAKE, make) -if test "x$GMAKE" != "xnot_found"; then - MAKE="$GMAKE" -fi +AC_CHECK_PROGS(MAKE, [gmake make]) AC_PATH_PROG(MKDEP, makedepend) AC_PATH_PROG(SED, sed) @@ -903,5 +899,5 @@ echo " CXXFLAGS: $cxxflags" echo " Macros: $defines" echo "" -echo " Run 'make' to build Mesa" +echo " Run '${MAKE-make}' to build Mesa" echo "" |