projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6fab9
)
autoconf: Add a workaround for second AC_PROG_PATH not overwriting results.
author
Eric Anholt
<eric@anholt.net>
Sat, 22 Mar 2008 18:03:16 +0000
(11:03 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 22 Mar 2008 18:03:16 +0000
(11:03 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 99657eb20a97f1b2117113d216a4b18bc1214c45..8b79342e4543a7b396198ad36ce62b2f336df5f7 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-26,9
+26,10
@@
dnl Check for progs
AC_PROG_CPP
AC_PROG_CC
AC_PROG_CXX
-AC_PATH_PROG(MAKE, gmake, [not_found])
-if test "x$MAKE" = "xnot_found"; then
- AC_PATH_PROG(MAKE, make)
+AC_PATH_PROG(GMAKE, gmake, [not_found])
+AC_PATH_PROG(MAKE, make)
+if test "x$GMAKE" != "xnot_found"; then
+ MAKE="$GMAKE"
fi
AC_PATH_PROG(MKDEP, makedepend)
AC_PATH_PROG(SED, sed)