/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to configure

  • Committer: edam
  • Date: 2010-07-29 20:56:19 UTC
  • Revision ID: edam@waxworlds.org-20100729205619-a9yo4uzu647nvnsj
- renamed database to connection to better identify what it is (would database_connection be better though?)
- moved basic_statement and basic_transaction to sqlite::detail
- made sqlite::threadsafe() return the threading mode int, not a bool
- renamed row::index() to row_number() so it isn't confused with column index
- added typedef for deferred_transaction
- added early rollback method to transaction_guard
- allowed transaction_guard::~transaction_guard() to throw exceptions, since when it needs to, we're really screwed anyway
- bugfix: query::reset() didn't reset the internal row counter
- added query::num_results()
- added docs/design-notes
- reimplemented query::iterator so that increment() (which performs a step() on the query) now caches the returned row to be returned during dereference() (previously it stashed details and returned new row!?)
- bugfix: resetting active queries during rollbacks would hang!

Show diffs side-by-side

added added

removed removed

1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
 
3
# Generated by GNU Autoconf 2.65 for sqlite3cc 0.1.0.
4
4
#
5
5
# Report bugs to <edam@waxworlds.org>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
 
# Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
10
12
#
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
676
678
 
677
679
 
678
680
 
679
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
680
683
 
681
684
# Name of the host.
682
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
701
704
PACKAGE_VERSION='0.1.0'
702
705
PACKAGE_STRING='sqlite3cc 0.1.0'
703
706
PACKAGE_BUGREPORT='edam@waxworlds.org'
704
 
PACKAGE_URL=''
 
707
PACKAGE_URL='http://www.waxworlds.org/edam/software/sqlite3cc'
705
708
 
706
 
ac_unique_file="src/database.cc"
 
709
ac_unique_file="src/command.cc"
707
710
# Factoring default headers for most tests.
708
711
ac_includes_default="\
709
712
#include <stdio.h>
818
821
INSTALL_DATA
819
822
INSTALL_SCRIPT
820
823
INSTALL_PROGRAM
 
824
LIBSQLITE3CC_INTERFACE
821
825
target_alias
822
826
host_alias
823
827
build_alias
1520
1524
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1521
1525
              nonstandard directory <lib dir>
1522
1526
  LIBS        libraries to pass to the linker, e.g. -l<library>
1523
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1527
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524
1528
              you have headers in a nonstandard directory <include dir>
1525
1529
  CPP         C preprocessor
1526
1530
  CXX         C++ compiler command
1531
1535
it to find libraries and programs with nonstandard names/locations.
1532
1536
 
1533
1537
Report bugs to <edam@waxworlds.org>.
 
1538
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>.
1534
1539
_ACEOF
1535
1540
ac_status=$?
1536
1541
fi
1594
1599
if $ac_init_version; then
1595
1600
  cat <<\_ACEOF
1596
1601
sqlite3cc configure 0.1.0
1597
 
generated by GNU Autoconf 2.64
 
1602
generated by GNU Autoconf 2.65
1598
1603
 
1599
1604
Copyright (C) 2009 Free Software Foundation, Inc.
1600
1605
This configure script is free software; the Free Software Foundation
1641
1646
        ac_retval=1
1642
1647
fi
1643
1648
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644
 
  return $ac_retval
 
1649
  as_fn_set_status $ac_retval
1645
1650
 
1646
1651
} # ac_fn_c_try_compile
1647
1652
 
1687
1692
  # left behind by Apple's compiler.  We do this before executing the actions.
1688
1693
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689
1694
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690
 
  return $ac_retval
 
1695
  as_fn_set_status $ac_retval
1691
1696
 
1692
1697
} # ac_fn_c_try_link
1693
1698
 
1755
1760
    ac_retval=1
1756
1761
fi
1757
1762
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758
 
  return $ac_retval
 
1763
  as_fn_set_status $ac_retval
1759
1764
 
1760
1765
} # ac_fn_c_try_cpp
1761
1766
 
1797
1802
fi
1798
1803
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799
1804
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
 
  return $ac_retval
 
1805
  as_fn_set_status $ac_retval
1801
1806
 
1802
1807
} # ac_fn_c_try_run
1803
1808
 
1902
1907
        ac_retval=1
1903
1908
fi
1904
1909
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905
 
  return $ac_retval
 
