Tom Tromey writes:
>
> Can you test the appended patch? If it works I will check it in. I
> don't have access to a BSD `make' to try it.
It works save for one bug:
> Index: m4/make.m4
[...]
> @@ -11,14 +10,27 @@
> # If we don't find an include directive, just comment out the code.
> AC_MSG_CHECKING([for style of include used by $am_make])
> _am_include='#'
> -for am_inc in include .include; do
Here you delete the do...
> - echo "$am_inc confinc" > confmf
> +_am_quote=
> +_am_result=none
> +# First try GNU make style include.
> +echo "include confinc" > confmf
> +if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
> + _am_include=include
> + _am_quote=
> + _am_result=GNU
> +fi
> +# Now try BSD make style include.
> +if test "$_am_include" = "#"; then
> + echo '.include "confinc"' > confmf
> if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
> - _am_include=$am_inc
> - break
> + _am_include=.include
> + _am_quote='"'
> + _am_result=BSD
> fi
> +fi
> done
... but here you neglected to delete the matching done. After
correcting that, it works fine with BSD make and with GNU make.
-Larry Jones
Yep, we'd probably be dead by now if it wasn't for Twinkies. -- Calvin