~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for Dovecot 2.1.17.
 
3
# Generated by GNU Autoconf 2.69 for Dovecot 2.2.5.
4
4
#
5
5
# Report bugs to <dovecot@dovecot.org>.
6
6
#
590
590
# Identity of this package.
591
591
PACKAGE_NAME='Dovecot'
592
592
PACKAGE_TARNAME='dovecot'
593
 
PACKAGE_VERSION='2.1.17'
594
 
PACKAGE_STRING='Dovecot 2.1.17'
 
593
PACKAGE_VERSION='2.2.5'
 
594
PACKAGE_STRING='Dovecot 2.2.5'
595
595
PACKAGE_BUGREPORT='dovecot@dovecot.org'
596
596
PACKAGE_URL=''
597
597
 
647
647
BUILD_LUCENE_TEXTCAT_TRUE
648
648
BUILD_LUCENE_STEMMER_FALSE
649
649
BUILD_LUCENE_STEMMER_TRUE
 
650
CLUCENE_LIBS
 
651
CLUCENE_CFLAGS
650
652
BUILD_SOLR_FALSE
651
653
BUILD_SOLR_TRUE
652
 
CURL_LIBS
653
 
CURL_CFLAGS
654
 
CURLCONFIG
 
654
QUOTA_LIBS
655
655
HAVE_RQUOTA_FALSE
656
656
HAVE_RQUOTA_TRUE
657
657
RPCGEN
658
658
BUILD_ZLIB_PLUGIN_FALSE
659
659
BUILD_ZLIB_PLUGIN_TRUE
660
 
BUILD_BZLIB_FALSE
661
 
BUILD_BZLIB_TRUE
662
 
BUILD_ZLIB_FALSE
663
 
BUILD_ZLIB_TRUE
 
660
COMPRESS_LIBS
664
661
SQL_PLUGINS_FALSE
665
662
SQL_PLUGINS_TRUE
666
663
BUILD_SQLITE_FALSE
671
668
BUILD_PGSQL_TRUE
672
669
sql_drivers
673
670
LIBDOVECOT_LDA
 
671
LIBDOVECOT_COMPRESS
674
672
LIBDOVECOT_SQL
675
673
LIBDOVECOT_LOGIN
676
674
LIBDOVECOT_STORAGE_DEPS
681
679
LINKED_STORAGE_LDADD
682
680
LINKED_STORAGE_LIBS
683
681
dict_drivers
 
682
CDB_LIBS
684
683
DICT_LIBS
685
684
SQLITE_LIBS
686
685
SQLITE_CFLAGS
871
870
with_sia
872
871
with_ldap
873
872
with_vpopmail
 
873
with_cdb
874
874
with_sql
875
875
with_pgsql
876
876
with_mysql
920
920
CCC
921
921
CXXCPP
922
922
SSL_CFLAGS
923
 
SSL_LIBS'
 
923
SSL_LIBS
 
924
CLUCENE_CFLAGS
 
925
CLUCENE_LIBS'
924
926
 
925
927
 
926
928
# Initialize some variables set by options.
1461
1463
  # Omit some internal or obsolete options to make the list less imposing.
1462
1464
  # This message is too long to be a string in the A/UX 3.1 sh.
1463
1465
  cat <<_ACEOF
1464
 
\`configure' configures Dovecot 2.1.17 to adapt to many kinds of systems.
 
1466
\`configure' configures Dovecot 2.2.5 to adapt to many kinds of systems.
1465
1467
 
1466
1468
Usage: $0 [OPTION]... [VAR=VALUE]...
1467
1469
 
1531
1533
 
1532
1534
if test -n "$ac_init_help"; then
1533
1535
  case $ac_init_help in
1534
 
     short | recursive ) echo "Configuration of Dovecot 2.1.17:";;
 
1536
     short | recursive ) echo "Configuration of Dovecot 2.2.5:";;
1535
1537
   esac
1536
1538
  cat <<\_ACEOF
1537
1539
 
1574
1576
  --with-sia              Build with Tru64 SIA support
1575
1577
  --with-ldap=yes|plugin  Build with LDAP support
1576
1578
  --with-vpopmail         Build with vpopmail support (auto)
 
1579
  --with-cdb              Build with CDB support
1577
1580
  --with-sql=yes|plugin   Build with generic SQL support
1578
1581
  --with-pgsql            Build with PostgreSQL driver support
1579
1582
  --with-mysql            Build with MySQL driver support
1625
1628
  CXXCPP      C++ preprocessor
1626
1629
  SSL_CFLAGS  C compiler flags for SSL, overriding pkg-config
1627
1630
  SSL_LIBS    linker flags for SSL, overriding pkg-config
 
1631
  CLUCENE_CFLAGS
 
1632
              C compiler flags for CLUCENE, overriding pkg-config
 
1633
  CLUCENE_LIBS
 
1634
              linker flags for CLUCENE, overriding pkg-config
1628
1635
 
1629
1636
Use these variables to override the choices made by `configure' or to help
1630
1637
it to find libraries and programs with nonstandard names/locations.
1692
1699
test -n "$ac_init_help" && exit $ac_status
1693
1700
if $ac_init_version; then
1694
1701
  cat <<\_ACEOF
1695
 
Dovecot configure 2.1.17
 
1702
Dovecot configure 2.2.5
1696
1703
generated by GNU Autoconf 2.69
1697
1704
 
1698
1705
Copyright (C) 2012 Free Software Foundation, Inc.
2179
2186
 
2180
2187
} # ac_fn_c_check_header_mongrel
2181
2188
 
 
2189
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2190
# -------------------------------------------
 
2191
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2192
# variable VAR accordingly.
 
2193
ac_fn_c_check_type ()
 
2194
{
 
2195
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2196
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2197
$as_echo_n "checking for $2... " >&6; }
 
2198
if eval \${$3+:} false; then :
 
2199
  $as_echo_n "(cached) " >&6
 
2200
else
 
2201
  eval "$3=no"
 
2202
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2203
/* end confdefs.h.  */
 
2204
$4
 
2205
int
 
2206
main ()
 
2207
{
 
2208
if (sizeof ($2))
 
2209
         return 0;
 
2210
  ;
 
2211
  return 0;
 
2212
}
 
2213
_ACEOF
 
2214
if ac_fn_c_try_compile "$LINENO"; then :
 
2215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2216
/* end confdefs.h.  */
 
2217
$4
 
2218
int
 
2219
main ()
 
