14289
14289
# checks for libraries.
14290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
14291
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
14292
if test "${ac_cv_lib_boost_filesystem_mt_main+set}" = set; then :
14293
$as_echo_n "(cached) " >&6
14295
ac_check_lib_save_LIBS=$LIBS
14296
LIBS="-lboost_filesystem-mt $LIBS"
14297
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298
/* end confdefs.h. */
14309
if ac_fn_c_try_link "$LINENO"; then :
14310
ac_cv_lib_boost_filesystem_mt_main=yes
14312
ac_cv_lib_boost_filesystem_mt_main=no
14314
rm -f core conftest.err conftest.$ac_objext \
14315
conftest$ac_exeext conftest.$ac_ext
14316
LIBS=$ac_check_lib_save_LIBS
14318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
14319
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
14320
if test "x$ac_cv_lib_boost_filesystem_mt_main" = x""yes; then :
14321
cat >>confdefs.h <<_ACEOF
14322
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
14325
LIBS="-lboost_filesystem-mt $LIBS"
14328
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
14329
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
14332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
14333
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
14334
if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then :
14335
$as_echo_n "(cached) " >&6
14337
ac_check_lib_save_LIBS=$LIBS
14338
LIBS="-lboost_thread-mt $LIBS"
14339
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340
/* end confdefs.h. */
14351
if ac_fn_c_try_link "$LINENO"; then :
14352
ac_cv_lib_boost_thread_mt_main=yes
14354
ac_cv_lib_boost_thread_mt_main=no
14356
rm -f core conftest.err conftest.$ac_objext \
14357
conftest$ac_exeext conftest.$ac_ext
14358
LIBS=$ac_check_lib_save_LIBS
14360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
14361
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
14362
if test "x$ac_cv_lib_boost_thread_mt_main" = x""yes; then :
14363
cat >>confdefs.h <<_ACEOF
14364
#define HAVE_LIBBOOST_THREAD_MT 1
14367
LIBS="-lboost_thread-mt $LIBS"
14370
as_fn_error "Unable to find Boost Thread library" "$LINENO" 5
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
14374
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
14375
if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
14376
$as_echo_n "(cached) " >&6
14378
ac_check_lib_save_LIBS=$LIBS
14379
LIBS="-lsqlite3 $LIBS"
14380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381
/* end confdefs.h. */
14383
/* Override any GCC internal prototype to avoid an error.
14384
Use char because int might match the return type of a GCC
14385
builtin and then its argument prototype would still apply. */
14389
char sqlite3_initialize ();
14393
return sqlite3_initialize ();
14398
if ac_fn_c_try_link "$LINENO"; then :
14399
ac_cv_lib_sqlite3_sqlite3_initialize=yes
14401
ac_cv_lib_sqlite3_sqlite3_initialize=no
14403
rm -f core conftest.err conftest.$ac_objext \
14404
conftest$ac_exeext conftest.$ac_ext
14405
LIBS=$ac_check_lib_save_LIBS
14407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
14408
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
14409
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
14410
cat >>confdefs.h <<_ACEOF
14411
#define HAVE_LIBSQLITE3 1
14414
LIBS="-lsqlite3 $LIBS"
14417
as_fn_error "Unable to find SQLite3 library" "$LINENO" 5
14291
14421
# checks for header files.
14292
14422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5