1910
  as_fn_set_status $ac_retval
1906
1911
 
1907
1912
} # ac_fn_cxx_try_compile
1908
1913
 
1939
1944
    ac_retval=1
1940
1945
fi
1941
1946
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
 
  return $ac_retval
 
1947
  as_fn_set_status $ac_retval
1943
1948
 
1944
1949
} # ac_fn_cxx_try_cpp
1945
1950
 
1985
1990
  # left behind by Apple's compiler.  We do this before executing the actions.
1986
1991
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987
1992
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988
 
  return $ac_retval
 
1993
  as_fn_set_status $ac_retval
1989
1994
 
1990
1995
} # ac_fn_cxx_try_link
1991
1996
 
2086
2091
running configure, to aid debugging if configure makes a mistake.
2087
2092
 
2088
2093
It was created by sqlite3cc $as_me 0.1.0, which was
2089
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
2094
generated by GNU Autoconf 2.65.  Invocation command line was
2090
2095
 
2091
2096
  $ $0 $@
2092
2097
 
2339
2344
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2340
2345
do
2341
2346
  test "x$ac_site_file" = xNONE && continue
2342
 
  if test -r "$ac_site_file"; then
 
2347
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2343
2348
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2344
2349
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2345
2350
    sed 's/^/| /' "$ac_site_file" >&5
2348
2353
done
2349
2354
 
2350
2355
if test -r "$cache_file"; then
2351
 
  # Some versions of bash will fail to source /dev/null (special
2352
 
  # files actually), so we avoid doing that.
2353
 
  if test -f "$cache_file"; then
 
2356
  # Some versions of bash will fail to source /dev/null (special files
 
2357
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2358
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2354
2359
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355
2360
$as_echo "$as_me: loading cache $cache_file" >&6;}
2356
2361
    case $cache_file in
2432
2437
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
2438
 
2434
2439
 
 
2440
LIBSQLITE3CC_INTERFACE=0:0:0
 
2441
 
2435
2442
ac_aux_dir=
2436
2443
for ac_dir in build-aux "$srcdir"/build-aux; do
2437
2444
  for ac_t in install-sh install.sh shtool; do
2770
2777
 
2771
2778
fi
2772
2779
 
 
2780
  test -d ./--version && rmdir ./--version
2773
2781
  if test "${ac_cv_path_mkdir+set}" = set; then
2774
2782
    MKDIR_P="$ac_cv_path_mkdir -p"
2775
2783
  else
2777
2785
    # value for MKDIR_P within a source directory, because that will
2778
2786
    # break other packages using the cache if that directory is
2779
2787
    # removed, or if the value is a relative name.
2780
 
    test -d ./--version && rmdir ./--version
2781
2788
    MKDIR_P="$ac_install_sh -d"
2782
2789
  fi
2783
2790
fi
2945
2952
 
2946
2953
 
2947
2954
 
2948
 
macro_version='2.2.6'
2949
 
macro_revision='1.3012'
 
2955
macro_version='2.2.6b'
 
2956
macro_revision='1.3017'
2950
2957
 
2951
2958
 
2952
2959
 
3417
3424
... rest of stderr output deleted ...
3418
3425
         10q' conftest.err >conftest.er1
3419
3426
    cat conftest.er1 >&5
3420
 
    rm -f conftest.er1 conftest.err
3421
3427
  fi
 
3428
  rm -f conftest.er1 conftest.err
3422
3429
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423
3430
  test $ac_status = 0; }
3424
3431
done
3425
3432
 
3426
3433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427
3434
/* end confdefs.h.  */
3428
 
#include <stdio.h>
 
3435
 
3429
3436
int
3430
3437
main ()
3431
3438
{
3432
 
FILE *f = fopen ("conftest.out", "w");
3433
 
 return ferror (f) || fclose (f) != 0;
3434
3439
 
3435
3440
  ;
3436
3441
  return 0;
3437
3442
}
3438
3443
_ACEOF
3439
3444
ac_clean_files_save=$ac_clean_files
3440
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3445
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3441
3446
# Try to create an executable without -o first, disregard a.out.
3442
3447
# It will help us diagnose broken compilers, and finding out an intuition
3443
3448
# of exeext.
3444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3445
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3450
$as_echo_n "checking whether the C compiler works... " >&6; }
3446
3451
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3447
3452
 