2220
{
 
2221
if (sizeof (($2)))
 
2222
            return 0;
 
2223
  ;
 
2224
  return 0;
 
2225
}
 
2226
_ACEOF
 
2227
if ac_fn_c_try_compile "$LINENO"; then :
 
2228
 
 
2229
else
 
2230
  eval "$3=yes"
 
2231
fi
 
2232
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2233
fi
 
2234
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2235
fi
 
2236
eval ac_res=\$$3
 
2237
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2238
$as_echo "$ac_res" >&6; }
 
2239
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2240
 
 
2241
} # ac_fn_c_check_type
 
2242
 
2182
2243
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2183
2244
# --------------------------------------------
2184
2245
# Tries to find the compile-time value of EXPR in a program that includes
2361
2422
  as_fn_set_status $ac_retval
2362
2423
 
2363
2424
} # ac_fn_c_compute_int
2364
 
 
2365
 
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2366
 
# -------------------------------------------
2367
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
2368
 
# variable VAR accordingly.
2369
 
ac_fn_c_check_type ()
2370
 
{
2371
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2373
 
$as_echo_n "checking for $2... " >&6; }
2374
 
if eval \${$3+:} false; then :
2375
 
  $as_echo_n "(cached) " >&6
2376
 
else
2377
 
  eval "$3=no"
2378
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379
 
/* end confdefs.h.  */
2380
 
$4
2381
 
int
2382
 
main ()
2383
 
{
2384
 
if (sizeof ($2))
2385
 
         return 0;
2386
 
  ;
2387
 
  return 0;
2388
 
}
2389
 
_ACEOF
2390
 
if ac_fn_c_try_compile "$LINENO"; then :
2391
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392
 
/* end confdefs.h.  */
2393
 
$4
2394
 
int
2395
 
main ()
2396
 
{
2397
 
if (sizeof (($2)))
2398
 
            return 0;
2399
 
  ;
2400
 
  return 0;
2401
 
}
2402
 
_ACEOF
2403
 
if ac_fn_c_try_compile "$LINENO"; then :
2404
 
 
2405
 
else
2406
 
  eval "$3=yes"
2407
 
fi
2408
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409
 
fi
2410
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2411
 
fi
2412
 
eval ac_res=\$$3
2413
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2414
 
$as_echo "$ac_res" >&6; }
2415
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2416
 
 
2417
 
} # ac_fn_c_check_type
2418
2425
cat >config.log <<_ACEOF
2419
2426
This file contains any messages produced by compilers while
2420
2427
running configure, to aid debugging if configure makes a mistake.
2421
2428
 
2422
 
It was created by Dovecot $as_me 2.1.17, which was
 
2429
It was created by Dovecot $as_me 2.2.5, which was
2423
2430
generated by GNU Autoconf 2.69.  Invocation command line was
2424
2431
 
2425
2432
  $ $0 $@
2768
2775
 
2769
2776
 
2770
2777
 
 
2778
cat >>confdefs.h <<_ACEOF
 
2779
#define DOVECOT_ABI_VERSION "2.2.ABIv5($PACKAGE_VERSION)"
 
2780
_ACEOF
 
2781
 
 
2782
 
 
2783
 
2771
2784
 
2772
2785
am__api_version='1.11'
2773
2786
 
3236
3249
 
3237
3250
# Define the identity of the package.
3238
3251
 PACKAGE='dovecot'
3239
 
 VERSION='2.1.17'
 
3252
 VERSION='2.2.5'
3240
3253
 
3241
3254
 
3242
3255
cat >>confdefs.h <<_ACEOF
3695
3708
want_db=no
3696
3709
 
3697
3710
 
 
3711
# Check whether --with-cdb was given.
 
3712
if test "${with_cdb+set}" = set; then :
 
3713
  withval=$with_cdb;
 
3714
  want=want_`echo cdb|sed s/-/_/g`
 
3715
  if test $withval = yes || test $withval = no || test $withval = auto; then
 
3716
    eval $want=$withval
 
3717
  elif test $withval = plugin; then
 
3718
    if test "" = plugin; then
 
3719
      eval $want=plugin
 
3720
    else
 
3721
      as_fn_error $? "--with-cdb=plugin not supported" "$LINENO" 5
 
3722
    fi
 
3723
  elif `echo $withval|grep '^/' >/dev/null`; then
 
3724
    as_fn_error $? "--with-cdb=path not supported. You may want to use instead:
 
3725
CPPFLAGS=-I$withval/include LDFLAGS=-L$withval/lib ./configure --with-cdb" "$LINENO" 5
 
3726
  else
 
3727
    as_fn_error $? "--with-cdb: Unknown value: $withval" "$LINENO" 5
 
3728
  fi
 
3729
 
 
3730
else
 
3731
  want_cdb=no
 
3732
fi
 
3733
 
 
3734
 
 
3735
 
3698
3736
# Check whether --with-sql was given.
3699
3737
if test "${with_sql+set}" = set; then :
3700
3738
  withval=$with_sql;
4102
4140
fi
4103
4141
 
4104
4142
 
4105
 
mail_storages="$mail_storages raw"
 
4143
mail_storages="$mail_storages raw fail"
4106
4144
# drop duplicates
4107
4145
duplicates=`(for i in $mail_storages; do echo $i; done)|sort|uniq -d|xargs echo`
4108
4146
if test "$duplicates" != ""; then
18050
18088
$as_echo "#define DOVECOT_VERSION_MAJOR 2" >>confdefs.h
18051
18089
 
18052
18090
 
18053
 
$as_echo "#define DOVECOT_VERSION_MINOR 1" >>confdefs.h
 
18091
$as_echo "#define DOVECOT_VERSION_MINOR 2" >>confdefs.h
18054
18092
 
18055
18093
 
18056
18094
for ac_header in strings.h stdint.h unistd.h dirent.h malloc.h inttypes.h \
18057
18095
  sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h \
18058
 
  sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h sys/fs/quota_common.h \
 
18096
  sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h \
 
18097
  quota.h sys/fs/quota_common.h \
18059
18098
  mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
18060
18099
  xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \
18061
 
  sys/utsname.h glob.h linux/falloc.h ucred.h
 
18100
  sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h
18062
18101
do :
18063
18102
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18064
18103
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18083
18122
        # -Wmissing-format-attribute -Wmissing-noreturn -Wwrite-strings # a couple of warnings
18084
18123
        CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast"
18085
18124
 
18086
 
        if test "$have_clang" != "yes"; then
 
