Bruno Haible skrev 2011-12-19 03:11:
The pre-release automake version 1.11.1b is now available at
<ftp://alpha.gnu.org/gnu/automake>.
Some builds took longer. Here are the results:
===============================================================================
* msvc9
FAIL: silent-lex-generic.test
This is due to the use of<unistd.h> in the flex-generated<unistd.h>.
When gnulib is in use, it is ok to use<unistd.h> on MSVC platforms, but
without gnulib, it doesn't work.
FAIL: specflg10.test
Problem with the dependency support.
Find attached the log file.
I used the configuration commands
CC="$HOME/msvc/compile cl -nologo"; export CC;
CFLAGS=""; export CFLAGS;
CXX="$HOME/msvc/compile cl -nologo"; export CXX;
CXXFLAGS=""; export CXXFLAGS;
CPPFLAGS="-D_WIN32_WINNT=_WIN32_WINNT_WINXP -I/usr/local/msvc/include"; export
CPPFLAGS;
LDFLAGS="-L/usr/local/msvc/lib"; export LDFLAGS;
LD="link"; export LD;
NM="dumpbin -symbols"; export NM;
STRIP=":"; export STRIP;
AR="$HOME/msvc/ar-lib lib"; export AR;
RANLIB=":"; export RANLIB;
./configure --host=i586-pc-mingw32 --prefix=/usr/local/msvc
This smells like a testsuite weakness of some kind. The testcase
specifies
required=g++
but that fails to completely beat CXX=...cl... from the environment.
If I run the configure script outside of the testcase, I get
$ ./configure \
CC="/home/peda/automake-1.11.1b/lib/compile cl -nologo" \
CXX="/home/peda/automake-1.11.1b/lib/compile cl -nologo"
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... /home/peda/automake-1.11.1b/lib/compile cl -nologo
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether we are using the GNU C compiler... no
checking whether /home/peda/automake-1.11.1b/lib/compile cl -nologo accepts
-g... no
checking for /home/peda/automake-1.11.1b/lib/compile cl -nologo option to
accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/peda/automake-1.11.1b/lib/compile cl
-nologo... msvc7msys
checking whether we are using the GNU C++ compiler... no
checking whether /home/peda/automake-1.11.1b/lib/compile cl -nologo accepts
-g... no
checking dependency style of /home/peda/automake-1.11.1b/lib/compile cl
-nologo... msvc7msys
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub/Makefile
config.status: creating sub2/Makefile
config.status: executing depfiles commands.