aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index f39ebe3..5feb5f0 100644
--- a/auto.def
+++ b/auto.def
@@ -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"