4578
4574
lt_cv_nm_interface="BSD nm"
4579
4575
echo "int some_variable = 0;" > conftest.$ac_ext
4580
(eval echo "\"\$as_me:4580: $ac_compile\"" >&5)
4576
(eval echo "\"\$as_me:4576: $ac_compile\"" >&5)
4581
4577
(eval "$ac_compile" 2>conftest.err)
4582
4578
cat conftest.err >&5
4583
(eval echo "\"\$as_me:4583: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4579
(eval echo "\"\$as_me:4579: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4584
4580
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4585
4581
cat conftest.err >&5
4586
(eval echo "\"\$as_me:4586: output\"" >&5)
4582
(eval echo "\"\$as_me:4582: output\"" >&5)
4587
4583
cat conftest.out >&5
4588
4584
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4589
4585
lt_cv_nm_interface="MS dumpbin"
7319
7315
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7320
7316
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7321
7317
-e 's:$: $lt_compiler_flag:'`
7322
(eval echo "\"\$as_me:7322: $lt_compile\"" >&5)
7318
(eval echo "\"\$as_me:7318: $lt_compile\"" >&5)
7323
7319
(eval "$lt_compile" 2>conftest.err)
7325
7321
cat conftest.err >&5
7326
echo "$as_me:7326: \$? = $ac_status" >&5
7322
echo "$as_me:7322: \$? = $ac_status" >&5
7327
7323
if (exit $ac_status) && test -s "$ac_outfile"; then
7328
7324
# The compiler can only warn and ignore the option if not recognized
7329
7325
# So say no if there are warnings other than the usual output.
7658
7654
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7659
7655
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7660
7656
-e 's:$: $lt_compiler_flag:'`
7661
(eval echo "\"\$as_me:7661: $lt_compile\"" >&5)
7657
(eval echo "\"\$as_me:7657: $lt_compile\"" >&5)
7662
7658
(eval "$lt_compile" 2>conftest.err)
7664
7660
cat conftest.err >&5
7665
echo "$as_me:7665: \$? = $ac_status" >&5
7661
echo "$as_me:7661: \$? = $ac_status" >&5
7666
7662
if (exit $ac_status) && test -s "$ac_outfile"; then
7667
7663
# The compiler can only warn and ignore the option if not recognized
7668
7664
# So say no if there are warnings other than the usual output.
7763
7759
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7764
7760
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7765
7761
-e 's:$: $lt_compiler_flag:'`
7766
(eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
7762
(eval echo "\"\$as_me:7762: $lt_compile\"" >&5)
7767
7763
(eval "$lt_compile" 2>out/conftest.err)
7769
7765
cat out/conftest.err >&5
7770
echo "$as_me:7770: \$? = $ac_status" >&5
7766
echo "$as_me:7766: \$? = $ac_status" >&5
7771
7767
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7773
7769
# The compiler can only warn and ignore the option if not recognized
7818
7814
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7819
7815
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7820
7816
-e 's:$: $lt_compiler_flag:'`
7821
(eval echo "\"\$as_me:7821: $lt_compile\"" >&5)
7817
(eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
7822
7818
(eval "$lt_compile" 2>out/conftest.err)
7824
7820
cat out/conftest.err >&5
7825
echo "$as_me:7825: \$? = $ac_status" >&5
7821
echo "$as_me:7821: \$? = $ac_status" >&5
7826
7822
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7828
7824
# The compiler can only warn and ignore the option if not recognized
13185
13181
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13186
13182
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13187
13183
-e 's:$: $lt_compiler_flag:'`
13188
(eval echo "\"\$as_me:13188: $lt_compile\"" >&5)
13184
(eval echo "\"\$as_me:13184: $lt_compile\"" >&5)
13189
13185
(eval "$lt_compile" 2>conftest.err)
13191
13187
cat conftest.err >&5
13192
echo "$as_me:13192: \$? = $ac_status" >&5
13188
echo "$as_me:13188: \$? = $ac_status" >&5
13193
13189
if (exit $ac_status) && test -s "$ac_outfile"; then
13194
13190
# The compiler can only warn and ignore the option if not recognized
13195
13191
# So say no if there are warnings other than the usual output.
13284
13280
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13285
13281
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13286
13282
-e 's:$: $lt_compiler_flag:'`
13287
(eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13283
(eval echo "\"\$as_me:13283: $lt_compile\"" >&5)
13288
13284
(eval "$lt_compile" 2>out/conftest.err)
13290
13286
cat out/conftest.err >&5
13291
echo "$as_me:13291: \$? = $ac_status" >&5
13287
echo "$as_me:13287: \$? = $ac_status" >&5
13292
13288
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13294
13290
# The compiler can only warn and ignore the option if not recognized
13336
13332
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13337
13333
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13338
13334
-e 's:$: $lt_compiler_flag:'`
13339
(eval echo "\"\$as_me:13339: $lt_compile\"" >&5)
13335
(eval echo "\"\$as_me:13335: $lt_compile\"" >&5)
13340
13336
(eval "$lt_compile" 2>out/conftest.err)
13342
13338
cat out/conftest.err >&5
13343
echo "$as_me:13343: \$? = $ac_status" >&5
13339
echo "$as_me:13339: \$? = $ac_status" >&5
13344
13340
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13346
13342
# The compiler can only warn and ignore the option if not recognized
14289
14285
# 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
14421
14287
# checks for header files.
14422
14288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5