18125
        if test "$have_clang" = "yes"; then
 
18126
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18127
/* end confdefs.h.  */
 
18128
 
 
18129
          #if __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 3)
 
18130
          #  error new clang
 
18131
          #endif
 
18132
 
 
18133
int
 
18134
main ()
 
18135
{
 
18136
 
 
18137
  ;
 
18138
  return 0;
 
18139
}
 
18140
_ACEOF
 
18141
if ac_fn_c_try_compile "$LINENO"; then :
 
18142
 
 
18143
else
 
18144
 
 
18145
            # clang 3.3+ unfortunately this gives warnings with hash.h
 
18146
            CFLAGS="$CFLAGS -Wno-duplicate-decl-specifier"
 
18147
 
 
18148
fi
 
18149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18150
        else
18087
18151
          # This is simply to avoid warning when building strftime() wrappers..
18088
18152
          CFLAGS="$CFLAGS -fno-builtin-strftime"
18089
18153
        fi
18140
18204
if test "$have_clang" = "yes"; then
18141
18205
  # clang specific options
18142
18206
  if test "$want_devel_checks" = "yes"; then
18143
 
    CFLAGS="$CFLAGS -fcatch-undefined-behavior -ftrapv"
 
18207
    # FIXME: enable once md[45], sha[12] can be compiled without
 
18208
    #CFLAGS="$CFLAGS -fsanitize=integer,undefined -ftrapv"
 
18209
    :
18144
18210
  fi
18145
18211
fi
18146
18212
 
18473
18539
done
18474
18540
 
18475
18541
 
18476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
18477
 
$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
18478
 
if ${ac_cv_lib_rt_clock_gettime+:} false; then :
 
18542
ac_fn_c_check_type "$LINENO" "struct sockpeercred" "ac_cv_type_struct_sockpeercred" "
 
18543
#include <sys/types.h>
 
18544
#include <sys/socket.h>
 
18545
 
 
18546
"
 
18547
if test "x$ac_cv_type_struct_sockpeercred" = xyes; then :
 
18548
 
 
18549
cat >>confdefs.h <<_ACEOF
 
18550
#define HAVE_STRUCT_SOCKPEERCRED 1
 
18551
_ACEOF
 
18552
 
 
18553
 
 
18554
fi
 
18555
 
 
18556
 
 
18557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 
18558
$as_echo_n "checking for library containing clock_gettime... " >&6; }
 
18559
if ${ac_cv_search_clock_gettime+:} false; then :
18479
18560
  $as_echo_n "(cached) " >&6
18480
18561
else
18481
 
  ac_check_lib_save_LIBS=$LIBS
18482
 
LIBS="-lrt  $LIBS"
 
18562
  ac_func_search_save_LIBS=$LIBS
18483
18563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484
18564
/* end confdefs.h.  */
18485
18565
 
18498
18578
  return 0;
18499
18579
}
18500
18580
_ACEOF
18501
 
if ac_fn_c_try_link "$LINENO"; then :
18502
 
  ac_cv_lib_rt_clock_gettime=yes
 
18581
for ac_lib in '' rt; do
 
18582
  if test -z "$ac_lib"; then
 
18583
    ac_res="none required"
 
18584
  else
 
18585
    ac_res=-l$ac_lib
 
18586
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
18587
  fi
 
18588
  if ac_fn_c_try_link "$LINENO"; then :
 
18589
  ac_cv_search_clock_gettime=$ac_res
 
18590
fi
 
18591
rm -f core conftest.err conftest.$ac_objext \
 
18592
    conftest$ac_exeext
 
18593
  if ${ac_cv_search_clock_gettime+:} false; then :
 
18594
  break
 
18595
fi
 
18596
done
 
18597
if ${ac_cv_search_clock_gettime+:} false; then :
 
18598
 
18503
18599
else
18504
 
  ac_cv_lib_rt_clock_gettime=no
18505
 
fi
18506
 
rm -f core conftest.err conftest.$ac_objext \
18507
 
    conftest$ac_exeext conftest.$ac_ext
18508
 
LIBS=$ac_check_lib_save_LIBS
18509
 
fi
18510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
18511
 
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
18512
 
if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
 
18600
  ac_cv_search_clock_gettime=no
 
18601
fi
 
18602
rm conftest.$ac_ext
 
18603
LIBS=$ac_func_search_save_LIBS
 
18604
fi
 
18605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
 
18606
$as_echo "$ac_cv_search_clock_gettime" >&6; }
 
18607
ac_res=$ac_cv_search_clock_gettime
 
18608
if test "$ac_res" != no; then :
 
18609
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18513
18610
 
18514
18611
 
18515
18612
$as_echo "#define HAVE_CLOCK_GETTIME /**/" >>confdefs.h
18516
18613
 
18517
 
  LIBS="$LIBS -lrt"
18518
 
 
 
18614
 
 
18615
fi
 
18616
 
 
18617
 
 
18618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof" >&5
 
18619
$as_echo_n "checking for typeof... " >&6; }
 
18620
if ${i_cv_have_typeof+:} false; then :
 
18621
  $as_echo_n "(cached) " >&6
18519
18622
else
18520
18623
 
18521
 
  # OpenBSD
18522
 
  for ac_func in clock_gettime
18523
 
do :
18524
 
  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
18525
 
if test "x$ac_cv_func_clock_gettime" = xyes; then :
18526
 
  cat >>confdefs.h <<_ACEOF
18527
 
#define HAVE_CLOCK_GETTIME 1
 
18624
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18625
/* end confdefs.h.  */
 
18626
 
 
18627
 
 
18628
int
 
18629
main ()
 
18630
{
 
18631
 
 
18632
    int foo;
 
18633
    typeof(foo) bar;
 
18634
 
 
18635
  ;
 
18636
  return 0;
 
18637
}
18528
18638
_ACEOF
18529
 
 
18530
 
fi
18531
 
done
18532
 
 
18533
 
 
18534
 
fi
18535
 
 
 
18639
if ac_fn_c_try_compile "$LINENO"; then :
 
18640
 
 
18641
    i_cv_have_typeof=yes
 
18642
 
 
18643
else
 
18644
 
 
18645
    i_cv_have_typeof=no
 
18646
 
 
18647
fi
 
18648
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18649
 
 
18650
fi
 
18651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $i_cv_have_typeof" >&5
 
18652
$as_echo "$i_cv_have_typeof" >&6; }
 
18653
if test $i_cv_have_typeof = yes; then
 
