/sqlite3cc

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

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: edam
  • Date: 2010-07-29 06:28:53 UTC
  • Revision ID: edam@waxworlds.org-20100729062853-4i2fec52m86mh724
- made basic_statement::step() protected, for use by query and command only
- moved basic_statement::operator<<() to command and query instead; one needs to accept sqlite::exec, the other doesn't
- added tests for query::operator<<()
- added code to invlaidate in-progress queries during any transaction rollbacks (currently segfaults in basic_statement::finalize())
- added new sqlite_error constructor that obtains a full error message
- implemented database::database_mutex_guard class
- swapped command's step mutex in favour of the database mutex

Show diffs side-by-side

added added

removed removed

1
 
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
 
# Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
6
5
# This file is free software; the Free Software Foundation
7
6
# gives unlimited permission to copy and/or distribute it,
8
7
# with or without modifications, as long as this notice is preserved.
14
13
 
15
14
m4_ifndef([AC_AUTOCONF_VERSION],
16
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
 
[m4_warning([this file was generated for autoconf 2.68.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
 
17
[m4_warning([this file was generated for autoconf 2.64.
19
18
You have another version of autoconf.  It may work, but is not guaranteed to.
20
19
If you have problems, you may need to regenerate the build system entirely.
21
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
21
 
23
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
 
# Foundation, Inc.
 
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
25
23
#
26
24
# This file is free software; the Free Software Foundation
27
25
# gives unlimited permission to copy and/or distribute it,
28
26
# with or without modifications, as long as this notice is preserved.
29
27
 
30
 
# serial 1
31
 
 
32
28
# AM_AUTOMAKE_VERSION(VERSION)
33
29
# ----------------------------
34
30
# Automake X.Y traces this macro to ensure aclocal.m4 has been
38
34
[am__api_version='1.11'
39
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40
36
dnl require some minimum version.  Point them to the right macro.
41
 
m4_if([$1], [1.11.3], [],
 
37
m4_if([$1], [1.11], [],
42
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43
39
])
44
40
 
54
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
 
[AM_AUTOMAKE_VERSION([1.11.3])dnl
 
53
[AM_AUTOMAKE_VERSION([1.11])dnl
58
54
m4_ifndef([AC_AUTOCONF_VERSION],
59
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61
57
 
62
58
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63
59
 
64
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
60
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
65
61
#
66
62
# This file is free software; the Free Software Foundation
67
63
# gives unlimited permission to copy and/or distribute it,
68
64
# with or without modifications, as long as this notice is preserved.
69
65
 
70
 
# serial 1
71
 
 
72
66
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
67
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
74
68
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
150
144
Usually this means the macro was only invoked conditionally.]])
151
145
fi])])
152
146
 
153
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
 
# 2010, 2011 Free Software Foundation, Inc.
 
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
 
148
# Free Software Foundation, Inc.
155
149
#
156
150
# This file is free software; the Free Software Foundation
157
151
# gives unlimited permission to copy and/or distribute it,
158
152
# with or without modifications, as long as this notice is preserved.
159
153
 
160
 
# serial 12
 
154
# serial 10
161
155
 
162
156
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
163
157
# written in clear, in which case automake, when reading aclocal.m4,
197
191
  # instance it was reported that on HP-UX the gcc test will end up
198
192
  # making a dummy file named `D' -- because `-MD' means `put the output
199
193
  # in D'.
200
 
  rm -rf conftest.dir
201
194
  mkdir conftest.dir
202
195
  # Copy depcomp to subdir because otherwise we won't find it if we're
203
196
  # using a relative directory.
262
255
        break
263
256
      fi
264
257
      ;;
265
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
258
    msvisualcpp | msvcmsys)
266
259
      # This compiler won't grok `-c -o', but also, the minuso test has
267
260
      # not run yet.  These depmodes are late enough in the game, and
268
261
      # so weak that their functioning should not be impacted.
327
320
if test "x$enable_dependency_tracking" != xno; then
328
321
  am_depcomp="$ac_aux_dir/depcomp"
329
322
  AMDEPBACKSLASH='\'
330
 
  am__nodep='_no'
331
323
fi
332
324
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
333
325
AC_SUBST([AMDEPBACKSLASH])dnl
334
326
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335
 
AC_SUBST([am__nodep])dnl
336
 
_AM_SUBST_NOTMAKE([am__nodep])dnl
337
327
])
338
328
 
339
329
# Generate code to set up dependency tracking.              -*- Autoconf -*-
567
557
done
568
558
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
569
559
 
570
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
571
 
# Inc.
 
560
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
572
561
#
573
562
# This file is free software; the Free Software Foundation
574
563
# gives unlimited permission to copy and/or distribute it,
575
564
# with or without modifications, as long as this notice is preserved.
576
565
 
577
 
# serial 1
578
 
 
579
566
# AM_PROG_INSTALL_SH
580
567
# ------------------
581
568
# Define $install_sh.
707
694
fi
708
695
])
709
696
 
