File: 04_build_config.patch

package info (click to toggle)
db5.3 5.3.28%2Bdfsg1-0.5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 158,360 kB
  • sloc: ansic: 448,411; java: 111,824; tcl: 80,544; sh: 44,326; cs: 33,697; cpp: 21,604; perl: 14,557; xml: 10,799; makefile: 4,077; yacc: 1,003; awk: 965; sql: 801; erlang: 342; python: 216; php: 24; asm: 14
file content (77 lines) | stat: -rw-r--r-- 1,939 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- /dev/null
+++ build_config.h.in
@@ -0,0 +1,47 @@
+
+/*
+** Build options detected by SQLite's configure script but not normally part
+** of config.h.  Accept what configure detected unless it was overridden on the
+** command line.
+*/
+#ifndef HAVE_EDITLINE
+#define HAVE_EDITLINE @TARGET_HAVE_EDITLINE@
+#endif
+#if !HAVE_EDITLINE
+#undef HAVE_EDITLINE
+#endif
+
+#ifndef HAVE_READLINE
+#define HAVE_READLINE @TARGET_HAVE_READLINE@
+#endif
+#if !HAVE_READLINE
+#undef HAVE_READLINE
+#endif
+
+#ifndef SQLITE_OS_UNIX
+#define SQLITE_OS_UNIX @SQLITE_OS_UNIX@
+#endif
+#if !SQLITE_OS_UNIX
+#undef SQLITE_OS_UNIX
+#endif
+
+#ifndef SQLITE_OS_WIN
+#define SQLITE_OS_WIN @SQLITE_OS_WIN@
+#endif
+#if !SQLITE_OS_WIN
+#undef SQLITE_OS_WIN
+#endif
+
+#ifndef SQLITE_THREADSAFE
+#define SQLITE_THREADSAFE @SQLITE_THREADSAFE@
+#endif
+#if !SQLITE_THREADSAVE
+#undef SQLITE_THREADSAVE
+#endif
+
+#ifndef SQLITE_TEMP_STORE
+#define SQLITE_TEMP_STORE @TEMP_STORE@
+#endif
+#if !SQLITE_TEMP_STORE
+#undef SQLITE_TEMP_STORE
+#endif
--- configure
+++ configure
@@ -13548,7 +13548,7 @@ ac_config_headers="$ac_config_headers co
 # Generate the output files.
 #
 
-ac_config_files="$ac_config_files Makefile sqlite3.pc"
+ac_config_files="$ac_config_files Makefile sqlite3.pc build_config.h"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -14402,6 +14402,7 @@ do
     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
+    "build_config.h") CONFIG_FILES="$CONFIG_FILES build_config.h" ;;
 
   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
--- configure.ac
+++ configure.ac
@@ -714,4 +714,5 @@ AC_SUBST(BUILD_CFLAGS)
 AC_OUTPUT([
 Makefile
 sqlite3.pc
+build_config.h
 ])