18654
 
 
18655
$as_echo "#define HAVE_TYPEOF /**/" >>confdefs.h
 
18656
 
 
18657
fi
18536
18658
 
18537
18659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtoimax" >&5
18538
18660
$as_echo_n "checking for strtoimax... " >&6; }
22931
23053
  fi
22932
23054
fi
22933
23055
 
 
23056
if test $want_cdb != no; then
 
23057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
 
23058
$as_echo_n "checking for cdb_init in -lcdb... " >&6; }
 
23059
if ${ac_cv_lib_cdb_cdb_init+:} false; then :
 
23060
  $as_echo_n "(cached) " >&6
 
23061
else
 
23062
  ac_check_lib_save_LIBS=$LIBS
 
23063
LIBS="-lcdb  $LIBS"
 
23064
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
23065
/* end confdefs.h.  */
 
23066
 
 
23067
/* Override any GCC internal prototype to avoid an error.
 
23068
   Use char because int might match the return type of a GCC
 
23069
   builtin and then its argument prototype would still apply.  */
 
23070
#ifdef __cplusplus
 
23071
extern "C"
 
23072
#endif
 
23073
char cdb_init ();
 
23074
int
 
23075
main ()
 
23076
{
 
23077
return cdb_init ();
 
23078
  ;
 
23079
  return 0;
 
23080
}
 
23081
_ACEOF
 
23082
if ac_fn_c_try_link "$LINENO"; then :
 
23083
  ac_cv_lib_cdb_cdb_init=yes
 
23084
else
 
23085
  ac_cv_lib_cdb_cdb_init=no
 
23086
fi
 
23087
rm -f core conftest.err conftest.$ac_objext \
 
23088
    conftest$ac_exeext conftest.$ac_ext
 
23089
LIBS=$ac_check_lib_save_LIBS
 
23090
fi
 
23091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
 
23092
$as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
 
23093
if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
 
23094
 
 
23095
    ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
 
23096
if test "x$ac_cv_header_cdb_h" = xyes; then :
 
23097
 
 
23098
      DICT_LIBS="$DICT_LIBS -lcdb"
 
23099
 
 
23100
$as_echo "#define BUILD_CDB /**/" >>confdefs.h
 
23101
 
 
23102
 
 
23103
else
 
23104
 
 
23105
      if test $want_cdb = yes; then
 
23106
        as_fn_error $? "Can't build with CDB support: cdb.h not found" "$LINENO" 5
 
23107
      fi
 
23108
 
 
23109
fi
 
23110
 
 
23111
 
 
23112
 
 
23113
else
 
23114
 
 
23115
    if test $want_cdb = yes; then
 
23116
      as_fn_error $? "Can't build with CDB support: libcdb not found" "$LINENO" 5
 
23117
    fi
 
23118
 
 
23119
fi
 
23120
 
 
23121
fi
 
23122
 
22934
23123
if test $want_pgsql != no; then
22935
23124
  # Extract the first word of "pg_config", so it can be a program name with args.
22936
23125
set dummy pg_config; ac_word=$2
23634
23823
 
23635
23824
 
23636
23825
 
 
23826
 
23637
23827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined" >&5
23638
23828
$as_echo_n "checking if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined... " >&6; }
23639
23829
if ${i_cv_have___big_endian__+:} false; then :
23958
24148
 
23959
24149
LINKED_STORAGE_LIBS=
23960
24150
 
23961
 
mailbox_list_drivers="maildir imapdir none fs shared"
 
24151
mailbox_list_drivers="maildir imapdir fs index none shared"
23962
24152
have_sdbox=no
23963
24153
for storage in $mail_storages; do
23964
24154
  LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS `eval echo \\$${storage}_libs`"
23971
24161
  fi
23972
24162
  if test $storage = imapc; then
23973
24163
    mailbox_list_drivers="$mailbox_list_drivers imapc"
23974
 
    want_ssl_libs=yes
23975
 
  fi
23976
 
  if test $storage = pop3c; then
23977
 
    want_ssl_libs=yes
23978
24164
  fi
23979
24165
done
23980
24166
LINKED_STORAGE_LDADD=
23981
 
if test "$want_ssl_libs" = yes; then
23982
 
  LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS \$(top_builddir)/src/lib-ssl-iostream/libssl_iostream.la"
23983
 
  LINKED_STORAGE_LDADD="$SSL_LIBS"
23984
 
fi
23985
24167
 
23986
24168
 
23987
24169
 
23999
24181
 
24000
24182
if test "$want_shared_libs" = "yes"; then
24001
24183
  LIBDOVECOT_DEPS='$(top_builddir)/src/lib-dovecot/libdovecot.la'
24002
 
  LIBDOVECOT="$LIBDOVECOT_DEPS"
24003
 
  LIBDOVECOT_STORAGE_DEPS='$(top_builddir)/src/lib-storage/libdovecot-storage.la'
 
24184
  LIBDOVECOT="$LIBDOVECOT_DEPS \$(MODULE_LIBS)"
 
24185
  LIBDOVECOT_STORAGE_DEPS='$(top_builddir)/src/lib-storage/libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/libimap-storage.la'
24004
24186
  LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/libdovecot-login.la'
 
24187
  LIBDOVECOT_COMPRESS='$(top_builddir)/src/lib-compression/libcompression.la'
24005
24188
  LIBDOVECOT_LDA='$(top_builddir)/src/lib-lda/libdovecot-lda.la'
24006
24189
else
24007
 
  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'
24008
 
  LIBDOVECOT="$LIBDOVECOT_DEPS \$(LIBICONV)"
24009
 
  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'
 
24190
  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'
 
24191
  LIBDOVECOT="$LIBDOVECOT_DEPS \$(LIBICONV) \$(MODULE_LIBS)"
 
24192
  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'
24010
24193
  LIBDOVECOT_STORAGE_FIRST='$(top_builddir)/src/lib-storage/libstorage_service.la $(top_builddir)/src/lib-storage/register/libstorage_register.la'
24011
24194
  LIBDOVECOT_STORAGE_DEPS="$LIBDOVECOT_STORAGE_FIRST $LINKED_STORAGE_LIBS $LIBDOVECOT_STORAGE_LAST"
24012
 
  LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/liblogin.la $(top_builddir)/src/lib-ssl-iostream/libssl_iostream.la'
 
24195
  LIBDOVECOT_LOGIN='$(top_builddir)/src/login-common/liblogin.la'
 
