Skip to content

Instantly share code, notes, and snippets.

@arq5x
Created August 17, 2012 15:44
Show Gist options
  • Save arq5x/3380017 to your computer and use it in GitHub Desktop.
Save arq5x/3380017 to your computer and use it in GitHub Desktop.
Homebrew error log for graph-tool installation error.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by graph-tool configure 2.2.14, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/graph-tool/2.2.14
## --------- ##
## Platform. ##
## --------- ##
hostname = hydra.cphg.virginia.edu
uname -m = i386
uname -r = 10.8.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 121 tasks, 489 threads, 4 processors
Load average: 1.65, Mach factor: 2.67
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/cuda/bin
PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin
PATH: /Library/Frameworks/Python.framework/Versions/Current/bin
PATH: $/usr/local/bin/
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /usr/local/git/bin
PATH: /usr/texbin
PATH: /usr/X11/bin
PATH: /usr/local/bin/bx-python
PATH: /bin
PATH: /usr/texbin/
PATH: /usr/local/Library/Contributions/examples
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2622: checking for a BSD-compatible install
configure:2690: result: /usr/bin/install -c
configure:2701: checking whether build environment is sane
configure:2751: result: yes
configure:2892: checking for a thread-safe mkdir -p
configure:2931: result: /usr/local/bin/mkdir -p
configure:2944: checking for gawk
configure:2974: result: no
configure:2944: checking for mawk
configure:2974: result: no
configure:2944: checking for nawk
configure:2974: result: no
configure:2944: checking for awk
configure:2960: found /usr/bin/awk
configure:2971: result: awk
configure:2982: checking whether make sets $(MAKE)
configure:3004: result: yes
configure:3108: checking for style of include used by make
configure:3136: result: GNU
configure:3206: checking for gcc
configure:3233: result: /usr/bin/gcc-4.2
configure:3462: checking for C compiler version
configure:3471: /usr/bin/gcc-4.2 --version >&5
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 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:3482: $? = 0
configure:3471: /usr/bin/gcc-4.2 -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:3482: $? = 0
configure:3471: /usr/bin/gcc-4.2 -V >&5
gcc-4.2: argument to `-V' is missing
configure:3482: $? = 1
configure:3471: /usr/bin/gcc-4.2 -qversion >&5
i686-apple-darwin10-gcc-4.2.1: no input files
configure:3482: $? = 1
configure:3502: checking whether the C compiler works
configure:3524: /usr/bin/gcc-4.2 -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3528: $? = 0
configure:3576: result: yes
configure:3579: checking for C compiler default output file name
configure:3581: result: a.out
configure:3587: checking for suffix of executables
configure:3594: /usr/bin/gcc-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3598: $? = 0
configure:3620: result:
configure:3642: checking whether we are cross compiling
configure:3650: /usr/bin/gcc-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3654: $? = 0
configure:3661: ./conftest
configure:3665: $? = 0
configure:3680: result: no
configure:3685: checking for suffix of object files
configure:3707: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3711: $? = 0
configure:3732: result: o
configure:3736: checking whether we are using the GNU C compiler
configure:3755: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3755: $? = 0
configure:3764: result: yes
configure:3773: checking whether /usr/bin/gcc-4.2 accepts -g
configure:3793: /usr/bin/gcc-4.2 -c -g conftest.c >&5
configure:3793: $? = 0
configure:3834: result: yes
configure:3851: checking for /usr/bin/gcc-4.2 option to accept ISO C89
configure:3915: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:3915: $? = 0
configure:3928: result: none needed
configure:3950: checking dependency style of /usr/bin/gcc-4.2
configure:4060: result: none
configure:4076: checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together
configure:4107: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o >&5
configure:4111: $? = 0
configure:4117: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o >&5
configure:4121: $? = 0
configure:4132: cc -c conftest.c >&5
configure:4136: $? = 0
configure:4144: cc -c conftest.c -o conftest2.o >&5
configure:4148: $? = 0
configure:4154: cc -c conftest.c -o conftest2.o >&5
configure:4158: $? = 0
configure:4176: result: yes
configure:4206: checking for library containing strerror
configure:4237: /usr/bin/gcc-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4237: $? = 0
configure:4254: result: none required
configure:4269: checking how to run the C preprocessor
configure:4300: /usr/bin/gcc-4.2 -E conftest.c
configure:4300: $? = 0
configure:4314: /usr/bin/gcc-4.2 -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4314: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4339: result: /usr/bin/gcc-4.2 -E
configure:4359: /usr/bin/gcc-4.2 -E conftest.c
configure:4359: $? = 0
configure:4373: /usr/bin/gcc-4.2 -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4373: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4402: checking for grep that handles long lines and -e
configure:4460: result: /usr/bin/grep
configure:4465: checking for egrep
configure:4527: result: /usr/bin/grep -E
configure:4532: checking for ANSI C header files
configure:4552: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4552: $? = 0
configure:4625: /usr/bin/gcc-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4625: $? = 0
configure:4625: ./conftest
configure:4625: $? = 0
configure:4636: result: yes
configure:4649: checking for sys/types.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for sys/stat.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for stdlib.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for string.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for memory.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for strings.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for inttypes.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for stdint.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4649: checking for unistd.h
configure:4649: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4662: checking minix/config.h usability
configure:4662: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
conftest.c:54:26: error: minix/config.h: No such file or directory
configure:4662: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 <minix/config.h>
configure:4662: result: no
configure:4662: checking minix/config.h presence
configure:4662: /usr/bin/gcc-4.2 -E conftest.c
conftest.c:21:26: error: minix/config.h: No such file or directory
configure:4662: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 <minix/config.h>
configure:4662: result: no
configure:4662: checking for minix/config.h
configure:4662: result: no
configure:4683: checking whether it is safe to define __EXTENSIONS__
configure:4701: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.c >&5
configure:4701: $? = 0
configure:4708: result: yes
configure:4834: checking for C++ compiler version
configure:4843: /usr/bin/g++-4.2 --version >&5
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 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:4854: $? = 0
configure:4843: /usr/bin/g++-4.2 -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:4854: $? = 0
configure:4843: /usr/bin/g++-4.2 -V >&5
g++-4.2: argument to `-V' is missing
configure:4854: $? = 1
configure:4843: /usr/bin/g++-4.2 -qversion >&5
i686-apple-darwin10-g++-4.2.1: no input files
configure:4854: $? = 1
configure:4858: checking whether we are using the GNU C++ compiler
configure:4877: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:4877: $? = 0
configure:4886: result: yes
configure:4895: checking whether /usr/bin/g++-4.2 accepts -g
configure:4915: /usr/bin/g++-4.2 -c -g conftest.cpp >&5
configure:4915: $? = 0
configure:4956: result: yes
configure:4981: checking dependency style of /usr/bin/g++-4.2
configure:5091: result: none
configure:5116: checking for /usr/bin/gcc-4.2 option to accept ISO C99
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5265: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
conftest.cpp:76: error: expected ',' or '...' before 'text'
conftest.cpp: In function 'int test_restrict(const char*)':
conftest.cpp:81: error: 'text' was not declared in this scope
conftest.cpp: In function 'int main()':
conftest.cpp:130: error: expected initializer before 'newvar'
conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*'
conftest.cpp:145: error: expected primary-expression before '.' token
conftest.cpp:146: error: expected primary-expression before '.' token
conftest.cpp:147: error: expected primary-expression before '.' token
conftest.cpp:156: error: 'newvar' was not declared in this scope
configure:5265: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:5281: result: unsupported
configure:5291: checking for /usr/bin/gcc-4.2 option to accept ISO C89
configure:5368: result: none needed
configure:5387: checking for /usr/bin/gcc-4.2 option to accept ISO Standard C
configure:5398: result: none needed
configure:5411: checking how to run the C++ preprocessor
configure:5438: /usr/bin/g++-4.2 -E conftest.cpp
configure:5438: $? = 0
configure:5452: /usr/bin/g++-4.2 -E conftest.cpp
conftest.cpp:26:28: error: ac_nonexistent.h: No such file or directory
configure:5452: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5477: result: /usr/bin/g++-4.2 -E
configure:5497: /usr/bin/g++-4.2 -E conftest.cpp
configure:5497: $? = 0
configure:5511: /usr/bin/g++-4.2 -E conftest.cpp
conftest.cpp:26:28: error: ac_nonexistent.h: No such file or directory
configure:5511: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5540: checking for ANSI C header files
configure:5644: result: yes
configure:5712: checking build system type
configure:5726: result: x86_64-apple-darwin10.8.0
configure:5746: checking host system type
configure:5759: result: x86_64-apple-darwin10.8.0
configure:5800: checking how to print strings
configure:5827: result: printf
configure:5848: checking for a sed that does not truncate output
configure:5912: result: /usr/bin/sed
configure:5930: checking for fgrep
configure:5992: result: /usr/bin/grep -F
configure:6027: checking for ld used by /usr/bin/gcc-4.2
configure:6094: result: /usr/bin/gcc-4.2
configure:6101: checking if the linker (/usr/bin/gcc-4.2) is GNU ld
configure:6116: result: no
configure:6128: checking for BSD- or MS-compatible name lister (nm)
configure:6177: result: /usr/bin/nm
configure:6307: checking the name lister (/usr/bin/nm) interface
configure:6314: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:6317: /usr/bin/nm "conftest.o"
configure:6320: output
0000000000000000 D _some_variable
configure:6327: result: BSD nm
configure:6330: checking whether ln -s works
configure:6334: result: yes
configure:6342: checking the maximum length of command line arguments
configure:6467: result: 196608
configure:6484: checking whether the shell understands some XSI constructs
configure:6494: result: yes
configure:6498: checking whether the shell understands "+="
configure:6504: result: yes
configure:6539: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
configure:6579: result: func_convert_file_noop
configure:6586: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
configure:6606: result: func_convert_file_noop
configure:6613: checking for /usr/bin/gcc-4.2 option to reload object files
configure:6620: result: -r
configure:6694: checking for objdump
configure:6724: result: no
configure:6753: checking how to recognize dependent libraries
configure:6955: result: pass_all
configure:7040: checking for dlltool
configure:7070: result: no
configure:7100: checking how to associate runtime and link libraries
configure:7127: result: printf %s\n
configure:7187: checking for ar
configure:7203: found /usr/bin/ar
configure:7214: result: ar
configure:7251: checking for archiver @FILE support
configure:7268: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:7268: $? = 0
configure:7271: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:7274: $? = 1
configure:7294: result: no
configure:7352: checking for strip
configure:7368: found /usr/bin/strip
configure:7379: result: strip
configure:7451: checking for ranlib
configure:7467: found /usr/bin/ranlib
configure:7478: result: ranlib
configure:7580: checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object
configure:7699: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:7702: $? = 0
configure:7706: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7709: $? = 0
cannot find nm_test_var in conftest.nm
configure:7699: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:7702: $? = 0
configure:7706: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7709: $? = 0
configure:7775: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 conftest.cpp conftstm.o >&5
configure:7778: $? = 0
configure:7816: result: ok
configure:7853: checking for sysroot
configure:7883: result: no
configure:8126: checking for mt
configure:8156: result: no
configure:8176: checking if : is a manifest tool
configure:8182: : '-?'
configure:8190: result: no
configure:8246: checking for dsymutil
configure:8262: found /usr/bin/dsymutil
configure:8273: result: dsymutil
configure:8338: checking for nmedit
configure:8354: found /usr/bin/nmedit
configure:8365: result: nmedit
configure:8430: checking for lipo
configure:8446: found /usr/bin/lipo
configure:8457: result: lipo
configure:8522: checking for otool
configure:8538: found /usr/bin/otool
configure:8549: result: otool
configure:8614: checking for otool64
configure:8644: result: no
configure:8689: checking for -single_module linker flag
/usr/bin/gcc-4.2 -O3 -w -pipe -march=core2 -msse4 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:8716: result: yes
configure:8718: checking for -exported_symbols_list linker flag
configure:8738: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5
configure:8738: $? = 0
configure:8748: result: yes
configure:8750: checking for -force_load linker flag
/usr/bin/gcc-4.2 -O3 -w -pipe -march=core2 -msse4 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
/usr/bin/gcc-4.2 -O3 -w -pipe -march=core2 -msse4 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:8780: result: yes
configure:8819: checking for dlfcn.h
configure:8819: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:8819: $? = 0
configure:8819: result: yes
configure:8986: checking for objdir
configure:9001: result: .libs
configure:9268: checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions
configure:9286: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 -fno-rtti -fno-exceptions conftest.c >&5
configure:9290: $? = 0
configure:9303: result: yes
configure:9613: checking for /usr/bin/gcc-4.2 option to produce PIC
configure:9620: result: -fno-common -DPIC
configure:9628: checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works
configure:9646: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 -fno-common -DPIC -DPIC conftest.c >&5
configure:9650: $? = 0
configure:9663: result: yes
configure:9692: checking if /usr/bin/gcc-4.2 static flag -static works
configure:9720: result: no
configure:9735: checking if /usr/bin/gcc-4.2 supports -c -o file.o
configure:9756: /usr/bin/gcc-4.2 -c -O3 -w -pipe -march=core2 -msse4 -o out/conftest2.o conftest.c >&5
configure:9760: $? = 0
configure:9782: result: yes
configure:9790: checking if /usr/bin/gcc-4.2 supports -c -o file.o
configure:9837: result: yes
configure:9870: checking whether the /usr/bin/gcc-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries
configure:11028: result: yes
configure:11273: checking dynamic linker characteristics
configure:12022: result: darwin10.8.0 dyld
configure:12129: checking how to hardcode library paths into programs
configure:12154: result: immediate
configure:12694: checking whether stripping libraries is possible
configure:12708: result: yes
configure:12734: checking if libtool supports shared libraries
configure:12736: result: yes
configure:12739: checking whether to build shared libraries
configure:12760: result: yes
configure:12763: checking whether to build static libraries
configure:12767: result: no
configure:12790: checking how to run the C++ preprocessor
configure:12856: result: /usr/bin/g++-4.2 -E
configure:12876: /usr/bin/g++-4.2 -E conftest.cpp
configure:12876: $? = 0
configure:12890: /usr/bin/g++-4.2 -E conftest.cpp
conftest.cpp:29:28: error: ac_nonexistent.h: No such file or directory
configure:12890: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:13060: checking for ld used by /usr/bin/g++-4.2
configure:13127: result: /usr/bin/gcc-4.2
configure:13134: checking if the linker (/usr/bin/gcc-4.2) is GNU ld
configure:13149: result: no
configure:13204: checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries
configure:14208: result: yes
configure:14243: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 conftest.cpp >&5
configure:14246: $? = 0
configure:14766: checking for /usr/bin/g++-4.2 option to produce PIC
configure:14773: result: -fno-common -DPIC
configure:14781: checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works
configure:14799: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -fno-common -DPIC -DPIC conftest.cpp >&5
configure:14803: $? = 0
configure:14816: result: yes
configure:14839: checking if /usr/bin/g++-4.2 static flag -static works
configure:14867: result: no
configure:14879: checking if /usr/bin/g++-4.2 supports -c -o file.o
configure:14900: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -o out/conftest2.o conftest.cpp >&5
configure:14904: $? = 0
configure:14926: result: yes
configure:14931: checking if /usr/bin/g++-4.2 supports -c -o file.o
configure:14978: result: yes
configure:15008: checking whether the /usr/bin/g++-4.2 linker (/usr/bin/gcc-4.2) supports shared libraries
configure:15042: result: yes
configure:15185: checking dynamic linker characteristics
configure:15868: result: darwin10.8.0 dyld
configure:15921: checking how to hardcode library paths into programs
configure:15946: result: immediate
configure:16006: checking target system type
configure:16019: result: x86_64-apple-darwin10.8.0
configure:16049: checking whether to enable debug info...
configure:16062: result: no
configure:16077: checking whether to enable function inlining...
configure:16097: result: yes
configure:16112: checking whether to enable optimizations...
configure:16128: result: yes
configure:16134: checking whether to enable symbol visibility manipulation...
configure:16150: result: yes
configure:16158: checking whether to enable graph filtering...
configure:16175: result: yes
configure:16183: checking whether to enable parallel algorithms with openmp...
configure:16204: result: no
configure:16217: checking for main in -lm
configure:16236: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lm >&5
configure:16236: $? = 0
configure:16245: result: yes
configure:16257: checking for main in -lbz2
configure:16276: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lbz2 -lm >&5
configure:16276: $? = 0
configure:16285: result: yes
configure:16297: checking for main in -lexpat
configure:16316: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lexpat -lbz2 -lm >&5
configure:16316: $? = 0
configure:16325: result: yes
configure:16346: checking for python
configure:16364: found /Library/Frameworks/Python.framework/Versions/2.7/bin/python
configure:16376: result: /Library/Frameworks/Python.framework/Versions/2.7/bin/python
configure:16392: checking for a version of Python >= '2.1.0'
configure:16418: result: yes
configure:16426: checking for a version of Python 2.5
configure:16432: result: yes
configure:16449: checking for the distutils Python package
configure:16453: result: yes
configure:16467: checking for Python include path
configure:16477: result: -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
configure:16484: checking for Python library path
configure:16506: result: -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7
configure:16513: checking for Python site-packages path
configure:16519: result: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
configure:16526: checking python extra libraries
configure:16533: result: -ldl -framework CoreFoundation
configure:16540: checking python extra linking flags
configure:16547: result: -u _PyMac_Error Python.framework/Versions/2.7/Python
configure:16554: checking consistency of all components of python development environment
configure:16580: /usr/bin/gcc-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.c -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 >&5
configure:16580: $? = 0
configure:16588: result: yes
configure:16620: checking for python build information
configure:16622: result:
configure:16635: checking for python2.7
configure:16651: found /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
configure:16662: result: python2.7
configure:16676: checking for main in -lpython2.7
configure:16695: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lpython2.7 >&5
configure:16695: $? = 0
configure:16705: result: yes
configure:16714: checking python2.7/Python.h usability
configure:16714: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp >&5
configure:16714: $? = 0
configure:16714: result: yes
configure:16714: checking python2.7/Python.h presence
configure:16714: /usr/bin/g++-4.2 -E conftest.cpp
configure:16714: $? = 0
configure:16714: result: yes
configure:16714: checking for python2.7/Python.h
configure:16714: result: yes
configure:16739: result: results of the Python check:
configure:16741: result: Binary: python2.7
configure:16743: result: Library: python2.7
configure:16745: result: Include Dir: no
configure:16763: checking whether python version >= 2.5
configure:16774: python -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:16777: $? = 0
configure:16779: result: yes
configure:16870: checking for python version
configure:16877: result: 2.7
configure:16889: checking for python platform
configure:16896: result: darwin
configure:16903: checking for python script directory
configure:16932: result: ${prefix}/lib/python2.7/site-packages
configure:16941: checking for python extension module directory
configure:16970: result: ${exec_prefix}/lib/python2.7/site-packages
configure:17034: checking for boostlib >= 1.38.0
configure:17088: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include conftest.cpp >&5
configure:17088: $? = 0
configure:17090: result: yes
configure:17224: checking whether the Boost::Python library is available
configure:17254: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.cpp >&5
configure:17254: $? = 0
configure:17269: result: yes
configure:17287: checking for exit in -lboost_python
configure:17312: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lboost_python >&5
configure:17312: $? = 0
configure:17322: result: yes
configure:17335: checking whether the Boost::Iostreams library is available
configure:17369: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.cpp >&5
configure:17369: $? = 0
configure:17384: result: yes
configure:17402: checking for exit in -lboost_iostreams
configure:17427: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lboost_iostreams >&5
configure:17427: $? = 0
configure:17437: result: yes
configure:17450: checking whether the Boost::Regex library is available
configure:17479: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.cpp >&5
configure:17479: $? = 0
configure:17494: result: yes
configure:17512: checking for exit in -lboost_regex
configure:17537: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lboost_regex >&5
configure:17537: $? = 0
configure:17547: result: yes
configure:17561: checking whether the Boost::Graph library is available
configure:17592: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 conftest.cpp >&5
configure:17592: $? = 0
configure:17607: result: yes
configure:17625: checking for exit in -lboost_graph
configure:17650: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lboost_graph >&5
configure:17650: $? = 0
configure:17660: result: yes
configure:17676: checking for main in -lCGAL
configure:17695: /usr/bin/g++-4.2 -o conftest -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7 conftest.cpp -lCGAL >&5
configure:17695: $? = 0
configure:17704: result: yes
configure:17729: checking python2.7 module: numpy
configure:17734: result: yes
configure:17758: checking for /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h
configure:17758: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include conftest.cpp >&5
configure:17758: $? = 0
configure:17758: result: yes
configure:17776: checking python2.7 module: scipy
configure:17781: result: yes
configure:17804: checking /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h usability
configure:17804: /usr/bin/g++-4.2 -c -O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy conftest.cpp >&5
conftest.cpp:71:115: error: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h: No such file or directory
configure:17804: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_LIBBZ2 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_BOOST /**/
| #define HAVE_BOOST_PYTHON /**/
| #define HAVE_BOOST_IOSTREAMS /**/
| #define HAVE_BOOST_REGEX /**/
| #define HAVE_BOOST_GRAPH /**/
| #define HAVE_LIBCGAL 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 </Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h>
configure:17804: result: no
configure:17804: checking /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h presence
configure:17804: /usr/bin/g++-4.2 -E -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy conftest.cpp
conftest.cpp:38:115: error: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h: No such file or directory
configure:17804: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "graph-tool"
| #define PACKAGE_TARNAME "graph-tool"
| #define PACKAGE_VERSION "2.2.14"
| #define PACKAGE_STRING "graph-tool 2.2.14"
| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
| #define PACKAGE_URL ""
| #define PACKAGE "graph-tool"
| #define VERSION "2.2.14"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_LIBBZ2 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_BOOST /**/
| #define HAVE_BOOST_PYTHON /**/
| #define HAVE_BOOST_IOSTREAMS /**/
| #define HAVE_BOOST_REGEX /**/
| #define HAVE_BOOST_GRAPH /**/
| #define HAVE_LIBCGAL 1
| /* end confdefs.h. */
| #include </Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h>
configure:17804: result: no
configure:17804: checking for /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/scxx/object.h
configure:17804: result: no
configure:17811: error: Scipy weave/scxx header not found
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_boost_graph=yes
ac_cv_boost_iostreams=yes
ac_cv_boost_python=yes
ac_cv_boost_regex=yes
ac_cv_build=x86_64-apple-darwin10.8.0
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc-4.2
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O3 -w -pipe -march=core2 -msse4'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O3 -w -pipe -march=core2 -msse4'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/usr/bin/g++-4.2
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PYTHON_VERSION_set=
ac_cv_env_PYTHON_VERSION_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_header__Library_Frameworks_Python_framework_Versions_2_7_lib_python2_7_site_packages_numpy_core_include_numpy_arrayobject_h=yes
ac_cv_header__Library_Frameworks_Python_framework_Versions_2_7_lib_python2_7_site_packages_scipy_weave_scxx_object_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_python2_7_Python_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=x86_64-apple-darwin10.8.0
ac_cv_lib_CGAL_main=yes
ac_cv_lib_boost_graph___exit=yes
ac_cv_lib_boost_iostreams___exit=yes
ac_cv_lib_boost_python___exit=yes
ac_cv_lib_boost_regex___exit=yes
ac_cv_lib_bz2_main=yes
ac_cv_lib_expat_main=yes
ac_cv_lib_m_main=yes
ac_cv_lib_python2_7___main=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/local/bin/mkdir
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='/usr/bin/gcc-4.2 -E'
ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -E'
ac_cv_prog_PYTHON_BIN=python2.7
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc__usr_bin_gcc_4_2_c_o=yes
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_strerror='none required'
ac_cv_target=x86_64-apple-darwin10.8.0
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none
am_cv_python_platform=darwin
am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages'
am_cv_python_version=2.7
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/gcc-4.2
lt_cv_path_LDCXX=/usr/bin/gcc-4.2
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\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/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\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/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AR='ar'
AUTOCONF='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run autoconf'
AUTOHEADER='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run autoheader'
AUTOMAKE='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run automake-1.11'
AWK='awk'
BOOST_CPPFLAGS='-I/usr/local/include'
BOOST_GRAPH_LIB='boost_graph'
BOOST_IOSTREAMS_LIB='boost_iostreams'
BOOST_LDFLAGS='-L/usr/local/lib'
BOOST_PYTHON_LIB='boost_python'
BOOST_REGEX_LIB='boost_regex'
CC='/usr/bin/gcc-4.2'
CCDEPMODE='depmode=none'
CFLAGS='-O3 -w -pipe -march=core2 -msse4'
CGAL_FLAGS='-frounding-math'
CGAL_LIBADD='-lCGAL'
CPP='/usr/bin/gcc-4.2 -E'
CPPFLAGS=' -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy'
CXX='/usr/bin/g++-4.2'
CXXCPP='/usr/bin/g++-4.2 -E'
CXXDEPMODE='depmode=none'
CXXFLAGS='-O3 -w -pipe -march=core2 -msse4 -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GRAPH_TOOL_VERSION_MAJOR='2'
GRAPH_TOOL_VERSION_MICRO='14'
GRAPH_TOOL_VERSION_MINOR='2'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/gcc-4.2'
LDFLAGS=' -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7'
LIBOBJS=''
LIBS='-lCGAL '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/local/bin/mkdir -p'
MOD_CPPFLAGS=''
MOD_DIR=''
MOD_LDFLAGS=''
MOD_LIBADD=''
NM='/usr/bin/nm'
NMEDIT='nmedit'
NO_INLINE_FALSE=''
NO_INLINE_TRUE='#'
NO_PREFIX_PACKAGE_DATA_DIR=''
NO_PREFIX_PACKAGE_DOC_DIR=''
OBJDUMP='false'
OBJEXT='o'
OPENMP_LDFLAGS=''
OTOOL64=':'
OTOOL='otool'
PACKAGE='graph-tool'
PACKAGE_BUGREPORT='http://graph-tool.skewed.de'
PACKAGE_DATA_DIR=''
PACKAGE_DOC_DIR=''
PACKAGE_NAME='graph-tool'
PACKAGE_STRING='graph-tool 2.2.14'
PACKAGE_TARNAME='graph-tool'
PACKAGE_URL=''
PACKAGE_VERSION='2.2.14'
PATH_SEPARATOR=':'
PYTHON='python2.7'
PYTHON_BIN='python2.7'
PYTHON_CPPFLAGS='-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_EXTRA_LDFLAGS='-u _PyMac_Error Python.framework/Versions/2.7/Python'
PYTHON_EXTRA_LIBS=' -ldl -framework CoreFoundation'
PYTHON_INCLUDE_DIR=''
PYTHON_LDFLAGS='-L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 -lpython2.7'
PYTHON_LIB='python2.7'
PYTHON_PLATFORM='darwin'
PYTHON_PREFIX='${prefix}'
PYTHON_SITE_PKG='/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'
PYTHON_VERSION='2.7'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='2.2.14'
ac_ct_AR='ar'
ac_ct_CC='/usr/bin/gcc-4.2'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin10.8.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin10.8.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-apple-darwin10.8.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin10.8.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /private/tmp/homebrew-graph-tool-2.2.14-2ofv/graph-tool-2.2.14/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/local/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir='${pyexecdir}/graph-tool'
pkgpythondir='${pythondir}/graph-tool'
prefix='/usr/local/Cellar/graph-tool/2.2.14'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
pythondir='${prefix}/lib/python2.7/site-packages'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin10.8.0'
target_alias=''
target_cpu='x86_64'
target_os='darwin10.8.0'
target_vendor='apple'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "graph-tool"
#define PACKAGE_TARNAME "graph-tool"
#define PACKAGE_VERSION "2.2.14"
#define PACKAGE_STRING "graph-tool 2.2.14"
#define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
#define PACKAGE_URL ""
#define PACKAGE "graph-tool"
#define VERSION "2.2.14"
#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 __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_LIBM 1
#define HAVE_LIBBZ2 1
#define HAVE_LIBEXPAT 1
#define HAVE_BOOST /**/
#define HAVE_BOOST_PYTHON /**/
#define HAVE_BOOST_IOSTREAMS /**/
#define HAVE_BOOST_REGEX /**/
#define HAVE_BOOST_GRAPH /**/
#define HAVE_LIBCGAL 1
configure: exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment