Fossil

Check-in [00b86a85]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed setting of FOSSIL_ENABLE_JSON vis-a-vis autosetup.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:00b86a85be473132ebf1f32d43395f2d8e8a008e
User & Date: stephan 2012-07-13 18:37:12
Context
2012-07-13
18:40
Added (hasfeature json|ssl|tcl) function to TH1 to determine whether the given compile-time option is enabled. check-in: 2be3a876 user: stephan tags: trunk
18:37
Fixed setting of FOSSIL_ENABLE_JSON vis-a-vis autosetup. check-in: 00b86a85 user: stephan tags: trunk
18:01
Replaced free() with fossil_free() for pedantic correctness. Minor related doc fix. check-in: 9f98585e user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to auto.def.

64
65
66
67
68
69
70

71
72
73
74
75
76
77

if {[opt-bool fossil-debug]} {
    define-append EXTRA_CFLAGS -DFOSSIL_DEBUG
}

if {[opt-bool json]} {
    define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_JSON

}

if {[opt-bool static]} {
    # XXX: This will not work on all systems.
    define-append EXTRA_LDFLAGS -static
}








>







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

if {[opt-bool fossil-debug]} {
    define-append EXTRA_CFLAGS -DFOSSIL_DEBUG
}

if {[opt-bool json]} {
    define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_JSON
    define FOSSIL_ENABLE_JSON
}

if {[opt-bool static]} {
    # XXX: This will not work on all systems.
    define-append EXTRA_LDFLAGS -static
}