710
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
711
 
# Inc.
 
697
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
712
698
#
713
699
# This file is free software; the Free Software Foundation
714
700
# gives unlimited permission to copy and/or distribute it,
715
701
# with or without modifications, as long as this notice is preserved.
716
702
 
717
 
# serial 1
718
 
 
719
703
# AM_PROG_MKDIR_P
720
704
# ---------------
721
705
# Check for `mkdir -p'.
738
722
 
739
723
# Helper functions for option handling.                     -*- Autoconf -*-
740
724
 
741
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
742
 
# Foundation, Inc.
 
725
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
743
726
#
744
727
# This file is free software; the Free Software Foundation
745
728
# gives unlimited permission to copy and/or distribute it,
746
729
# with or without modifications, as long as this notice is preserved.
747
730
 
748
 
# serial 5
 
731
# serial 4
749
732
 
750
733
# _AM_MANGLE_OPTION(NAME)
751
734
# -----------------------
753
736
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
754
737
 
755
738
# _AM_SET_OPTION(NAME)
756
 
# --------------------
 
739
# ------------------------------
757
740
# Set option NAME.  Presently that only means defining a flag for this option.
758
741
AC_DEFUN([_AM_SET_OPTION],
759
742
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
760
743
 
761
744
# _AM_SET_OPTIONS(OPTIONS)
762
 
# ------------------------
 
745
# ----------------------------------
763
746
# OPTIONS is a space-separated list of Automake options.
764
747
AC_DEFUN([_AM_SET_OPTIONS],
765
748
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
835
818
fi
836
819
AC_MSG_RESULT(yes)])
837
820
 
838
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
821
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
839
822
#
840
823
# This file is free software; the Free Software Foundation
841
824
# gives unlimited permission to copy and/or distribute it,
842
825
# with or without modifications, as long as this notice is preserved.
843
826
 
844
 
# serial 1
845
 
 
846
827
# AM_PROG_INSTALL_STRIP
847
828
# ---------------------
848
829
# One issue with vendor `install' (even GNU) is that you can't
865
846
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
866
847
AC_SUBST([INSTALL_STRIP_PROGRAM])])
867
848
 
868
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
849
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
869
850
#
870
851
# This file is free software; the Free Software Foundation
871
852
# gives unlimited permission to copy and/or distribute it,
872
853
# with or without modifications, as long as this notice is preserved.
873
854
 
874
 
# serial 3
 
855
# serial 2
875
856
 
876
857
# _AM_SUBST_NOTMAKE(VARIABLE)
877
858
# ---------------------------
880
861
AC_DEFUN([_AM_SUBST_NOTMAKE])
881
862
 
882
863
# AM_SUBST_NOTMAKE(VARIABLE)
883
 
# --------------------------
 
864
# ---------------------------
884
865
# Public sister of _AM_SUBST_NOTMAKE.
885
866
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
886
867
 
887
868
# Check how to create a tarball.                            -*- Autoconf -*-
888
869
 
889
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
870
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
890
871
#
891
872
# This file is free software; the Free Software Foundation
892
873
# gives unlimited permission to copy and/or distribute it,
908
889
# a tarball read from stdin.
909
890
#     $(am__untar) < result.tar
910
891
AC_DEFUN([_AM_PROG_TAR],
911
 
[# Always define AMTAR for backward compatibility.  Yes, it's still used
912
 
# in the wild :-(  We should find a proper way to deprecate it ...
913
 
AC_SUBST([AMTAR], ['$${TAR-tar}'])
 
892
[# Always define AMTAR for backward compatibility.
 
893
AM_MISSING_PROG([AMTAR], [tar])
914
894
m4_if([$1], [v7],
915
 
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 
895
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
916
896
     [m4_case([$1], [ustar],, [pax],,
917
897
              [m4_fatal([Unknown tar format])])
918
898
AC_MSG_CHECKING([how to create a $1 tar archive])