852 lines
24 KiB
Plaintext
852 lines
24 KiB
Plaintext
|
This file contains any messages produced by compilers while
|
|||
|
running configure, to aid debugging if configure makes a mistake.
|
|||
|
|
|||
|
It was created by FreeType configure 2.5, which was
|
|||
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|||
|
|
|||
|
$ ./configure
|
|||
|
|
|||
|
## --------- ##
|
|||
|
## Platform. ##
|
|||
|
## --------- ##
|
|||
|
|
|||
|
hostname = Serge-<2D><>
|
|||
|
uname -m = i686
|
|||
|
uname -r = 1.0.18(0.48/3/2)
|
|||
|
uname -s = MINGW32_NT-6.1
|
|||
|
uname -v = 2012-11-21 22:34
|
|||
|
|
|||
|
/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/Windows/system32
|
|||
|
PATH: /c/Windows
|
|||
|
PATH: /c/Windows/System32/Wbem
|
|||
|
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
|
|||
|
PATH: /c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static
|
|||
|
PATH: /d/Program Files/TortoiseSVN/bin
|
|||
|
|
|||
|
|
|||
|
## ----------- ##
|
|||
|
## Core tests. ##
|
|||
|
## ----------- ##
|
|||
|
|
|||
|
configure:2483: checking build system type
|
|||
|
configure:2497: result: i686-pc-mingw32
|
|||
|
configure:2517: checking host system type
|
|||
|
configure:2530: result: i686-pc-mingw32
|
|||
|
configure:2602: checking for gcc
|
|||
|
configure:2618: found /mingw/bin/gcc
|
|||
|
configure:2629: result: gcc
|
|||
|
configure:2858: checking for C compiler version
|
|||
|
configure:2867: gcc --version >&5
|
|||
|
gcc.exe (GCC) 4.7.2
|
|||
|
Copyright (C) 2012 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:2878: $? = 0
|
|||
|
configure:2867: gcc -v >&5
|
|||
|
Using built-in specs.
|
|||
|
COLLECT_GCC=d:\mingw\bin\gcc.exe
|
|||
|
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
|
|||
|
Target: mingw32
|
|||
|
Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
|
|||
|
Thread model: win32
|
|||
|
gcc version 4.7.2 (GCC)
|
|||
|
configure:2878: $? = 0
|
|||
|
configure:2867: gcc -V >&5
|
|||
|
gcc.exe: error: unrecognized command line option '-V'
|
|||
|
gcc.exe: fatal error: no input files
|
|||
|
compilation terminated.
|
|||
|
configure:2878: $? = 1
|
|||
|
configure:2867: gcc -qversion >&5
|
|||
|
gcc.exe: error: unrecognized command line option '-qversion'
|
|||
|
gcc.exe: fatal error: no input files
|
|||
|
compilation terminated.
|
|||
|
configure:2878: $? = 1
|
|||
|
configure:2898: checking whether the C compiler works
|
|||
|
configure:2920: gcc conftest.c >&5
|
|||
|
configure:2924: $? = 0
|
|||
|
configure:2972: result: yes
|
|||
|
configure:2975: checking for C compiler default output file name
|
|||
|
configure:2977: result: a.exe
|
|||
|
configure:2983: checking for suffix of executables
|
|||
|
configure:2990: gcc -o conftest.exe conftest.c >&5
|
|||
|
configure:2994: $? = 0
|
|||
|
configure:3016: result: .exe
|
|||
|
configure:3038: checking whether we are cross compiling
|
|||
|
configure:3046: gcc -o conftest.exe conftest.c >&5
|
|||
|
configure:3050: $? = 0
|
|||
|
configure:3057: ./conftest.exe
|
|||
|
configure:3061: $? = 0
|
|||
|
configure:3076: result: no
|
|||
|
configure:3081: checking for suffix of object files
|
|||
|
configure:3103: gcc -c conftest.c >&5
|
|||
|
configure:3107: $? = 0
|
|||
|
configure:3128: result: o
|
|||
|
configure:3132: checking whether we are using the GNU C compiler
|
|||
|
configure:3151: gcc -c conftest.c >&5
|
|||
|
configure:3151: $? = 0
|
|||
|
configure:3160: result: yes
|
|||
|
configure:3169: checking whether gcc accepts -g
|
|||
|
configure:3189: gcc -c -g conftest.c >&5
|
|||
|
configure:3189: $? = 0
|
|||
|
configure:3230: result: yes
|
|||
|
configure:3247: checking for gcc option to accept ISO C89
|
|||
|
configure:3310: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:3310: $? = 0
|
|||
|
configure:3323: result: none needed
|
|||
|
configure:3348: checking how to run the C preprocessor
|
|||
|
configure:3379: gcc -E conftest.c
|
|||
|
configure:3379: $? = 0
|
|||
|
configure:3393: gcc -E conftest.c
|
|||
|
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
|
|||
|
compilation terminated.
|
|||
|
configure:3393: $? = 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| /* end confdefs.h. */
|
|||
|
| #include <ac_nonexistent.h>
|
|||
|
configure:3418: result: gcc -E
|
|||
|
configure:3438: gcc -E conftest.c
|
|||
|
configure:3438: $? = 0
|
|||
|
configure:3452: gcc -E conftest.c
|
|||
|
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
|
|||
|
compilation terminated.
|
|||
|
configure:3452: $? = 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| /* end confdefs.h. */
|
|||
|
| #include <ac_nonexistent.h>
|
|||
|
configure:3645: checking for rmdir
|
|||
|
configure:3661: found /bin/rmdir
|
|||
|
configure:3672: result: rmdir
|
|||
|
configure:3700: checking for a BSD-compatible install
|
|||
|
configure:3768: result: /bin/install -c
|
|||
|
configure:3792: checking for grep that handles long lines and -e
|
|||
|
configure:3850: result: /bin/grep
|
|||
|
configure:3855: checking for egrep
|
|||
|
configure:3917: result: /bin/grep -E
|
|||
|
configure:3922: checking for ANSI C header files
|
|||
|
configure:3942: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:3942: $? = 0
|
|||
|
configure:4015: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
configure:4015: $? = 0
|
|||
|
configure:4015: ./conftest.exe
|
|||
|
configure:4015: $? = 0
|
|||
|
configure:4026: result: yes
|
|||
|
configure:4039: checking for sys/types.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for sys/stat.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for stdlib.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for string.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for memory.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for strings.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for inttypes.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for stdint.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4039: checking for unistd.h
|
|||
|
configure:4039: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4039: $? = 0
|
|||
|
configure:4039: result: yes
|
|||
|
configure:4054: checking fcntl.h usability
|
|||
|
configure:4054: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4054: $? = 0
|
|||
|
configure:4054: result: yes
|
|||
|
configure:4054: checking fcntl.h presence
|
|||
|
configure:4054: gcc -E conftest.c
|
|||
|
configure:4054: $? = 0
|
|||
|
configure:4054: result: yes
|
|||
|
configure:4054: checking for fcntl.h
|
|||
|
configure:4054: result: yes
|
|||
|
configure:4054: checking for unistd.h
|
|||
|
configure:4054: result: yes
|
|||
|
configure:4068: checking for an ANSI C-conforming const
|
|||
|
configure:4134: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4134: $? = 0
|
|||
|
configure:4141: result: yes
|
|||
|
configure:4153: checking size of int
|
|||
|
configure:4158: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
configure:4158: $? = 0
|
|||
|
configure:4158: ./conftest.exe
|
|||
|
configure:4158: $? = 0
|
|||
|
configure:4172: result: 4
|
|||
|
configure:4186: checking size of long
|
|||
|
configure:4191: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
d:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot open output file conftest.exe: Permission denied
|
|||
|
collect2.exe: error: ld returned 1 exit status
|
|||
|
configure:4191: $? = 1
|
|||
|
configure: program exited with status 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| #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 HAVE_FCNTL_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define SIZEOF_INT 4
|
|||
|
| /* 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
|
|||
|
| static long int longval () { return (long int) (sizeof (long)); }
|
|||
|
| static unsigned long int ulongval () { return (long int) (sizeof (long)); }
|
|||
|
| #include <stdio.h>
|
|||
|
| #include <stdlib.h>
|
|||
|
| int
|
|||
|
| main ()
|
|||
|
| {
|
|||
|
|
|
|||
|
| FILE *f = fopen ("conftest.val", "w");
|
|||
|
| if (! f)
|
|||
|
| return 1;
|
|||
|
| if (((long int) (sizeof (long))) < 0)
|
|||
|
| {
|
|||
|
| long int i = longval ();
|
|||
|
| if (i != ((long int) (sizeof (long))))
|
|||
|
| return 1;
|
|||
|
| fprintf (f, "%ld", i);
|
|||
|
| }
|
|||
|
| else
|
|||
|
| {
|
|||
|
| unsigned long int i = ulongval ();
|
|||
|
| if (i != ((long int) (sizeof (long))))
|
|||
|
| return 1;
|
|||
|
| fprintf (f, "%lu", i);
|
|||
|
| }
|
|||
|
| /* Do not output a trailing newline, as this causes \r\n confusion
|
|||
|
| on some platforms. */
|
|||
|
| return ferror (f) || fclose (f) != 0;
|
|||
|
|
|
|||
|
| ;
|
|||
|
| return 0;
|
|||
|
| }
|
|||
|
configure:4205: result: 0
|
|||
|
configure:4219: checking whether cpp computation of bit length in ftconfig.in works
|
|||
|
configure:4281: result: no
|
|||
|
configure:4314: checking for stdlib.h
|
|||
|
configure:4314: result: yes
|
|||
|
configure:4314: checking for unistd.h
|
|||
|
configure:4314: result: yes
|
|||
|
configure:4314: checking for sys/param.h
|
|||
|
configure:4314: gcc -c -g -O2 conftest.c >&5
|
|||
|
configure:4314: $? = 0
|
|||
|
configure:4314: result: yes
|
|||
|
configure:4334: checking for getpagesize
|
|||
|
configure:4334: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
configure:4334: $? = 0
|
|||
|
configure:4334: result: yes
|
|||
|
configure:4343: checking for working mmap
|
|||
|
configure:4490: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
conftest.c:87:22: fatal error: sys/mman.h: No such file or directory
|
|||
|
compilation terminated.
|
|||
|
configure:4490: $? = 1
|
|||
|
configure: program exited with status 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| #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 HAVE_FCNTL_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define SIZEOF_INT 4
|
|||
|
| #define SIZEOF_LONG 0
|
|||
|
| #define FT_USE_AUTOCONF_SIZEOF_TYPES /**/
|
|||
|
| #define HAVE_STDLIB_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define HAVE_SYS_PARAM_H 1
|
|||
|
| #define HAVE_GETPAGESIZE 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
|
|||
|
| /* malloc might have been renamed as rpl_malloc. */
|
|||
|
| #undef malloc
|
|||
|
|
|
|||
|
| /* Thanks to Mike Haertel and Jim Avera for this test.
|
|||
|
| Here is a matrix of mmap possibilities:
|
|||
|
| mmap private not fixed
|
|||
|
| mmap private fixed at somewhere currently unmapped
|
|||
|
| mmap private fixed at somewhere already mapped
|
|||
|
| mmap shared not fixed
|
|||
|
| mmap shared fixed at somewhere currently unmapped
|
|||
|
| mmap shared fixed at somewhere already mapped
|
|||
|
| For private mappings, we should verify that changes cannot be read()
|
|||
|
| back from the file, nor mmap's back from the file at a different
|
|||
|
| address. (There have been systems where private was not correctly
|
|||
|
| implemented like the infamous i386 svr4.0, and systems where the
|
|||
|
| VM page cache was not coherent with the file system buffer cache
|
|||
|
| like early versions of FreeBSD and possibly contemporary NetBSD.)
|
|||
|
| For shared mappings, we should conversely verify that changes get
|
|||
|
| propagated back to all the places they're supposed to be.
|
|||
|
|
|
|||
|
| Grep wants private fixed already mapped.
|
|||
|
| The main things grep needs to know about mmap are:
|
|||
|
| * does it exist and is it safe to write into the mmap'd area
|
|||
|
| * how to use it (BSD variants) */
|
|||
|
|
|
|||
|
| #include <fcntl.h>
|
|||
|
| #include <sys/mman.h>
|
|||
|
|
|
|||
|
| #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
|
|||
|
| char *malloc ();
|
|||
|
| #endif
|
|||
|
|
|
|||
|
| /* This mess was copied from the GNU getpagesize.h. */
|
|||
|
| #ifndef HAVE_GETPAGESIZE
|
|||
|
| # ifdef _SC_PAGESIZE
|
|||
|
| # define getpagesize() sysconf(_SC_PAGESIZE)
|
|||
|
| # else /* no _SC_PAGESIZE */
|
|||
|
| # ifdef HAVE_SYS_PARAM_H
|
|||
|
| # include <sys/param.h>
|
|||
|
| # ifdef EXEC_PAGESIZE
|
|||
|
| # define getpagesize() EXEC_PAGESIZE
|
|||
|
| # else /* no EXEC_PAGESIZE */
|
|||
|
| # ifdef NBPG
|
|||
|
| # define getpagesize() NBPG * CLSIZE
|
|||
|
| # ifndef CLSIZE
|
|||
|
| # define CLSIZE 1
|
|||
|
| # endif /* no CLSIZE */
|
|||
|
| # else /* no NBPG */
|
|||
|
| # ifdef NBPC
|
|||
|
| # define getpagesize() NBPC
|
|||
|
| # else /* no NBPC */
|
|||
|
| # ifdef PAGESIZE
|
|||
|
| # define getpagesize() PAGESIZE
|
|||
|
| # endif /* PAGESIZE */
|
|||
|
| # endif /* no NBPC */
|
|||
|
| # endif /* no NBPG */
|
|||
|
| # endif /* no EXEC_PAGESIZE */
|
|||
|
| # else /* no HAVE_SYS_PARAM_H */
|
|||
|
| # define getpagesize() 8192 /* punt totally */
|
|||
|
| # endif /* no HAVE_SYS_PARAM_H */
|
|||
|
| # endif /* no _SC_PAGESIZE */
|
|||
|
|
|
|||
|
| #endif /* no HAVE_GETPAGESIZE */
|
|||
|
|
|
|||
|
| int
|
|||
|
| main ()
|
|||
|
| {
|
|||
|
| char *data, *data2, *data3;
|
|||
|
| const char *cdata2;
|
|||
|
| int i, pagesize;
|
|||
|
| int fd, fd2;
|
|||
|
|
|
|||
|
| pagesize = getpagesize ();
|
|||
|
|
|
|||
|
| /* First, make a file with some known garbage in it. */
|
|||
|
| data = (char *) malloc (pagesize);
|
|||
|
| if (!data)
|
|||
|
| return 1;
|
|||
|
| for (i = 0; i < pagesize; ++i)
|
|||
|
| *(data + i) = rand ();
|
|||
|
| umask (0);
|
|||
|
| fd = creat ("conftest.mmap", 0600);
|
|||
|
| if (fd < 0)
|
|||
|
| return 2;
|
|||
|
| if (write (fd, data, pagesize) != pagesize)
|
|||
|
| return 3;
|
|||
|
| close (fd);
|
|||
|
|
|
|||
|
| /* Next, check that the tail of a page is zero-filled. File must have
|
|||
|
| non-zero length, otherwise we risk SIGBUS for entire page. */
|
|||
|
| fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
|
|||
|
| if (fd2 < 0)
|
|||
|
| return 4;
|
|||
|
| cdata2 = "";
|
|||
|
| if (write (fd2, cdata2, 1) != 1)
|
|||
|
| return 5;
|
|||
|
| data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
|
|||
|
| if (data2 == MAP_FAILED)
|
|||
|
| return 6;
|
|||
|
| for (i = 0; i < pagesize; ++i)
|
|||
|
| if (*(data2 + i))
|
|||
|
| return 7;
|
|||
|
| close (fd2);
|
|||
|
| if (munmap (data2, pagesize))
|
|||
|
| return 8;
|
|||
|
|
|
|||
|
| /* Next, try to mmap the file at a fixed address which already has
|
|||
|
| something else allocated at it. If we can, also make sure that
|
|||
|
| we see the same garbage. */
|
|||
|
| fd = open ("conftest.mmap", O_RDWR);
|
|||
|
| if (fd < 0)
|
|||
|
| return 9;
|
|||
|
| if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
|||
|
| MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
|||
|
| return 10;
|
|||
|
| for (i = 0; i < pagesize; ++i)
|
|||
|
| if (*(data + i) != *(data2 + i))
|
|||
|
| return 11;
|
|||
|
|
|
|||
|
| /* Finally, make sure that changes to the mapped area do not
|
|||
|
| percolate back to the file as seen by read(). (This is a bug on
|
|||
|
| some variants of i386 svr4.0.) */
|
|||
|
| for (i = 0; i < pagesize; ++i)
|
|||
|
| *(data2 + i) = *(data2 + i) + 1;
|
|||
|
| data3 = (char *) malloc (pagesize);
|
|||
|
| if (!data3)
|
|||
|
| return 12;
|
|||
|
| if (read (fd, data3, pagesize) != pagesize)
|
|||
|
| return 13;
|
|||
|
| for (i = 0; i < pagesize; ++i)
|
|||
|
| if (*(data + i) != *(data3 + i))
|
|||
|
| return 14;
|
|||
|
| close (fd);
|
|||
|
| return 0;
|
|||
|
| }
|
|||
|
configure:4500: result: no
|
|||
|
configure:4568: checking for memcpy
|
|||
|
configure:4568: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
conftest.c:51:6: warning: conflicting types for built-in function 'memcpy' [enabled by default]
|
|||
|
configure:4568: $? = 0
|
|||
|
configure:4568: result: yes
|
|||
|
configure:4568: checking for memmove
|
|||
|
configure:4568: gcc -o conftest.exe -g -O2 conftest.c >&5
|
|||
|
conftest.c:52:6: warning: conflicting types for built-in function 'memmove' [enabled by default]
|
|||
|
configure:4568: $? = 0
|
|||
|
configure:4568: result: yes
|
|||
|
configure:4591: checking gcc compiler flag -pedantic to assure ANSI C works correctly
|
|||
|
configure:4608: gcc -c -g -O2 -pedantic conftest.c >&5
|
|||
|
configure:4608: $? = 0
|
|||
|
configure:4610: result: ok, add it to XX_ANSIFLAGS
|
|||
|
configure:4591: checking gcc compiler flag -ansi to assure ANSI C works correctly
|
|||
|
configure:4608: gcc -c -g -O2 -pedantic -ansi conftest.c >&5
|
|||
|
configure:4608: $? = 0
|
|||
|
configure:4610: result: ok, add it to XX_ANSIFLAGS
|
|||
|
configure:4650: checking for gzsetparams in -lz
|
|||
|
configure:4675: gcc -o conftest.exe -g -O2 conftest.c -lz >&5
|
|||
|
d:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot find -lz
|
|||
|
collect2.exe: error: ld returned 1 exit status
|
|||
|
configure:4675: $? = 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| #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 HAVE_FCNTL_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define SIZEOF_INT 4
|
|||
|
| #define SIZEOF_LONG 0
|
|||
|
| #define FT_USE_AUTOCONF_SIZEOF_TYPES /**/
|
|||
|
| #define HAVE_STDLIB_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define HAVE_SYS_PARAM_H 1
|
|||
|
| #define HAVE_GETPAGESIZE 1
|
|||
|
| #define HAVE_MEMCPY 1
|
|||
|
| #define HAVE_MEMMOVE 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 gzsetparams ();
|
|||
|
| int
|
|||
|
| main ()
|
|||
|
| {
|
|||
|
| return gzsetparams ();
|
|||
|
| ;
|
|||
|
| return 0;
|
|||
|
| }
|
|||
|
configure:4684: result: no
|
|||
|
configure:4711: checking for BZ2_bzDecompress in -lbz2
|
|||
|
configure:4736: gcc -o conftest.exe -g -O2 conftest.c -lbz2 >&5
|
|||
|
d:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot find -lbz2
|
|||
|
collect2.exe: error: ld returned 1 exit status
|
|||
|
configure:4736: $? = 1
|
|||
|
configure: failed program was:
|
|||
|
| /* confdefs.h */
|
|||
|
| #define PACKAGE_NAME "FreeType"
|
|||
|
| #define PACKAGE_TARNAME "freetype"
|
|||
|
| #define PACKAGE_VERSION "2.5"
|
|||
|
| #define PACKAGE_STRING "FreeType 2.5"
|
|||
|
| #define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
| #define PACKAGE_URL ""
|
|||
|
| #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 HAVE_FCNTL_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define SIZEOF_INT 4
|
|||
|
| #define SIZEOF_LONG 0
|
|||
|
| #define FT_USE_AUTOCONF_SIZEOF_TYPES /**/
|
|||
|
| #define HAVE_STDLIB_H 1
|
|||
|
| #define HAVE_UNISTD_H 1
|
|||
|
| #define HAVE_SYS_PARAM_H 1
|
|||
|
| #define HAVE_GETPAGESIZE 1
|
|||
|
| #define HAVE_MEMCPY 1
|
|||
|
| #define HAVE_MEMMOVE 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 BZ2_bzDecompress ();
|
|||
|
| int
|
|||
|
| main ()
|
|||
|
| {
|
|||
|
| return BZ2_bzDecompress ();
|
|||
|
| ;
|
|||
|
| return 0;
|
|||
|
| }
|
|||
|
configure:4745: result: no
|
|||
|
configure:4772: checking for libpng
|
|||
|
configure:4776: error: `libpng-config' not found;
|
|||
|
either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables,
|
|||
|
or pass `--without-png' to the `configure' script.
|
|||
|
|
|||
|
## ---------------- ##
|
|||
|
## Cache variables. ##
|
|||
|
## ---------------- ##
|
|||
|
|
|||
|
ac_cv_build=i686-pc-mingw32
|
|||
|
ac_cv_c_compiler_gnu=yes
|
|||
|
ac_cv_c_const=yes
|
|||
|
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_getpagesize=yes
|
|||
|
ac_cv_func_memcpy=yes
|
|||
|
ac_cv_func_memmove=yes
|
|||
|
ac_cv_func_mmap_fixed_mapped=no
|
|||
|
ac_cv_header_fcntl_h=yes
|
|||
|
ac_cv_header_inttypes_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_param_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_bz2_BZ2_bzDecompress=no
|
|||
|
ac_cv_lib_z_gzsetparams=no
|
|||
|
ac_cv_objext=o
|
|||
|
ac_cv_path_EGREP='/bin/grep -E'
|
|||
|
ac_cv_path_GREP=/bin/grep
|
|||
|
ac_cv_path_install='/bin/install -c'
|
|||
|
ac_cv_prog_CPP='gcc -E'
|
|||
|
ac_cv_prog_RMDIR=rmdir
|
|||
|
ac_cv_prog_ac_ct_CC=gcc
|
|||
|
ac_cv_prog_cc_c89=
|
|||
|
ac_cv_prog_cc_g=yes
|
|||
|
ac_cv_sizeof_int=4
|
|||
|
ac_cv_sizeof_long=0
|
|||
|
|
|||
|
## ----------------- ##
|
|||
|
## Output variables. ##
|
|||
|
## ----------------- ##
|
|||
|
|
|||
|
AR=''
|
|||
|
AS=''
|
|||
|
AWK=''
|
|||
|
CC='gcc'
|
|||
|
CC_BUILD='gcc'
|
|||
|
CFLAGS='-g -O2'
|
|||
|
CPP='gcc -E'
|
|||
|
CPPFLAGS=''
|
|||
|
DEFS=''
|
|||
|
DLLTOOL=''
|
|||
|
DSYMUTIL=''
|
|||
|
DUMPBIN=''
|
|||
|
ECHO_C=''
|
|||
|
ECHO_N='-n'
|
|||
|
ECHO_T=''
|
|||
|
EGREP='/bin/grep -E'
|
|||
|
EXEEXT='.exe'
|
|||
|
EXEEXT_BUILD='.exe'
|
|||
|
FGREP=''
|
|||
|
FT2_EXTRA_LIBS=''
|
|||
|
FTSYS_SRC='$(BASE_DIR)/ftsystem.c'
|
|||
|
GREP='/bin/grep'
|
|||
|
INSTALL_DATA='${INSTALL} -m 644'
|
|||
|
INSTALL_PROGRAM='${INSTALL}'
|
|||
|
INSTALL_SCRIPT='${INSTALL}'
|
|||
|
LD=''
|
|||
|
LDFLAGS=''
|
|||
|
LIBBZ2=''
|
|||
|
LIBOBJS=''
|
|||
|
LIBS=''
|
|||
|
LIBTOOL=''
|
|||
|
LIBZ=''
|
|||
|
LIPO=''
|
|||
|
LN_S=''
|
|||
|
LTLIBOBJS=''
|
|||
|
MANIFEST_TOOL=''
|
|||
|
NM=''
|
|||
|
NMEDIT=''
|
|||
|
OBJDUMP=''
|
|||
|
OBJEXT='o'
|
|||
|
OTOOL64=''
|
|||
|
OTOOL=''
|
|||
|
PACKAGE_BUGREPORT='freetype@nongnu.org'
|
|||
|
PACKAGE_NAME='FreeType'
|
|||
|
PACKAGE_STRING='FreeType 2.5'
|
|||
|
PACKAGE_TARNAME='freetype'
|
|||
|
PACKAGE_URL=''
|
|||
|
PACKAGE_VERSION='2.5'
|
|||
|
PATH_SEPARATOR=':'
|
|||
|
RANLIB=''
|
|||
|
RMDIR='rmdir'
|
|||
|
SED=''
|
|||
|
SHELL='/bin/sh'
|
|||
|
STRIP=''
|
|||
|
SYSTEM_ZLIB=''
|
|||
|
XX_ANSIFLAGS=' -pedantic -ansi'
|
|||
|
XX_CFLAGS='-Wall'
|
|||
|
ac_ct_AR=''
|
|||
|
ac_ct_CC='gcc'
|
|||
|
ac_ct_DUMPBIN=''
|
|||
|
bindir='${exec_prefix}/bin'
|
|||
|
build='i686-pc-mingw32'
|
|||
|
build_alias=''
|
|||
|
build_cpu='i686'
|
|||
|
build_libtool_libs=''
|
|||
|
build_os='mingw32'
|
|||
|
build_vendor='pc'
|
|||
|
datadir='${datarootdir}'
|
|||
|
datarootdir='${prefix}/share'
|
|||
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
|||
|
dvidir='${docdir}'
|
|||
|
exec_prefix='NONE'
|
|||
|
ft_version='16.2.10'
|
|||
|
ftmac_c=''
|
|||
|
hardcode_libdir_flag_spec=''
|
|||
|
host='i686-pc-mingw32'
|
|||
|
host_alias=''
|
|||
|
host_cpu='i686'
|
|||
|
host_os='mingw32'
|
|||
|
host_vendor='pc'
|
|||
|
htmldir='${docdir}'
|
|||
|
includedir='${prefix}/include'
|
|||
|
infodir='${datarootdir}/info'
|
|||
|
libdir='${exec_prefix}/lib'
|
|||
|
libexecdir='${exec_prefix}/libexec'
|
|||
|
localedir='${datarootdir}/locale'
|
|||
|
localstatedir='${prefix}/var'
|
|||
|
mandir='${datarootdir}/man'
|
|||
|
oldincludedir='/usr/include'
|
|||
|
pdfdir='${docdir}'
|
|||
|
prefix='NONE'
|
|||
|
program_transform_name='s,x,x,'
|
|||
|
psdir='${docdir}'
|
|||
|
sbindir='${exec_prefix}/sbin'
|
|||
|
sharedstatedir='${prefix}/com'
|
|||
|
sysconfdir='${prefix}/etc'
|
|||
|
target_alias=''
|
|||
|
version_info='16:2:10'
|
|||
|
wl=''
|
|||
|
|
|||
|
## ----------- ##
|
|||
|
## confdefs.h. ##
|
|||
|
## ----------- ##
|
|||
|
|
|||
|
/* confdefs.h */
|
|||
|
#define PACKAGE_NAME "FreeType"
|
|||
|
#define PACKAGE_TARNAME "freetype"
|
|||
|
#define PACKAGE_VERSION "2.5"
|
|||
|
#define PACKAGE_STRING "FreeType 2.5"
|
|||
|
#define PACKAGE_BUGREPORT "freetype@nongnu.org"
|
|||
|
#define PACKAGE_URL ""
|
|||
|
#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 HAVE_FCNTL_H 1
|
|||
|
#define HAVE_UNISTD_H 1
|
|||
|
#define SIZEOF_INT 4
|
|||
|
#define SIZEOF_LONG 0
|
|||
|
#define FT_USE_AUTOCONF_SIZEOF_TYPES /**/
|
|||
|
#define HAVE_STDLIB_H 1
|
|||
|
#define HAVE_UNISTD_H 1
|
|||
|
#define HAVE_SYS_PARAM_H 1
|
|||
|
#define HAVE_GETPAGESIZE 1
|
|||
|
#define HAVE_MEMCPY 1
|
|||
|
#define HAVE_MEMMOVE 1
|
|||
|
|
|||
|
configure: exit 1
|