3448
3453
# The possible output files:
3504
3509
else
3505
3510
  ac_file=''
3506
3511
fi
3507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3508
 
$as_echo "$ac_file" >&6; }
3509
3512
if test -z "$ac_file"; then :
3510
 
  $as_echo "$as_me: failed program was:" >&5
 
3513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3514
$as_echo "no" >&6; }
 
3515
$as_echo "$as_me: failed program was:" >&5
3511
3516
sed 's/^/| /' conftest.$ac_ext >&5
3512
3517
 
3513
3518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515
3520
{ as_fn_set_status 77
3516
3521
as_fn_error "C compiler cannot create executables
3517
3522
See \`config.log' for more details." "$LINENO" 5; }; }
 
3523
else
 
3524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3525
$as_echo "yes" >&6; }
3518
3526
fi
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3528
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3530
$as_echo "$ac_file" >&6; }
3519
3531
ac_exeext=$ac_cv_exeext
3520
3532
 
3521
 
# Check that the compiler produces executables we can run.  If not, either
3522
 
# the compiler is broken, or we cross compile.
3523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3524
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3525
 
# If not cross compiling, check that we can run a simple program.
3526
 
if test "$cross_compiling" != yes; then
3527
 
  if { ac_try='./$ac_file'
3528
 
  { { case "(($ac_try" in
3529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
 
  *) ac_try_echo=$ac_try;;
3531
 
esac
3532
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
 
$as_echo "$ac_try_echo"; } >&5
3534
 
  (eval "$ac_try") 2>&5
3535
 
  ac_status=$?
3536
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
 
  test $ac_status = 0; }; }; then
3538
 
    cross_compiling=no
3539
 
  else
3540
 
    if test "$cross_compiling" = maybe; then
3541
 
        cross_compiling=yes
3542
 
    else
3543
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545
 
as_fn_error "cannot run C compiled programs.
3546
 
If you meant to cross compile, use \`--host'.
3547
 
See \`config.log' for more details." "$LINENO" 5; }
3548
 
    fi
3549
 
  fi
3550
 
fi
3551
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3552
 
$as_echo "yes" >&6; }
3553
 
 
3554
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3533
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3555
3534
ac_clean_files=$ac_clean_files_save
3556
 
# Check that the compiler produces executables we can run.  If not, either
3557
 
# the compiler is broken, or we cross compile.
3558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3559
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3561
 
$as_echo "$cross_compiling" >&6; }
3562
 
 
3563
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3564
3536
$as_echo_n "checking for suffix of executables... " >&6; }
3565
3537
if { { ac_try="$ac_link"
3592
3564
as_fn_error "cannot compute suffix of executables: cannot compile and link
3593
3565
See \`config.log' for more details." "$LINENO" 5; }
3594
3566
fi
3595
 
rm -f conftest$ac_cv_exeext
 
3567
rm -f conftest conftest$ac_cv_exeext
3596
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3597
3569
$as_echo "$ac_cv_exeext" >&6; }
3598
3570
 
3599
3571
rm -f conftest.$ac_ext
3600
3572
EXEEXT=$ac_cv_exeext
3601
3573
ac_exeext=$EXEEXT
 
3574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3575
/* end confdefs.h.  */
 
3576
#include <stdio.h>
 
3577
int
 
3578
main ()
 
3579
{
 
3580
FILE *f = fopen ("conftest.out", "w");
 
3581
 return ferror (f) || fclose (f) != 0;
 
3582
 
 
3583
  ;
 
3584
  return 0;
 
3585
}
 
3586
_ACEOF
 
3587
ac_clean_files="$ac_clean_files conftest.out"
 
3588
# Check that the compiler produces executables we can run.  If not, either
 
3589
# the compiler is broken, or we cross compile.
 
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3591
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3592
if test "$cross_compiling" != yes; then
 
3593
  { { ac_try="$ac_link"
 
3594
case "(($ac_try" in
 
3595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3596
  *) ac_try_echo=$ac_try;;
 
3597
esac
 
3598
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3599
$as_echo "$ac_try_echo"; } >&5
 
3600
  (eval "$ac_link") 2>&5
 
3601
  ac_status=$?
 
3602
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3603
  test $ac_status = 0; }
 
3604
  if { ac_try='./conftest$ac_cv_exeext'
 
3605
  { { case "(($ac_try" in
 
3606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3607
  *) ac_try_echo=$ac_try;;
 
3608
esac
 
3609
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3610
$as_echo "$ac_try_echo"; } >&5
 
3611
  (eval "$ac_try") 2>&5
 
3612
  ac_status=$?
 
3613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3614
  test $ac_status = 0; }; }; then
 
3615
    cross_compiling=no
 
3616
  else
 
3617
    if test "$cross_compiling" = maybe; then
 
3618
        cross_compiling=yes
 
3619
    else
 
3620
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3621
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3622
as_fn_error "cannot run C compiled programs.
 
3623
If you meant to cross compile, use \`--host'.
 
3624
See \`config.log' for more details." "$LINENO" 5; }
 
3625
    fi
 
3626
  fi
 
3627
fi
 
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3629
$as_echo "$cross_compiling" >&6; }
 
3630
 
 
3631
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3632
ac_clean_files=$ac_clean_files_save
3602
3633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3603
3634
$as_echo_n "checking for suffix of object files... " >&6; }
3604
3635
if test "${ac_cv_objext+set}" = set; then :
4573
4604
else
4574
4605
  lt_cv_nm_interface="BSD nm"
4575
4606
  echo "int some_variable = 0;" > conftest.$ac_ext
4576
 
  (eval echo "\"\$as_me:4576: $ac_compile\"" >&5)
 
4607
  (eval echo "\"\$as_me:4607: $ac_compile\"" >&5)
4577
4608
  (eval "$ac_compile" 2>conftest.err)
4578
4609
  cat conftest.err >&5
4579
 
  (eval echo "\"\$as_me:4579: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4610
  (eval echo "\"\$as_me:4610: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4580
4611
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4581
4612
  cat conftest.err >&5
4582
 
  (eval echo "\"\$as_me:4582: output\"" >&5)
 
4613
  (eval echo "\"\$as_me:4613: output\"" >&5)
4583
4614
  cat conftest.out >&5
4584
4615
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4585
4616
    lt_cv_nm_interface="MS dumpbin"
5785
5816
  ;;
5786
5817
*-*-irix6*)
5787
5818
  # Find out which ABI we are using.
5788
 
  echo '#line 5788 "configure"' > conftest.$ac_ext
 
5819
  echo '#line 5819 "configure"' > conftest.$ac_ext
5789
5820
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5790
5821
  (eval $ac_compile) 2>&5
5791
5822
  ac_status=$?
7315
7346
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7316
7347
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7317
7348
   -e 's:$: $lt_compiler_flag:'`
7318
 
   (eval echo "\"\$as_me:7318: $lt_compile\"" >&5)
 
7349
   (eval echo "\"\$as_me:7349: $lt_compile\"" >&5)
7319
7350
   (eval "$lt_compile" 2>conftest.err)
7320
7351
   ac_status=$?
7321
7352
   cat conftest.err >&5
7322
 
   echo "$as_me:7322: \$? = $ac_status" >&5
 
7353
   echo "$as_me:7353: \$? = $ac_status" >&5
7323
7354
   if (exit $ac_status) && test -s "$ac_outfile"; then
7324
7355
     # The compiler can only warn and ignore the option if not recognized
7325
7356
     # So say no if there are warnings other than the usual output.
7654
7685
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7655
7686
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7656
7687
   -e 's:$: $lt_compiler_flag:'`
7657
 
   (eval echo "\"\$as_me:7657: $lt_compile\"" >&5)
 
7688
   (eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
7658
7689
   (eval "$lt_compile" 2>conftest.err)
7659
7690
   ac_status=$?
7660
7691
   cat conftest.err >&5
7661
 
   echo "$as_me:7661: \$? = $ac_status" >&5
 
7692
   echo "$as_me:7692: \$? = $ac_status" >&5
7662
7693
   if (exit $ac_status) && test -s "$ac_outfile"; then
7663
7694
     # The compiler can only warn and ignore the option if not recognized
7664
7695
     # So say no if there are warnings other than the usual output.
7759
7790
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7760
7791
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7761
7792
   -e 's:$: $lt_compiler_flag:'`
7762
 
   (eval echo "\"\$as_me:7762: $lt_compile\"" >&5)
 
7793
   (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
7763
7794
   (eval "$lt_compile" 2>out/conftest.err)
7764
7795
   ac_status=$?
7765
7796
   cat out/conftest.err >&5
7766
 
   echo "$as_me:7766: \$? = $ac_status" >&5
 
7797
   echo "$as_me:7797: \$? = $ac_status" >&5
7767
7798
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7768
7799
   then
7769
7800
     # The compiler can only warn and ignore the option if not recognized
7814
7845
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815
7846
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816
7847
   -e 's:$: $lt_compiler_flag:'`
7817
 
   (eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
 
7848
   (eval echo "\"\$as_me:7848: $lt_compile\"" >&5)
7818
7849
   (eval "$lt_compile" 2>out/conftest.err)
7819
7850
   ac_status=$?
7820
7851
   cat out/conftest.err >&5
7821
 
   echo "$as_me:7821: \$? = $ac_status" >&5
 
7852
   echo "$as_me:7852: \$? = $ac_status" >&5
7822
7853
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7823
7854
   then
7824
7855
     # The compiler can only warn and ignore the option if not recognized
10197
10228
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10198
10229
  lt_status=$lt_dlunknown
10199
10230
  cat > conftest.$ac_ext <<_LT_EOF
10200
 
#line 10200 "configure"
 
10231
#line 10231 "configure"
10201
10232
#include "confdefs.h"
10202
10233
 
10203
10234
#if HAVE_DLFCN_H
10293
10324
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10294
10325
  lt_status=$lt_dlunknown
10295
10326
  cat > conftest.$ac_ext <<_LT_EOF
10296
 
#line 10296 "configure"
 
10327
#line 10327 "configure"
10297
10328
#include "confdefs.h"
10298
10329
 
10299
10330
#if HAVE_DLFCN_H
10652
10683
... rest of stderr output deleted ...
10653
10684
         10q' conftest.err >conftest.er1
10654
10685
    cat conftest.er1 >&5
10655
 
    rm -f conftest.er1 conftest.err
10656
10686
  fi
 
10687
  rm -f conftest.er1 conftest.err
10657
10688
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10658
10689
  test $ac_status = 0; }
10659
10690
done
11037
11068
... rest of stderr output deleted ...
11038
11069
         10q' conftest.err >conftest.er1
11039
11070
    cat conftest.er1 >&5
11040
 
    rm -f conftest.er1 conftest.err
11041
11071
  fi
 
11072
  rm -f conftest.er1 conftest.err
11042
11073
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043
11074
  test $ac_status = 0; }
11044
11075
done
13181
13212
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13182
13213
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13183
13214
   -e 's:$: $lt_compiler_flag:'`
13184
 
   (eval echo "\"\$as_me:13184: $lt_compile\"" >&5)
 
13215
   (eval echo "\"\$as_me:13215: $lt_compile\"" >&5)
13185
13216
   (eval "$lt_compile" 2>conftest.err)
13186
13217
   ac_status=$?
13187
13218
   cat conftest.err >&5
13188
 
   echo "$as_me:13188: \$? = $ac_status" >&5
 
13219
   echo "$as_me:13219: \$? = $ac_status" >&5
13189
13220
   if (exit $ac_status) && test -s "$ac_outfile"; then
13190
13221
     # The compiler can only warn and ignore the option if not recognized
13191
13222
     # So say no if there are warnings other than the usual output.
13280
13311
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13281
13312
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13282
13313
   -e 's:$: $lt_compiler_flag:'`
13283
 
   (eval echo "\"\$as_me:13283: $lt_compile\"" >&5)
 
13314
   (eval echo "\"\$as_me:13314: $lt_compile\"" >&5)
13284
13315
   (eval "$lt_compile" 2>out/conftest.err)
13285
13316
   ac_status=$?
13286
13317
   cat out/conftest.err >&5
13287
 
   echo "$as_me:13287: \$? = $ac_status" >&5
 
13318
   echo "$as_me:13318: \$? = $ac_status" >&5
13288
13319
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13289
13320
   then
13290
13321
     # The compiler can only warn and ignore the option if not recognized
13332
13363
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13333
13364
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13334
13365
   -e 's:$: $lt_compiler_flag:'`
13335
 
   (eval echo "\"\$as_me:13335: $lt_compile\"" >&5)
 
13366
   (eval echo "\"\$as_me:13366: $lt_compile\"" >&5)
13336
13367
   (eval "$lt_compile" 2>out/conftest.err)
13337
13368
   ac_status=$?
13338
13369
   cat out/conftest.err >&5
13339
 
   echo "$as_me:13339: \$? = $ac_status" >&5
 
13370
   echo "$as_me:13370: \$? = $ac_status" >&5
13340
13371
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13341
13372
   then
13342
13373
     # The compiler can only warn and ignore the option if not recognized
14283
14314
 
14284
14315
 
14285
14316
# checks for libraries.
 
14317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
 
14318
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
 
14319
if test "${ac_cv_lib_boost_filesystem_mt_main+set}" = set; then :
 
14320
  $as_echo_n "(cached) " >&6
 
14321
else
 
14322
  ac_check_lib_save_LIBS=$LIBS
 
14323
LIBS="-lboost_filesystem-mt  $LIBS"
 
14324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14325
/* end confdefs.h.  */
 
14326
 
 
14327
 
 
14328
int
 
14329
main ()
 
14330
{
 
14331
return main ();
 
14332
  ;
 
14333
  return 0;
 
14334
}
 
14335
_ACEOF
 
14336
if ac_fn_c_try_link "$LINENO"; then :
 
14337
  ac_cv_lib_boost_filesystem_mt_main=yes
 
14338
else
 
14339
  ac_cv_lib_boost_filesystem_mt_main=no
 
14340
fi
 
14341
rm -f core conftest.err conftest.$ac_objext \
 
14342
    conftest$ac_exeext conftest.$ac_ext
 
14343
LIBS=$ac_check_lib_save_LIBS
 
14344
fi
 
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
 
14346
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
 
14347
if test "x$ac_cv_lib_boost_filesystem_mt_main" = x""yes; then :
 
14348
  cat >>confdefs.h <<_ACEOF
 
14349
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
 
14350
_ACEOF
 
14351
 
 
14352
  LIBS="-lboost_filesystem-mt $LIBS"
 
14353
 
 
14354
else
 
14355
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
 
14356
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
 
14357
fi
 
14358
 
 
14359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
 
14360
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
 
14361
if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then :
 
14362
  $as_echo_n "(cached) " >&6
 
14363
else
 
14364
  ac_check_lib_save_LIBS=$LIBS
 
14365
LIBS="-lboost_thread-mt  $LIBS"
 
14366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14367
/* end confdefs.h.  */
 
14368
 
 
14369
 
 
14370
int
 
14371
main ()
 
14372
{
 
14373
return main ();
 
14374
  ;
 
14375
  return 0;
 
14376
}
 
14377
_ACEOF
 
14378
if ac_fn_c_try_link "$LINENO"; then :
 
14379
  ac_cv_lib_boost_thread_mt_main=yes
 
14380
else
 
14381
  ac_cv_lib_boost_thread_mt_main=no
 
14382
fi
 
14383
rm -f core conftest.err conftest.$ac_objext \
 
14384
    conftest$ac_exeext conftest.$ac_ext
 
14385
LIBS=$ac_check_lib_save_LIBS
 
14386
fi
 
14387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
 
14388
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
 
14389
if test "x$ac_cv_lib_boost_thread_mt_main" = x""yes; then :
 
14390
  cat >>confdefs.h <<_ACEOF
 
14391
#define HAVE_LIBBOOST_THREAD_MT 1
 
14392
_ACEOF
 
14393
 
 
14394
  LIBS="-lboost_thread-mt $LIBS"
 
14395
 
 
14396
else
 
14397
  as_fn_error "Unable to find Boost Thread library" "$LINENO" 5
 
14398
fi
 
14399
 
 
14400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
 
14401
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
 
14402
if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
 
14403
  $as_echo_n "(cached) " >&6
 
14404
else
 
14405
  ac_check_lib_save_LIBS=$LIBS
 
14406
LIBS="-lsqlite3  $LIBS"
 
14407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14408
/* end confdefs.h.  */
 
14409
 
 
14410
/* Override any GCC internal prototype to avoid an error.
 
14411
   Use char because int might match the return type of a GCC
 
14412
   builtin and then its argument prototype would still apply.  */
 
14413
#ifdef __cplusplus
 
14414
extern "C"
 
14415
#endif
 
14416
char sqlite3_initialize ();
 
14417
int
 
14418
main ()
 
14419
{
 
14420
return sqlite3_initialize ();
 
14421
  ;
 
14422
  return 0;
 
14423
}
 
14424
_ACEOF
 
14425
if ac_fn_c_try_link "$LINENO"; then :
 
14426
  ac_cv_lib_sqlite3_sqlite3_initialize=yes
 
14427
else
 
14428
  ac_cv_lib_sqlite3_sqlite3_initialize=no
 
14429
fi
 
14430
rm -f core conftest.err conftest.$ac_objext \
 
14431
    conftest$ac_exeext conftest.$ac_ext
 
14432
LIBS=$ac_check_lib_save_LIBS
 
14433
fi
 
14434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
 
14435
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
 
14436
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
 
14437
  cat >>confdefs.h <<_ACEOF
 
14438
#define HAVE_LIBSQLITE3 1
 
14439
_ACEOF
 
14440
 
 
14441
  LIBS="-lsqlite3 $LIBS"
 
14442
 
 
14443
else
 
14444
  as_fn_error "Unable to find SQLite3 library" "$LINENO" 5
 
14445
fi
 
14446
 
14286
14447
 
14287
14448
# checks for header files.
14288
14449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14414
14575
 
14415
14576
# checks for library functions.
14416
14577
 
14417
 
ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
 
14578
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile"
14418
14579
 
14419
14580
cat >confcache <<\_ACEOF
14420
14581
# This file is a shell script that caches the results of configure
14946
15107
# values after options handling.
14947
15108
ac_log="
14948
15109
This file was extended by sqlite3cc $as_me 0.1.0, which was
14949
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
15110
generated by GNU Autoconf 2.65.  Invocation command line was
14950
15111
 
14951
15112
  CONFIG_FILES    = $CONFIG_FILES
14952
15113
  CONFIG_HEADERS  = $CONFIG_HEADERS
14986
15147
 
14987
15148
  -h, --help       print this help, then exit
14988
15149
  -V, --version    print version number and configuration settings, then exit
 
15150
      --config     print configuration, then exit
14989
15151
  -q, --quiet, --silent
14990
15152
                   do not print progress messages
14991
15153
  -d, --debug      don't remove temporary files
15004
15166
Configuration commands:
15005
15167
$config_commands
15006
15168
 
15007
 
Report bugs to <edam@waxworlds.org>."
 
15169
Report bugs to <edam@waxworlds.org>.
 
15170
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>."
15008
15171
 
15009
15172
_ACEOF
15010
15173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15174
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15011
15175
ac_cs_version="\\
15012
15176
sqlite3cc config.status 0.1.0
15013
 
configured by $0, generated by GNU Autoconf 2.64,
15014
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
15177
configured by $0, generated by GNU Autoconf 2.65,
 
15178
  with options \\"\$ac_cs_config\\"
15015
15179
 
15016
15180
Copyright (C) 2009 Free Software Foundation, Inc.
15017
15181
This config.status script is free software; the Free Software Foundation
15049
15213
    ac_cs_recheck=: ;;
15050
15214
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15051
15215
    $as_echo "$ac_cs_version"; exit ;;
 
15216
  --config | --confi | --conf | --con | --co | --c )
 
15217
    $as_echo "$ac_cs_config"; exit ;;
15052
15218
  --debug | --debu | --deb | --de | --d | -d )
15053
15219
    debug=: ;;
15054
15220
  --file | --fil | --fi | --f )
15486
15652
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15487
15653
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15488
15654
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
15655
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15489
15656
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15490
15657
 
15491
15658
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15590
15757
t delim
15591
15758
:nl
15592
15759
h
15593
 
s/\(.\{148\}\).*/\1/
 
15760
s/\(.\{148\}\)..*/\1/
15594
15761
t more1
15595
15762
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15596
15763
p
15604
15771
t nl
15605
15772
:delim
15606
15773
h
15607
 
s/\(.\{148\}\).*/\1/
 
15774
s/\(.\{148\}\)..*/\1/
15608
15775
t more2
15609
15776
s/["\\]/\\&/g; s/^/"/; s/$/"/
15610
15777
p