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.13dev, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --enable-openmp CXX=g++-5 ## --------- ## ## Platform. ## ## --------- ## hostname = ceb-sre-usrv-01 uname -m = x86_64 uname -r = 3.19.0-51-generic uname -s = Linux uname -v = #58~14.04.1-Ubuntu SMP Fri Feb 26 22:02:58 UTC 2016 /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: /home/pmj27/anaconda2/bin PATH: /home/pmj27/anaconda2/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2682: checking build system type configure:2696: result: x86_64-unknown-linux-gnu configure:2716: checking host system type configure:2729: result: x86_64-unknown-linux-gnu configure:2749: checking target system type configure:2762: result: x86_64-unknown-linux-gnu configure:2805: checking for a BSD-compatible install configure:2873: result: /usr/bin/install -c configure:2884: checking whether build environment is sane configure:2939: result: yes configure:3090: checking for a thread-safe mkdir -p configure:3129: result: /bin/mkdir -p configure:3136: checking for gawk configure:3152: found /usr/bin/gawk configure:3163: result: gawk configure:3174: checking whether make sets $(MAKE) configure:3196: result: yes configure:3225: checking whether make supports nested variables configure:3242: result: yes configure:3378: checking whether make supports nested variables configure:3395: result: yes configure:3418: checking for style of include used by make configure:3446: result: GNU configure:3517: checking for gcc configure:3533: found /usr/bin/gcc configure:3544: result: gcc configure:3773: checking for C compiler version configure:3782: gcc --version >&5 gcc (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 Copyright (C) 2015 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:3793: $? = 0 configure:3782: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.3-8ubuntu2~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04) configure:3793: $? = 0 configure:3782: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3793: $? = 4 configure:3782: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3793: $? = 4 configure:3813: checking whether the C compiler works configure:3835: gcc conftest.c >&5 configure:3839: $? = 0 configure:3887: result: yes configure:3890: checking for C compiler default output file name configure:3892: result: a.out configure:3898: checking for suffix of executables configure:3905: gcc -o conftest conftest.c >&5 configure:3909: $? = 0 configure:3931: result: configure:3953: checking whether we are cross compiling configure:3961: gcc -o conftest conftest.c >&5 configure:3965: $? = 0 configure:3972: ./conftest configure:3976: $? = 0 configure:3991: result: no configure:3996: checking for suffix of object files configure:4018: gcc -c conftest.c >&5 configure:4022: $? = 0 configure:4043: result: o configure:4047: checking whether we are using the GNU C compiler configure:4066: gcc -c conftest.c >&5 configure:4066: $? = 0 configure:4075: result: yes configure:4084: checking whether gcc accepts -g configure:4104: gcc -c -g conftest.c >&5 configure:4104: $? = 0 configure:4145: result: yes configure:4162: checking for gcc option to accept ISO C89 configure:4225: gcc -c -g -O2 conftest.c >&5 configure:4225: $? = 0 configure:4238: result: none needed configure:4263: checking whether gcc understands -c and -o together configure:4285: gcc -c conftest.c -o conftest2.o configure:4288: $? = 0 configure:4285: gcc -c conftest.c -o conftest2.o configure:4288: $? = 0 configure:4300: result: yes configure:4319: checking dependency style of gcc configure:4430: result: gcc3 configure:4451: checking for library containing strerror configure:4482: gcc -o conftest -g -O2 conftest.c >&5 configure:4482: $? = 0 configure:4499: result: none required configure:4514: checking how to run the C preprocessor configure:4545: gcc -E conftest.c configure:4545: $? = 0 configure:4559: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4559: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | /* end confdefs.h. */ | #include configure:4584: result: gcc -E configure:4604: gcc -E conftest.c configure:4604: $? = 0 configure:4618: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4618: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | /* end confdefs.h. */ | #include configure:4647: checking for grep that handles long lines and -e configure:4705: result: /bin/grep configure:4710: checking for egrep configure:4772: result: /bin/grep -E configure:4777: checking for ANSI C header files configure:4797: gcc -c -g -O2 conftest.c >&5 configure:4797: $? = 0 configure:4870: gcc -o conftest -g -O2 conftest.c >&5 configure:4870: $? = 0 configure:4870: ./conftest configure:4870: $? = 0 configure:4881: result: yes configure:4894: checking for sys/types.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for sys/stat.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for stdlib.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for string.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for memory.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for strings.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for inttypes.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for stdint.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4894: checking for unistd.h configure:4894: gcc -c -g -O2 conftest.c >&5 configure:4894: $? = 0 configure:4894: result: yes configure:4907: checking minix/config.h usability configure:4907: gcc -c -g -O2 conftest.c >&5 conftest.c:54:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4907: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4907: result: no configure:4907: checking minix/config.h presence configure:4907: gcc -E conftest.c conftest.c:21:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4907: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 configure:4907: result: no configure:4907: checking for minix/config.h configure:4907: result: no configure:4928: checking whether it is safe to define __EXTENSIONS__ configure:4946: gcc -c -g -O2 conftest.c >&5 configure:4946: $? = 0 configure:4953: result: yes configure:5079: checking for C++ compiler version configure:5088: g++-5 --version >&5 g++-5 (Ubuntu 5.3.0-3ubuntu1~14.04) 5.3.0 20151204 Copyright (C) 2015 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:5099: $? = 0 configure:5088: g++-5 -v >&5 Using built-in specs. COLLECT_GCC=g++-5 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.0-3ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04) configure:5099: $? = 0 configure:5088: g++-5 -V >&5 g++-5: error: unrecognized command line option '-V' g++-5: fatal error: no input files compilation terminated. configure:5099: $? = 1 configure:5088: g++-5 -qversion >&5 g++-5: error: unrecognized command line option '-qversion' g++-5: fatal error: no input files compilation terminated. configure:5099: $? = 1 configure:5103: checking whether we are using the GNU C++ compiler configure:5122: g++-5 -c conftest.cpp >&5 configure:5122: $? = 0 configure:5131: result: yes configure:5140: checking whether g++-5 accepts -g configure:5160: g++-5 -c -g conftest.cpp >&5 configure:5160: $? = 0 configure:5201: result: yes configure:5226: checking dependency style of g++-5 configure:5337: result: gcc3 configure:5362: checking for gcc option to accept ISO C99 configure:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5511: g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' test_restrict (ccp restrict text) ^ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 | #include | #include | #include | #include | | // 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:5527: result: unsupported configure:5537: checking for gcc option to accept ISO C89 configure:5613: result: none needed configure:5632: checking for gcc option to accept ISO Standard C configure:5643: result: none needed configure:5656: checking how to run the C++ preprocessor configure:5683: g++-5 -E conftest.cpp configure:5683: $? = 0 configure:5697: g++-5 -E conftest.cpp conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5697: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 configure:5722: result: g++-5 -E configure:5742: g++-5 -E conftest.cpp configure:5742: $? = 0 configure:5756: g++-5 -E conftest.cpp conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5756: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 configure:5785: checking for ANSI C header files configure:5889: result: yes configure:5975: checking how to print strings configure:6002: result: printf configure:6023: checking for a sed that does not truncate output configure:6087: result: /bin/sed configure:6105: checking for fgrep configure:6167: result: /bin/grep -F configure:6202: checking for ld used by gcc configure:6269: result: /usr/bin/ld configure:6276: checking if the linker (/usr/bin/ld) is GNU ld configure:6291: result: yes configure:6303: checking for BSD- or MS-compatible name lister (nm) configure:6352: result: /usr/bin/nm -B configure:6482: checking the name lister (/usr/bin/nm -B) interface configure:6489: g++-5 -c conftest.cpp >&5 configure:6492: /usr/bin/nm -B "conftest.o" configure:6495: output 0000000000000000 B some_variable configure:6502: result: BSD nm configure:6505: checking whether ln -s works configure:6509: result: yes configure:6517: checking the maximum length of command line arguments configure:6648: result: 1572864 configure:6665: checking whether the shell understands some XSI constructs configure:6675: result: yes configure:6679: checking whether the shell understands "+=" configure:6685: result: yes configure:6720: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:6760: result: func_convert_file_noop configure:6767: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:6787: result: func_convert_file_noop configure:6794: checking for /usr/bin/ld option to reload object files configure:6801: result: -r configure:6875: checking for objdump configure:6891: found /usr/bin/objdump configure:6902: result: objdump configure:6934: checking how to recognize dependent libraries configure:7132: result: pass_all configure:7217: checking for dlltool configure:7247: result: no configure:7277: checking how to associate runtime and link libraries configure:7304: result: printf %s\n configure:7364: checking for ar configure:7380: found /usr/bin/ar configure:7391: result: ar configure:7428: checking for archiver @FILE support configure:7445: g++-5 -c conftest.cpp >&5 configure:7445: $? = 0 configure:7448: ar cru libconftest.a @conftest.lst >&5 configure:7451: $? = 0 configure:7456: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:7459: $? = 1 configure:7471: result: @ configure:7529: checking for strip configure:7545: found /usr/bin/strip configure:7556: result: strip configure:7628: checking for ranlib configure:7644: found /usr/bin/ranlib configure:7655: result: ranlib configure:7757: checking command to parse /usr/bin/nm -B output from gcc object configure:7877: g++-5 -c conftest.cpp >&5 configure:7880: $? = 0 configure:7884: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:7887: $? = 0 configure:7953: g++-5 -o conftest conftest.cpp conftstm.o >&5 configure:7956: $? = 0 configure:7994: result: ok configure:8031: checking for sysroot configure:8061: result: no configure:8138: g++-5 -c conftest.cpp >&5 configure:8141: $? = 0 configure:8330: checking for mt configure:8346: found /bin/mt configure:8357: result: mt configure:8380: checking if mt is a manifest tool configure:8386: mt '-?' configure:8394: result: no configure:9033: checking for dlfcn.h configure:9033: g++-5 -c conftest.cpp >&5 configure:9033: $? = 0 configure:9033: result: yes configure:9219: checking for objdir configure:9234: result: .libs configure:9501: checking if gcc supports -fno-rtti -fno-exceptions configure:9519: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:9523: $? = 0 configure:9536: result: no configure:9863: checking for gcc option to produce PIC configure:9870: result: -fPIC -DPIC configure:9878: checking if gcc PIC flag -fPIC -DPIC works configure:9896: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:9900: $? = 0 configure:9913: result: yes configure:9942: checking if gcc static flag -static works configure:9970: result: yes configure:9985: checking if gcc supports -c -o file.o configure:10006: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10010: $? = 0 configure:10032: result: yes configure:10040: checking if gcc supports -c -o file.o configure:10087: result: yes configure:10120: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11277: result: yes configure:11314: checking whether -lc should be explicitly linked in configure:11322: gcc -c -g -O2 conftest.c >&5 configure:11325: $? = 0 configure:11340: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11343: $? = 0 configure:11357: result: no configure:11517: checking dynamic linker characteristics configure:12017: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12017: $? = 0 configure:12251: result: GNU/Linux ld.so configure:12358: checking how to hardcode library paths into programs configure:12383: result: immediate configure:12923: checking whether stripping libraries is possible configure:12928: result: yes configure:12963: checking if libtool supports shared libraries configure:12965: result: yes configure:12968: checking whether to build shared libraries configure:12989: result: yes configure:12992: checking whether to build static libraries configure:12996: result: no configure:13019: checking how to run the C++ preprocessor configure:13085: result: g++-5 -E configure:13105: g++-5 -E conftest.cpp configure:13105: $? = 0 configure:13119: g++-5 -E conftest.cpp conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13119: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 configure:13288: checking for ld used by g++-5 configure:13355: result: /usr/bin/ld -m elf_x86_64 configure:13362: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:13377: result: yes configure:13432: checking whether the g++-5 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14434: result: yes configure:14470: g++-5 -c conftest.cpp >&5 configure:14473: $? = 0 configure:14993: checking for g++-5 option to produce PIC configure:15000: result: -fPIC -DPIC configure:15008: checking if g++-5 PIC flag -fPIC -DPIC works configure:15026: g++-5 -c -fPIC -DPIC -DPIC conftest.cpp >&5 configure:15030: $? = 0 configure:15043: result: yes configure:15066: checking if g++-5 static flag -static works configure:15094: result: yes configure:15106: checking if g++-5 supports -c -o file.o configure:15127: g++-5 -c -o out/conftest2.o conftest.cpp >&5 configure:15131: $? = 0 configure:15153: result: yes configure:15158: checking if g++-5 supports -c -o file.o configure:15205: result: yes configure:15235: checking whether the g++-5 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:15274: result: yes configure:15415: checking dynamic linker characteristics configure:16083: result: GNU/Linux ld.so configure:16136: checking how to hardcode library paths into programs configure:16161: result: immediate configure:16278: checking for pkg-config configure:16296: found /usr/bin/pkg-config configure:16308: result: /usr/bin/pkg-config configure:16333: checking pkg-config is at least version 0.9.0 configure:16336: result: yes configure:16353: checking whether g++-5 supports C++14 features by default configure:16767: g++-5 -c conftest.cpp >&5 conftest.cpp:40:2: error: #error "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ conftest.cpp:325:2: error: #error "This is not a C++14 compiler" #error "This is not a C++14 compiler" ^ configure:16767: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_seperators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:16774: result: no configure:16783: checking whether g++-5 supports C++14 features with -std=gnu++14 configure:17199: g++-5 -c -std=gnu++14 conftest.cpp >&5 configure:17199: $? = 0 configure:17208: result: yes configure:17248: checking whether to enable debug info configure:17268: result: no configure:17278: checking whether to enable function inlining... configure:17298: result: yes configure:17313: checking whether to enable optimizations configure:17329: result: yes configure:17335: checking whether to enable symbol visibility manipulation configure:17351: result: yes configure:17377: checking whether to enable parallel algorithms with openmp configure:17382: result: yes configure:17406: checking whether to enable cairo drawing configure:17420: result: yes configure:17432: checking for main in -lm configure:17451: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp conftest.cpp -lm >&5 configure:17451: $? = 0 configure:17460: result: yes configure:17472: checking for main in -lbz2 configure:17491: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp conftest.cpp -lbz2 -lm >&5 /usr/bin/ld: cannot find -lbz2 collect2: error: ld returned 1 exit status configure:17491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 OPENMP_MIN_THRESH 300 | #define USING_OPENMP 1 | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:17500: result: no configure:17512: checking for main in -lexpat configure:17531: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp conftest.cpp -lexpat -lm >&5 configure:17531: $? = 0 configure:17540: result: yes configure:17590: checking for a Python interpreter with version >= 2.6 configure:17607: 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.6'.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:17610: $? = 0 configure:17616: result: python configure:17624: checking for python configure:17642: found /home/pmj27/anaconda2/bin/python configure:17654: result: /home/pmj27/anaconda2/bin/python configure:17672: checking for python version configure:17679: result: 2.7 configure:17691: checking for python platform configure:17698: result: linux2 configure:17724: checking for python script directory configure:17759: result: ${prefix}/lib/python2.7/site-packages configure:17768: checking for python extension module directory configure:17803: result: ${exec_prefix}/lib/python2.7/site-packages configure:17828: checking for python2.7 configure:17858: result: /home/pmj27/anaconda2/bin/python configure:17874: checking for a version of Python >= '2.1.0' configure:17900: result: yes configure:17908: checking for a version of Python == '2.7.11' configure:17914: result: yes configure:17931: checking for the distutils Python package configure:17935: result: yes configure:17949: checking for Python include path configure:17965: result: -I/home/pmj27/anaconda2/include/python2.7 configure:17972: checking for Python library path configure:18049: result: -L/home/pmj27/anaconda2/lib -lpython2.7 configure:18056: checking for Python site-packages path configure:18062: result: /home/pmj27/anaconda2/lib/python2.7/site-packages configure:18069: checking python extra libraries configure:18076: result: -lpthread -ldl -lutil -lm configure:18083: checking python extra linking flags configure:18090: result: -Xlinker -export-dynamic configure:18097: checking consistency of all components of python development environment configure:18125: gcc -o conftest -g -O2 -I/home/pmj27/anaconda2/include/python2.7 -lpthread -ldl -lutil -lm conftest.c -lexpat -lm -L/home/pmj27/anaconda2/lib -lpython2.7 -Xlinker -export-dynamic -Xlinker -export-dynamic >&5 configure:18125: $? = 0 configure:18143: result: yes configure:18237: checking for boostlib >= 1.54.0 configure:18320: g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/home/pmj27/anaconda2/include/python2.7 -I/usr/include conftest.cpp >&5 configure:18320: $? = 0 configure:18322: result: yes configure:18508: checking whether the Boost::Python library is available configure:18526: g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/usr/include -I/home/pmj27/anaconda2/include/python2.7 -I/home/pmj27/anaconda2/include/python2.7 conftest.cpp >&5 configure:18526: $? = 0 configure:18534: result: yes configure:18553: checking whether boost_python is the correct library configure:18572: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/usr/include -I/home/pmj27/anaconda2/include/python2.7 -I/home/pmj27/anaconda2/include/python2.7 -L/usr/lib/x86_64-linux-gnu conftest.cpp -lboost_python -lexpat -lm -L/home/pmj27/anaconda2/lib -lpython2.7 >&5 configure:18572: $? = 0 configure:18581: result: yes configure:18602: checking whether the Boost::Iostreams library is available configure:18636: g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/home/pmj27/anaconda2/include/python2.7 conftest.cpp >&5 configure:18636: $? = 0 configure:18651: result: yes configure:18669: checking for exit in -lboost_iostreams configure:18694: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/home/pmj27/anaconda2/include/python2.7 conftest.cpp -lboost_iostreams -lexpat -lm >&5 /usr/bin/ld: cannot find -lboost_iostreams collect2: error: ld returned 1 exit status configure:18694: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 OPENMP_MIN_THRESH 300 | #define USING_OPENMP 1 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | /* 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 exit (); | int | main () | { | return exit (); | ; | return 0; | } configure:18704: result: no configure:18669: checking for exit in -lboost_iostreams configure:18704: result: no configure:18669: checking for exit in -lboost_iostreams-mt configure:18694: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/home/pmj27/anaconda2/include/python2.7 conftest.cpp -lboost_iostreams-mt -lexpat -lm >&5 /usr/bin/ld: cannot find -lboost_iostreams-mt collect2: error: ld returned 1 exit status configure:18694: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 OPENMP_MIN_THRESH 300 | #define USING_OPENMP 1 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | /* 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 exit (); | int | main () | { | return exit (); | ; | return 0; | } configure:18704: result: no configure:18669: checking for exit in -lboost_iostreams-mt-py2.5 configure:18694: g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/home/pmj27/anaconda2/include/python2.7 conftest.cpp -lboost_iostreams-mt-py2.5 -lexpat -lm >&5 /usr/bin/ld: cannot find -lboost_iostreams-mt-py2.5 collect2: error: ld returned 1 exit status configure:18694: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.13dev" | #define PACKAGE_STRING "graph-tool 2.13dev" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.13dev" | #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 OPENMP_MIN_THRESH 300 | #define USING_OPENMP 1 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | /* 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 exit (); | int | main () | { | return exit (); | ; | return 0; | } configure:18704: result: no configure:18715: error: No usable boost::iostreams found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_boost_iostreams=yes ac_cv_boost_python=yes ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CAIROMM_CFLAGS_set= ac_cv_env_CAIROMM_CFLAGS_value= ac_cv_env_CAIROMM_LIBS_set= ac_cv_env_CAIROMM_LIBS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=g++-5 ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_value= ac_cv_env_PYTHON_set= ac_cv_env_PYTHON_value= ac_cv_env_SPARSEHASH_CFLAGS_set= ac_cv_env_SPARSEHASH_CFLAGS_value= ac_cv_env_SPARSEHASH_LIBS_set= ac_cv_env_SPARSEHASH_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_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_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-unknown-linux-gnu ac_cv_lib_boost_iostreams___exit=no ac_cv_lib_boost_iostreams_mt___exit=no ac_cv_lib_boost_iostreams_mt_py2_5___exit=no ac_cv_lib_bz2_main=no ac_cv_lib_expat_main=yes ac_cv_lib_m_main=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_PYTHON=/home/pmj27/anaconda2/bin/python ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++-5 -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip 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-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_pathless_PYTHON=python am_cv_prog_cc_c_o=yes am_cv_python_platform=linux2 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 ax_cv_cxx_compile_cxx14=no ax_cv_cxx_compile_cxx14__std_gnupp14=yes ax_cv_lib_boost_python___BOOST_PYTHON_MODULE=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' 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='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_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/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/missing aclocal-1.14' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/missing autoconf' AUTOHEADER='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/missing autoheader' AUTOMAKE='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/missing automake-1.14' AWK='gawk' BOOST_COROUTINE_LIB='' BOOST_CPPFLAGS='-I/usr/include' BOOST_GRAPH_LIB='' BOOST_IOSTREAMS_LIB='' BOOST_LDFLAGS='-L/usr/lib/x86_64-linux-gnu' BOOST_PYTHON_LIB='boost_python' BOOST_REGEX_LIB='' CAIROMM_CFLAGS='' CAIROMM_LIBS='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CGAL_FLAGS='' CGAL_LIBADD='' CPP='gcc -E' CPPFLAGS=' -I/home/pmj27/anaconda2/include/python2.7' CXX='g++-5' CXXCPP='g++-5 -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GRAPH_TOOL_VERSION_MAJOR='2' GRAPH_TOOL_VERSION_MINOR='13dev' GREP='/bin/grep' HAVE_CXX14='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS=' ' LIBOBJS='' LIBS='-lexpat -lm ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOD_CPPFLAGS='' MOD_DIR='/home/pmj27/anaconda2/lib/python2.7/site-packages/graph_tool' MOD_LDFLAGS='' MOD_LIBADD='' NM='/usr/bin/nm -B' NMEDIT='' NO_INLINE_FALSE='' NO_INLINE_TRUE='#' NO_PREFIX_PACKAGE_DATA_DIR='' NO_PREFIX_PACKAGE_DOC_DIR='' OBJDUMP='objdump' OBJEXT='o' OPENMP_LDFLAGS=' -lgomp ' OTOOL64='' OTOOL='' PACKAGE='graph-tool' PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues' PACKAGE_DATA_DIR='' PACKAGE_DOC_DIR='' PACKAGE_NAME='graph-tool' PACKAGE_STRING='graph-tool 2.13dev' PACKAGE_TARNAME='graph-tool' PACKAGE_URL='http://graph-tool.skewed.de' PACKAGE_VERSION='2.13dev' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PYTHON='/home/pmj27/anaconda2/bin/python' PYTHON_CPPFLAGS='-I/home/pmj27/anaconda2/include/python2.7' PYTHON_EXEC_PREFIX='${exec_prefix}' PYTHON_EXTRA_LDFLAGS='-lpthread -ldl -lutil -lm' PYTHON_EXTRA_LIBS='-Xlinker -export-dynamic' PYTHON_FULL_VERSION='2.7.11' PYTHON_LIBS='-L/home/pmj27/anaconda2/lib -lpython2.7' PYTHON_PLATFORM='linux2' PYTHON_PREFIX='${prefix}' PYTHON_SITE_PKG='/home/pmj27/anaconda2/lib/python2.7/site-packages' PYTHON_VERSION='2.7' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SPARSEHASH_CFLAGS='' SPARSEHASH_LIBS='' STRIP='strip' VERSION='2.13dev' ac_ct_AR='ar' ac_ct_CC='gcc' 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__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/pmj27/Downloads/graph-tool-master-8b1b7c8334453188a786f6cc39eb37c091873baf/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfig_libdir='' pkgconfig_libfile='' pkgconfigdir='' pkgpyexecdir='${pyexecdir}/graph-tool' pkgpythondir='${pythondir}/graph-tool' prefix='/usr/local' 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-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "graph-tool" #define PACKAGE_TARNAME "graph-tool" #define PACKAGE_VERSION "2.13dev" #define PACKAGE_STRING "graph-tool 2.13dev" #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" #define PACKAGE_URL "http://graph-tool.skewed.de" #define PACKAGE "graph-tool" #define VERSION "2.13dev" #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 OPENMP_MIN_THRESH 300 #define USING_OPENMP 1 #define HAVE_LIBM 1 #define HAVE_LIBEXPAT 1 #define HAVE_PYTHON "2.7" #define HAVE_BOOST /**/ #define HAVE_BOOST_PYTHON /**/ #define HAVE_BOOST_IOSTREAMS /**/ configure: exit 1