++ sed -e 's/need_relink=yes/need_relink=no # no way --tml/'
++ mv conftools/ltmain.temp conftools/ltmain.sh
++ patch -p0
patching file Makefile.in
++ CC=x86_64-w64-mingw32-gcc
++ LDFLAGS=-Wl,--enable-auto-image-base
++ CFLAGS=-O2
++ ./configure --host=x86_64-w64-mingw32 --prefix=c:/devel/target/de764b8d40f7d0117b3283edb514b7e0 --disable-static
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-mingw32
checking host system type... x86_64-w64-mingw32
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-w64-mingw32-gcc... c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /opt/mingw64/bin/x86_64-w64-mingw32-nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic file format pei*-i386(.*architecture: i386)?
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-w64-mingw32-g++ -E
checking for x86_64-w64-mingw32-g77... no
checking for x86_64-w64-mingw32-f77... no
checking for x86_64-w64-mingw32-xlf... no
checking for x86_64-w64-mingw32-frt... no
checking for x86_64-w64-mingw32-pgf77... no
checking for x86_64-w64-mingw32-fort77... no
checking for x86_64-w64-mingw32-fl32... no
checking for x86_64-w64-mingw32-af77... no
checking for x86_64-w64-mingw32-f90... no
checking for x86_64-w64-mingw32-xlf90... no
checking for x86_64-w64-mingw32-pgf90... no
checking for x86_64-w64-mingw32-epcf90... no
checking for x86_64-w64-mingw32-f95... no
checking for x86_64-w64-mingw32-fort... no
checking for x86_64-w64-mingw32-xlf95... no
checking for x86_64-w64-mingw32-ifc... no
checking for x86_64-w64-mingw32-efc... no
checking for x86_64-w64-mingw32-pgf95... no
checking for x86_64-w64-mingw32-lf95... no
checking for x86_64-w64-mingw32-gfortran... x86_64-w64-mingw32-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-w64-mingw32-gfortran accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /opt/mingw64/bin/x86_64-w64-mingw32-nm output from x86_64-w64-mingw32-gcc object... ok
checking for objdir... .libs
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking whether the x86_64-w64-mingw32-gcc linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-w64-mingw32-g++... c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking whether the x86_64-w64-mingw32-g++ linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking for x86_64-w64-mingw32-g++ option to produce PIC... -DDLL_EXPORT
checking if x86_64-w64-mingw32-g++ PIC flag -DDLL_EXPORT works... yes
checking if x86_64-w64-mingw32-g++ static flag -static works... yes
checking if x86_64-w64-mingw32-g++ supports -c -o file.o... yes
checking whether the x86_64-w64-mingw32-g++ linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-w64-mingw32-gfortran option to produce PIC... -DDLL_EXPORT
checking if x86_64-w64-mingw32-gfortran PIC flag -DDLL_EXPORT works... yes
checking if x86_64-w64-mingw32-gfortran static flag -static works... yes
checking if x86_64-w64-mingw32-gfortran supports -c -o file.o... yes
checking whether the x86_64-w64-mingw32-gfortran linker (c:/opt/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /opt/local/bin/install -c
checking whether x86_64-w64-mingw32-gcc accepts -fexceptions... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memmove... yes
checking for bcopy... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for an ANSI C99-conforming __func__... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating expat_config.h
++ make install
x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c
x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c
x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/codepage.o -c xmlwf/codepage.c
x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/readfilemap.o -c xmlwf/readfilemap.c
/bin/sh ./libtool --silent --mode=compile x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmlrole.lo -c lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:2:5 -rpath c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib -Wl,--enable-auto-image-base -o libexpat.la -export-symbols lib/libexpat.def lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
Creating library file: .libs/libexpat.dll.a
/bin/sh ./libtool --silent --mode=link x86_64-w64-mingw32-gcc -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -Wl,--enable-auto-image-base -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libexpat.la
/bin/sh ./conftools/mkinstalldirs c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/include
mkdir c:/devel/target/de764b8d40f7d0117b3283edb514b7e0
mkdir c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib
mkdir c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/include
/bin/sh ./libtool --mode=install /opt/local/bin/install -c libexpat.la c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib/libexpat.la
/opt/local/bin/install -c .libs/libexpat.dll.a c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib/libexpat.dll.a
base_file=`basename ${file}`
 dlpath=`/bin/sh 2>&1 -c '. .libs/'${base_file}'i;echo $dlname'`
 dldir=c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib/`dirname $dlpath`
 test -d $dldir || mkdir -p $dldir
 /opt/local/bin/install -c .libs/libexpat-1.dll $dldir/libexpat-1.dll
 chmod a+x $dldir/libexpat-1.dll
/opt/local/bin/install -c .libs/libexpat.lai c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib/libexpat.la
----------------------------------------------------------------------
Libraries have been installed in:
   c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
for FN in ./lib/expat.h ./lib/expat_external.h ; do /opt/local/bin/install -c -m 644 $FN c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/include ; done
/bin/sh ./conftools/mkinstalldirs c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/bin c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/man/man1
mkdir c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/man
mkdir c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/man/man1
/bin/sh ./libtool --mode=install /opt/local/bin/install -c xmlwf/xmlwf c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/bin/xmlwf
/opt/local/bin/install -c xmlwf/xmlwf c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/bin/xmlwf
/opt/local/bin/install -c -m 644 ./doc/xmlwf.1 c:/devel/target/de764b8d40f7d0117b3283edb514b7e0/man/man1
++ cp lib/libexpat.def /devel/target/de764b8d40f7d0117b3283edb514b7e0/lib
++ cd /devel/target/de764b8d40f7d0117b3283edb514b7e0/lib
++ lib.exe -machine:X64 -def:libexpat.def -out:expat.lib
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library expat.lib and object expat.exp
++ rm -f /tmp/expat_2.0.1-3_win64.zip /tmp/expat-dev_2.0.1-3_win64.zip
++ cd /devel/target/de764b8d40f7d0117b3283edb514b7e0
++ zip /tmp/expat_2.0.1-3_win64.zip bin/libexpat-1.dll
  adding: bin/libexpat-1.dll (200 bytes security) (deflated 65%)
++ zip /tmp/expat-dev_2.0.1-3_win64.zip bin/xmlwf.exe
  adding: bin/xmlwf.exe (200 bytes security) (deflated 68%)
++ zip -r -D /tmp/expat-dev_2.0.1-3_win64.zip include
  adding: include/expat.h (200 bytes security) (deflated 74%)
  adding: include/expat_external.h (200 bytes security) (deflated 58%)
++ zip /tmp/expat-dev_2.0.1-3_win64.zip lib/libexpat.dll.a lib/libexpat.def lib/expat.lib
  adding: lib/libexpat.dll.a (200 bytes security) (deflated 92%)
  adding: lib/libexpat.def (200 bytes security) (deflated 66%)
  adding: lib/expat.lib (200 bytes security) (deflated 84%)
++ zip -r -D /tmp/expat-dev_2.0.1-3_win64.zip man
  adding: man/man1/xmlwf.1 (200 bytes security) (deflated 57%)
