Fossil SCM

Update autosetup to automatically detect the availability of FuseFS and add it to the configuration.

drh 2014-06-14 02:57 UTC fusefs
Commit be7e2398941aa2cd4f850f11a0dfb1f308b8ac2a
1 file changed +9
+9
--- auto.def
+++ auto.def
@@ -11,10 +11,11 @@
1111
with-tcl-private-stubs=0
1212
=> {Enable Tcl integration via private stubs mechanism}
1313
internal-sqlite=1 => {Don't use the internal SQLite, use the system one}
1414
static=0 => {Link a static executable}
1515
lineedit=1 => {Disable line editing}
16
+ fusefs=1 => {Disable the Fuse Filesystem}
1617
fossil-debug=0 => {Build with fossil debugging enabled}
1718
json=0 => {Build with fossil JSON API enabled}
1819
}
1920
2021
# sqlite wants these types if possible
@@ -260,8 +261,16 @@
260261
if {![cc-check-functions getpassphrase]} {
261262
# Haiku needs this
262263
cc-check-function-in-lib getpass bsd
263264
}
264265
cc-check-function-in-lib dlopen dl
266
+
267
+# Check for the FuseFS library
268
+if {[opt-bool fusefs]} {
269
+ if {[cc-check-function-in-lib fuse_mount fuse]} {
270
+ define FOSSIL_HAVE_FUSEFS 1
271
+ define-append LIBS -lfuse
272
+ }
273
+}
265274
266275
make-template Makefile.in
267276
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
268277
--- auto.def
+++ auto.def
@@ -11,10 +11,11 @@
11 with-tcl-private-stubs=0
12 => {Enable Tcl integration via private stubs mechanism}
13 internal-sqlite=1 => {Don't use the internal SQLite, use the system one}
14 static=0 => {Link a static executable}
15 lineedit=1 => {Disable line editing}
 
16 fossil-debug=0 => {Build with fossil debugging enabled}
17 json=0 => {Build with fossil JSON API enabled}
18 }
19
20 # sqlite wants these types if possible
@@ -260,8 +261,16 @@
260 if {![cc-check-functions getpassphrase]} {
261 # Haiku needs this
262 cc-check-function-in-lib getpass bsd
263 }
264 cc-check-function-in-lib dlopen dl
 
 
 
 
 
 
 
 
265
266 make-template Makefile.in
267 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
268
--- auto.def
+++ auto.def
@@ -11,10 +11,11 @@
11 with-tcl-private-stubs=0
12 => {Enable Tcl integration via private stubs mechanism}
13 internal-sqlite=1 => {Don't use the internal SQLite, use the system one}
14 static=0 => {Link a static executable}
15 lineedit=1 => {Disable line editing}
16 fusefs=1 => {Disable the Fuse Filesystem}
17 fossil-debug=0 => {Build with fossil debugging enabled}
18 json=0 => {Build with fossil JSON API enabled}
19 }
20
21 # sqlite wants these types if possible
@@ -260,8 +261,16 @@
261 if {![cc-check-functions getpassphrase]} {
262 # Haiku needs this
263 cc-check-function-in-lib getpass bsd
264 }
265 cc-check-function-in-lib dlopen dl
266
267 # Check for the FuseFS library
268 if {[opt-bool fusefs]} {
269 if {[cc-check-function-in-lib fuse_mount fuse]} {
270 define FOSSIL_HAVE_FUSEFS 1
271 define-append LIBS -lfuse
272 }
273 }
274
275 make-template Makefile.in
276 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
277

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button