2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for Dovecot 2.1.7.
3
# Generated by GNU Autoconf 2.69 for Dovecot 2.2.9.
5
5
# Report bugs to <dovecot@dovecot.org>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13
11
# This configure script is free software; the Free Software Foundation
137
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
139
162
if test "x$CONFIG_SHELL" = x; then
140
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
224
248
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
242
270
if test x$as_have_required = xno; then :
460
496
chmod +x "$as_me.lineno" ||
461
497
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
# already done that, so ensure we don't try to do so again and fall
501
# in an infinite loop. This has already happened in practice.
502
_as_can_reexec=no; export _as_can_reexec
463
503
# Don't try to exec as it changes $[0], causing all sort of problems
464
504
# (the dirname of $[0] is not the place where we might find the
465
505
# original and so on. Autoconf is especially sensitive to this).
494
534
# ... but there are two gotchas:
495
535
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
536
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
537
# In both cases, we have to default to `cp -pR'.
498
538
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
540
elif ln conf$$.file conf$$ 2>/dev/null; then
508
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
549
rmdir conf$$.dir 2>/dev/null
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
559
as_executable_p=as_fn_executable_p
541
561
# Sed expression to map a string onto a valid CPP name.
542
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1519
1547
--disable-option-checking ignore unrecognized --enable/--with options
1520
1548
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1521
1549
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1522
--enable-maintainer-mode enable make rules and dependencies not useful
1523
(and sometimes confusing) to the casual installer
1550
--enable-silent-rules less verbose build output (undo: "make V=1")
1551
--disable-silent-rules verbose build output (undo: "make V=0")
1552
--enable-maintainer-mode
1553
enable make rules and dependencies not useful (and
1554
sometimes confusing) to the casual installer
1524
1555
--enable-devel-checks Enable some extra expensive checks for developers
1525
1556
--enable-asserts Enable asserts (default)
1526
--disable-dependency-tracking speeds up one-time build
1527
--enable-dependency-tracking do not reject slow dependency extractors
1557
--enable-dependency-tracking
1558
do not reject slow dependency extractors
1559
--disable-dependency-tracking
1560
speeds up one-time build
1528
1561
--enable-shared[=PKGS] build shared libraries [default=yes]
1529
1562
--enable-static[=PKGS] build static libraries [default=yes]
1530
1563
--enable-fast-install[=PKGS]
1605
1640
CXXCPP C++ preprocessor
1606
1641
SSL_CFLAGS C compiler flags for SSL, overriding pkg-config
1607
1642
SSL_LIBS linker flags for SSL, overriding pkg-config
1644
C compiler flags for CLUCENE, overriding pkg-config
1646
linker flags for CLUCENE, overriding pkg-config
1609
1648
Use these variables to override the choices made by `configure' or to help
1610
1649
it to find libraries and programs with nonstandard names/locations.
1672
1711
test -n "$ac_init_help" && exit $ac_status
1673
1712
if $ac_init_version; then
1675
Dovecot configure 2.1.7
1676
generated by GNU Autoconf 2.68
1714
Dovecot configure 2.2.9
1715
generated by GNU Autoconf 2.69
1678
Copyright (C) 2010 Free Software Foundation, Inc.
1717
Copyright (C) 2012 Free Software Foundation, Inc.
1679
1718
This configure script is free software; the Free Software Foundation
1680
1719
gives unlimited permission to copy, distribute and modify it.
2160
2199
} # ac_fn_c_check_header_mongrel
2201
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2202
# -------------------------------------------
2203
# Tests whether TYPE exists after having included INCLUDES, setting cache
2204
# variable VAR accordingly.
2205
ac_fn_c_check_type ()
2207
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2209
$as_echo_n "checking for $2... " >&6; }
2210
if eval \${$3+:} false; then :
2211
$as_echo_n "(cached) " >&6
2214
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215
/* end confdefs.h. */
2226
if ac_fn_c_try_compile "$LINENO"; then :
2227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228
/* end confdefs.h. */
2239
if ac_fn_c_try_compile "$LINENO"; then :
2244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2250
$as_echo "$ac_res" >&6; }
2251
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2253
} # ac_fn_c_check_type
2162
2255
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2163
2256
# --------------------------------------------
2164
2257
# Tries to find the compile-time value of EXPR in a program that includes
2336
2434
as_fn_set_status $ac_retval
2338
2436
} # ac_fn_c_compute_int
2340
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2341
# -------------------------------------------
2342
# Tests whether TYPE exists after having included INCLUDES, setting cache
2343
# variable VAR accordingly.
2344
ac_fn_c_check_type ()
2346
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2348
$as_echo_n "checking for $2... " >&6; }
2349
if eval \${$3+:} false; then :
2350
$as_echo_n "(cached) " >&6
2353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354
/* end confdefs.h. */
2365
if ac_fn_c_try_compile "$LINENO"; then :
2366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367
/* end confdefs.h. */
2378
if ac_fn_c_try_compile "$LINENO"; then :
2383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2389
$as_echo "$ac_res" >&6; }
2390
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392
} # ac_fn_c_check_type
2393
2437
cat >config.log <<_ACEOF
2394
2438
This file contains any messages produced by compilers while
2395
2439
running configure, to aid debugging if configure makes a mistake.
2397
It was created by Dovecot $as_me 2.1.7, which was
2398
generated by GNU Autoconf 2.68. Invocation command line was
2441
It was created by Dovecot $as_me 2.2.9, which was
2442
generated by GNU Autoconf 2.69. Invocation command line was
2884
2931
case $srcdir in
2885
2932
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2886
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2933
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2889
# Do `set' in a subshell so we don't clobber the current shell's
2936
# Do 'set' in a subshell so we don't clobber the current shell's
2890
2937
# arguments. Must try -L first in case configure is actually a
2891
2938
# symlink; some systems play weird games with the mod time of symlinks
2892
2939
# (eg FreeBSD returns the mod time of the symlink's containing
2895
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2896
if test "$*" = "X"; then
2898
set X `ls -t "$srcdir/configure" conftest.file`
2901
if test "$*" != "X $srcdir/configure conftest.file" \
2902
&& test "$*" != "X conftest.file $srcdir/configure"; then
2904
# If neither matched, then we have a broken ls. This can happen
2905
# if, for instance, CONFIG_SHELL is bash and it inherits a
2906
# broken ls alias from the environment. This has actually
2907
# happened. Such a system could not be considered "sane".
2908
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2909
alias in your environment" "$LINENO" 5
2943
for am_try in 1 2; do
2944
echo "timestamp, slept: $am_has_slept" > conftest.file
2945
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2946
if test "$*" = "X"; then
2948
set X `ls -t "$srcdir/configure" conftest.file`
2950
if test "$*" != "X $srcdir/configure conftest.file" \
2951
&& test "$*" != "X conftest.file $srcdir/configure"; then
2953
# If neither matched, then we have a broken ls. This can happen
2954
# if, for instance, CONFIG_SHELL is bash and it inherits a
2955
# broken ls alias from the environment. This has actually
2956
# happened. Such a system could not be considered "sane".
2957
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2958
alias in your environment" "$LINENO" 5
2960
if test "$2" = conftest.file || test $am_try -eq 2; then
2912
2967
test "$2" = conftest.file
2944
3009
# Use eval to expand $SHELL
2945
if eval "$MISSING --run true"; then
2946
am_missing_run="$MISSING --run "
3010
if eval "$MISSING --is-lightweight"; then
3011
am_missing_run="$MISSING "
2948
3013
am_missing_run=
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2950
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3014
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3015
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2953
3018
if test x"${install_sh}" != xset; then
2962
# Installed binaries are usually stripped using `strip' when the user
2963
# run `make install-strip'. However `strip' might not be the right
3027
# Installed binaries are usually stripped using 'strip' when the user
3028
# run "make install-strip". However 'strip' might not be the right
2964
3029
# tool to use in cross-compilation environments, therefore Automake
2965
# will honor the `STRIP' environment variable to overrule this program.
3030
# will honor the 'STRIP' environment variable to overrule this program.
2966
3031
if test "$cross_compiling" != no; then
2967
3032
if test -n "$ac_tool_prefix"; then
2968
3033
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3072
3137
test -z "$as_dir" && as_dir=.
3073
3138
for ac_prog in mkdir gmkdir; do
3074
3139
for ac_exec_ext in '' $ac_executable_extensions; do
3075
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3140
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3076
3141
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3077
3142
'mkdir (GNU coreutils) '* | \
3078
3143
'mkdir (coreutils) '* | \
3190
3249
rmdir .tst 2>/dev/null
3251
# Check whether --enable-silent-rules was given.
3252
if test "${enable_silent_rules+set}" = set; then :
3253
enableval=$enable_silent_rules;
3256
case $enable_silent_rules in # (((
3257
yes) AM_DEFAULT_VERBOSITY=0;;
3258
no) AM_DEFAULT_VERBOSITY=1;;
3259
*) AM_DEFAULT_VERBOSITY=1;;
3261
am_make=${MAKE-make}
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3263
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3264
if ${am_cv_make_support_nested_variables+:} false; then :
3265
$as_echo_n "(cached) " >&6
3267
if $as_echo 'TRUE=$(BAR$(V))
3273
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3274
am_cv_make_support_nested_variables=yes
3276
am_cv_make_support_nested_variables=no
3279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3280
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3281
if test $am_cv_make_support_nested_variables = yes; then
3283
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3285
AM_V=$AM_DEFAULT_VERBOSITY
3286
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3192
3290
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3193
3291
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3194
3292
# is not polluted with repeated "-I."
3240
3338
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3340
# For better backward compatibility. To be removed once Automake 1.9.x
3341
# dies out for good. For more background, see:
3342
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3343
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3344
mkdir_p='$(MKDIR_P)'
3242
3346
# We need awk for the "check" target. The system "awk" is bad on
3243
3347
# some platforms.
3244
3348
# Always define AMTAR for backward compatibility. Yes, it's still used
3245
3349
# in the wild :-( We should find a proper way to deprecate it ...
3246
3350
AMTAR='$${TAR-tar}'
3353
# We'll loop over all known methods to create a tar archive until one works.
3354
_am_tools='gnutar pax cpio none'
3248
3356
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3363
# POSIX will say in a future version that running "rm -f" with no argument
3364
# is OK; and we want to be able to make that assumption in our Makefile
3365
# recipes. So use an aggressive probe to check that the usage we want is
3366
# actually supported "in the wild" to an acceptable degree.
3367
# See automake bug#10828.
3368
# To make any issue more visible, cause the running configure to be aborted
3369
# by default if the 'rm' program in use doesn't match our expectations; the
3370
# user can still override this though.
3371
if rm -f && rm -fr && rm -rf; then : OK; else
3375
Your 'rm' program seems unable to run without file operands specified
3376
on the command line, even when the '-f' option is present. This is contrary
3377
to the behaviour of most rm programs out there, and not conforming with
3378
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3380
Please tell bug-automake@gnu.org about your system, including the value
3381
of your $PATH and any error possibly output before this message. This
3382
can help us improve future automake versions.
3385
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3386
echo 'Configuration will proceed anyway, since you have set the' >&2
3387
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3391
Aborting the configuration process, to ensure you take notice of the issue.
3393
You can download and install GNU coreutils to get an 'rm' implementation
3394
that behaves properly: <http://www.gnu.org/software/coreutils/>.
3396
If you want to complete the configuration process using your problematic
3397
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3398
to "yes", and re-run configure.
3401
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3256
3406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3257
3407
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3823
# Check whether --with-cdb was given.
3824
if test "${with_cdb+set}" = set; then :
3826
want=want_`echo cdb|sed s/-/_/g`
3827
if test $withval = yes || test $withval = no || test $withval = auto; then
3829
elif test $withval = plugin; then
3830
if test "" = plugin; then
3833
as_fn_error $? "--with-cdb=plugin not supported" "$LINENO" 5
3835
elif `echo $withval|grep '^/' >/dev/null`; then
3836
as_fn_error $? "--with-cdb=path not supported. You may want to use instead:
3837
CPPFLAGS=-I$withval/include LDFLAGS=-L$withval/lib ./configure --with-cdb" "$LINENO" 5
3839
as_fn_error $? "--with-cdb: Unknown value: $withval" "$LINENO" 5
3673
3848
# Check whether --with-sql was given.
3674
3849
if test "${with_sql+set}" = set; then :
3675
3850
withval=$with_sql;
4081
# Check whether --with-lzma was given.
4082
if test "${with_lzma+set}" = set; then :
4084
want=want_`echo lzma|sed s/-/_/g`
4085
if test $withval = yes || test $withval = no || test $withval = auto; then
4087
elif test $withval = plugin; then
4088
if test "" = plugin; then
4091
as_fn_error $? "--with-lzma=plugin not supported" "$LINENO" 5
4093
elif `echo $withval|grep '^/' >/dev/null`; then
4094
as_fn_error $? "--with-lzma=path not supported. You may want to use instead:
4095
CPPFLAGS=-I$withval/include LDFLAGS=-L$withval/lib ./configure --with-lzma" "$LINENO" 5
4097
as_fn_error $? "--with-lzma: Unknown value: $withval" "$LINENO" 5
3906
4106
# Check whether --with-libcap was given.
3907
4107
if test "${with_libcap+set}" = set; then :
3908
4108
withval=$with_libcap;
4976
5175
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977
5176
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5179
ac_cpp='$CPP $CPPFLAGS'
5180
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5181
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5182
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5184
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5185
if ${am_cv_prog_cc_c_o+:} false; then :
5186
$as_echo_n "(cached) " >&6
5188
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189
/* end confdefs.h. */
5199
# Make sure it works both with $CC and with simple cc.
5200
# Following AC_PROG_CC_C_O, we do the test twice because some
5201
# compilers refuse to overwrite an existing .o file with -o,
5202
# though they will create one.
5203
am_cv_prog_cc_c_o=yes
5205
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5206
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209
(exit $ac_status); } \
5210
&& test -f conftest2.$ac_objext; then
5213
am_cv_prog_cc_c_o=no
5217
rm -f core conftest*
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5221
$as_echo "$am_cv_prog_cc_c_o" >&6; }
5222
if test "$am_cv_prog_cc_c_o" != yes; then
5223
# Losing compiler, so override with the script.
5224
# FIXME: It is wrong to rewrite CC.
5225
# But if we don't then we get into trouble of one sort or another.
5226
# A longer-term fix would be to have automake use am__CC in this case,
5227
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5228
CC="$am_aux_dir/compile $CC"
5231
ac_cpp='$CPP $CPPFLAGS'
5232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979
5237
depcc="$CC" am_compiler_list=
4981
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5023
5281
: > sub/conftest.c
5024
5282
for i in 1 2 3 4 5 6; do
5025
5283
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5026
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5027
# Solaris 8's {/usr,}/bin/sh.
5028
touch sub/conftst$i.h
5284
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5285
# Solaris 10 /bin/sh.
5286
echo '/* dummy */' > sub/conftst$i.h
5030
5288
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5032
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5290
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5033
5291
# mode. It turns out that the SunPro C++ compiler does not properly
5034
# handle `-M -o', and we need to detect this. Also, some Intel
5035
# versions had trouble with output in subdirs
5292
# handle '-M -o', and we need to detect this. Also, some Intel
5293
# versions had trouble with output in subdirs.
5036
5294
am__obj=sub/conftest.${OBJEXT-o}
5037
5295
am__minus_obj="-o $am__obj"
5038
5296
case $depmode in
5041
5299
test "$am__universal" = false || continue
5044
# after this tag, mechanisms are not by side-effect, so they'll
5045
# only be used when explicitly requested
5302
# After this tag, mechanisms are not by side-effect, so they'll
5303
# only be used when explicitly requested.
5046
5304
if test "x$enable_dependency_tracking" = xyes; then
5052
5310
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5053
# This compiler won't grok `-c -o', but also, the minuso test has
5311
# This compiler won't grok '-c -o', but also, the minuso test has
5054
5312
# not run yet. These depmodes are late enough in the game, and
5055
5313
# so weak that their functioning should not be impacted.
5056
5314
am__obj=conftest.${OBJEXT-o}
5701
5958
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702
5959
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5962
ac_cpp='$CPP $CPPFLAGS'
5963
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5964
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5965
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5967
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5968
if ${am_cv_prog_cc_c_o+:} false; then :
5969
$as_echo_n "(cached) " >&6
5971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972
/* end confdefs.h. */
5982
# Make sure it works both with $CC and with simple cc.
5983
# Following AC_PROG_CC_C_O, we do the test twice because some
5984
# compilers refuse to overwrite an existing .o file with -o,
5985
# though they will create one.
5986
am_cv_prog_cc_c_o=yes
5988
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5989
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
(exit $ac_status); } \
5993
&& test -f conftest2.$ac_objext; then
5996
am_cv_prog_cc_c_o=no
6000
rm -f core conftest*
6003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6004
$as_echo "$am_cv_prog_cc_c_o" >&6; }
6005
if test "$am_cv_prog_cc_c_o" != yes; then
6006
# Losing compiler, so override with the script.
6007
# FIXME: It is wrong to rewrite CC.
6008
# But if we don't then we get into trouble of one sort or another.
6009
# A longer-term fix would be to have automake use am__CC in this case,
6010
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6011
CC="$am_aux_dir/compile $CC"
6014
ac_cpp='$CPP $CPPFLAGS'
6015
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6016
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6017
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5704
6020
depcc="$CC" am_compiler_list=
5706
6022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5748
6064
: > sub/conftest.c
5749
6065
for i in 1 2 3 4 5 6; do
5750
6066
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5751
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5752
# Solaris 8's {/usr,}/bin/sh.
5753
touch sub/conftst$i.h
6067
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6068
# Solaris 10 /bin/sh.
6069
echo '/* dummy */' > sub/conftst$i.h
5755
6071
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5757
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6073
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5758
6074
# mode. It turns out that the SunPro C++ compiler does not properly
5759
# handle `-M -o', and we need to detect this. Also, some Intel
5760
# versions had trouble with output in subdirs
6075
# handle '-M -o', and we need to detect this. Also, some Intel
6076
# versions had trouble with output in subdirs.
5761
6077
am__obj=sub/conftest.${OBJEXT-o}
5762
6078
am__minus_obj="-o $am__obj"
5763
6079
case $depmode in
5766
6082
test "$am__universal" = false || continue
5769
# after this tag, mechanisms are not by side-effect, so they'll
5770
# only be used when explicitly requested
6085
# After this tag, mechanisms are not by side-effect, so they'll
6086
# only be used when explicitly requested.
5771
6087
if test "x$enable_dependency_tracking" = xyes; then
5777
6093
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5778
# This compiler won't grok `-c -o', but also, the minuso test has
6094
# This compiler won't grok '-c -o', but also, the minuso test has
5779
6095
# not run yet. These depmodes are late enough in the game, and
5780
6096
# so weak that their functioning should not be impacted.
5781
6097
am__obj=conftest.${OBJEXT-o}
6270
6586
: > sub/conftest.c
6271
6587
for i in 1 2 3 4 5 6; do
6272
6588
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6273
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6274
# Solaris 8's {/usr,}/bin/sh.
6275
touch sub/conftst$i.h
6589
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6590
# Solaris 10 /bin/sh.
6591
echo '/* dummy */' > sub/conftst$i.h
6277
6593
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6279
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6595
# We check with '-c' and '-o' for the sake of the "dashmstdout"
6280
6596
# mode. It turns out that the SunPro C++ compiler does not properly
6281
# handle `-M -o', and we need to detect this. Also, some Intel
6282
# versions had trouble with output in subdirs
6597
# handle '-M -o', and we need to detect this. Also, some Intel
6598
# versions had trouble with output in subdirs.
6283
6599
am__obj=sub/conftest.${OBJEXT-o}
6284
6600
am__minus_obj="-o $am__obj"
6285
6601
case $depmode in
6288
6604
test "$am__universal" = false || continue
6291
# after this tag, mechanisms are not by side-effect, so they'll
6292
# only be used when explicitly requested
6607
# After this tag, mechanisms are not by side-effect, so they'll
6608
# only be used when explicitly requested.
6293
6609
if test "x$enable_dependency_tracking" = xyes; then
6299
6615
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6300
# This compiler won't grok `-c -o', but also, the minuso test has
6616
# This compiler won't grok '-c -o', but also, the minuso test has
6301
6617
# not run yet. These depmodes are late enough in the game, and
6302
6618
# so weak that their functioning should not be impacted.
6303
6619
am__obj=conftest.${OBJEXT-o}
6368
6684
for ac_prog in grep ggrep; do
6369
6685
for ac_exec_ext in '' $ac_executable_extensions; do
6370
6686
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6371
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6687
as_fn_executable_p "$ac_path_GREP" || continue
6372
6688
# Check for GNU ac_path_GREP and select it if it is found.
6373
6689
# Check for GNU $ac_path_GREP
6374
6690
case `"$ac_path_GREP" --version 2>&1` in
6823
7139
for ac_prog in sed gsed; do
6824
7140
for ac_exec_ext in '' $ac_executable_extensions; do
6825
7141
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6826
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7142
as_fn_executable_p "$ac_path_SED" || continue
6827
7143
# Check for GNU ac_path_SED and select it if it is found.
6828
7144
# Check for GNU $ac_path_SED
6829
7145
case `"$ac_path_SED" --version 2>&1` in
17090
17386
# Prepare PATH_SEPARATOR.
17091
17387
# The user is always right.
17092
17388
if test "${PATH_SEPARATOR+set}" != set; then
17093
echo "#! /bin/sh" >conf$$.sh
17094
echo "exit 0" >>conf$$.sh
17096
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17389
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17390
# contains only /bin. Note that ksh looks also at the FPATH variable,
17391
# so we have to set that as well for the test.
17393
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17394
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17395
|| PATH_SEPARATOR=';'
17104
17400
if test "$GCC" = yes; then
17105
17401
# Check if gcc -print-prog-name=ld gives a path.
17106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17107
$as_echo_n "checking for ld used by GCC... " >&6; }
17402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17403
$as_echo_n "checking for ld used by $CC... " >&6; }
17108
17404
case $host in
17110
17406
# gcc leaves a trailing carriage return which upsets mingw
17115
17411
case $ac_prog in
17116
17412
# Accept absolute paths.
17117
[\\/]* | [A-Za-z]:[\\/]*)
17118
17414
re_direlt='/[^/][^/]*/\.\./'
17119
# Canonicalize the path of ld
17120
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17121
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17415
# Canonicalize the pathname of ld
17416
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
17417
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
17122
17418
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17124
17420
test -z "$LD" && LD="$ac_prog"
17143
17439
$as_echo_n "(cached) " >&6
17145
17441
if test -z "$LD"; then
17146
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17442
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17147
17443
for ac_dir in $PATH; do
17444
IFS="$acl_save_ifs"
17148
17445
test -z "$ac_dir" && ac_dir=.
17149
17446
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17150
17447
acl_cv_path_LD="$ac_dir/$ac_prog"
17151
17448
# Check to see if the program is GNU ld. I'd rather use --version,
17152
# but apparently some GNU ld's only accept -v.
17449
# but apparently some variants of GNU ld only accept -v.
17153
17450
# Break only if it was the GNU/non-GNU ld that we prefer.
17154
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17451
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
17155
17452
*GNU* | *'with BFD'*)
17156
test "$with_gnu_ld" != no && break ;;
17453
test "$with_gnu_ld" != no && break
17158
test "$with_gnu_ld" != yes && break ;;
17456
test "$with_gnu_ld" != yes && break
17461
IFS="$acl_save_ifs"
17164
17463
acl_cv_path_LD="$LD" # Let the user override the test with a path.
17179
17478
if ${acl_cv_prog_gnu_ld+:} false; then :
17180
17479
$as_echo_n "(cached) " >&6
17182
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
17481
# I'd rather use --version here, but apparently some GNU lds only accept -v.
17183
17482
case `$LD -v 2>&1 </dev/null` in
17184
17483
*GNU* | *'with BFD'*)
17185
acl_cv_prog_gnu_ld=yes ;;
17484
acl_cv_prog_gnu_ld=yes
17187
acl_cv_prog_gnu_ld=no ;;
17487
acl_cv_prog_gnu_ld=no
17190
17491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17900
18209
(char **) &inptr, &inbytesleft,
17901
18210
&outptr, &outbytesleft);
17902
18211
if (res == 0)
18213
iconv_close (cd_ascii_to_88591);
18216
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */
18218
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
18219
if (cd_88591_to_utf8 != (iconv_t)(-1))
18221
static const char input[] = "\304";
18222
static char buf[2] = { (char)0xDE, (char)0xAD };
18223
const char *inptr = input;
18224
size_t inbytesleft = 1;
18225
char *outptr = buf;
18226
size_t outbytesleft = 1;
18227
size_t res = iconv (cd_88591_to_utf8,
18228
(char **) &inptr, &inbytesleft,
18229
&outptr, &outbytesleft);
18230
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
18232
iconv_close (cd_88591_to_utf8);
17906
18235
#if 0 /* This bug could be worked around by the caller. */
18379
$as_echo "#define DOVECOT_VERSION_MAJOR 2" >>confdefs.h
18382
$as_echo "#define DOVECOT_VERSION_MINOR 2" >>confdefs.h
18047
18385
for ac_header in strings.h stdint.h unistd.h dirent.h malloc.h inttypes.h \
18048
18386
sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h \
18049
sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h sys/fs/quota_common.h \
18387
sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h \
18388
quota.h sys/fs/quota_common.h \
18050
18389
mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
18051
18390
xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \
18052
sys/utsname.h glob.h linux/falloc.h ucred.h
18391
sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h
18054
18393
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18055
18394
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18074
18413
# -Wmissing-format-attribute -Wmissing-noreturn -Wwrite-strings # a couple of warnings
18075
18414
CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast"
18077
if test "$have_clang" != "yes"; then
18416
if test "$have_clang" = "yes"; then
18417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418
/* end confdefs.h. */
18420
#if __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3)
18432
if ac_fn_c_try_compile "$LINENO"; then :
18436
# clang 3.3+ unfortunately this gives warnings with hash.h
18437
CFLAGS="$CFLAGS -Wno-duplicate-decl-specifier"
18440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078
18442
# This is simply to avoid warning when building strftime() wrappers..
18079
18443
CFLAGS="$CFLAGS -fno-builtin-strftime"
18467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
18468
$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
18469
if ${ac_cv_lib_rt_clock_gettime+:} false; then :
18833
ac_fn_c_check_type "$LINENO" "struct sockpeercred" "ac_cv_type_struct_sockpeercred" "
18834
#include <sys/types.h>
18835
#include <sys/socket.h>
18838
if test "x$ac_cv_type_struct_sockpeercred" = xyes; then :
18840
cat >>confdefs.h <<_ACEOF
18841
#define HAVE_STRUCT_SOCKPEERCRED 1
18848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18849
$as_echo_n "checking for library containing clock_gettime... " >&6; }
18850
if ${ac_cv_search_clock_gettime+:} false; then :
18470
18851
$as_echo_n "(cached) " >&6
18472
ac_check_lib_save_LIBS=$LIBS
18853
ac_func_search_save_LIBS=$LIBS
18474
18854
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475
18855
/* end confdefs.h. */
18492
if ac_fn_c_try_link "$LINENO"; then :
18493
ac_cv_lib_rt_clock_gettime=yes
18872
for ac_lib in '' rt; do
18873
if test -z "$ac_lib"; then
18874
ac_res="none required"
18877
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18879
if ac_fn_c_try_link "$LINENO"; then :
18880
ac_cv_search_clock_gettime=$ac_res
18882
rm -f core conftest.err conftest.$ac_objext \
18884
if ${ac_cv_search_clock_gettime+:} false; then :
18888
if ${ac_cv_search_clock_gettime+:} false; then :
18495
ac_cv_lib_rt_clock_gettime=no
18497
rm -f core conftest.err conftest.$ac_objext \
18498
conftest$ac_exeext conftest.$ac_ext
18499
LIBS=$ac_check_lib_save_LIBS
18501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
18502
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
18503
if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
18891
ac_cv_search_clock_gettime=no
18893
rm conftest.$ac_ext
18894
LIBS=$ac_func_search_save_LIBS
18896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18897
$as_echo "$ac_cv_search_clock_gettime" >&6; }
18898
ac_res=$ac_cv_search_clock_gettime
18899
if test "$ac_res" != no; then :
18900
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18506
18903
$as_echo "#define HAVE_CLOCK_GETTIME /**/" >>confdefs.h
18909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof" >&5
18910
$as_echo_n "checking for typeof... " >&6; }
18911
if ${i_cv_have_typeof+:} false; then :
18912
$as_echo_n "(cached) " >&6
18513
for ac_func in clock_gettime
18515
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
18516
if test "x$ac_cv_func_clock_gettime" = xyes; then :
18517
cat >>confdefs.h <<_ACEOF
18518
#define HAVE_CLOCK_GETTIME 1
18915
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916
/* end confdefs.h. */
18930
if ac_fn_c_try_compile "$LINENO"; then :
18932
i_cv_have_typeof=yes
18936
i_cv_have_typeof=no
18939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $i_cv_have_typeof" >&5
18943
$as_echo "$i_cv_have_typeof" >&6; }
18944
if test $i_cv_have_typeof = yes; then
18946
$as_echo "#define HAVE_TYPEOF /**/" >>confdefs.h
18528
18950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtoimax" >&5
18529
18951
$as_echo_n "checking for strtoimax... " >&6; }
20002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenBSD /dev/arandom" >&5
20003
$as_echo_n "checking for OpenBSD /dev/arandom... " >&6; }
20004
if test -c /dev/arandom; then
20005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20006
$as_echo "yes" >&6; }
20008
$as_echo "#define DEV_URANDOM_PATH \"/dev/arandom\"" >>confdefs.h
20010
have_random_source=yes
20012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20013
$as_echo "no" >&6; }
20014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5
20426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5
20015
20427
$as_echo_n "checking for /dev/urandom... " >&6; }
20016
if test -c /dev/urandom || test -s /dev/urandom; then
20017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20428
if test -c /dev/urandom || test -s /dev/urandom; then
20429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20018
20430
$as_echo "yes" >&6; }
20020
20432
$as_echo "#define DEV_URANDOM_PATH \"/dev/urandom\"" >>confdefs.h
20022
have_random_source=yes
20024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20434
have_random_source=yes
20436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20025
20437
$as_echo "no" >&6; }
20029
20440
if test "$have_random_source" != "yes"; then
23347
if test $want_cdb != no; then
23348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
23349
$as_echo_n "checking for cdb_init in -lcdb... " >&6; }
23350
if ${ac_cv_lib_cdb_cdb_init+:} false; then :
23351
$as_echo_n "(cached) " >&6
23353
ac_check_lib_save_LIBS=$LIBS
23355
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356
/* end confdefs.h. */
23358
/* Override any GCC internal prototype to avoid an error.
23359
Use char because int might match the return type of a GCC
23360
builtin and then its argument prototype would still apply. */
23368
return cdb_init ();
23373
if ac_fn_c_try_link "$LINENO"; then :
23374
ac_cv_lib_cdb_cdb_init=yes
23376
ac_cv_lib_cdb_cdb_init=no
23378
rm -f core conftest.err conftest.$ac_objext \
23379
conftest$ac_exeext conftest.$ac_ext
23380
LIBS=$ac_check_lib_save_LIBS
23382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
23383
$as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
23384
if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
23386
ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
23387
if test "x$ac_cv_header_cdb_h" = xyes; then :
23389
DICT_LIBS="$DICT_LIBS -lcdb"
23391
$as_echo "#define BUILD_CDB /**/" >>confdefs.h
23396
if test $want_cdb = yes; then
23397
as_fn_error $? "Can't build with CDB support: cdb.h not found" "$LINENO" 5
23406
if test $want_cdb = yes; then
23407
as_fn_error $? "Can't build with CDB support: libcdb not found" "$LINENO" 5
22936
23414
if test $want_pgsql != no; then
22937
23415
# Extract the first word of "pg_config", so it can be a program name with args.
22938
23416
set dummy pg_config; ac_word=$2
23960
24440
LINKED_STORAGE_LIBS=
23962
mailbox_list_drivers="maildir imapdir none fs shared"
24442
mailbox_list_drivers="maildir imapdir fs index none shared"
23963
24443
have_sdbox=no
23964
24445
for storage in $mail_storages; do
23965
24446
LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS `eval echo \\$${storage}_libs`"
23966
24447
if test $storage = sdbox; then
23967
24448
have_sdbox=yes
24450
if test $storage = mdbox; then
23969
24453
if test $storage = sdbox || test $storage = mdbox; then
23970
24454
LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS $dbox_common_libs"
23971
24455
dbox_common_libs=""
23973
24457
if test $storage = imapc; then
23974
24458
mailbox_list_drivers="$mailbox_list_drivers imapc"
23977
if test $storage = pop3c; then
23981
24461
LINKED_STORAGE_LDADD=
23982
if test "$want_ssl_libs" = yes; then
23983
LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS \$(top_builddir)/src/lib-ssl-iostream/libssl_iostream.la"
23984
LINKED_STORAGE_LDADD="$SSL_LIBS"
23996
24472
# create alias for sdbox
23997
24473
mail_storages="$mail_storages dbox"
24475
if test $have_mdbox = yes; then
24476
mail_storages="$mail_storages mdbox_deleted"
24001
24480
if test "$want_shared_libs" = "yes"; then
24002
24481
LIBDOVECOT_DEPS='$(top_builddir)/src/lib-dovecot/libdovecot.la'
24003
LIBDOVECOT="$LIBDOVECOT_DEPS"
24004
LIBDOVECOT_STORAGE_DEPS='$(top_builddir)/src/lib-storage/libdovecot-storage.la'
24482
LIBDOVECOT="$LIBDOVECOT_DEPS \$(MODULE_LIBS)"
24483
LIBDOVECOT_STORAGE_DEPS='$(top_builddir)/src/lib-storage/libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/libimap-storage.la'
24005
24484
LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/libdovecot-login.la'
24485
LIBDOVECOT_COMPRESS='$(top_builddir)/src/lib-compression/libcompression.la'
24006
24486
LIBDOVECOT_LDA='$(top_builddir)/src/lib-lda/libdovecot-lda.la'
24008
LIBDOVECOT_DEPS='$(top_builddir)/src/lib-master/libmaster.la $(top_builddir)/src/lib-settings/libsettings.la $(top_builddir)/src/lib-dict/libdict.la $(top_builddir)/src/lib-dns/libdns.la $(top_builddir)/src/lib-fs/libfs.la $(top_builddir)/src/lib-imap/libimap.la $(top_builddir)/src/lib-mail/libmail.la $(top_builddir)/src/lib-auth/libauth.la $(top_builddir)/src/lib-charset/libcharset.la $(top_builddir)/src/lib/liblib.la'
24009
LIBDOVECOT="$LIBDOVECOT_DEPS \$(LIBICONV)"
24010
LIBDOVECOT_STORAGE_LAST='$(top_builddir)/src/lib-storage/list/libstorage_list.la $(top_builddir)/src/lib-storage/index/libstorage_index.la $(top_builddir)/src/lib-storage/libstorage.la $(top_builddir)/src/lib-index/libindex.la'
24488
LIBDOVECOT_DEPS='$(top_builddir)/src/lib-master/libmaster.la $(top_builddir)/src/lib-settings/libsettings.la $(top_builddir)/src/lib-http/libhttp.la $(top_builddir)/src/lib-dict/libdict.la $(top_builddir)/src/lib-dns/libdns.la $(top_builddir)/src/lib-fs/libfs.la $(top_builddir)/src/lib-imap/libimap.la $(top_builddir)/src/lib-mail/libmail.la $(top_builddir)/src/lib-sasl/libsasl.la $(top_builddir)/src/lib-auth/libauth.la $(top_builddir)/src/lib-charset/libcharset.la $(top_builddir)/src/lib-ssl-iostream/libssl_iostream.la $(top_builddir)/src/lib-test/libtest.la $(top_builddir)/src/lib/liblib.la'
24489
LIBDOVECOT="$LIBDOVECOT_DEPS \$(LIBICONV) \$(MODULE_LIBS)"
24490
LIBDOVECOT_STORAGE_LAST='$(top_builddir)/src/lib-storage/list/libstorage_list.la $(top_builddir)/src/lib-storage/index/libstorage_index.la $(top_builddir)/src/lib-storage/libstorage.la $(top_builddir)/src/lib-index/libindex.la $(top_builddir)/src/lib-imap-storage/libimap-storage.la'
24011
24491
LIBDOVECOT_STORAGE_FIRST='$(top_builddir)/src/lib-storage/libstorage_service.la $(top_builddir)/src/lib-storage/register/libstorage_register.la'
24012
24492
LIBDOVECOT_STORAGE_DEPS="$LIBDOVECOT_STORAGE_FIRST $LINKED_STORAGE_LIBS $LIBDOVECOT_STORAGE_LAST"
24013
LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/liblogin.la $(top_builddir)/src/lib-ssl-iostream/libssl_iostream.la'
24493
LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/liblogin.la'
24494
LIBDOVECOT_COMPRESS='$(top_builddir)/src/lib-compression/libcompression.la'
24014
24495
LIBDOVECOT_LDA='$(top_builddir)/src/lib-lda/liblda.la'
24016
24497
LIBDOVECOT_STORAGE="$LIBDOVECOT_STORAGE_DEPS $LINKED_STORAGE_LDADD"
24189
if test "$have_bzlib" = "yes"; then
24191
BUILD_BZLIB_FALSE='#'
24193
BUILD_BZLIB_TRUE='#'
24197
if test "$have_zlib_plugin" = "yes"; then
24667
if test "$want_lzma" != "no"; then
24668
ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
24669
if test "x$ac_cv_header_lzma_h" = xyes; then :
24671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_stream_decoder in -llzma" >&5
24672
$as_echo_n "checking for lzma_stream_decoder in -llzma... " >&6; }
24673
if ${ac_cv_lib_lzma_lzma_stream_decoder+:} false; then :
24674
$as_echo_n "(cached) " >&6
24676
ac_check_lib_save_LIBS=$LIBS
24677
LIBS="-llzma $LIBS"
24678
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24679
/* end confdefs.h. */
24681
/* Override any GCC internal prototype to avoid an error.
24682
Use char because int might match the return type of a GCC
24683
builtin and then its argument prototype would still apply. */
24687
char lzma_stream_decoder ();
24691
return lzma_stream_decoder ();
24696
if ac_fn_c_try_link "$LINENO"; then :
24697
ac_cv_lib_lzma_lzma_stream_decoder=yes
24699
ac_cv_lib_lzma_lzma_stream_decoder=no
24701
rm -f core conftest.err conftest.$ac_objext \
24702
conftest$ac_exeext conftest.$ac_ext
24703
LIBS=$ac_check_lib_save_LIBS
24705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stream_decoder" >&5
24706
$as_echo "$ac_cv_lib_lzma_lzma_stream_decoder" >&6; }
24707
if test "x$ac_cv_lib_lzma_lzma_stream_decoder" = xyes; then :
24710
have_compress_lib=yes
24712
$as_echo "#define HAVE_LZMA /**/" >>confdefs.h
24714
COMPRESS_LIBS="$COMPRESS_LIBS -llzma"
24718
if test "$want_lzma" = "yes"; then
24719
as_fn_error $? "Can't build with lzma support: liblzma not found" "$LINENO" 5
24727
if test "$want_lzma" = "yes"; then
24728
as_fn_error $? "Can't build with lzma support: lzma.h not found" "$LINENO" 5
24736
if test "$have_compress_lib" = "yes"; then
24198
24737
BUILD_ZLIB_PLUGIN_TRUE=
24199
24738
BUILD_ZLIB_PLUGIN_FALSE='#'
24768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing quota_open" >&5
24769
$as_echo_n "checking for library containing quota_open... " >&6; }
24770
if ${ac_cv_search_quota_open+:} false; then :
24771
$as_echo_n "(cached) " >&6
24773
ac_func_search_save_LIBS=$LIBS
24774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775
/* end confdefs.h. */
24777
/* Override any GCC internal prototype to avoid an error.
24778
Use char because int might match the return type of a GCC
24779
builtin and then its argument prototype would still apply. */
24783
char quota_open ();
24787
return quota_open ();
24792
for ac_lib in '' quota; do
24793
if test -z "$ac_lib"; then
24794
ac_res="none required"
24797
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24799
if ac_fn_c_try_link "$LINENO"; then :
24800
ac_cv_search_quota_open=$ac_res
24802
rm -f core conftest.err conftest.$ac_objext \
24804
if ${ac_cv_search_quota_open+:} false; then :
24808
if ${ac_cv_search_quota_open+:} false; then :
24811
ac_cv_search_quota_open=no
24813
rm conftest.$ac_ext
24814
LIBS=$ac_func_search_save_LIBS
24816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_quota_open" >&5
24817
$as_echo "$ac_cv_search_quota_open" >&6; }
24818
ac_res=$ac_cv_search_quota_open
24819
if test "$ac_res" != no; then :
24820
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24823
$as_echo "#define HAVE_QUOTA_OPEN /**/" >>confdefs.h
24825
QUOTA_LIBS="-lquota"
24233
24836
if test "$want_solr" != "no"; then
24234
# Extract the first word of "curl-config", so it can be a program name with args.
24235
set dummy curl-config; ac_word=$2
24236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24237
$as_echo_n "checking for $ac_word... " >&6; }
24238
if ${ac_cv_prog_CURLCONFIG+:} false; then :
24239
$as_echo_n "(cached) " >&6
24241
if test -n "$CURLCONFIG"; then
24242
ac_cv_prog_CURLCONFIG="$CURLCONFIG" # Let the user override the test.
24244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24245
for as_dir in $PATH
24248
test -z "$as_dir" && as_dir=.
24249
for ac_exec_ext in '' $ac_executable_extensions; do
24250
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24251
ac_cv_prog_CURLCONFIG="curl-config"
24252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24259
test -z "$ac_cv_prog_CURLCONFIG" && ac_cv_prog_CURLCONFIG="NO"
24262
CURLCONFIG=$ac_cv_prog_CURLCONFIG
24263
if test -n "$CURLCONFIG"; then
24264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCONFIG" >&5
24265
$as_echo "$CURLCONFIG" >&6; }
24267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24268
$as_echo "no" >&6; }
24272
if test $CURLCONFIG != NO; then
24273
CURL_CFLAGS=`$CURLCONFIG --cflags`
24274
CURL_LIBS=`$CURLCONFIG --libs`
24276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_Parse in -lexpat" >&5
24837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_Parse in -lexpat" >&5
24277
24838
$as_echo_n "checking for XML_Parse in -lexpat... " >&6; }
24278
24839
if ${ac_cv_lib_expat_XML_Parse+:} false; then :
24279
24840
$as_echo_n "(cached) " >&6
24311
24872
$as_echo "$ac_cv_lib_expat_XML_Parse" >&6; }
24312
24873
if test "x$ac_cv_lib_expat_XML_Parse" = xyes; then :
24314
ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
24875
ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
24315
24876
if test "x$ac_cv_header_expat_h" = xyes; then :
24324
if test $want_solr = yes; then
24325
as_fn_error $? "Can't build with Solr support: expat.h not found" "$LINENO" 5
24334
24883
if test $want_solr = yes; then
24335
as_fn_error $? "Can't build with Solr support: libexpat not found" "$LINENO" 5
24884
as_fn_error $? "Can't build with Solr support: expat.h not found" "$LINENO" 5
24341
24893
if test $want_solr = yes; then
24342
as_fn_error $? "Can't build with Solr support: curl-config not found" "$LINENO" 5
24894
as_fn_error $? "Can't build with Solr support: libexpat not found" "$LINENO" 5
24346
24900
if test "$have_solr" = "yes"; then
24347
24901
BUILD_SOLR_TRUE=
24355
24909
have_lucene=no
24356
24910
if test "$want_lucene" = "yes"; then
24913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUCENE" >&5
24914
$as_echo_n "checking for CLUCENE... " >&6; }
24916
if test -n "$CLUCENE_CFLAGS"; then
24917
pkg_cv_CLUCENE_CFLAGS="$CLUCENE_CFLAGS"
24918
elif test -n "$PKG_CONFIG"; then
24919
if test -n "$PKG_CONFIG" && \
24920
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclucene-core\""; } >&5
24921
($PKG_CONFIG --exists --print-errors "libclucene-core") 2>&5
24923
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24924
test $ac_status = 0; }; then
24925
pkg_cv_CLUCENE_CFLAGS=`$PKG_CONFIG --cflags "libclucene-core" 2>/dev/null`
24926
test "x$?" != "x0" && pkg_failed=yes
24933
if test -n "$CLUCENE_LIBS"; then
24934
pkg_cv_CLUCENE_LIBS="$CLUCENE_LIBS"
24935
elif test -n "$PKG_CONFIG"; then
24936
if test -n "$PKG_CONFIG" && \
24937
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclucene-core\""; } >&5
24938
($PKG_CONFIG --exists --print-errors "libclucene-core") 2>&5
24940
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24941
test $ac_status = 0; }; then
24942
pkg_cv_CLUCENE_LIBS=`$PKG_CONFIG --libs "libclucene-core" 2>/dev/null`
24943
test "x$?" != "x0" && pkg_failed=yes
24953
if test $pkg_failed = yes; then
24954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24955
$as_echo "no" >&6; }
24957
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24958
_pkg_short_errors_supported=yes
24960
_pkg_short_errors_supported=no
24962
if test $_pkg_short_errors_supported = yes; then
24963
CLUCENE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclucene-core" 2>&1`
24965
CLUCENE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclucene-core" 2>&1`
24967
# Put the nasty error message in config.log where it belongs
24968
echo "$CLUCENE_PKG_ERRORS" >&5
24971
# no pkg-config file for clucene. fallback to defaults.
24972
# FIXME: we should verify here that this actually works..
24973
CLUCENE_LIBS="-lclucene-shared -lclucene-core"
24975
elif test $pkg_failed = untried; then
24976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24977
$as_echo "no" >&6; }
24979
# no pkg-config file for clucene. fallback to defaults.
24980
# FIXME: we should verify here that this actually works..
24981
CLUCENE_LIBS="-lclucene-shared -lclucene-core"
24984
CLUCENE_CFLAGS=$pkg_cv_CLUCENE_CFLAGS
24985
CLUCENE_LIBS=$pkg_cv_CLUCENE_LIBS
24986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24987
$as_echo "yes" >&6; }
24357
24990
if test $want_stemmer != no; then
24358
24991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sb_stemmer_new in -lstemmer" >&5
24359
24992
$as_echo_n "checking for sb_stemmer_new in -lstemmer... " >&6; }
24440
25073
$as_echo "#define HAVE_LUCENE_TEXTCAT /**/" >>confdefs.h
25078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special_textcat_Init in -lexttextcat" >&5
25079
$as_echo_n "checking for special_textcat_Init in -lexttextcat... " >&6; }
25080
if ${ac_cv_lib_exttextcat_special_textcat_Init+:} false; then :
25081
$as_echo_n "(cached) " >&6
25083
ac_check_lib_save_LIBS=$LIBS
25084
LIBS="-lexttextcat $LIBS"
25085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25086
/* end confdefs.h. */
25088
/* Override any GCC internal prototype to avoid an error.
25089
Use char because int might match the return type of a GCC
25090
builtin and then its argument prototype would still apply. */
25094
char special_textcat_Init ();
25098
return special_textcat_Init ();
25103
if ac_fn_c_try_link "$LINENO"; then :
25104
ac_cv_lib_exttextcat_special_textcat_Init=yes
25106
ac_cv_lib_exttextcat_special_textcat_Init=no
25108
rm -f core conftest.err conftest.$ac_objext \
25109
conftest$ac_exeext conftest.$ac_ext
25110
LIBS=$ac_check_lib_save_LIBS
25112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_exttextcat_special_textcat_Init" >&5
25113
$as_echo "$ac_cv_lib_exttextcat_special_textcat_Init" >&6; }
25114
if test "x$ac_cv_lib_exttextcat_special_textcat_Init" = xyes; then :
25116
have_lucene_exttextcat=yes
25118
$as_echo "#define HAVE_LUCENE_EXTTEXTCAT /**/" >>confdefs.h
24483
FILES1=`find $srcdir/src -name '*settings.[ch]'|grep "$srcdir/src/lib-" | sed 's/^\(.*\)\(.\)$/\2 \1\2/' | sort -r | sed s/^..//`
25172
FILES1=`find $srcdir/src -name '*settings.[ch]'|grep "$srcdir/src/lib-" | sed 's/^\(.*\)\(.\)$/\2 \1\2/' | grep -v 'lib-master.*c$' | sort -r | sed s/^..//`
24484
25173
FILES2=`find $srcdir/src -name '*settings.[ch]'|grep -v "$srcdir/src/lib-" | sed 's/^\(.*\)\(.\)$/\2 \1\2/' | grep -v all-settings | sort -r | sed s/^..//`
24485
25174
SETTING_FILES=`echo $FILES1 $FILES2 | sed -e s,$srcdir/src,./src,g -e 's,./src,$(top_srcdir)/src,g'`
24489
25178
capability_banner="IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE"
24490
capability="$capability_banner SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE"
25179
capability="$capability_banner SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE"
24492
25181
cat >>confdefs.h <<_ACEOF
24493
25182
#define CAPABILITY_STRING "$capability"
24507
25196
LDFLAGS="\$(NOPLUGIN_LDFLAGS) $LDFLAGS"
25199
if test "$with_gnu_ld" = yes -a "$want_shared_libs" = "no"; then
25200
# libtool can't handle using whole-archive flags, so we need to do this
25201
# with a CC wrapper.. shouldn't be much of a problem, since most people
25202
# are building with shared libs.
25203
sed "s/@CC@/$CC/" < $srcdir/cc-wrapper.sh.in > cc-wrapper.sh
25204
chmod +x cc-wrapper.sh
25205
CC=`pwd`/cc-wrapper.sh
24510
25208
if test "$docdir" = ""; then
24511
25209
docdir='${datadir}/doc/${PACKAGE_TARNAME}'
24753
25459
as_fn_error $? "conditional \"SQL_PLUGINS\" was never defined.
24754
25460
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24756
if test -z "${BUILD_ZLIB_TRUE}" && test -z "${BUILD_ZLIB_FALSE}"; then
24757
as_fn_error $? "conditional \"BUILD_ZLIB\" was never defined.
24758
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24760
if test -z "${BUILD_BZLIB_TRUE}" && test -z "${BUILD_BZLIB_FALSE}"; then
24761
as_fn_error $? "conditional \"BUILD_BZLIB\" was never defined.
24762
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24764
25462
if test -z "${BUILD_ZLIB_PLUGIN_TRUE}" && test -z "${BUILD_ZLIB_PLUGIN_FALSE}"; then
24765
25463
as_fn_error $? "conditional \"BUILD_ZLIB_PLUGIN\" was never defined.
24766
25464
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25079
25781
# ... but there are two gotchas:
25080
25782
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25081
25783
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25082
# In both cases, we have to default to `cp -p'.
25784
# In both cases, we have to default to `cp -pR'.
25083
25785
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25085
25787
elif ln conf$$.file conf$$ 2>/dev/null; then
25093
25795
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25094
25796
rmdir conf$$.dir 2>/dev/null
25148
25850
as_mkdir_p=false
25151
if test -x / >/dev/null 2>&1; then
25152
as_test_x='test -x'
25154
if ls -dL / >/dev/null 2>&1; then
25161
if test -d "$1"; then
25167
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25168
???[sx]*):;;*)false;;esac;fi
25172
as_executable_p=$as_test_x
25854
# as_fn_executable_p FILE
25855
# -----------------------
25856
# Test if FILE is an executable regular file.
25857
as_fn_executable_p ()
25859
test -f "$1" && test -x "$1"
25860
} # as_fn_executable_p
25861
as_test_x='test -x'
25862
as_executable_p=as_fn_executable_p
25174
25864
# Sed expression to map a string onto a valid CPP name.
25175
25865
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25190
25880
# report actual input values of CONFIG_FILES etc. instead of their
25191
25881
# values after options handling.
25193
This file was extended by Dovecot $as_me 2.1.7, which was
25194
generated by GNU Autoconf 2.68. Invocation command line was
25883
This file was extended by Dovecot $as_me 2.2.9, which was
25884
generated by GNU Autoconf 2.69. Invocation command line was
25196
25886
CONFIG_FILES = $CONFIG_FILES
25197
25887
CONFIG_HEADERS = $CONFIG_HEADERS
25256
25946
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25257
25947
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25258
25948
ac_cs_version="\\
25259
Dovecot config.status 2.1.7
25260
configured by $0, generated by GNU Autoconf 2.68,
25949
Dovecot config.status 2.2.9
25950
configured by $0, generated by GNU Autoconf 2.69,
25261
25951
with options \\"\$ac_cs_config\\"
25263
Copyright (C) 2010 Free Software Foundation, Inc.
25953
Copyright (C) 2012 Free Software Foundation, Inc.
25264
25954
This config.status script is free software; the Free Software Foundation
25265
25955
gives unlimited permission to copy, distribute and modify it."
25774
26464
"src/lib-sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sql/Makefile" ;;
25775
26465
"src/lib-auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-auth/Makefile" ;;
25776
26466
"src/lib-charset/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-charset/Makefile" ;;
26467
"src/lib-compression/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-compression/Makefile" ;;
25777
26468
"src/lib-dict/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dict/Makefile" ;;
25778
26469
"src/lib-dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dns/Makefile" ;;
25779
26470
"src/lib-fs/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-fs/Makefile" ;;
26471
"src/lib-http/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-http/Makefile" ;;
25780
26472
"src/lib-imap/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap/Makefile" ;;
26473
"src/lib-imap-storage/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-storage/Makefile" ;;
25781
26474
"src/lib-imap-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-client/Makefile" ;;
26475
"src/lib-imap-urlauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-urlauth/Makefile" ;;
25782
26476
"src/lib-index/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-index/Makefile" ;;
25783
26477
"src/lib-lda/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-lda/Makefile" ;;
25784
26478
"src/lib-mail/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-mail/Makefile" ;;
25786
26480
"src/lib-ntlm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-ntlm/Makefile" ;;
25787
26481
"src/lib-otp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-otp/Makefile" ;;
25788
26482
"src/lib-dovecot/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dovecot/Makefile" ;;
26483
"src/lib-sasl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sasl/Makefile" ;;
25789
26484
"src/lib-settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-settings/Makefile" ;;
25790
26485
"src/lib-ssl-iostream/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-ssl-iostream/Makefile" ;;
25791
26486
"src/lib-test/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-test/Makefile" ;;
25818
26513
"src/ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipc/Makefile" ;;
25819
26514
"src/imap/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap/Makefile" ;;
25820
26515
"src/imap-login/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap-login/Makefile" ;;
26516
"src/imap-urlauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap-urlauth/Makefile" ;;
25821
26517
"src/login-common/Makefile") CONFIG_FILES="$CONFIG_FILES src/login-common/Makefile" ;;
25822
26518
"src/master/Makefile") CONFIG_FILES="$CONFIG_FILES src/master/Makefile" ;;
25823
26519
"src/pop3/Makefile") CONFIG_FILES="$CONFIG_FILES src/pop3/Makefile" ;;
25839
26535
"src/plugins/fts-squat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/fts-squat/Makefile" ;;
25840
26536
"src/plugins/lazy-expunge/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/lazy-expunge/Makefile" ;;
25841
26537
"src/plugins/listescape/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/listescape/Makefile" ;;
26538
"src/plugins/mail-filter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mail-filter/Makefile" ;;
25842
26539
"src/plugins/mail-log/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mail-log/Makefile" ;;
26540
"src/plugins/mailbox-alias/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mailbox-alias/Makefile" ;;
25843
26541
"src/plugins/notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/notify/Makefile" ;;
25844
26542
"src/plugins/pop3-migration/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pop3-migration/Makefile" ;;
25845
26543
"src/plugins/quota/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/quota/Makefile" ;;
26463
27161
# Strip MF so we end up with the name of the file.
26464
27162
mf=`echo "$mf" | sed -e 's/:.*$//'`
26465
27163
# Check whether this is an Automake generated Makefile or not.
26466
# We used to match only the files named `Makefile.in', but
27164
# We used to match only the files named 'Makefile.in', but
26467
27165
# some people rename them; so instead we look at the file content.
26468
27166
# Grep'ing the first line is not enough: some people post-process
26469
27167
# each Makefile.in and add a new line on top of each file to say so.
26499
27197
# Extract the definition of DEPDIR, am__include, and am__quote
26500
# from the Makefile without running `make'.
27198
# from the Makefile without running 'make'.
26501
27199
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26502
27200
test -z "$DEPDIR" && continue
26503
27201
am__include=`sed -n 's/^am__include = //p' < "$mf"`
26504
test -z "am__include" && continue
27202
test -z "$am__include" && continue
26505
27203
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26506
# When using ansi2knr, U may be empty or an underscore; expand it
26507
U=`sed -n 's/^U = //p' < "$mf"`
26508
27204
# Find all dependency output files, they are included files with
26509
27205
# $(DEPDIR) in their names. We invoke sed twice because it is the
26510
27206
# simplest approach to changing $(DEPDIR) to its actual value in the
26512
27208
for file in `sed -n "
26513
27209
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26514
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27210
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26515
27211
# Make sure the directory exists.
26516
27212
test -f "$dirpart/$file" && continue
26517
27213
fdir=`$as_dirname -- "$file" ||