Fossil

Check-in [7eeb5c64]
Login

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

Overview
Comment:Fix an autosetup bug which prevented libreadline from being detected when running autosetup under tclsh
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | autosetup
Files: files | file ages | folders
SHA1: 7eeb5c64cccc48159868ec6df34ce59c7ad7b33a
User & Date: steveb 2011-09-02 10:31:59.594
Context
2011-09-02
12:18
Merge the latest autosetup changes into trunk. ... (check-in: 172580e0 user: drh tags: trunk)
10:31
Fix an autosetup bug which prevented libreadline from being detected when running autosetup under tclsh ... (Closed-Leaf check-in: 7eeb5c64 user: steveb tags: autosetup)
10:30
Add -Wdeprecated-declarations on Mac OS X to prevent warnings from openssl ... (check-in: 0fd14820 user: steveb tags: autosetup)
Changes
Unified Diff Ignore Whitespace Patch
Changes to autosetup/cc.tcl.
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349

# Similar to cc-add-settings, but each given setting
# simply replaces the existing value.
#
# Returns the previous settings
proc cc-update-settings {args} {
	set prev [cc-get-settings]
	array set new $prev

	foreach {name value} $args {
		set new($name) $value
	}
	cc-store-settings $new

	return $prev
}

# @cc-with settings ?{ script }?
#
# Sets the given 'cctest' settings and then runs the tests in 'script'.
# Note that settings such as -lang replace the current setting, while







<
<
<
<
<
|
<







329
330
331
332
333
334
335





336

337
338
339
340
341
342
343

# Similar to cc-add-settings, but each given setting
# simply replaces the existing value.
#
# Returns the previous settings
proc cc-update-settings {args} {
	set prev [cc-get-settings]





	cc-store-settings [dict merge $prev $args]

	return $prev
}

# @cc-with settings ?{ script }?
#
# Sets the given 'cctest' settings and then runs the tests in 'script'.
# Note that settings such as -lang replace the current setting, while