Re: [AD] 4.0.2 release

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-06-11, Eric <ebotcazou@xxxxxxxxxx> wrote:
> @@ -501,9 +500,12 @@
>  dnl Run "make depend" if necessary.
>  if test "X$allegro_make_depend" = "Xyes"; then
>    dnl The makefile doesn't work with non-gmake at the moment, so force gmake.
> -  if ${MAKE-make} -h | grep -iq gnu; then
> +  if ${MAKE-make} -v | grep -i "gnu" >/dev/null; then

I propose to change this to:

 if ${MAKE-make} -v -f /dev/null | grep -i "gnu" >/dev/null; then

Then a non-GNU make will only quit thinking there is no target, which is
better than reading the makefile and failing in unexpected ways.

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/