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