24196
  LIBDOVECOT_COMPRESS='$(top_builddir)/src/lib-compression/libcompression.la'
24013
24197
  LIBDOVECOT_LDA='$(top_builddir)/src/lib-lda/liblda.la'
24014
24198
fi
24015
24199
LIBDOVECOT_STORAGE="$LIBDOVECOT_STORAGE_DEPS $LINKED_STORAGE_LDADD"
24023
24207
 
24024
24208
 
24025
24209
 
 
24210
 
24026
24211
build_pgsql=no
24027
24212
build_mysql=no
24028
24213
build_sqlite=no
24089
24274
 
24090
24275
 
24091
24276
 
 
24277
COMPRESS_LIBS=
24092
24278
if test "$want_zlib" != "no"; then
24093
24279
  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
24094
24280
if test "x$ac_cv_header_zlib_h" = xyes; then :
24095
24281
 
24096
24282
    have_zlib=yes
24097
 
    have_zlib_plugin=yes
 
24283
    have_compress_lib=yes
24098
24284
 
24099
24285
$as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
24100
24286
 
 
24287
    COMPRESS_LIBS="$COMPRESS_LIBS -lz"
24101
24288
 
24102
24289
else
24103
24290
 
24109
24296
 
24110
24297
 
24111
24298
fi
24112
 
 if test "$have_zlib" = "yes"; then
24113
 
  BUILD_ZLIB_TRUE=
24114
 
  BUILD_ZLIB_FALSE='#'
24115
 
else
24116
 
  BUILD_ZLIB_TRUE='#'
24117
 
  BUILD_ZLIB_FALSE=
24118
 
fi
24119
 
 
24120
24299
 
24121
24300
if test "$want_bzlib" != "no"; then
24122
24301
  ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
24161
24340
if test "x$ac_cv_lib_bz2_BZ2_bzdopen" = xyes; then :
24162
24341
 
24163
24342
      have_bzlib=yes
24164
 
      have_zlib_plugin=yes
 
24343
      have_compress_lib=yes
24165
24344
 
24166
24345
$as_echo "#define HAVE_BZLIB /**/" >>confdefs.h
24167
24346
 
 
24347
      COMPRESS_LIBS="$COMPRESS_LIBS -lbz2"
24168
24348
 
24169
24349
else
24170
24350
 
24185
24365
 
24186
24366
 
24187
24367
fi
24188
 
 if test "$have_bzlib" = "yes"; then
24189
 
  BUILD_BZLIB_TRUE=
24190
 
  BUILD_BZLIB_FALSE='#'
24191
 
else
24192
 
  BUILD_BZLIB_TRUE='#'
24193
 
  BUILD_BZLIB_FALSE=
24194
 
fi
24195
24368
 
24196
 
 if test "$have_zlib_plugin" = "yes"; then
 
24369
 if test "$have_compress_lib" = "yes"; then
24197
24370
  BUILD_ZLIB_PLUGIN_TRUE=
24198
24371
  BUILD_ZLIB_PLUGIN_FALSE='#'
24199
24372
else
24224
24397
fi
24225
24398
 
24226
24399
 
 
24400
QUOTA_LIBS=""
 
24401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing quota_open" >&5
 
24402
$as_echo_n "checking for library containing quota_open... " >&6; }
 
24403
if ${ac_cv_search_quota_open+:} false; then :
 
24404
  $as_echo_n "(cached) " >&6
 
24405
else
 
24406
  ac_func_search_save_LIBS=$LIBS
 
24407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
24408
/* end confdefs.h.  */
 
24409
 
 
24410
/* Override any GCC internal prototype to avoid an error.
 
24411
   Use char because int might match the return type of a GCC
 
24412
   builtin and then its argument prototype would still apply.  */
 
24413
#ifdef __cplusplus
 
24414
extern "C"
 
24415
#endif
 
24416
char quota_open ();
 
24417
int
 
24418
main ()
 
24419
{
 
24420
return quota_open ();
 
24421
  ;
 
24422
  return 0;
 
24423
}
 
24424
_ACEOF
 
24425
for ac_lib in '' quota; do
 
24426
  if test -z "$ac_lib"; then
 
24427
    ac_res="none required"
 
24428
  else
 
24429
    ac_res=-l$ac_lib
 
24430
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
24431
  fi
 
24432
  if ac_fn_c_try_link "$LINENO"; then :
 
24433
  ac_cv_search_quota_open=$ac_res
 
24434
fi
 
24435
rm -f core conftest.err conftest.$ac_objext \
 
24436
    conftest$ac_exeext
 
24437
  if ${ac_cv_search_quota_open+:} false; then :
 
24438
  break
 
24439
fi
 
24440
done
 
24441
if ${ac_cv_search_quota_open+:} false; then :
 
24442
 
 
24443
else
 
24444
  ac_cv_search_quota_open=no
 
24445
fi
 
24446
rm conftest.$ac_ext
 
24447
LIBS=$ac_func_search_save_LIBS
 
24448
fi
 
24449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_quota_open" >&5
 
24450
$as_echo "$ac_cv_search_quota_open" >&6; }
 
24451
ac_res=$ac_cv_search_quota_open
 
24452
if test "$ac_res" != no; then :
 
24453
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
24454
 
 
24455
 
 
24456
$as_echo "#define HAVE_QUOTA_OPEN /**/" >>confdefs.h
 
24457
 
 
24458
  QUOTA_LIBS="-lquota"
 
24459
 
 
24460
fi
 
24461
 
 
24462
 
 
24463
 
24227
24464
 
24228
24465
fts=" squat"
24229
24466
not_fts=""
24230
24467
 
24231
24468
have_solr=no
24232
24469
if test "$want_solr" != "no"; then
24233
 
  # Extract the first word of "curl-config", so it can be a program name with args.
24234
 
set dummy curl-config; ac_word=$2
24235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24236
 
$as_echo_n "checking for $ac_word... " >&6; }
24237
 
if ${ac_cv_prog_CURLCONFIG+:} false; then :
24238
 
  $as_echo_n "(cached) " >&6
24239
 
else
24240
 
  if test -n "$CURLCONFIG"; then
24241
 
  ac_cv_prog_CURLCONFIG="$CURLCONFIG" # Let the user override the test.
24242
 
else
24243
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24244
 
for as_dir in $PATH
24245
 
do
24246
 
  IFS=$as_save_IFS
24247
 
  test -z "$as_dir" && as_dir=.
24248
 
    for ac_exec_ext in '' $ac_executable_extensions; do
