[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure of `make.test'
From: |
Stepan Kasal |
Subject: |
Re: Failure of `make.test' |
Date: |
Tue, 1 Jul 2008 17:09:51 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello,
to reproduce what the test does, try the following:
mkdir test.dir
cd test.dir
cat > configure.ac <<\EOF
AC_INIT(foo,0,np)
AM_INIT_AUTOMAKE(foreign)
AM_MAKE_INCLUDE
AC_OUTPUT(Makefile)
EOF
touch Makefile.am
autoreconf -i
MAKE='make -w' ./configure
In my case, the configure output contains (near the end):
checking for style of include used by make -w... GNU
But in your case, it will probably be:
> checking for style of include used by make -w... none
Attached below please find a test similar to that pefofrmed by configure.
Could you please try it? What is the output?
Have a nice day,
Stepan
#!/bin/sh
am_make='make -w'
cat > confinc << 'END'
am__doit:; @echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
echo -n "checking for style of include used by $am_make... "
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" =
"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=.include
am__quote="\""
_am_result=BSD
fi
fi
echo "$_am_result"
rm -f confinc confmf
- Failure of `make.test', Ludovic Courtès, 2008/07/01
- Re: Failure of `make.test',
Stepan Kasal <=
- Re: Failure of `make.test', Ludovic Courtès, 2008/07/01
- Re: Failure of `make.test', Stepan Kasal, 2008/07/01
- Re: Failure of `make.test', Ludovic Courtès, 2008/07/01
- Re: Failure of `make.test', Ralf Wildenhues, 2008/07/01
- Re: Failure of `make.test', Ludovic Courtès, 2008/07/01
- Re: Failure of `make.test', Stepan Kasal, 2008/07/02
- Re: Failure of `make.test', Ludovic Courtès, 2008/07/02