This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libpng configure 1.5.11, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --enable-static=yes --enable-shared=no --with-pic=no

## --------- ##
## Platform. ##
## --------- ##

hostname = Drew-PC
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.0
uname -v = 2011-04-24 23:39

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files (x86)/ImageMagick-6.6.5-Q16
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/DTS/Binn/
PATH: /c/NASM
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/
PATH: /c/Program Files (x86)/GTK2-Runtime/bin
PATH: /c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static
PATH: /c/Program Files (x86)/Cppcheck/
PATH: /mingw/bin
PATH: /c/PROGRA~1/TIEDUC~1/TI-83P~1/UTILS
PATH: /c/Program Files (x86)/doxygen/bin
PATH: /c/Program Files (x86)/CMake 2.8/bin
PATH: /c/strawberry/c/bin
PATH: /c/strawberry/perl/site/bin
PATH: /c/strawberry/perl/bin
PATH: /c/Program Files (x86)/Git/cmd
PATH: /c/Program Files (x86)/GtkSharp/2.12/bin
PATH: /c/Program Files/Mercurial/
PATH: /c/Program Files (x86)/SWFTools
PATH: /c/Program Files/Mercurial


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2321: checking for a BSD-compatible install
configure:2389: result: /bin/install -c
configure:2400: checking whether build environment is sane
configure:2450: result: yes
configure:2591: checking for a thread-safe mkdir -p
configure:2630: result: /bin/mkdir -p
configure:2643: checking for gawk
configure:2659: found /bin/gawk
configure:2670: result: gawk
configure:2681: checking whether make sets $(MAKE)
configure:2703: result: yes
configure:2784: checking whether to enable maintainer-specific portions of Makefiles
configure:2793: result: no
configure:2872: checking for gcc
configure:2888: found /mingw/bin/gcc
configure:2899: result: gcc
configure:3128: checking for C compiler version
configure:3137: gcc --version >&5
gcc.exe (tdm64-1) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3148: $? = 0
configure:3137: gcc -v >&5
Using built-in specs.
COLLECT_GCC=c:\MinGW64\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.6.1/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../src/gcc-4.6.1/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp --enable-lto --enable-libstdcxx-debug --enable-version-specific-runtime-libs --enable-fully-dynamic-string --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.6.1 (tdm64-1) 
configure:3148: $? = 0
configure:3137: gcc -V >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3148: $? = 1
configure:3137: gcc -qversion >&5
gcc.exe: error: unrecognized option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3148: $? = 1
configure:3168: checking whether the C compiler works
configure:3190: gcc    conftest.c  >&5
configure:3194: $? = 0
configure:3242: result: yes
configure:3245: checking for C compiler default output file name
configure:3247: result: a.exe
configure:3253: checking for suffix of executables
configure:3260: gcc -o conftest.exe    conftest.c  >&5
configure:3264: $? = 0
configure:3286: result: .exe
configure:3308: checking whether we are cross compiling
configure:3316: gcc -o conftest.exe    conftest.c  >&5
configure:3320: $? = 0
configure:3327: ./conftest.exe
configure:3331: $? = 0
configure:3346: result: no
configure:3351: checking for suffix of object files
configure:3373: gcc -c   conftest.c >&5
configure:3377: $? = 0
configure:3398: result: o
configure:3402: checking whether we are using the GNU C compiler
configure:3421: gcc -c   conftest.c >&5
configure:3421: $? = 0
configure:3430: result: yes
configure:3439: checking whether gcc accepts -g
configure:3459: gcc -c -g  conftest.c >&5
configure:3459: $? = 0
configure:3500: result: yes
configure:3517: checking for gcc option to accept ISO C89
configure:3581: gcc  -c -g -O2  conftest.c >&5
configure:3581: $? = 0
configure:3594: result: none needed
configure:3625: checking for style of include used by make
configure:3653: result: GNU
configure:3679: checking dependency style of gcc
configure:3790: result: gcc3
configure:3814: checking dependency style of gcc
configure:3923: result: gcc3
configure:3942: checking build system type
configure:3956: result: i686-pc-mingw32
configure:3976: checking host system type
configure:3989: result: i686-pc-mingw32
configure:4009: checking for a sed that does not truncate output
configure:4073: result: /bin/sed
configure:4091: checking for grep that handles long lines and -e
configure:4149: result: /bin/grep
configure:4154: checking for egrep
configure:4216: result: /bin/grep -E
configure:4221: checking for fgrep
configure:4283: result: /bin/grep -F
configure:4310: checking how to print strings
configure:4337: result: printf
configure:4370: checking for ld used by gcc
configure:4437: result: c:/mingw64/x86_64-w64-mingw32/bin/ld.exe
configure:4444: checking if the linker (c:/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld
configure:4459: result: yes
configure:4476: checking how to run the C preprocessor
configure:4507: gcc -E  conftest.c
configure:4507: $? = 0
configure:4521: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4521: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4546: result: gcc -E
configure:4566: gcc -E  conftest.c
configure:4566: $? = 0
configure:4580: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4580: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4651: checking for sed
configure:4678: result: /bin/sed
configure:4793: checking whether ln -s works
configure:4800: result: no, using cp -p
configure:4804: checking whether make sets $(MAKE)
configure:4826: result: yes
configure:4877: checking for BSD- or MS-compatible name lister (nm)
configure:4926: result: /mingw/bin/nm
configure:5056: checking the name lister (/mingw/bin/nm) interface
configure:5063: gcc -c -g -O2  conftest.c >&5
configure:5066: /mingw/bin/nm "conftest.o"
configure:5069: output
0000000000000000 b .bss
0000000000000000 d .data
0000000000000000 N .debug_abbrev
0000000000000000 N .debug_info
0000000000000000 N .debug_line
0000000000000000 t .text
0000000000000000 B some_variable
configure:5076: result: BSD nm
configure:5080: checking the maximum length of command line arguments
configure:5210: result: 8192
configure:5227: checking whether the shell understands some XSI constructs
configure:5237: result: yes
configure:5241: checking whether the shell understands "+="
configure:5247: result: yes
configure:5282: checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format
configure:5322: result: func_convert_file_msys_to_w32
configure:5329: checking how to convert i686-pc-mingw32 file names to toolchain format
configure:5349: result: func_convert_file_msys_to_w32
configure:5356: checking for c:/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files
configure:5363: result: -r
configure:5437: checking for objdump
configure:5453: found /mingw/bin/objdump
configure:5464: result: objdump
configure:5493: checking how to recognize dependent libraries
configure:5695: result: file_magic ^x86 archive import|^x86 DLL
configure:5780: checking for dlltool
configure:5796: found /mingw/bin/dlltool
configure:5807: result: dlltool
configure:5837: checking how to associate runtime and link libraries
configure:5864: result: func_cygming_dll_for_implib
configure:5925: checking for ar
configure:5941: found /mingw/bin/ar
configure:5952: result: ar
configure:5989: checking for archiver @FILE support
configure:6006: gcc -c -g -O2  conftest.c >&5
configure:6006: $? = 0
configure:6009: ar cru libconftest.a @conftest.lst >&5
configure:6012: $? = 0
configure:6017: ar cru libconftest.a @conftest.lst >&5
c:\MinGW64\bin\ar.exe: conftest.o: No such file or directory
configure:6020: $? = 1
configure:6032: result: @
configure:6090: checking for strip
configure:6106: found /mingw/bin/strip
configure:6117: result: strip
configure:6189: checking for ranlib
configure:6205: found /mingw/bin/ranlib
configure:6216: result: ranlib
configure:6318: checking command to parse /mingw/bin/nm output from gcc object
configure:6438: gcc -c -g -O2  conftest.c >&5
configure:6441: $? = 0
configure:6445: /mingw/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6448: $? = 0
configure:6514: gcc -o conftest.exe -g -O2   conftest.c conftstm.o >&5
configure:6517: $? = 0
configure:6555: result: ok
configure:6592: checking for sysroot
configure:6622: result: no
configure:6878: checking for mt
configure:6908: result: no
configure:6928: checking if : is a manifest tool
configure:6934: : '-?'
configure:6942: result: no
configure:7580: checking for ANSI C header files
configure:7600: gcc -c -g -O2  conftest.c >&5
configure:7600: $? = 0
configure:7673: gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:7673: $? = 0
configure:7673: ./conftest.exe
configure:7673: $? = 0
configure:7684: result: yes
configure:7697: checking for sys/types.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for sys/stat.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for stdlib.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for string.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for memory.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for strings.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for inttypes.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for stdint.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7697: checking for unistd.h
configure:7697: gcc -c -g -O2  conftest.c >&5
configure:7697: $? = 0
configure:7697: result: yes
configure:7711: checking for dlfcn.h
configure:7711: gcc -c -g -O2  conftest.c >&5
conftest.c:55:19: fatal error: dlfcn.h: No such file or directory
compilation terminated.
configure:7711: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <dlfcn.h>
configure:7711: result: no
configure:7774: checking for as
configure:7790: found /mingw/bin/as
configure:7801: result: as
configure:7866: checking for dlltool
configure:7893: result: dlltool
configure:7958: checking for objdump
configure:7985: result: objdump
configure:8215: checking for objdir
configure:8230: result: .libs
configure:8497: checking if gcc supports -fno-rtti -fno-exceptions
configure:8515: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8519: $? = 0
configure:8532: result: no
configure:8859: checking for gcc option to produce PIC
configure:8866: result: -DDLL_EXPORT -DPIC
configure:8874: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
configure:8892: gcc -c -g -O2  -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
configure:8896: $? = 0
configure:8909: result: yes
configure:8938: checking if gcc static flag -static works
configure:8966: result: yes
configure:8981: checking if gcc supports -c -o file.o
configure:9002: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9006: $? = 0
configure:9028: result: yes
configure:9036: checking if gcc supports -c -o file.o
configure:9083: result: yes
configure:9116: checking whether the gcc linker (c:/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries
configure:10269: result: yes
configure:10509: checking dynamic linker characteristics
configure:11242: result: Win32 ld.exe
configure:11349: checking how to hardcode library paths into programs
configure:11374: result: immediate
configure:11914: checking whether stripping libraries is possible
configure:11919: result: yes
configure:11954: checking if libtool supports shared libraries
configure:11956: result: yes
configure:11959: checking whether to build shared libraries
configure:11980: result: no
configure:11983: checking whether to build static libraries
configure:11987: result: yes
configure:12029: checking for a C preprocessor that does not parse its input
configure:12035: gcc -E  conftest.c
configure:12035: $? = 0
configure:12055: result: gcc -E
configure:12066: checking for ANSI C header files
configure:12170: result: yes
configure:12181: checking malloc.h usability
configure:12181: gcc -c -g -O2  conftest.c >&5
configure:12181: $? = 0
configure:12181: result: yes
configure:12181: checking malloc.h presence
configure:12181: gcc -E  conftest.c
configure:12181: $? = 0
configure:12181: result: yes
configure:12181: checking for malloc.h
configure:12181: result: yes
configure:12181: checking for stdlib.h
configure:12181: result: yes
configure:12181: checking for string.h
configure:12181: result: yes
configure:12181: checking for strings.h
configure:12181: result: yes
configure:12193: checking for an ANSI C-conforming const
configure:12258: gcc -c -g -O2  conftest.c >&5
configure:12258: $? = 0
configure:12265: result: yes
configure:12273: checking for size_t
configure:12273: gcc -c -g -O2  conftest.c >&5
configure:12273: $? = 0
configure:12273: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:21: error: expected expression before ')' token
configure:12273: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:12273: result: yes
configure:12284: checking whether struct tm is in sys/time.h or time.h
configure:12304: gcc -c -g -O2  conftest.c >&5
configure:12304: $? = 0
configure:12311: result: time.h
configure:12319: checking for C/C++ restrict keyword
configure:12344: gcc -c -g -O2  conftest.c >&5
configure:12344: $? = 0
configure:12352: result: __restrict
configure:12367: checking for working strtod
configure:12408: gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:12408: $? = 0
configure:12408: ./conftest.exe
configure:12408: $? = 0
configure:12418: result: yes
configure:12482: checking for memset
configure:12482: gcc -o conftest.exe -g -O2   conftest.c  >&5
conftest.c:51:6: warning: conflicting types for built-in function 'memset' [enabled by default]
configure:12482: $? = 0
configure:12482: result: yes
configure:12495: checking for pow
configure:12495: gcc -o conftest.exe -g -O2   conftest.c  >&5
conftest.c:52:6: warning: conflicting types for built-in function 'pow' [enabled by default]
configure:12495: $? = 0
configure:12495: result: yes
configure:12560: checking for zlibVersion in -lz
configure:12585: gcc -o conftest.exe -g -O2   conftest.c -lz   >&5
configure:12585: $? = 0
configure:12594: result: yes
configure:12659: checking for feenableexcept in -lm
configure:12684: gcc -o conftest.exe -g -O2   conftest.c -lm  -lz  >&5
C:\Users\Drew\AppData\Local\Temp\ccC7MdCQ.o: In function `main':
c:\libpng-1.5.11/conftest.c:42: undefined reference to `feenableexcept'
collect2: ld returned 1 exit status
configure:12684: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define restrict __restrict
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char feenableexcept ();
| int
| main ()
| {
| return feenableexcept ();
|   ;
|   return 0;
| }
configure:12693: result: no
configure:12706: checking for feenableexcept
configure:12706: gcc -o conftest.exe -g -O2   conftest.c -lz  >&5
C:\Users\Drew\AppData\Local\Temp\cc26DRGJ.o: In function `main':
c:\libpng-1.5.11/conftest.c:65: undefined reference to `feenableexcept'
collect2: ld returned 1 exit status
configure:12706: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.11"
| #define PACKAGE_STRING "libpng 1.5.11"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define restrict __restrict
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| /* Define feenableexcept to an innocuous variant, in case <limits.h> declares feenableexcept.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define feenableexcept innocuous_feenableexcept
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char feenableexcept (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef feenableexcept
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char feenableexcept ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_feenableexcept || defined __stub___feenableexcept
| choke me
| #endif
| 
| int
| main ()
| {
| return feenableexcept ();
|   ;
|   return 0;
| }
configure:12706: result: no
configure:12720: checking if using Solaris linker
configure:12729: result: no
configure:12741: checking if libraries can be versioned
configure:12749: result: no
configure:12813: pkgconfig directory is ${libdir}/pkgconfig
configure:13016: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libpng config.status 1.5.11, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on Drew-PC

config.status:1138: creating Makefile
config.status:1138: creating libpng.pc
config.status:1138: creating libpng-config
config.status:1138: creating config.h
config.status:1367: executing depfiles commands
config.status:1367: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_restrict=__restrict
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func_feenableexcept=no
ac_cv_func_memset=yes
ac_cv_func_pow=yes
ac_cv_func_strtod=yes
ac_cv_header_dlfcn_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-mingw32
ac_cv_lib_m_feenableexcept=no
ac_cv_lib_z_zlibVersion=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_AS=as
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DLLTOOL=dlltool
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_SED=/bin/sed
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
ac_cv_type_size_t=yes
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd=func_win32_libid
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=c:/mingw64/x86_64-w64-mingw32/bin/ld.exe
lt_cv_path_NM=/mingw/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-DDLL_EXPORT -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)
\{0,1\}$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=8192
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/libpng-1.5.11/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /c/libpng-1.5.11/missing --run tar'
AM_CCASFLAGS='-Wa,--noexecstack'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /c/libpng-1.5.11/missing --run autoconf'
AUTOHEADER='${SHELL} /c/libpng-1.5.11/missing --run autoheader'
AUTOMAKE='${SHELL} /c/libpng-1.5.11/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCAS='gcc'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-g -O2'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DFNCPP='gcc -E'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT='.exe'
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE='#'
HAVE_SOLARIS_LD_FALSE=''
HAVE_SOLARIS_LD_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='c:/mingw64/x86_64-w64-mingw32/bin/ld.exe'
LDFLAGS=''
LIBOBJS=''
LIBPNG_DEFINES='-DPNG_CONFIGURE_LIBPNG'
LIBS='-lz '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='cp -p'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /c/libpng-1.5.11/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/mingw/bin/nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libpng'
PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
PACKAGE_NAME='libpng'
PACKAGE_STRING='libpng 1.5.11'
PACKAGE_TARNAME='libpng'
PACKAGE_URL=''
PACKAGE_VERSION='1.5.11'
PATH_SEPARATOR=':'
PNGLIB_MAJOR='1'
PNGLIB_MINOR='5'
PNGLIB_RELEASE='11'
PNGLIB_VERSION='1.5.11'
PNG_ARM_NEON_FALSE=''
PNG_ARM_NEON_TRUE='#'
POW_LIB=''
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYMBOL_PREFIX=''
VERSION='1.5.11'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE='#'
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
binconfigs='${binconfigs}'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/libpng-1.5.11/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir='${libdir}/pkgconfig'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libpng"
#define PACKAGE_TARNAME "libpng"
#define PACKAGE_VERSION "1.5.11"
#define PACKAGE_STRING "libpng 1.5.11"
#define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "libpng"
#define VERSION "1.5.11"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define LT_OBJDIR ".libs/"
#define STDC_HEADERS 1
#define HAVE_MALLOC_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define restrict __restrict
#define HAVE_MEMSET 1
#define HAVE_POW 1
#define HAVE_LIBZ 1

configure: exit 0
