Differences From Artifact [cd0b3f9a15]:
- File auto.def — part of check-in [66fdab7605] at 2019-08-20 04:24:43 on branch configure-updates — Fixed a couple of Tcl syntax fixes that caused the new --with-sanitizer code to a) run unconditionally irrespective of the option's setting and b) to check for the existence of libubsan whether it was actually needed or not. (user: wyoung size: 22114) [more...]
To Artifact [4e826170e2]:
- File auto.def — part of check-in [ff8f2decf5] at 2020-03-19 15:11:14 on branch setenv-alternative — Add a configure time check for the existence of setenv(3) in libc for use by fossil_setenv() which has nicer semantics than its current underlying implementation on POSIX systems, putenv(3). This doesn't fix any known issue other than a technical memory leak, but I'm checking it in in case someone finds the code useful someday. (user: wyoung size: 22437)
︙ | |||
269 270 271 272 273 274 275 276 277 278 279 280 281 282 | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 | + + + + + + + + + + | } else { define-append EXTRA_CFLAGS -DFOSSIL_DYNAMIC_BUILD=1 define FOSSIL_DYNAMIC_BUILD } # Check for libraries that need to be sorted out early cc-check-function-in-lib iconv iconv # Check for existence of POSIX setenv(), which has nicer semantics than # putenv() which we fall back on if it isn't available. msg-checking "Checking for setenv(3) in libc..." if {[cctest -includes stdlib.h -code {setenv("", "", 0);} -link 1]} { msg-result "yes" define HAVE_SETENV } else { msg-result "no" } # Helper for OpenSSL checking proc check-for-openssl {msg {cflags {}} {libs {-lssl -lcrypto}}} { msg-checking "Checking for $msg..." set rc 0 if {[is_mingw]} { lappend libs -lgdi32 -lwsock32 -lcrypt32 |
︙ |