]>
Commit | Line | Data |
---|---|---|
148f68cd JP |
1 | --- sqlite-src-3370000/configure.ac.orig 2021-11-27 16:05:17.000000000 +0100 |
2 | +++ sqlite-src-3370000/configure.ac 2021-12-03 21:21:47.506868981 +0100 | |
3 | @@ -116,6 +116,13 @@ | |
4 | USE_AMALGAMATION=1 | |
5 | ||
6 | ######### | |
7 | +# By default, amalgamation sqlite3.c will have #line directives. | |
8 | +# This is a build option not shown by ./configure --help | |
9 | +# To control it, use configure option: amalgamation_line_macros=? | |
10 | +# where ? is no to suppress #line directives or yes to create them. | |
11 | +AMALGAMATION_LINE_MACROS=--linemacros=0 | |
12 | + | |
13 | +######### | |
14 | # See whether we can run specific tclsh versions known to work well; | |
15 | # if not, then we fall back to plain tclsh. | |
16 | # TODO: try other versions before falling back? | |
17 | @@ -574,6 +581,20 @@ | |
18 | fi | |
19 | AC_SUBST(USE_AMALGAMATION) | |
20 | ||
21 | +######## | |
22 | +# See whether --disable | |
23 | +if test "${amalgamation_line_macros+set}" = set; then : | |
24 | + enableval=$amalgamation_line_macros; | |
25 | +fi | |
26 | + | |
27 | +if test "${amalgamation_line_macros}" = "yes" ; then | |
28 | + AMALGAMATION_LINE_MACROS=--linemacros=1 | |
29 | +fi | |
30 | +if test "${amalgamation_line_macros}" = "no" ; then | |
31 | + AMALGAMATION_LINE_MACROS=--linemacros=0 | |
32 | +fi | |
33 | +AC_SUBST(AMALGAMATION_LINE_MACROS) | |
34 | + | |
35 | ######### | |
36 | # Look for zlib. Only needed by extensions and by the sqlite3.exe shell | |
37 | AC_CHECK_HEADERS(zlib.h) |