The autoconf macro AC_PATH_PROGS handles the case of searching for
multiple program names already, so we don't need to open code it.
---
 Eric, does this seem alright? I think there's a bug in setting the MAKE
 variable here at all (when you run GNU make, it will set $MAKE in the
 environment), but this should at least maintain the status quo.

 configure.ac |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8b79342..6de7887 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_PATH_PROGS(MAKE, [gmake make])
 AC_PATH_PROG(MKDEP, makedepend)
 AC_PATH_PROG(SED, sed)
 
-- 
1.5.3.2


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to