24249
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24250
 
    ac_cv_prog_CURLCONFIG="curl-config"
24251
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24252
 
    break 2
24253
 
  fi
24254
 
done
24255
 
  done
24256
 
IFS=$as_save_IFS
24257
 
 
24258
 
  test -z "$ac_cv_prog_CURLCONFIG" && ac_cv_prog_CURLCONFIG="NO"
24259
 
fi
24260
 
fi
24261
 
CURLCONFIG=$ac_cv_prog_CURLCONFIG
24262
 
if test -n "$CURLCONFIG"; then
24263
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCONFIG" >&5
24264
 
$as_echo "$CURLCONFIG" >&6; }
24265
 
else
24266
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24267
 
$as_echo "no" >&6; }
24268
 
fi
24269
 
 
24270
 
 
24271
 
  if test $CURLCONFIG != NO; then
24272
 
    CURL_CFLAGS=`$CURLCONFIG --cflags`
24273
 
    CURL_LIBS=`$CURLCONFIG --libs`
24274
 
 
24275
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_Parse in -lexpat" >&5
 
24470
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_Parse in -lexpat" >&5
24276
24471
$as_echo_n "checking for XML_Parse in -lexpat... " >&6; }
24277
24472
if ${ac_cv_lib_expat_XML_Parse+:} false; then :
24278
24473
  $as_echo_n "(cached) " >&6
24310
24505
$as_echo "$ac_cv_lib_expat_XML_Parse" >&6; }
24311
24506
if test "x$ac_cv_lib_expat_XML_Parse" = xyes; then :
24312
24507
 
24313
 
      ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
 
24508
    ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
24314
24509
if test "x$ac_cv_header_expat_h" = xyes; then :
24315
24510
 
24316
 
 
24317
 
 
24318
 
        have_solr=yes
24319
 
        fts="$fts solr"
24320
 
 
24321
 
else
24322
 
 
24323
 
        if test $want_solr = yes; then
24324
 
          as_fn_error $? "Can't build with Solr support: expat.h not found" "$LINENO" 5
24325
 
        fi
24326
 
 
24327
 
fi
24328
 
 
24329
 
 
 
24511
      have_solr=yes
 
24512
      fts="$fts solr"
24330
24513
 
24331
24514
else
24332
24515
 
24333
24516
      if test $want_solr = yes; then
24334
 
        as_fn_error $? "Can't build with Solr support: libexpat not found" "$LINENO" 5
 
24517
        as_fn_error $? "Can't build with Solr support: expat.h not found" "$LINENO" 5
24335
24518
      fi
24336
24519
 
24337
24520
fi
24338
24521
 
24339
 
  else
 
24522
 
 
24523
 
 
24524
else
 
24525
 
24340
24526
    if test $want_solr = yes; then
24341
 
      as_fn_error $? "Can't build with Solr support: curl-config not found" "$LINENO" 5
 
24527
      as_fn_error $? "Can't build with Solr support: libexpat not found" "$LINENO" 5
24342
24528
    fi
24343
 
  fi
 
24529
 
 
24530
fi
 
24531
 
24344
24532
fi
24345
24533
 if test "$have_solr" = "yes"; then
24346
24534
  BUILD_SOLR_TRUE=
24353
24541
 
24354
24542
have_lucene=no
24355
24543
if test "$want_lucene" = "yes"; then
 
24544
 
 
24545
pkg_failed=no
 
24546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUCENE" >&5
 
24547
$as_echo_n "checking for CLUCENE... " >&6; }
 
24548
 
 
24549
if test -n "$CLUCENE_CFLAGS"; then
 
24550
    pkg_cv_CLUCENE_CFLAGS="$CLUCENE_CFLAGS"
 
24551
 elif test -n "$PKG_CONFIG"; then
 
24552
    if test -n "$PKG_CONFIG" && \
 
24553
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclucene-core\""; } >&5
 
24554
  ($PKG_CONFIG --exists --print-errors "libclucene-core") 2>&5
 
24555
  ac_status=$?
 
24556
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
24557
  test $ac_status = 0; }; then
 
24558
  pkg_cv_CLUCENE_CFLAGS=`$PKG_CONFIG --cflags "libclucene-core" 2>/dev/null`
 
24559
                      test "x$?" != "x0" && pkg_failed=yes
 
24560
else
 
24561
  pkg_failed=yes
 
24562
fi
 
24563
 else
 
24564
    pkg_failed=untried
 
24565
fi
 
24566
if test -n "$CLUCENE_LIBS"; then
 
24567
    pkg_cv_CLUCENE_LIBS="$CLUCENE_LIBS"
 
24568
 elif test -n "$PKG_CONFIG"; then
 
24569
    if test -n "$PKG_CONFIG" && \
 
24570
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclucene-core\""; } >&5
 
24571
  ($PKG_CONFIG --exists --print-errors "libclucene-core") 2>&5
 
24572
  ac_status=$?
 
24573
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
24574
  test $ac_status = 0; }; then
 
24575
  pkg_cv_CLUCENE_LIBS=`$PKG_CONFIG --libs "libclucene-core" 2>/dev/null`
 
24576
                      test "x$?" != "x0" && pkg_failed=yes
 
24577
else
 
24578
  pkg_failed=yes
 
24579
fi
 
24580
 else
 
24581
    pkg_failed=untried
 
24582
fi
 
24583
 
 
24584
 
 
24585
 
 
24586
if test $pkg_failed = yes; then
 
24587
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
24588
$as_echo "no" >&6; }
 
24589
 
 
24590
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
24591
        _pkg_short_errors_supported=yes
 
24592
else
 
24593
        _pkg_short_errors_supported=no
 
24594
fi
 
24595
        if test $_pkg_short_errors_supported = yes; then
 
24596
                CLUCENE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclucene-core" 2>&1`
 
24597
        else
 
24598
                CLUCENE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclucene-core" 2>&1`
 
24599
        fi
 
24600
        # Put the nasty error message in config.log where it belongs
 
24601
        echo "$CLUCENE_PKG_ERRORS" >&5
 
24602
 
 
24603
 
 
24604
    # no pkg-config file for clucene. fallback to defaults.
 
24605
    # FIXME: we should verify here that this actually works..
 
24606
    CLUCENE_LIBS="-lclucene-shared -lclucene-core"
 
24607
 
 
24608
elif test $pkg_failed = untried; then
 
24609
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
24610
$as_echo "no" >&6; }
 
24611
 
 
24612
    # no pkg-config file for clucene. fallback to defaults.
 
