3 # Check to see how make treats includes.
4 AC_DEFUN([AM_MAKE_INCLUDE],
10 # If we don't find an include directive, just comment out the code.
11 AC_MSG_CHECKING([for style of include used by $am_make])
15 # First try GNU make style include.
16 echo "include confinc" > confmf
17 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
22 # Now try BSD make style include.
23 if test "$_am_include" = "#"; then
24 echo '.include "confinc"' > confmf
25 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
33 AC_MSG_RESULT($_am_result)