ceph-dovecot / dovecot-ceph-plugin

Dovecot plugin for storing mails in a Ceph cluster
Other
131 stars 23 forks source link

looks like building fails against nautilus #268

Closed f1-outsourcing closed 1 year ago

f1-outsourcing commented 4 years ago

Package librados2-devel is obsoleted by librados-devel, trying to install 2:librados-devel-14.2.4-0.el7.x86_64 instead

In file included from rados-cluster-impl.cpp:12:0: rados-cluster-impl.h:18:30: fatal error: rados/librados.hpp: No such file or directory

include <rados/librados.hpp>

                          ^

compilation terminated. make[4]: [rados-cluster-impl.lo] Error 1 make[4]: Leaving directory `/home/software/dovecot-ceph-plugin/src/librmb' make[3]: [all-recursive] Error 1 make[3]: Leaving directory /home/software/dovecot-ceph-plugin/src/librmb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/software/dovecot-ceph-plugin/src' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/software/dovecot-ceph-plugin' make: [all] Error 2

if you just exchange librados.hpp for librados.h, you get such compile errors, so looks like some things have changed.

rados-cluster-impl.cpp:37:1: error: 'librados' does not name a type librados::Rados *RadosClusterImpl::cluster = 0; ^ rados-cluster-impl.cpp: In member function 'virtual int librmb::RadosClusterImpl::init()': rados-cluster-impl.cpp:48:5: error: 'cluster' is not a member of 'librmb::RadosClusterImpl' RadosClusterImpl::cluster = new librados::Rados(); ^ rados-cluster-impl.cpp:48:37: error: expected type-specifier before 'librados' RadosClusterImpl::cluster = new librados::Rados(); ^ rados-cluster-impl.cpp:48:37: error: expected ';' before 'librados' rados-cluster-impl.cpp:49:11: error: 'cluster' is not a member of 'librmb::RadosClusterImpl' ret = RadosClusterImpl::cluster->init(nullptr); ^ rados-cluster-impl.cpp: In member function 'virtual int librmb::RadosClusterImpl::init(const string&, const string&)': rados-cluster-impl.cpp:62:5: error: 'cluster' is not a member of 'librmb::RadosClusterImpl' RadosClusterImpl::cluster = new librados::Rados(); ^ rados-cluster-impl.cpp:62:37: error: expected type-specifier before 'librados' RadosClusterImpl::cluster = new librados::Rados(); ^ rados-cluster-impl.cpp:62:37: error: expected ';' before 'librados' rados-cluster-impl.cpp:64:11: error: 'cluster' is not a member of 'librmb::RadosClusterImpl' ret = RadosClusterImpl::cluster->init2(rados_username.c_str(), clustername.c_str(), 0);

jrse commented 4 years ago

ok, thanks for noticing, can you give me more information about your building environment? i will check the build with nautilus as soon as possibile.

f1-outsourcing commented 4 years ago

Linux test2 3.10.0-1062.4.1.el7.x86_64 #1 SMP Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.7.1908 (Core)

python-cephfs-14.2.4-0.el7.x86_64
ceph-common-14.2.4-0.el7.x86_64
libcephfs2-14.2.4-0.el7.x86_64
python-ceph-argparse-14.2.4-0.el7.x86_64
ceph-fuse-14.2.4-0.el7.x86_64

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

It was created by dovecot-ceph-plugin configure 0.0.21, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

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

hostname = test2
uname -m = x86_64
uname -r = 3.10.0-1062.1.2.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Mon Sep 30 14:19:46 UTC 2019

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

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin

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

configure:2618: checking whether to enable debugging
configure:2680: result: no
configure:2726: checking for a BSD-compatible install
configure:2794: result: /usr/bin/install -c
configure:2805: checking whether build environment is sane
configure:2860: result: yes
configure:3011: checking for a thread-safe mkdir -p
configure:3050: result: /usr/bin/mkdir -p
configure:3057: checking for gawk
configure:3073: found /usr/bin/gawk
configure:3084: result: gawk
configure:3095: checking whether make sets $(MAKE)
configure:3117: result: yes
configure:3146: checking whether make supports nested variables
configure:3163: result: yes
configure:3243: checking whether UID '501' is supported by ustar format
configure:3246: result: yes
configure:3253: checking whether GID '501' is supported by ustar format
configure:3256: result: yes
configure:3264: checking how to create a ustar tar archive
configure:3275: tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3278: $? = 0
configure:3318: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3321: $? = 0
configure:3325: tar -xf - <conftest.tar
configure:3328: $? = 0
configure:3330: cat conftest.dir/file
GrepMe
configure:3333: $? = 0
configure:3346: result: gnutar
configure:3383: checking build system type
configure:3397: result: x86_64-unknown-linux-gnu
configure:3417: checking host system type
configure:3430: result: x86_64-unknown-linux-gnu
configure:3471: checking how to print strings
configure:3498: result: printf
configure:3531: checking for style of include used by make
configure:3559: result: GNU
configure:3630: checking for gcc
configure:3646: found /usr/bin/gcc
configure:3657: result: gcc
configure:3886: checking for C compiler version
configure:3895: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
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:3906: $? = 0
configure:3895: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) 
configure:3906: $? = 0
configure:3895: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3906: $? = 4
configure:3895: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3906: $? = 4
configure:3926: checking whether the C compiler works
configure:3948: gcc    conftest.c  >&5
configure:3952: $? = 0
configure:4000: result: yes
configure:4003: checking for C compiler default output file name
configure:4005: result: a.out
configure:4011: checking for suffix of executables
configure:4018: gcc -o conftest    conftest.c  >&5
configure:4022: $? = 0
configure:4044: result: 
configure:4066: checking whether we are cross compiling
configure:4074: gcc -o conftest    conftest.c  >&5
configure:4078: $? = 0
configure:4085: ./conftest
configure:4089: $? = 0
configure:4104: result: no
configure:4109: checking for suffix of object files
configure:4131: gcc -c   conftest.c >&5
configure:4135: $? = 0
configure:4156: result: o
configure:4160: checking whether we are using the GNU C compiler
configure:4179: gcc -c   conftest.c >&5
configure:4179: $? = 0
configure:4188: result: yes
configure:4197: checking whether gcc accepts -g
configure:4217: gcc -c -g  conftest.c >&5
configure:4217: $? = 0
configure:4258: result: yes
configure:4275: checking for gcc option to accept ISO C89
configure:4338: gcc  -c   conftest.c >&5
configure:4338: $? = 0
configure:4351: result: none needed
configure:4373: checking dependency style of gcc
configure:4484: result: gcc3
configure:4499: checking for a sed that does not truncate output
configure:4563: result: /usr/bin/sed
configure:4581: checking for grep that handles long lines and -e
configure:4639: result: /usr/bin/grep
configure:4644: checking for egrep
configure:4706: result: /usr/bin/grep -E
configure:4711: checking for fgrep
configure:4773: result: /usr/bin/grep -F
configure:4808: checking for ld used by gcc
configure:4875: result: /usr/bin/ld
configure:4882: checking if the linker (/usr/bin/ld) is GNU ld
configure:4897: result: yes
configure:4909: checking for BSD- or MS-compatible name lister (nm)
configure:4958: result: /usr/bin/nm -B
configure:5088: checking the name lister (/usr/bin/nm -B) interface
configure:5095: gcc -c   conftest.c >&5
configure:5098: /usr/bin/nm -B "conftest.o"
configure:5101: output
0000000000000000 B some_variable
configure:5108: result: BSD nm
configure:5111: checking whether ln -s works
configure:5115: result: yes
configure:5123: checking the maximum length of command line arguments
configure:5253: result: 1572864
configure:5270: checking whether the shell understands some XSI constructs
configure:5280: result: yes
configure:5284: checking whether the shell understands "+="
configure:5290: result: yes
configure:5325: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:5365: result: func_convert_file_noop
configure:5372: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5392: result: func_convert_file_noop
configure:5399: checking for /usr/bin/ld option to reload object files
configure:5406: result: -r
configure:5480: checking for objdump
configure:5496: found /usr/bin/objdump
configure:5507: result: objdump
configure:5539: checking how to recognize dependent libraries
configure:5741: result: pass_all
configure:5826: checking for dlltool
configure:5856: result: no
configure:5886: checking how to associate runtime and link libraries
configure:5913: result: printf %s\n
configure:5974: checking for ar
configure:5990: found /usr/bin/ar
configure:6001: result: ar
configure:6038: checking for archiver @FILE support
configure:6055: gcc -c   conftest.c >&5
configure:6055: $? = 0
configure:6058: ar cru libconftest.a @conftest.lst >&5
configure:6061: $? = 0
configure:6066: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6069: $? = 1
configure:6081: result: @
configure:6139: checking for strip
configure:6155: found /usr/bin/strip
configure:6166: result: strip
configure:6238: checking for ranlib
configure:6254: found /usr/bin/ranlib
configure:6265: result: ranlib
configure:6367: checking command to parse /usr/bin/nm -B output from gcc object
configure:6487: gcc -c   conftest.c >&5
configure:6490: $? = 0
configure:6494: /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:6497: $? = 0
configure:6563: gcc -o conftest    conftest.c conftstm.o >&5
configure:6566: $? = 0
configure:6604: result: ok
configure:6641: checking for sysroot
configure:6671: result: no
configure:6748: gcc -c   conftest.c >&5
configure:6751: $? = 0
configure:6927: checking for mt
configure:6957: result: no
configure:6977: checking if : is a manifest tool
configure:6983: : '-?'
configure:6991: result: no
configure:7633: checking how to run the C preprocessor
configure:7664: gcc -E  conftest.c
configure:7664: $? = 0
configure:7678: gcc -E  conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7678: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7703: result: gcc -E
configure:7723: gcc -E  conftest.c
configure:7723: $? = 0
configure:7737: gcc -E  conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7737: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7766: checking for ANSI C header files
configure:7786: gcc -c   conftest.c >&5
configure:7786: $? = 0
configure:7859: gcc -o conftest    conftest.c  >&5
configure:7859: $? = 0
configure:7859: ./conftest
configure:7859: $? = 0
configure:7870: result: yes
configure:7883: checking for sys/types.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for sys/stat.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for stdlib.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for string.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for memory.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for strings.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for inttypes.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for stdint.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7883: checking for unistd.h
configure:7883: gcc -c   conftest.c >&5
configure:7883: $? = 0
configure:7883: result: yes
configure:7897: checking for dlfcn.h
configure:7897: gcc -c   conftest.c >&5
configure:7897: $? = 0
configure:7897: result: yes
configure:8100: checking for objdir
configure:8115: result: .libs
configure:8386: checking if gcc supports -fno-rtti -fno-exceptions
configure:8404: gcc -c   -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8408: $? = 0
configure:8421: result: no
configure:8748: checking for gcc option to produce PIC
configure:8755: result: -fPIC -DPIC
configure:8763: checking if gcc PIC flag -fPIC -DPIC works
configure:8781: gcc -c   -fPIC -DPIC -DPIC conftest.c >&5
configure:8785: $? = 0
configure:8798: result: yes
configure:8827: checking if gcc static flag -static works
configure:8855: result: no
configure:8870: checking if gcc supports -c -o file.o
configure:8891: gcc -c   -o out/conftest2.o conftest.c >&5
configure:8895: $? = 0
configure:8917: result: yes
configure:8925: checking if gcc supports -c -o file.o
configure:8972: result: yes
configure:9005: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:10158: result: yes
configure:10195: checking whether -lc should be explicitly linked in
configure:10203: gcc -c   conftest.c >&5
configure:10206: $? = 0
configure:10221: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:10224: $? = 0
configure:10238: result: no
configure:10398: checking dynamic linker characteristics
configure:10909: gcc -o conftest    -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:10909: $? = 0
configure:11135: result: GNU/Linux ld.so
configure:11242: checking how to hardcode library paths into programs
configure:11267: result: immediate
configure:11807: checking whether stripping libraries is possible
configure:11812: result: yes
configure:11847: checking if libtool supports shared libraries
configure:11849: result: yes
configure:11852: checking whether to build shared libraries
configure:11873: result: yes
configure:11876: checking whether to build static libraries
configure:11880: result: no
configure:11919: checking whether to enable maintainer-specific portions of Makefiles
configure:11928: result: no
configure:11995: checking for pkg-config
configure:12013: found /usr/bin/pkg-config
configure:12025: result: /usr/bin/pkg-config
configure:12050: checking pkg-config is at least version 0.9.0
configure:12053: result: yes
configure:12067: checking rados/librados.h usability
configure:12067: gcc -c   conftest.c >&5
configure:12067: $? = 0
configure:12067: result: yes
configure:12067: checking rados/librados.h presence
configure:12067: gcc -E  conftest.c
configure:12067: $? = 0
configure:12067: result: yes
configure:12067: checking for rados/librados.h
configure:12067: result: yes
configure:12082: checking for rados_read_op_omap_get_vals2
configure:12082: gcc -o conftest    conftest.c  -lrados >&5
configure:12082: $? = 0
configure:12082: result: yes
configure:12089: checking for rados_set_alloc_hint2
configure:12089: gcc -o conftest    conftest.c  -lrados >&5
configure:12089: $? = 0
configure:12089: result: yes
configure:12096: checking for rados_read_op_omap_get_keys2
configure:12096: gcc -o conftest    conftest.c  -lrados >&5
configure:12096: $? = 0
configure:12096: result: yes
configure:12250: checking whether to build with code coverage support
configure:12270: result: no
configure:12632: checking for valgrind
configure:12648: found /usr/bin/valgrind
configure:12659: result: valgrind
configure:12713: checking for Valgrind tool memcheck
configure:12728: result: yes
configure:13021: checking for gcc option to accept ISO C99
configure:13170: gcc  -c   conftest.c >&5
conftest.c:76:29: error: expected ';', ',' or ')' before 'text'
 test_restrict (ccp restrict text)
                             ^
conftest.c: In function 'main':
conftest.c:130:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
   char *restrict newvar = "Another string";
                  ^
conftest.c:130:18: error: 'newvar' undeclared (first use in this function)
conftest.c:130:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:140:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int i = 0; i < ia->datasize; ++i)
   ^
conftest.c:140:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:13170: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
| 
| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
|   int x = 1234;
|   int y = 5678;
|   debug ("Flag");
|   debug ("X = %d\n", x);
|   showlist (The first, second, and third items.);
|   report (x>y, "x is %d but y is %d", x, y);
| }
| 
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
|   your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
|   your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
| 
| struct incomplete_array
| {
|   int datasize;
|   double data[];
| };
| 
| struct named_init {
|   int number;
|   const wchar_t *name;
|   double average;
| };
| 
| typedef const char *ccp;
| 
| static inline int
| test_restrict (ccp restrict text)
| {
|   // See if C++-style comments work.
|   // Iterate through items via the restricted pointer.
|   // Also check for declarations in for loops.
|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|     continue;
|   return 0;
| }
| 
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
|   va_list args;
|   va_start (args, format);
|   va_list args_copy;
|   va_copy (args_copy, args);
| 
|   const char *str;
|   int number;
|   float fnumber;
| 
|   while (*format)
|     {
|       switch (*format++)
|   {
|   case 's': // string
|     str = va_arg (args_copy, const char *);
|     break;
|   case 'd': // int
|     number = va_arg (args_copy, int);
|     break;
|   case 'f': // float
|     fnumber = va_arg (args_copy, double);
|     break;
|   default:
|     break;
|   }
|     }
|   va_end (args_copy);
|   va_end (args);
| }
| 
| int
| main ()
| {
| 
|   // Check bool.
|   _Bool success = false;
| 
|   // Check restrict.
|   if (test_restrict ("String literal") == 0)
|     success = true;
|   char *restrict newvar = "Another string";
| 
|   // Check varargs.
|   test_varargs ("s, d' f .", "string", 65, 34.234);
|   test_varargs_macros ();
| 
|   // Check flexible array members.
|   struct incomplete_array *ia =
|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|   ia->datasize = 10;
|   for (int i = 0; i < ia->datasize; ++i)
|     ia->data[i] = i * 1.234;
| 
|   // Check named initializers.
|   struct named_init ni = {
|     .number = 34,
|     .name = L"Test wide string",
|     .average = 543.34343,
|   };
| 
|   ni.number = 58;
| 
|   int dynamic_array[ni.number];
|   dynamic_array[ni.number - 1] = 543;
| 
|   // work around unused variable warnings
|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|     || dynamic_array[ni.number - 1] != 543);
| 
|   ;
|   return 0;
| }
configure:13170: gcc -std=gnu99 -c   conftest.c >&5
configure:13170: $? = 0
configure:13190: result: -std=gnu99
configure:13256: checking for g++
configure:13272: found /usr/bin/g++
configure:13283: result: g++
configure:13310: checking for C++ compiler version
configure:13319: g++ --version >&5
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
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:13330: $? = 0
configure:13319: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) 
configure:13330: $? = 0
configure:13319: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:13330: $? = 4
configure:13319: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:13330: $? = 4
configure:13334: checking whether we are using the GNU C++ compiler
configure:13353: g++ -c   conftest.cpp >&5
configure:13353: $? = 0
configure:13362: result: yes
configure:13371: checking whether g++ accepts -g
configure:13391: g++ -c -g  conftest.cpp >&5
configure:13391: $? = 0
configure:13432: result: yes
configure:13457: checking dependency style of g++
configure:13568: result: gcc3
configure:13601: checking how to run the C++ preprocessor
configure:13628: g++ -E  conftest.cpp
configure:13628: $? = 0
configure:13642: g++ -E  conftest.cpp
conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:13642: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13667: result: g++ -E
configure:13687: g++ -E  conftest.cpp
configure:13687: $? = 0
configure:13701: g++ -E  conftest.cpp
conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:13701: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:13870: checking for ld used by g++
configure:13937: result: /usr/bin/ld -m elf_x86_64
configure:13944: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:13959: result: yes
configure:14014: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:15019: result: yes
configure:15055: g++ -c   conftest.cpp >&5
configure:15058: $? = 0
configure:15578: checking for g++ option to produce PIC
configure:15585: result: -fPIC -DPIC
configure:15593: checking if g++ PIC flag -fPIC -DPIC works
configure:15611: g++ -c   -fPIC -DPIC -DPIC conftest.cpp >&5
configure:15615: $? = 0
configure:15628: result: yes
configure:15651: checking if g++ static flag -static works
configure:15679: result: no
configure:15691: checking if g++ supports -c -o file.o
configure:15712: g++ -c   -o out/conftest2.o conftest.cpp >&5
configure:15716: $? = 0
configure:15738: result: yes
configure:15743: checking if g++ supports -c -o file.o
configure:15790: result: yes
configure:15820: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:15856: result: yes
configure:15997: checking dynamic linker characteristics
configure:16668: result: GNU/Linux ld.so
configure:16721: checking how to hardcode library paths into programs
configure:16746: result: immediate
configure:16791: checking how to run the C preprocessor
configure:16861: result: gcc -E
configure:16881: gcc -E  conftest.c
configure:16881: $? = 0
configure:16895: gcc -E  conftest.c
conftest.c:26:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:16895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:16924: checking for grep that handles long lines and -e
configure:16982: result: /usr/bin/grep
configure:17053: checking whether g++ supports C++11 features by default
configure:17347: g++ -c   conftest.cpp >&5
conftest.cpp:37:2: error: #error "This is not a C++11 compiler"
 #error "This is not a C++11 compiler"
  ^
configure:17347: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| /* 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 <typename T>
|     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<void> single_type;
|     typedef check<check<void>> double_type;
|     typedef check<check<check<void>>> triple_type;
|     typedef check<check<check<check<void>>>> 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<T, T>
|     {
|       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<int, decltype(0)>::value == true, "");
|       static_assert(is_same<int, decltype(c)>::value == false, "");
|       static_assert(is_same<int, decltype(v)>::value == false, "");
|       auto ac = c;
|       auto av = v;
|       auto sumi = ac + av + 'x';
|       auto sumf = ac + av + 1.0;
|       static_assert(is_same<int, decltype(ac)>::value == true, "");
|       static_assert(is_same<int, decltype(av)>::value == true, "");
|       static_assert(is_same<int, decltype(sumi)>::value == true, "");
|       static_assert(is_same<int, decltype(sumf)>::value == false, "");
|       static_assert(is_same<int, decltype(add(c, v))>::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 <int...>
|     struct sum;
| 
|     template <int N0, int... N1toN>
|     struct sum<N0, N1toN...>
|     {
|       static constexpr auto value = N0 + sum<N1toN...>::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<typename T>
|     using member = typename T::member_type;
| 
|     template<typename T>
|     void func(...) {}
| 
|     template<typename T>
|     void func(member<T>*) {}
| 
|     void test();
| 
|     void test() { func<foo>(0); }
| 
|   }
| 
| }  // namespace cxx11
| 
| #endif  // __cplusplus >= 201103L
| 
| 
| 
configure:17354: result: no
configure:17364: checking whether g++ supports C++11 features with -std=gnu++11
configure:17660: g++ -std=gnu++11 -c   conftest.cpp >&5
configure:17660: $? = 0
configure:17669: result: yes
configure:18057: checking whether C++ compiler accepts -Werror=unknown-warning-option
configure:18076: g++ -std=gnu++11 -c   -Werror=unknown-warning-option  conftest.cpp >&5
cc1plus: error: -Werror=unknown-warning-option: no option -Wunknown-warning-option
configure:18076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:18084: result: no
configure:18098: checking whether C++ compiler accepts -Wno-suggest-attribute=format
configure:18117: g++ -std=gnu++11 -c   -Wno-suggest-attribute=format  conftest.cpp >&5
configure:18117: $? = 0
configure:18125: result: yes
configure:18145: checking whether C++ compiler accepts -fno-strict-aliasing
configure:18164: g++ -std=gnu++11 -c   -fno-strict-aliasing  conftest.cpp >&5
configure:18164: $? = 0
configure:18173: result: yes
configure:18200: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18203: $? = 0
configure:18224: checking whether C++ compiler accepts -Wall
configure:18243: g++ -std=gnu++11 -c   -Wall  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wextra
configure:18243: g++ -std=gnu++11 -c   -Wextra  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wundef
configure:18243: g++ -std=gnu++11 -c   -Wundef  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wwrite-strings
configure:18243: g++ -std=gnu++11 -c   -Wwrite-strings  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wpointer-arith
configure:18243: g++ -std=gnu++11 -c   -Wpointer-arith  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wmissing-declarations
configure:18243: g++ -std=gnu++11 -c   -Wmissing-declarations  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wredundant-decls
configure:18243: g++ -std=gnu++11 -c   -Wredundant-decls  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wno-unused-parameter
configure:18243: g++ -std=gnu++11 -c   -Wno-unused-parameter  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wno-missing-field-initializers
configure:18243: g++ -std=gnu++11 -c   -Wno-missing-field-initializers  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wformat=2
configure:18243: g++ -std=gnu++11 -c   -Wformat=2  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wcast-align
configure:18243: g++ -std=gnu++11 -c   -Wcast-align  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wformat-nonliteral
configure:18243: g++ -std=gnu++11 -c   -Wformat-nonliteral  conftest.cpp >&5
cc1plus: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral]
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wformat-security
configure:18243: g++ -std=gnu++11 -c   -Wformat-security  conftest.cpp >&5
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wsign-compare
configure:18243: g++ -std=gnu++11 -c   -Wsign-compare  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wstrict-aliasing
configure:18243: g++ -std=gnu++11 -c   -Wstrict-aliasing  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wshadow
configure:18243: g++ -std=gnu++11 -c   -Wshadow  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Winline
configure:18243: g++ -std=gnu++11 -c   -Winline  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wpacked
configure:18243: g++ -std=gnu++11 -c   -Wpacked  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wmissing-format-attribute
configure:18243: g++ -std=gnu++11 -c   -Wmissing-format-attribute  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wmissing-noreturn
configure:18243: g++ -std=gnu++11 -c   -Wmissing-noreturn  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Winit-self
configure:18243: g++ -std=gnu++11 -c   -Winit-self  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wredundant-decls
configure:18252: result: yes
configure:18260: : WARN_CXXFLAGS already contains $flag
configure:18263: $? = 0
configure:18224: checking whether C++ compiler accepts -Wmissing-include-dirs
configure:18243: g++ -std=gnu++11 -c   -Wmissing-include-dirs  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wunused-but-set-variable
configure:18243: g++ -std=gnu++11 -c   -Wunused-but-set-variable  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Warray-bounds
configure:18243: g++ -std=gnu++11 -c   -Warray-bounds  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wreturn-type
configure:18243: g++ -std=gnu++11 -c   -Wreturn-type  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wno-overloaded-virtual
configure:18243: g++ -std=gnu++11 -c   -Wno-overloaded-virtual  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wswitch-enum
configure:18243: g++ -std=gnu++11 -c   -Wswitch-enum  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wswitch-default
configure:18243: g++ -std=gnu++11 -c   -Wswitch-default  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wno-undef
configure:18243: g++ -std=gnu++11 -c   -Wno-undef  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18224: checking whether C++ compiler accepts -Wno-redundant-decls
configure:18243: g++ -std=gnu++11 -c   -Wno-redundant-decls  conftest.cpp >&5
configure:18243: $? = 0
configure:18252: result: yes
configure:18268: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18271: $? = 0
configure:18429: checking whether C++ compiler accepts -Wno-error=unused-parameter
configure:18448: g++ -std=gnu++11 -c   -Wno-error=unused-parameter  conftest.cpp >&5
configure:18448: $? = 0
configure:18457: result: yes
configure:18473: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18476: $? = 0
configure:18429: checking whether C++ compiler accepts -Wno-error=missing-field-initializers
configure:18448: g++ -std=gnu++11 -c   -Wno-error=missing-field-initializers  conftest.cpp >&5
configure:18448: $? = 0
configure:18457: result: yes
configure:18473: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18476: $? = 0
configure:18429: checking whether C++ compiler accepts -Wno-error=overloaded-virtual
configure:18448: g++ -std=gnu++11 -c   -Wno-error=overloaded-virtual  conftest.cpp >&5
configure:18448: $? = 0
configure:18457: result: yes
configure:18473: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18476: $? = 0
configure:18429: checking whether C++ compiler accepts -Wno-error=undef
configure:18448: g++ -std=gnu++11 -c   -Wno-error=undef  conftest.cpp >&5
configure:18448: $? = 0
configure:18457: result: yes
configure:18473: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18476: $? = 0
configure:18429: checking whether C++ compiler accepts -Wno-error=redundant-decls
configure:18448: g++ -std=gnu++11 -c   -Wno-error=redundant-decls  conftest.cpp >&5
configure:18448: $? = 0
configure:18457: result: yes
configure:18473: : WARN_CXXFLAGS="$WARN_CXXFLAGS"
configure:18476: $? = 0
configure:18538: checking whether C compiler accepts -Werror=unknown-warning-option
configure:18557: gcc -std=gnu99 -c   -Werror=unknown-warning-option  conftest.c >&5
cc1: error: -Werror=unknown-warning-option: no option -Wunknown-warning-option
configure:18557: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:18565: result: no
configure:18579: checking whether C compiler accepts -Wno-suggest-attribute=format
configure:18598: gcc -std=gnu99 -c   -Wno-suggest-attribute=format  conftest.c >&5
configure:18598: $? = 0
configure:18606: result: yes
configure:18626: checking whether C compiler accepts -fno-strict-aliasing
configure:18645: gcc -std=gnu99 -c   -fno-strict-aliasing  conftest.c >&5
configure:18645: $? = 0
configure:18654: result: yes
configure:18681: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18684: $? = 0
configure:18705: checking whether C compiler accepts -Wall
configure:18724: gcc -std=gnu99 -c   -Wall  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wextra
configure:18724: gcc -std=gnu99 -c   -Wextra  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wundef
configure:18724: gcc -std=gnu99 -c   -Wundef  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wnested-externs
configure:18724: gcc -std=gnu99 -c   -Wnested-externs  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wwrite-strings
configure:18724: gcc -std=gnu99 -c   -Wwrite-strings  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wpointer-arith
configure:18724: gcc -std=gnu99 -c   -Wpointer-arith  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wmissing-declarations
configure:18724: gcc -std=gnu99 -c   -Wmissing-declarations  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wmissing-prototypes
configure:18724: gcc -std=gnu99 -c   -Wmissing-prototypes  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wstrict-prototypes
configure:18724: gcc -std=gnu99 -c   -Wstrict-prototypes  conftest.c >&5
conftest.c:29:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wredundant-decls
configure:18724: gcc -std=gnu99 -c   -Wredundant-decls  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wno-unused-parameter
configure:18724: gcc -std=gnu99 -c   -Wno-unused-parameter  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wno-missing-field-initializers
configure:18724: gcc -std=gnu99 -c   -Wno-missing-field-initializers  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wdeclaration-after-statement
configure:18724: gcc -std=gnu99 -c   -Wdeclaration-after-statement  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wformat=2
configure:18724: gcc -std=gnu99 -c   -Wformat=2  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wold-style-definition
configure:18724: gcc -std=gnu99 -c   -Wold-style-definition  conftest.c >&5
conftest.c: In function 'main':
conftest.c:29:1: warning: old-style function definition [-Wold-style-definition]
 main ()
 ^
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wcast-align
configure:18724: gcc -std=gnu99 -c   -Wcast-align  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wformat-nonliteral
configure:18724: gcc -std=gnu99 -c   -Wformat-nonliteral  conftest.c >&5
cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral]
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wformat-security
configure:18724: gcc -std=gnu99 -c   -Wformat-security  conftest.c >&5
cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wsign-compare
configure:18724: gcc -std=gnu99 -c   -Wsign-compare  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wstrict-aliasing
configure:18724: gcc -std=gnu99 -c   -Wstrict-aliasing  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wshadow
configure:18724: gcc -std=gnu99 -c   -Wshadow  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Winline
configure:18724: gcc -std=gnu99 -c   -Winline  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wpacked
configure:18724: gcc -std=gnu99 -c   -Wpacked  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wmissing-format-attribute
configure:18724: gcc -std=gnu99 -c   -Wmissing-format-attribute  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wmissing-noreturn
configure:18724: gcc -std=gnu99 -c   -Wmissing-noreturn  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Winit-self
configure:18724: gcc -std=gnu99 -c   -Winit-self  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wredundant-decls
configure:18733: result: yes
configure:18741: : WARN_CFLAGS already contains $flag
configure:18744: $? = 0
configure:18705: checking whether C compiler accepts -Wmissing-include-dirs
configure:18724: gcc -std=gnu99 -c   -Wmissing-include-dirs  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wunused-but-set-variable
configure:18724: gcc -std=gnu99 -c   -Wunused-but-set-variable  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Warray-bounds
configure:18724: gcc -std=gnu99 -c   -Warray-bounds  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wimplicit-function-declaration
configure:18724: gcc -std=gnu99 -c   -Wimplicit-function-declaration  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wreturn-type
configure:18724: gcc -std=gnu99 -c   -Wreturn-type  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wswitch-enum
configure:18724: gcc -std=gnu99 -c   -Wswitch-enum  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wswitch-default
configure:18724: gcc -std=gnu99 -c   -Wswitch-default  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18705: checking whether C compiler accepts -Wno-declaration-after-statement
configure:18724: gcc -std=gnu99 -c   -Wno-declaration-after-statement  conftest.c >&5
configure:18724: $? = 0
configure:18733: result: yes
configure:18749: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18752: $? = 0
configure:18910: checking whether C compiler accepts -Wno-error=unused-parameter
configure:18929: gcc -std=gnu99 -c   -Wno-error=unused-parameter  conftest.c >&5
configure:18929: $? = 0
configure:18938: result: yes
configure:18954: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18957: $? = 0
configure:18910: checking whether C compiler accepts -Wno-error=missing-field-initializers
configure:18929: gcc -std=gnu99 -c   -Wno-error=missing-field-initializers  conftest.c >&5
configure:18929: $? = 0
configure:18938: result: yes
configure:18954: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18957: $? = 0
configure:18910: checking whether C compiler accepts -Wno-error=declaration-after-statement
configure:18929: gcc -std=gnu99 -c   -Wno-error=declaration-after-statement  conftest.c >&5
configure:18929: $? = 0
configure:18938: result: yes
configure:18954: : WARN_CFLAGS="$WARN_CFLAGS"
configure:18957: $? = 0
configure:19064: checking whether C compiler accepts -Werror=unknown-warning-option
configure:19091: result: no
configure:19105: checking whether C compiler accepts -Wno-suggest-attribute=format
configure:19132: result: yes
configure:19152: checking whether C compiler accepts -fno-strict-aliasing
configure:19180: result: yes
configure:19188: : WARN_CFLAGS already contains $flag
configure:19191: $? = 0
configure:19231: checking whether C compiler accepts -Wall
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wextra
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wundef
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wnested-externs
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wwrite-strings
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wpointer-arith
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wmissing-declarations
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wmissing-prototypes
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wstrict-prototypes
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wredundant-decls
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wno-unused-parameter
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wno-missing-field-initializers
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wdeclaration-after-statement
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wformat=2
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wold-style-definition
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wcast-align
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wformat-nonliteral
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wformat-security
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wsign-compare
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wstrict-aliasing
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wshadow
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Winline
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wpacked
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wmissing-format-attribute
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wmissing-noreturn
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Winit-self
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wredundant-decls
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wmissing-include-dirs
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wunused-but-set-variable
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Warray-bounds
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wimplicit-function-declaration
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wreturn-type
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wswitch-enum
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19231: checking whether C compiler accepts -Wswitch-default
configure:19259: result: yes
configure:19267: : WARN_CFLAGS already contains $flag
configure:19270: $? = 0
configure:19436: checking whether C compiler accepts -Wno-error=unused-parameter
configure:19464: result: yes
configure:19472: : WARN_CFLAGS already contains $flag
configure:19475: $? = 0
configure:19436: checking whether C compiler accepts -Wno-error=missing-field-initializers
configure:19464: result: yes
configure:19472: : WARN_CFLAGS already contains $flag
configure:19475: $? = 0
configure:19436: checking whether C compiler accepts -Wno-error=declaration-after-statement
configure:19464: result: yes
configure:19472: : WARN_CFLAGS already contains $flag
configure:19475: $? = 0
configure:19545: checking whether C++ compiler accepts -Werror=unknown-warning-option
configure:19572: result: no
configure:19586: checking whether C++ compiler accepts -Wno-suggest-attribute=format
configure:19613: result: yes
configure:19633: checking whether C++ compiler accepts -fno-strict-aliasing
configure:19661: result: yes
configure:19669: : WARN_CXXFLAGS already contains $flag
configure:19672: $? = 0
configure:19712: checking whether C++ compiler accepts -Wall
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wextra
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wundef
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wwrite-strings
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wpointer-arith
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wmissing-declarations
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wredundant-decls
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wno-unused-parameter
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wno-missing-field-initializers
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wformat=2
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wcast-align
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wformat-nonliteral
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wformat-security
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wsign-compare
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wstrict-aliasing
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wshadow
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Winline
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wpacked
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wmissing-format-attribute
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wmissing-noreturn
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Winit-self
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wredundant-decls
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wmissing-include-dirs
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wunused-but-set-variable
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Warray-bounds
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wreturn-type
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wno-overloaded-virtual
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wswitch-enum
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19712: checking whether C++ compiler accepts -Wswitch-default
configure:19740: result: yes
configure:19748: : WARN_CXXFLAGS already contains $flag
configure:19751: $? = 0
configure:19917: checking whether C++ compiler accepts -Wno-error=unused-parameter
configure:19945: result: yes
configure:19953: : WARN_CXXFLAGS already contains $flag
configure:19956: $? = 0
configure:19917: checking whether C++ compiler accepts -Wno-error=missing-field-initializers
configure:19945: result: yes
configure:19953: : WARN_CXXFLAGS already contains $flag
configure:19956: $? = 0
configure:19917: checking whether C++ compiler accepts -Wno-error=overloaded-virtual
configure:19945: result: yes
configure:19953: : WARN_CXXFLAGS already contains $flag
configure:19956: $? = 0
configure:19917: checking whether C++ compiler accepts -Wno-error=undef
configure:19945: result: yes
configure:19953: : WARN_CXXFLAGS already contains $flag
configure:19956: $? = 0
configure:19917: checking whether C++ compiler accepts -Wno-error=redundant-decls
configure:19945: result: yes
configure:19953: : WARN_CXXFLAGS already contains $flag
configure:19956: $? = 0
configure:20020: checking whether C compiler accepts -Werror=unknown-warning-option
configure:20047: result: no
configure:20061: checking whether the linker accepts -Wl,--no-as-needed
configure:20080: gcc -std=gnu99 -o conftest     -Wl,--no-as-needed conftest.c  -lrados >&5
configure:20080: $? = 0
configure:20089: result: yes
configure:20104: checking whether the linker accepts -Wl,--fatal-warnings
configure:20123: gcc -std=gnu99 -o conftest     -Wl,--fatal-warnings conftest.c  -lrados >&5
configure:20123: $? = 0
configure:20132: result: yes
configure:20142: checking whether the linker accepts -Wl,-fatal_warnings
configure:20161: gcc -std=gnu99 -o conftest     -Wl,-fatal_warnings conftest.c  -lrados >&5
/usr/bin/ld: -f may not be used without -shared
collect2: error: ld returned 1 exit status
configure:20161: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:20170: result: no
configure:20188: checking whether the linker accepts -Wl,--no-as-needed
configure:20207: gcc -std=gnu99 -o conftest     -Wl,--no-as-needed conftest.c  -lrados >&5
configure:20207: $? = 0
configure:20217: result: yes
configure:20244: : WARN_LDFLAGS="$WARN_LDFLAGS"
configure:20247: $? = 0
configure:20461: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS"
configure:20464: $? = 0
configure:20486: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS"
configure:20489: $? = 0
configure:20550: checking for library containing strerror
configure:20581: gcc -std=gnu99 -o conftest    conftest.c  -lrados >&5
configure:20581: $? = 0
configure:20598: result: none required
configure:20606: checking for inline
configure:20622: gcc -std=gnu99 -c   conftest.c >&5
configure:20622: $? = 0
configure:20630: result: inline
configure:20679: checking for "dovecot-config"
configure:20694: result: /usr/lib64/dovecot/dovecot-config
configure:20761: checking whether OS supports plugin dependencies
configure:20769: result: yes
configure:20784: checking for valgrind
configure:20812: result: valgrind
configure:20897: checking for JANSSON
configure:20904: $PKG_CONFIG --exists --print-errors "jansson"
configure:20907: $? = 0
configure:20921: $PKG_CONFIG --exists --print-errors "jansson"
configure:20924: $? = 0
configure:20982: result: yes
configure:20989: checking for dict_vfuncs.switch_ioloop
configure:20992: result: yes
configure:21001: checking for dict_vfuncs.set_timestamp
configure:21004: result: yes
configure:21013: checking for index-pop3-uidl.h
configure:21016: result: yes
configure:21025: checking for mail_vfuncs.index_mail_set_cache_corrupted_reason
configure:21028: result: yes
configure:21037: checking for dict_lookup_result.values
configure:21045: result: no
configure:21049: checking for mail_save_context.copy_src_mail
configure:21052: result: yes
configure:21061: checking for MAIL_INDEX_HDR_FLAG_FSCKD
configure:21064: result: yes
configure:21073: checking for struct mail_storage_vfuncs.list_index_corrupted
configure:21073: gcc -std=gnu99 -c  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -Wall!
  -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot   conftest.c >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:648:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default]
 #define PACKAGE_BUGREPORT "dovecot@dovecot.org"
 ^
conftest.c:6:0: note: this is the location of the previous definition
 #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
 ^
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:651:0: warning: "PACKAGE_NAME" redefined [enabled by default]
 #define PACKAGE_NAME "Dovecot"
 ^
conftest.c:2:0: note: this is the location of the previous definition
 #define PACKAGE_NAME "dovecot-ceph-plugin"
 ^
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:654:0: warning: "PACKAGE_STRING" redefined [enabled by default]
 #define PACKAGE_STRING "Dovecot 2.2.36"
 ^
conftest.c:5:0: note: this is the location of the previous definition
 #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
 ^
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:657:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
 #define PACKAGE_TARNAME "dovecot"
 ^
conftest.c:3:0: note: this is the location of the previous definition
 #define PACKAGE_TARNAME "dovecot-ceph-plugin"
 ^
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:660:0: warning: "PACKAGE_URL" redefined [enabled by default]
 #define PACKAGE_URL ""
 ^
conftest.c:7:0: note: this is the location of the previous definition
 #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
 ^
In file included from conftest.c:36:0:
/usr/include/dovecot/config.h:663:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
 #define PACKAGE_VERSION "2.2.36"
 ^
conftest.c:4:0: note: this is the location of the previous definition
 #define PACKAGE_VERSION "0.0.21"
 ^
In file included from /usr/include/dovecot/mail-index-private.h:8:0,
                 from /usr/include/dovecot/mail-storage-private.h:11,
                 from conftest.c:38:
/usr/include/dovecot/mail-index-transaction-private.h:156:1: warning: redundant redeclaration of 'mail_index_transaction_get_flag_update_pos' [-Wredundant-decls]
 mail_index_transaction_get_flag_update_pos(struct mail_index_transaction *t,
 ^
/usr/include/dovecot/mail-index-transaction-private.h:130:1: note: previous declaration of 'mail_index_transaction_get_flag_update_pos' was here
 mail_index_transaction_get_flag_update_pos(struct mail_index_transaction *t,
 ^
conftest.c:42:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:42:1: warning: old-style function definition [-Wold-style-definition]
configure:21073: $? = 0
configure:21073: result: yes
configure:21087: checking for HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE
configure:21090: result: yes
configure:21100: checking for HAVE_ITER_FROM_INDEX_DIR
configure:21103: result: yes
configure:21296: checking for the pthreads library -lpthreads
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot     conftest.c -lpthreads  -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
conftest.c:44:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
conftest.c:43:27: warning: 'th' is used uninitialized in this function [-Wuninitialized]
 pthread_t th; pthread_join(th, 0);
                           ^
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
configure:21329: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| #define PACKAGE_VERSION_MAJOR 0
| #define PACKAGE_VERSION_MINOR 0
| #define HAVE_DICT_SWITCH_IOLOOP /**/
| #define HAVE_DICT_SET_TIMESTAMP /**/
| #define HAVE_INDEX_POP3_UIDL_H /**/
| #define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
| #define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
| #define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
| #define HAVE_LIST_INDEX_CORRUPTED 1
| #define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
| #define HAVE_ITER_FROM_INDEX_DIR /**/
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:21338: result: no
configure:21241: checking whether pthreads work without any flags
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot     conftest.c   -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
conftest.c:44:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
conftest.c:43:27: warning: 'th' is used uninitialized in this function [-Wuninitialized]
 pthread_t th; pthread_join(th, 0);
                           ^
/usr/bin/ld: /tmp/ccSkeCgd.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
configure:21329: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| #define PACKAGE_VERSION_MAJOR 0
| #define PACKAGE_VERSION_MINOR 0
| #define HAVE_DICT_SWITCH_IOLOOP /**/
| #define HAVE_DICT_SET_TIMESTAMP /**/
| #define HAVE_INDEX_POP3_UIDL_H /**/
| #define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
| #define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
| #define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
| #define HAVE_LIST_INDEX_CORRUPTED 1
| #define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
| #define HAVE_ITER_FROM_INDEX_DIR /**/
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:21338: result: no
configure:21246: checking whether pthreads work with -Kthread
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -Kthread   conftest.c   -lrados  >&5
gcc: error: unrecognized command line option '-Kthread'
configure:21329: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| #define PACKAGE_VERSION_MAJOR 0
| #define PACKAGE_VERSION_MINOR 0
| #define HAVE_DICT_SWITCH_IOLOOP /**/
| #define HAVE_DICT_SET_TIMESTAMP /**/
| #define HAVE_INDEX_POP3_UIDL_H /**/
| #define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
| #define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
| #define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
| #define HAVE_LIST_INDEX_CORRUPTED 1
| #define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
| #define HAVE_ITER_FROM_INDEX_DIR /**/
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:21338: result: no
configure:21246: checking whether pthreads work with -kthread
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -kthread   conftest.c   -lrados  >&5
gcc: error: unrecognized command line option '-kthread'
configure:21329: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| #define PACKAGE_VERSION_MAJOR 0
| #define PACKAGE_VERSION_MINOR 0
| #define HAVE_DICT_SWITCH_IOLOOP /**/
| #define HAVE_DICT_SET_TIMESTAMP /**/
| #define HAVE_INDEX_POP3_UIDL_H /**/
| #define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
| #define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
| #define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
| #define HAVE_LIST_INDEX_CORRUPTED 1
| #define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
| #define HAVE_ITER_FROM_INDEX_DIR /**/
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:21338: result: no
configure:21296: checking for the pthreads library -llthread
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot     conftest.c -llthread  -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
conftest.c:44:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
conftest.c:43:27: warning: 'th' is used uninitialized in this function [-Wuninitialized]
 pthread_t th; pthread_join(th, 0);
                           ^
/usr/bin/ld: cannot find -llthread
collect2: error: ld returned 1 exit status
configure:21329: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dovecot-ceph-plugin"
| #define PACKAGE_TARNAME "dovecot-ceph-plugin"
| #define PACKAGE_VERSION "0.0.21"
| #define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
| #define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
| #define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
| #define NDEBUG /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBRADOS 1
| #define HAVE_OMAP_GET_VALS2 1
| #define HAVE_ALLOC_HINT_2 1
| #define HAVE_OMAP_GET_KEYS_2 1
| #define HAVE_CXX11 1
| #define PACKAGE_VERSION_MAJOR 0
| #define PACKAGE_VERSION_MINOR 0
| #define HAVE_DICT_SWITCH_IOLOOP /**/
| #define HAVE_DICT_SET_TIMESTAMP /**/
| #define HAVE_INDEX_POP3_UIDL_H /**/
| #define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
| #define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
| #define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
| #define HAVE_LIST_INDEX_CORRUPTED 1
| #define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
| #define HAVE_ITER_FROM_INDEX_DIR /**/
| #define NDEBUG /**/
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:21338: result: no
configure:21246: checking whether pthreads work with -pthread
configure:21329: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -pthread   conftest.c   -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
conftest.c:44:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:45:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
conftest.c:43:27: warning: 'th' is used uninitialized in this function [-Wuninitialized]
 pthread_t th; pthread_join(th, 0);
                           ^
configure:21329: $? = 0
configure:21338: result: yes
configure:21357: checking for joinable pthread attribute
configure:21372: gcc -std=gnu99 -o conftest  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-alias!
 ing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -pthread   conftest.c   -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
configure:21372: $? = 0
configure:21378: result: PTHREAD_CREATE_JOINABLE
configure:21388: checking if more special flags are required for pthreads
configure:21395: result: no
configure:21484: checking whether to check for GCC pthread/shared inconsistencies
configure:21497: gcc -std=gnu99 -o conftest -shared -fPIC -Wl,-z,defs  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hard!
 ened-cc1 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -pthread   conftest.c   -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
configure:21497: $? = 0
configure:21509: result: yes
configure:21515: checking whether -pthread is sufficient with -shared
configure:21530: gcc -std=gnu99 -o conftest -shared -fPIC -Wl,-z,defs  -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hard!
 ened-cc1 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot  -pthread   conftest.c   -lrados  >&5
cc1: warning: $(top_srcdir): No such file or directory [enabled by default]
conftest.c:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 main ()
 ^
conftest.c: In function 'main':
conftest.c:41:1: warning: old-style function definition [-Wold-style-definition]
conftest.c:44:8: warning: null argument where non-null required (argument 1) [-Wnonnull]
        pthread_attr_init(0); pthread_cleanup_push(0, 0);
        ^
conftest.c:45:8: warning: null argument where non-null required (argument 1) [-Wnonnull]
        pthread_create(0,0,0,0); pthread_cleanup_pop(0);
        ^
conftest.c:45:8: warning: null argument where non-null required (argument 3) [-Wnonnull]
conftest.c:43:27: warning: 'th' is used uninitialized in this function [-Wuninitialized]
 pthread_t th; pthread_join(th, 0);
                           ^
configure:21530: $? = 0
configure:21537: result: yes
configure:21789: checking that generated files are newer than configure
configure:21795: result: done
configure:21858: creating ./config.status

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

This file was extended by dovecot-ceph-plugin config.status 0.0.21, which was
generated by GNU Autoconf 2.69.  Invocation command line was

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

on test2

config.status:1488: creating Makefile
config.status:1488: creating src/Makefile
config.status:1488: creating src/librmb/Makefile
config.status:1488: creating src/dict-rados/Makefile
config.status:1488: creating src/storage-rbox/Makefile
config.status:1488: creating src/librmb/tools/Makefile
config.status:1488: creating src/librmb/tools/rmb/Makefile
config.status:1488: creating src/tests/Makefile
config.status:1488: creating config-local.h
config.status:1669: config-local.h is unchanged
config.status:1717: executing depfiles commands
config.status:1717: executing libtool commands
config.status:1717: executing dovecot-ceph-plugin-config.h commands
config.status:2645: creating dovecot-ceph-plugin-config.h - prefix DOVECOT_CEPH_PLUGIN for config-local.h defines
config.status:2667: dovecot-ceph-plugin-config.h is unchanged
configure:24448: DEBUG is enabled .............. : no
configure:24450: Install prefix ................ : /usr/local
configure:24452: Dovecot directory ............. : /usr/lib64/dovecot
configure:24454: With dictionary ............... : yes
configure:24456: With storage .................. : yes
configure:24458: With tests .................... : yes
configure:24460: With integration tests ........ : no
configure:24487:

minimal-gtest-autotools 0.0.21 is now configured
Configure Information:
  C Compiler        : gcc -std=gnu99
    DEFS            :   -DHAVE_CONFIG_H
    CPPFLAGS        :   
    CFLAGS          :    -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -Wall -W -Wmissi!
 ng-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot 

  C++ Compiler      : g++ -std=gnu++11
    DEFS            :   -DHAVE_CONFIG_H
    CPPFLAGS        :   
    CXXFLAGS        :    -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-undef -Wno-redundant-decls -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -Wno-error=undef -Wno-error=redundant-decls -fpermissive -std=c++11 -fPIC -DPIC

  Linker            : /usr/bin/ld -m elf_x86_64
    LDFLAGS         :   
    LIBS            :    -lrados 

  Google Test
    GTEST_CPPFLAGS  : -DGTEST_HAS_PTHREAD=1
    GTEST_CXXFLAGS  : -pthread -fpermissive -std=c++11 -Wmissing-declarations
    GTEST_LDFLAGS   : -module -avoid-version
    GTEST_LIBS      : 

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

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
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=
ac_cv_env_CXX_value=
ac_cv_env_JANSSON_CFLAGS_set=
ac_cv_env_JANSSON_CFLAGS_value=
ac_cv_env_JANSSON_LIBS_set=
ac_cv_env_JANSSON_LIBS_value=
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_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_func_rados_read_op_omap_get_keys2=yes
ac_cv_func_rados_read_op_omap_get_vals2=yes
ac_cv_func_rados_set_alloc_hint2=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_rados_librados_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_member_struct_mail_storage_vfuncs_list_index_corrupted=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/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=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_VALGRIND=valgrind
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
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=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_strerror='none required'
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
ax_cv_check_cflags__Wall=yes
ax_cv_check_cflags__Warray_bounds=yes
ax_cv_check_cflags__Wcast_align=yes
ax_cv_check_cflags__Wdeclaration_after_statement=yes
ax_cv_check_cflags__Wextra=yes
ax_cv_check_cflags__Wformat_2=yes
ax_cv_check_cflags__Wformat_nonliteral=yes
ax_cv_check_cflags__Wformat_security=yes
ax_cv_check_cflags__Wimplicit_function_declaration=yes
ax_cv_check_cflags__Winit_self=yes
ax_cv_check_cflags__Winline=yes
ax_cv_check_cflags__Wmissing_declarations=yes
ax_cv_check_cflags__Wmissing_format_attribute=yes
ax_cv_check_cflags__Wmissing_include_dirs=yes
ax_cv_check_cflags__Wmissing_noreturn=yes
ax_cv_check_cflags__Wmissing_prototypes=yes
ax_cv_check_cflags__Wnested_externs=yes
ax_cv_check_cflags__Wno_declaration_after_statement=yes
ax_cv_check_cflags__Wno_error_declaration_after_statement=yes
ax_cv_check_cflags__Wno_error_missing_field_initializers=yes
ax_cv_check_cflags__Wno_error_unused_parameter=yes
ax_cv_check_cflags__Wno_missing_field_initializers=yes
ax_cv_check_cflags__Wno_unused_parameter=yes
ax_cv_check_cflags__Wold_style_definition=yes
ax_cv_check_cflags__Wpacked=yes
ax_cv_check_cflags__Wpointer_arith=yes
ax_cv_check_cflags__Wredundant_decls=yes
ax_cv_check_cflags__Wreturn_type=yes
ax_cv_check_cflags__Wshadow=yes
ax_cv_check_cflags__Wsign_compare=yes
ax_cv_check_cflags__Wstrict_aliasing=yes
ax_cv_check_cflags__Wstrict_prototypes=yes
ax_cv_check_cflags__Wswitch_default=yes
ax_cv_check_cflags__Wswitch_enum=yes
ax_cv_check_cflags__Wundef=yes
ax_cv_check_cflags__Wunused_but_set_variable=yes
ax_cv_check_cflags__Wwrite_strings=yes
ax_cv_check_cflags___Werror_unknown_warning_option=no
ax_cv_check_cflags___Wno_suggest_attribute_format=yes
ax_cv_check_cflags__fno_strict_aliasing=yes
ax_cv_check_cxxflags__Wall=yes
ax_cv_check_cxxflags__Warray_bounds=yes
ax_cv_check_cxxflags__Wcast_align=yes
ax_cv_check_cxxflags__Wextra=yes
ax_cv_check_cxxflags__Wformat_2=yes
ax_cv_check_cxxflags__Wformat_nonliteral=yes
ax_cv_check_cxxflags__Wformat_security=yes
ax_cv_check_cxxflags__Winit_self=yes
ax_cv_check_cxxflags__Winline=yes
ax_cv_check_cxxflags__Wmissing_declarations=yes
ax_cv_check_cxxflags__Wmissing_format_attribute=yes
ax_cv_check_cxxflags__Wmissing_include_dirs=yes
ax_cv_check_cxxflags__Wmissing_noreturn=yes
ax_cv_check_cxxflags__Wno_error_missing_field_initializers=yes
ax_cv_check_cxxflags__Wno_error_overloaded_virtual=yes
ax_cv_check_cxxflags__Wno_error_redundant_decls=yes
ax_cv_check_cxxflags__Wno_error_undef=yes
ax_cv_check_cxxflags__Wno_error_unused_parameter=yes
ax_cv_check_cxxflags__Wno_missing_field_initializers=yes
ax_cv_check_cxxflags__Wno_overloaded_virtual=yes
ax_cv_check_cxxflags__Wno_redundant_decls=yes
ax_cv_check_cxxflags__Wno_undef=yes
ax_cv_check_cxxflags__Wno_unused_parameter=yes
ax_cv_check_cxxflags__Wpacked=yes
ax_cv_check_cxxflags__Wpointer_arith=yes
ax_cv_check_cxxflags__Wredundant_decls=yes
ax_cv_check_cxxflags__Wreturn_type=yes
ax_cv_check_cxxflags__Wshadow=yes
ax_cv_check_cxxflags__Wsign_compare=yes
ax_cv_check_cxxflags__Wstrict_aliasing=yes
ax_cv_check_cxxflags__Wswitch_default=yes
ax_cv_check_cxxflags__Wswitch_enum=yes
ax_cv_check_cxxflags__Wundef=yes
ax_cv_check_cxxflags__Wunused_but_set_variable=yes
ax_cv_check_cxxflags__Wwrite_strings=yes
ax_cv_check_cxxflags___Werror_unknown_warning_option=no
ax_cv_check_cxxflags___Wno_suggest_attribute_format=yes
ax_cv_check_cxxflags__fno_strict_aliasing=yes
ax_cv_check_ldflags__Wl___no_as_needed=yes
ax_cv_check_ldflags___Wl___fatal_warnings=yes
ax_cv_check_ldflags___Wl___no_as_needed=yes
ax_cv_check_ldflags___Wl__fatal_warnings=no
ax_cv_cxx_compile_cxx11=no
ax_cv_cxx_compile_cxx11__std_gnupp11=yes
ax_cv_valgrind_tool_memcheck=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=no
lt_cv_prog_compiler_static_works_CXX=no
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
pkg_cv_JANSSON_CFLAGS=' '
pkg_cv_JANSSON_LIBS='-ljansson  '

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

        $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
        LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
        LOG_FLAGS="$$(valgrind_$(1)_flags)" \
        TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
        TEST_SUITE_LOG=test-suite-$(1).log
    $$(valgrind_v_use)$$(MAKE) check-TESTS \
    $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
    $(TESTS_ENVIRONMENT) \
    $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
    $(valgrind_lt) \
    @echo "Need to reconfigure with --enable-code-coverage"
    @echo "Need to reconfigure with --enable-code-coverage"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind-$(1)"
    G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
    G_SLICE=always-malloc,debug-blocks \
    env VALGRIND=$(VALGRIND) \
 $(CODE_COVERAGE_IGNORE_PATTERN);
 $(CODE_COVERAGE_OUTPUT_FILE);
#
#
#
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
#    (Default: $(top_builddir))
#    (Default: --num-callers=30)
#    (Default: empty)
#    Multiple directories may be specified, separated by whitespace.
#    by lcov for code coverage. (Default:
#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
#    files to load. (Default: empty)
#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    lcov instance. (Default: empty)
#    memcheck, helgrind, drd, sgcheck). (Default: various)
#    reports to be created. (Default:
#    set to 0 to disable it and leave empty to stay with the default.
#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
#  - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
#  - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
#  - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
# $(PACKAGE_VERSION). In order to add the current git hash to the title,
# Capture code coverage data
# Code coverage
# Hook rule executed before code-coverage-capture, overridable by the user
# Internal use
# Optional variables
# Optional variables
# Optional:
# Optional:
# Support running with and without libtool.
# The generated report will be titled using the $(PACKAGE_NAME) and
# Use recursive makes in order to ignore errors during check
# Use recursive makes in order to ignore errors during check
# Valgrind check
# Valgrind running
# sanitizes the test-name: replaces with underscores: dashes and dots
# use the git-version-gen script, available online.
$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
'
'
--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
ACLOCAL='${SHELL} /home/software/dovecot-ceph-plugin/missing aclocal-1.13'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/software/dovecot-ceph-plugin/missing autoconf'
AUTOHEADER='${SHELL} /home/software/dovecot-ceph-plugin/missing autoheader'
AUTOMAKE='${SHELL} /home/software/dovecot-ceph-plugin/missing automake-1.13'
AWK='gawk'
BINARY_CFLAGS=''
BINARY_LDFLAGS=''
BUILD_DICT_RADOS_FALSE='#'
BUILD_DICT_RADOS_TRUE=''
BUILD_INTEGRATION_TESTS_FALSE=''
BUILD_INTEGRATION_TESTS_TRUE='#'
BUILD_STORAGE_RBOX_FALSE='#'
BUILD_STORAGE_RBOX_TRUE=''
BUILD_TESTS_FALSE='#'
BUILD_TESTS_TRUE=''
CC='gcc -std=gnu99'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -W!
 missing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2   -I$(top_srcdir) -I/usr/include/dovecot '
CODE_COVERAGE_BRANCH_COVERAGE ?=
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_CPPFLAGS=''
CODE_COVERAGE_CXXFLAGS=''
CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
CODE_COVERAGE_ENABLED='no'
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE='#'
CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
CODE_COVERAGE_IGNORE_PATTERN ?=
CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_LIBS=''
CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
CODE_COVERAGE_RULES='
CPP='gcc -E'
CPPFLAGS=''
CXX='g++ -std=gnu++11'
CXXCPP='g++ -E -std=gnu++11'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=' -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-undef -Wno-redundant-decls -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -Wno-error=undef -Wno-error=redundant-decls -fpermissive -std=c++11 -fPIC -DPIC'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DISTCHECK_CONFIGURE_FLAGS='--with-dovecot=/usr/lib64/dovecot --without-dovecot-install-dirs'
DLLTOOL='false'
DOVECOT_BINARY_CFLAGS=''
DOVECOT_BINARY_LDFLAGS=''
DOVECOT_CFLAGS='-std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 '
DOVECOT_COMPRESS_LIBS=' -lz -lbz2 -llzma'
DOVECOT_INSTALLED='yes'
DOVECOT_INSTALLED_FALSE='#'
DOVECOT_INSTALLED_TRUE=''
DOVECOT_LIBS=''
DOVECOT_PLUGIN_DEPS_FALSE='#'
DOVECOT_PLUGIN_DEPS_TRUE=''
DOVECOT_SQL_LIBS=''
DOVECOT_SSL_LIBS='-lssl -lcrypto '
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_VALGRIND_drd=''
ENABLE_VALGRIND_helgrind=''
ENABLE_VALGRIND_memcheck='yes'
ENABLE_VALGRIND_sgcheck=''
EXEEXT=''
FGREP='/usr/bin/grep -F'
GCOV=''
GENHTML=''
GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
GITIGNOREFILES ?=
GREP='/usr/bin/grep'
GTEST_CPPFLAGS='-DGTEST_HAS_PTHREAD=1'
GTEST_CXXFLAGS='-pthread -fpermissive -std=c++11 -Wmissing-declarations'
GTEST_LDFLAGS='-module -avoid-version'
GTEST_LIBS=''
GTEST_VERSION='1.8.0'
HAVE_CXX11='1'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JANSSON_CFLAGS=' '
JANSSON_LIBS='-ljansson  '
LCOV=''
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBDOVECOT='-L/usr/lib64/dovecot -ldovecot'
LIBDOVECOT_ACL_INCLUDE=''
LIBDOVECOT_AUTH_INCLUDE=''
LIBDOVECOT_COMPRESS='-ldovecot-compression'
LIBDOVECOT_COMPRESS_DEPS=''
LIBDOVECOT_CONFIG_INCLUDE=''
LIBDOVECOT_DEPS=''
LIBDOVECOT_DOVEADM_INCLUDE=''
LIBDOVECOT_DSYNC='-ldovecot-dsync'
LIBDOVECOT_DSYNC_DEPS=''
LIBDOVECOT_DSYNC_INCLUDE=''
LIBDOVECOT_FTS_INCLUDE=''
LIBDOVECOT_IMAPC_INCLUDE=''
LIBDOVECOT_IMAP_INCLUDE=''
LIBDOVECOT_IMAP_LOGIN_INCLUDE=''
LIBDOVECOT_INCLUDE='-I/usr/include/dovecot '
LIBDOVECOT_LDA='-ldovecot-lda'
LIBDOVECOT_LDA_DEPS=''
LIBDOVECOT_LDA_INCLUDE=''
LIBDOVECOT_LIBFTS='-ldovecot-fts'
LIBDOVECOT_LIBFTS_DEPS=''
LIBDOVECOT_LIBFTS_INCLUDE=''
LIBDOVECOT_LOGIN='-ldovecot-login -lssl -lcrypto '
LIBDOVECOT_LOGIN_DEPS=''
LIBDOVECOT_LOGIN_INCLUDE=''
LIBDOVECOT_NOTIFY_INCLUDE=''
LIBDOVECOT_POP3_INCLUDE=''
LIBDOVECOT_PUSH_NOTIFICATION_INCLUDE=''
LIBDOVECOT_SERVICE_INCLUDE=''
LIBDOVECOT_SQL='-ldovecot-sql'
LIBDOVECOT_SQL_DEPS=''
LIBDOVECOT_SQL_INCLUDE=''
LIBDOVECOT_SSL=''
LIBDOVECOT_SSL_DEPS=''
LIBDOVECOT_STORAGE='-ldovecot-storage '
LIBDOVECOT_STORAGE_DEPS=''
LIBDOVECOT_STORAGE_INCLUDE=''
LIBOBJS=''
LIBS=' -lrados '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/software/dovecot-ceph-plugin/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
MOSTLYCLEANFILES += $(valgrind_log_files)
MOSTLYCLEANFILES ?=
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='dovecot-ceph-plugin'
PACKAGE_BUGREPORT='https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new'
PACKAGE_NAME='dovecot-ceph-plugin'
PACKAGE_STRING='dovecot-ceph-plugin 0.0.21'
PACKAGE_TARNAME='dovecot-ceph-plugin'
PACKAGE_URL='https://github.com/ceph-dovecot/dovecot-ceph-plugin'
PACKAGE_VERSION='0.0.21'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PTHREAD_CC='gcc -std=gnu99'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='ranlib'
RUN_TEST=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VALGRIND='valgrind'
VALGRIND_CHECK_RULES='
VALGRIND_ENABLED='yes'
VALGRIND_ENABLED_FALSE='#'
VALGRIND_ENABLED_TRUE=''
VALGRIND_FLAGS ?= --num-callers=30 --gen-suppressions=all
VALGRIND_LOG_COMPILER = \
VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
VALGRIND_TESTS_ENVIRONMENT = \
VALGRIND_drd_FLAGS ?=
VALGRIND_helgrind_FLAGS ?= --history-level=approx
VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
VALGRIND_sgcheck_FLAGS ?=
VERSION='0.0.21'
WARN_CFLAGS='-fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-declaration-after-statement -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=declaration-after-statement'
WARN_CXXFLAGS='-fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-undef -Wno-redundant-decls -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -Wno-error=undef -Wno-error=redundant-decls'
WARN_LDFLAGS='-Wl,--no-as-needed'
WARN_SCANNERFLAGS='              --warn-all                                                             '
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
acx_pthread_config=''
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 --format=ustar -chf - "$$tardir"'
am__untar='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'
check-code-coverage:
check-valgrind-$(1):
check-valgrind:
code-coverage-capture-hook:
code-coverage-capture: code-coverage-capture-hook
code_coverage_quiet = $(code_coverage_quiet_$(V))
code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
code_coverage_quiet_0 = --quiet
code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
datadir='${datarootdir}'
datarootdir='${prefix}/share'
define valgrind_tool_rule =
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dovecot_docdir='/usr/share/doc/dovecot-2.2.36'
dovecot_installed_moduledir='/usr/lib64/dovecot'
dovecot_moduledir='/usr/lib64/dovecot'
dovecot_pkgincludedir='/usr/include/dovecot'
dovecot_pkglibdir='/usr/lib64/dovecot'
dovecot_pkglibexecdir='/usr/libexec/dovecot'
dovecot_statedir='/var/lib/dovecot'
dovecotdir='/usr/lib64/dovecot'
dvidir='${docdir}'
else
else
else
else ifeq ($$(VALGRIND_ENABLED),yes)
endef
endif
endif
endif
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifneq ($(LIBTOOL),)
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/software/dovecot-ceph-plugin/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
moduledir='${exec_prefix}/lib/dovecot'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
valgrind_enabled_tools=' memcheck'
valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
valgrind_lt =
valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
valgrind_quiet = $(valgrind_quiet_$(V))
valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
valgrind_quiet_0 = --quiet
valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
valgrind_tools='memcheck helgrind drd sgcheck'
valgrind_v_use   = $(valgrind_v_use_$(V))
valgrind_v_use_  = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
valgrind_v_use_0 = @echo "  USE   " $(patsubst check-valgrind-%,%,$@):;

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

/* confdefs.h */
#define PACKAGE_NAME "dovecot-ceph-plugin"
#define PACKAGE_TARNAME "dovecot-ceph-plugin"
#define PACKAGE_VERSION "0.0.21"
#define PACKAGE_STRING "dovecot-ceph-plugin 0.0.21"
#define PACKAGE_BUGREPORT "https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new"
#define PACKAGE_URL "https://github.com/ceph-dovecot/dovecot-ceph-plugin"
#define NDEBUG /**/
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_LIBRADOS 1
#define HAVE_OMAP_GET_VALS2 1
#define HAVE_ALLOC_HINT_2 1
#define HAVE_OMAP_GET_KEYS_2 1
#define HAVE_CXX11 1
#define PACKAGE_VERSION_MAJOR 0
#define PACKAGE_VERSION_MINOR 0
#define HAVE_DICT_SWITCH_IOLOOP /**/
#define HAVE_DICT_SET_TIMESTAMP /**/
#define HAVE_INDEX_POP3_UIDL_H /**/
#define HAVE_INDEX_MAIL_SET_CACHE_CORRUPTED_REASON /**/
#define HAVE_MAIL_SAVE_CONTEXT_COPY_SRC_MAIL /**/
#define HAVE_MAIL_INDEX_HDR_FLAG_FSCKD /**/
#define HAVE_LIST_INDEX_CORRUPTED 1
#define HAVE_MAIL_STORAGE_TRANSACTION_OLD_SIGNATURE /**/
#define HAVE_ITER_FROM_INDEX_DIR /**/
#define NDEBUG /**/

configure: exit 0
jrse commented 4 years ago

For debian: the content of nautilus librados-dev changed!

luminous:

dpkg -L librados-dev /. /usr /usr/bin /usr/bin/librados-config /usr/include /usr/include/rados /usr/include/rados/buffer.h /usr/include/rados/buffer_fwd.h /usr/include/rados/crc32c.h /usr/include/rados/inline_memory.h /usr/include/rados/librados.h /usr/include/rados/librados.hpp /usr/include/rados/memory.h /usr/include/rados/page.h /usr/include/rados/rados_types.h /usr/include/rados/rados_types.hpp /usr/lib /usr/lib/x86_64-linux-gnu /usr/share /usr/share/doc /usr/share/doc/librados-dev /usr/share/doc/librados-dev/copyright /usr/share/man /usr/share/man/man8 /usr/share/man/man8/librados-config.8.gz /usr/lib/x86_64-linux-gnu/librados.so /usr/share/doc/librados-dev/changelog.Debian.gz

Nautilus: dpkg -L librados-dev /. /usr /usr/bin /usr/bin/librados-config /usr/include /usr/include/rados /usr/include/rados/librados.h /usr/include/rados/rados_types.h /usr/lib /usr/share /usr/share/doc /usr/share/doc/librados-dev /usr/share/doc/librados-dev/changelog.Debian.gz /usr/share/man /usr/share/man/man8 /usr/share/man/man8/librados-config.8.gz /usr/lib/librados.so /usr/lib/librados_tp.so

jrse commented 4 years ago

Ceph changed the packaging they moved the *.hpp files to a new package called: libradospp-dev https://github.com/ceph/ceph/commit/d4857fef2484b6cbac3ffbb437f62f57dac58321#diff-41ec33944b418afc53ea1eea54fb7a1e

jrse commented 4 years ago

small API change: ObjectWriteOperation:copy_from