24613
    # FIXME: we should verify here that this actually works..
 
24614
    CLUCENE_LIBS="-lclucene-shared -lclucene-core"
 
24615
 
 
24616
else
 
24617
        CLUCENE_CFLAGS=$pkg_cv_CLUCENE_CFLAGS
 
24618
        CLUCENE_LIBS=$pkg_cv_CLUCENE_LIBS
 
24619
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
24620
$as_echo "yes" >&6; }
 
24621
 
 
24622
fi
24356
24623
  if test $want_stemmer != no; then
24357
24624
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sb_stemmer_new in -lstemmer" >&5
24358
24625
$as_echo_n "checking for sb_stemmer_new in -lstemmer... " >&6; }
24535
24802
fi
24536
24803
 
24537
24804
 
24538
 
FILES1=`find $srcdir/src -name '*settings.[ch]'|grep "$srcdir/src/lib-" | sed 's/^\(.*\)\(.\)$/\2 \1\2/' | sort -r | sed s/^..//`
 
24805
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/^..//`
24539
24806
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/^..//`
24540
24807
SETTING_FILES=`echo $FILES1 $FILES2 | sed -e s,$srcdir/src,./src,g -e 's,./src,$(top_srcdir)/src,g'`
24541
24808
 
24542
24809
 
24543
24810
 
24544
24811
capability_banner="IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE"
24545
 
capability="$capability_banner SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE"
 
24812
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"
24546
24813
 
24547
24814
cat >>confdefs.h <<_ACEOF
24548
24815
#define CAPABILITY_STRING "$capability"
24562
24829
LDFLAGS="\$(NOPLUGIN_LDFLAGS) $LDFLAGS"
24563
24830
 
24564
24831
 
 
24832
if test "$with_gnu_ld" = yes -a "$want_shared_libs" = "no"; then
 
24833
  # libtool can't handle using whole-archive flags, so we need to do this
 
24834
  # with a CC wrapper.. shouldn't be much of a problem, since most people
 
24835
  # are building with shared libs.
 
24836
  sed "s/@CC@/$CC/" < $srcdir/cc-wrapper.sh.in > cc-wrapper.sh
 
24837
  chmod +x cc-wrapper.sh
 
24838
  CC=`pwd`/cc-wrapper.sh
 
24839
fi
 
24840
 
24565
24841
if test "$docdir" = ""; then
24566
24842
    docdir='${datadir}/doc/${PACKAGE_TARNAME}'
24567
24843
fi
24615
24891
 
24616
24892
ac_config_headers="$ac_config_headers config.h"
24617
24893
 
24618
 
ac_config_files="$ac_config_files Makefile doc/Makefile doc/man/Makefile doc/wiki/Makefile doc/example-config/Makefile doc/example-config/conf.d/Makefile src/Makefile src/lib/Makefile src/lib-sql/Makefile src/lib-auth/Makefile src/lib-charset/Makefile src/lib-dict/Makefile src/lib-dns/Makefile src/lib-fs/Makefile src/lib-imap/Makefile src/lib-imap-client/Makefile src/lib-index/Makefile src/lib-lda/Makefile src/lib-mail/Makefile src/lib-master/Makefile src/lib-ntlm/Makefile src/lib-otp/Makefile src/lib-dovecot/Makefile src/lib-settings/Makefile src/lib-ssl-iostream/Makefile src/lib-test/Makefile src/lib-storage/Makefile src/lib-storage/list/Makefile src/lib-storage/index/Makefile src/lib-storage/index/imapc/Makefile src/lib-storage/index/pop3c/Makefile src/lib-storage/index/maildir/Makefile src/lib-storage/index/mbox/Makefile src/lib-storage/index/dbox-common/Makefile src/lib-storage/index/dbox-multi/Makefile src/lib-storage/index/dbox-single/Makefile src/lib-storage/index/cydir/Makefile src/lib-storage/index/raw/Makefile src/lib-storage/index/shared/Makefile src/lib-storage/register/Makefile src/anvil/Makefile src/auth/Makefile src/config/Makefile src/doveadm/Makefile src/doveadm/dsync/Makefile src/lda/Makefile src/log/Makefile src/lmtp/Makefile src/dict/Makefile src/director/Makefile src/dns/Makefile src/indexer/Makefile src/ipc/Makefile src/imap/Makefile src/imap-login/Makefile src/login-common/Makefile src/master/Makefile src/pop3/Makefile src/pop3-login/Makefile src/replication/Makefile src/replication/aggregator/Makefile src/replication/replicator/Makefile src/ssl-params/Makefile src/stats/Makefile src/util/Makefile src/plugins/Makefile src/plugins/acl/Makefile src/plugins/imap-acl/Makefile src/plugins/autocreate/Makefile src/plugins/expire/Makefile src/plugins/fts/Makefile src/plugins/fts-lucene/Makefile src/plugins/fts-solr/Makefile src/plugins/fts-squat/Makefile src/plugins/lazy-expunge/Makefile src/plugins/listescape/Makefile src/plugins/mail-log/Makefile src/plugins/mailbox-alias/Makefile src/plugins/notify/Makefile src/plugins/pop3-migration/Makefile src/plugins/quota/Makefile src/plugins/imap-quota/Makefile src/plugins/replication/Makefile src/plugins/snarf/Makefile src/plugins/stats/Makefile src/plugins/imap-stats/Makefile src/plugins/trash/Makefile src/plugins/virtual/Makefile src/plugins/zlib/Makefile src/plugins/imap-zlib/Makefile stamp.h dovecot-config.in"
 
