This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libpqxx configure 6.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=powerpc-buildroot-linux-gnuspe --host=powerpc-buildroot-linux-gnuspe --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = shattrath uname -m = x86_64 uname -r = 3.16.0-4-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) /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/buildroot/build/instance-0/output/host/bin PATH: /home/buildroot/build/instance-0/output/host/sbin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2516: checking for C++ compiler version configure:2525: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ --version >&5 powerpc-ctng_e500v2-linux-gnuspe-g++ (crosstool-NG hg+-c65fcf8a34b7) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2536: $? = 0 configure:2525: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../libexec/gcc/powerpc-ctng_e500v2-linux-gnuspe/4.7.3/lto-wrapper Target: powerpc-ctng_e500v2-linux-gnuspe Configured with: /home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/src/gcc-4.7.3/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=powerpc-ctng_e500v2-linux-gnuspe --prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe --with-sysroot=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-languages=c,c++ --with-cpu=8548 --with-tune=8548 --with-float=hard --with-pkgversion='crosstool-NG hg+-c65fcf8a34b7' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpfr=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpc=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-ppl=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-cloog=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-libelf=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools/lib -lpwl' --enable-threads=posix --with-long-double-128 --disable-nls --disable-multilib --with-local-prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-c99 --enable-long-long --enable-e500_double Thread model: posix gcc version 4.7.3 (crosstool-NG hg+-c65fcf8a34b7) configure:2536: $? = 0 configure:2525: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -V >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized command line option '-V' powerpc-ctng_e500v2-linux-gnuspe-g++: fatal error: no input files compilation terminated. configure:2536: $? = 1 configure:2525: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -qversion >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized command line option '-qversion' powerpc-ctng_e500v2-linux-gnuspe-g++: fatal error: no input files compilation terminated. configure:2536: $? = 1 configure:2556: checking whether the C++ compiler works configure:2578: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:2582: $? = 0 configure:2630: result: yes configure:2633: checking for C++ compiler default output file name configure:2635: result: a.out configure:2641: checking for suffix of executables configure:2648: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:2652: $? = 0 configure:2674: result: configure:2696: checking whether we are cross compiling configure:2734: result: yes configure:2739: checking for suffix of object files configure:2761: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:2765: $? = 0 configure:2786: result: o configure:2790: checking whether we are using the GNU C++ compiler configure:2809: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:2809: $? = 0 configure:2818: result: yes configure:2827: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ accepts -g configure:2847: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:2847: $? = 0 configure:2888: result: yes configure:2919: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features by default configure:3213: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:20:2: error: #error "This is not a C++11 compiler" configure:3213: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3220: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++11 configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:258:25: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:259:26: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:260:28: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:260:30: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:261:32: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:261:34: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:261:34: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:262:42: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++11 configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ +std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: +std=c++11: No such file or directory configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++11 configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -h std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:20:2: error: #error "This is not a C++11 compiler" configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++0x configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:258:25: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:259:26: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:260:28: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:260:30: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:261:32: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:261:34: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:261:34: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:262:42: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:248:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:248:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:262:44: required from here conftest.cpp:248:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++0x configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ +std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: +std=c++0x: No such file or directory configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3232: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++0x configure:3528: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -h std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:20:2: error: #error "This is not a C++11 compiler" configure:3528: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "6.0.0" | #define PACKAGE_STRING "libpqxx 6.0.0" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" | #define PACKAGE_URL "" | /* 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 | | | configure:3537: result: no configure:3561: error: *** A compiler with support for C++11 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=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=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=powerpc-buildroot-linux-gnuspe ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=powerpc-buildroot-linux-gnuspe ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_lbl_unaligned_fail=no ac_cv_objext=o ac_cv_path_PG_CONFIG=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-gnuspe/sysroot/usr/bin/pg_config ac_cv_prog_cxx_g=yes ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__h_std_cpp0x=no ax_cv_cxx_compile_cxx11__h_std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp0x=no ax_cv_cxx_compile_cxx11__std_cpp11=no ax_cv_cxx_compile_cxx11_pstd_cpp0x=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='' AM_BACKSLASH='' AM_DEFAULT_V='' AM_DEFAULT_VERBOSITY='' AM_V='' AR='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ar' AUTOCONF='' AUTOHEADER='' AUTOMAKE='' AWK='' BUILD_REFERENCE_FALSE='' BUILD_REFERENCE_TRUE='' BUILD_TUTORIAL_FALSE='' BUILD_TUTORIAL_TRUE='' CC='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc' CCDEPMODE='' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' CPP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' CYGPATH_W='' DEFS='' DEPDIR='' DLLTOOL='' DOXYGEN='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' HAVE_CXX11='' HAVE_DOT='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_STRIP_PROGRAM='' LD='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' MANIFEST_TOOL='' MKDIR='' MKDIR_P='' NM='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-nm' NMEDIT='' OBJDUMP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='' PACKAGE_BUGREPORT='Jeroen T. Vermeulen' PACKAGE_NAME='libpqxx' PACKAGE_STRING='libpqxx 6.0.0' PACKAGE_TARNAME='libpqxx' PACKAGE_URL='' PACKAGE_VERSION='6.0.0' PATH_SEPARATOR=':' PG_CONFIG='' PKG_CONFIG='/home/buildroot/build/instance-0/output/host/bin/pkg-config' POSTGRES_INCLUDE='' POSTGRES_LIB='' PQXXVERSION='' PQXX_ABI='' RANLIB='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-strip' VERSION='' XMLTO='' ac_ct_AR='' ac_ct_CC='' 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='' am__isrc='' am__leading_dot='' am__nodep='' am__quote='' am__tar='' am__untar='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='powerpc-buildroot-linux-gnuspe' host_alias='powerpc-buildroot-linux-gnuspe' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='powerpc-buildroot-linux-gnuspe' with_postgres_include='' with_postgres_lib='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libpqxx" #define PACKAGE_TARNAME "libpqxx" #define PACKAGE_VERSION "6.0.0" #define PACKAGE_STRING "libpqxx 6.0.0" #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen" #define PACKAGE_URL "" configure: exit 1