diff options
author | Steve Bennett <steveb@workware.net.au> | 2016-10-26 19:50:35 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-10-26 19:50:35 +1000 |
commit | b7efe69818d2d12c0f004a5aaca70cd2ed2f388a (patch) | |
tree | faab93ce371b47df4ea257c6d7016cc36954cdd8 /auto.def | |
parent | 4bf945c9e873434f84fa55721cfaad76b11b2356 (diff) | |
download | jimtcl-b7efe69818d2d12c0f004a5aaca70cd2ed2f388a.zip jimtcl-b7efe69818d2d12c0f004a5aaca70cd2ed2f388a.tar.gz jimtcl-b7efe69818d2d12c0f004a5aaca70cd2ed2f388a.tar.bz2 |
build: On NetBSD backtrace is in -lexecinfo
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -107,11 +107,15 @@ if {[cc-check-function-in-lib socket socket]} { } cc-check-functions ualarm lstat fork vfork system select execvpe -cc-check-functions backtrace geteuid mkstemp realpath strptime isatty +cc-check-functions geteuid mkstemp realpath strptime isatty cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes cc-check-functions shutdown socketpair isinf isnan link symlink fsync dup umask +if {[cc-check-function-in-lib backtrace execinfo]} { + define-append LDLIBS [get-define lib_backtrace] +} + if {[cc-check-functions sysinfo]} { cc-with {-includes sys/sysinfo.h} { cc-check-members "struct sysinfo.uptime" |