24894
ac_config_files="$ac_config_files Makefile doc/Makefile doc/man/Makefile doc/wiki/Makefile doc/example-config/Makefile doc/example-config/conf.d/Makefile src/Makefile src/lib/Makefile src/lib-sql/Makefile src/lib-auth/Makefile src/lib-charset/Makefile src/lib-compression/Makefile src/lib-dict/Makefile src/lib-dns/Makefile src/lib-fs/Makefile src/lib-http/Makefile src/lib-imap/Makefile src/lib-imap-storage/Makefile src/lib-imap-client/Makefile src/lib-imap-urlauth/Makefile src/lib-index/Makefile src/lib-lda/Makefile src/lib-mail/Makefile src/lib-master/Makefile src/lib-ntlm/Makefile src/lib-otp/Makefile src/lib-dovecot/Makefile src/lib-sasl/Makefile src/lib-settings/Makefile src/lib-ssl-iostream/Makefile src/lib-test/Makefile src/lib-storage/Makefile src/lib-storage/list/Makefile src/lib-storage/index/Makefile src/lib-storage/index/imapc/Makefile src/lib-storage/index/pop3c/Makefile src/lib-storage/index/maildir/Makefile src/lib-storage/index/mbox/Makefile src/lib-storage/index/dbox-common/Makefile src/lib-storage/index/dbox-multi/Makefile src/lib-storage/index/dbox-single/Makefile src/lib-storage/index/cydir/Makefile src/lib-storage/index/raw/Makefile src/lib-storage/index/shared/Makefile src/lib-storage/register/Makefile src/anvil/Makefile src/auth/Makefile src/config/Makefile src/doveadm/Makefile src/doveadm/dsync/Makefile src/lda/Makefile src/log/Makefile src/lmtp/Makefile src/dict/Makefile src/director/Makefile src/dns/Makefile src/indexer/Makefile src/ipc/Makefile src/imap/Makefile src/imap-login/Makefile src/imap-urlauth/Makefile src/login-common/Makefile src/master/Makefile src/pop3/Makefile src/pop3-login/Makefile src/replication/Makefile src/replication/aggregator/Makefile src/replication/replicator/Makefile src/ssl-params/Makefile src/stats/Makefile src/util/Makefile src/plugins/Makefile src/plugins/acl/Makefile src/plugins/imap-acl/Makefile src/plugins/autocreate/Makefile src/plugins/expire/Makefile src/plugins/fts/Makefile src/plugins/fts-lucene/Makefile src/plugins/fts-solr/Makefile src/plugins/fts-squat/Makefile src/plugins/lazy-expunge/Makefile src/plugins/listescape/Makefile src/plugins/mail-log/Makefile src/plugins/mailbox-alias/Makefile src/plugins/notify/Makefile src/plugins/pop3-migration/Makefile src/plugins/quota/Makefile src/plugins/imap-quota/Makefile src/plugins/replication/Makefile src/plugins/snarf/Makefile src/plugins/stats/Makefile src/plugins/imap-stats/Makefile src/plugins/trash/Makefile src/plugins/virtual/Makefile src/plugins/zlib/Makefile src/plugins/imap-zlib/Makefile stamp.h dovecot-config.in"
24619
24895
 
24620
24896
 
24621
24897
cat >confcache <<\_ACEOF
24808
25084
  as_fn_error $? "conditional \"SQL_PLUGINS\" was never defined.
24809
25085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24810
25086
fi
24811
 
if test -z "${BUILD_ZLIB_TRUE}" && test -z "${BUILD_ZLIB_FALSE}"; then
24812
 
  as_fn_error $? "conditional \"BUILD_ZLIB\" was never defined.
24813
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24814
 
fi
24815
 
if test -z "${BUILD_BZLIB_TRUE}" && test -z "${BUILD_BZLIB_FALSE}"; then
24816
 
  as_fn_error $? "conditional \"BUILD_BZLIB\" was never defined.
24817
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
24818
 
fi
24819
25087
if test -z "${BUILD_ZLIB_PLUGIN_TRUE}" && test -z "${BUILD_ZLIB_PLUGIN_FALSE}"; then
24820
25088
  as_fn_error $? "conditional \"BUILD_ZLIB_PLUGIN\" was never defined.
24821
25089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25237
25505
# report actual input values of CONFIG_FILES etc. instead of their
25238
25506
# values after options handling.
25239
25507
ac_log="
25240
 
This file was extended by Dovecot $as_me 2.1.17, which was
 
25508
This file was extended by Dovecot $as_me 2.2.5, which was
25241
25509
generated by GNU Autoconf 2.69.  Invocation command line was
25242
25510
 
25243
25511
  CONFIG_FILES    = $CONFIG_FILES
25303
25571
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25304
25572
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25305
25573
ac_cs_version="\\
25306
 
Dovecot config.status 2.1.17
 
25574
Dovecot config.status 2.2.5
25307
25575
configured by $0, generated by GNU Autoconf 2.69,
25308
25576
  with options \\"\$ac_cs_config\\"
25309
25577
 
25821
26089
    "src/lib-sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sql/Makefile" ;;
25822
26090
    "src/lib-auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-auth/Makefile" ;;
25823
26091
    "src/lib-charset/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-charset/Makefile" ;;
 
26092
    "src/lib-compression/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-compression/Makefile" ;;
25824
26093
    "src/lib-dict/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dict/Makefile" ;;
25825
26094
    "src/lib-dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dns/Makefile" ;;
25826
26095
    "src/lib-fs/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-fs/Makefile" ;;
 
26096
    "src/lib-http/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-http/Makefile" ;;
25827
26097
    "src/lib-imap/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap/Makefile" ;;
 
26098
    "src/lib-imap-storage/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-storage/Makefile" ;;
25828
26099
    "src/lib-imap-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-client/Makefile" ;;
 
26100
    "src/lib-imap-urlauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-imap-urlauth/Makefile" ;;
25829
26101
    "src/lib-index/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-index/Makefile" ;;
25830
26102
    "src/lib-lda/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-lda/Makefile" ;;
25831
26103
    "src/lib-mail/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-mail/Makefile" ;;
25833
26105
    "src/lib-ntlm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-ntlm/Makefile" ;;
25834
26106
    "src/lib-otp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-otp/Makefile" ;;
25835
26107
    "src/lib-dovecot/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-dovecot/Makefile" ;;
 
26108
    "src/lib-sasl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sasl/Makefile" ;;
25836
26109
    "src/lib-settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-settings/Makefile" ;;
25837
26110
    "src/lib-ssl-iostream/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-ssl-iostream/Makefile" ;;
25838
26111
    "src/lib-test/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-test/Makefile" ;;
25865
26138
    "src/ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipc/Makefile" ;;
25866
26139
    "src/imap/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap/Makefile" ;;
25867
26140
    "src/imap-login/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap-login/Makefile" ;;
 
26141
    "src/imap-urlauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/imap-urlauth/Makefile" ;;
25868
26142
    "src/login-common/Makefile") CONFIG_FILES="$CONFIG_FILES src/login-common/Makefile" ;;
25869
26143
    "src/master/Makefile") CONFIG_FILES="$CONFIG_FILES src/master/Makefile" ;;
25870
26144
    "src/pop3/Makefile") CONFIG_FILES="$CONFIG_FILES src/pop3/Makefile" ;;