mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-11 18:10:35 +01:00
autoconf: Add a workaround for second AC_PROG_PATH not overwriting results.
This commit is contained in:
parent
dc6fab90b4
commit
c986421694
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue