[gimp/gimp-2-8] Bug 711795 - execinfo.h functions need -lexecinfo on NetBSD



commit 03509683cbac28fbb4ac1de5034025482df0d577
Author: Martin Husemann <martin netbsd org>
Date:   Sun Nov 10 22:17:38 2013 +0100

    Bug 711795 - execinfo.h functions need -lexecinfo on NetBSD
    
    Allow building on NetBSD -current where execinfo.h is present but
    backtrace() and backtrace_symbols() are in -lexecinfo.
    
    (cherry picked from commit 4ac3967a5dbb5eb70d9f6496c1c91b838fbed7ad)

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d6e4b78..919194a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,6 +419,7 @@ AC_HEADER_SYS_WAIT
 AC_HEADER_TIME
 
 AC_CHECK_HEADERS(execinfo.h sys/param.h sys/time.h sys/times.h sys/wait.h unistd.h)
+AC_CHECK_FUNCS(backtrace, , AC_CHECK_LIB(execinfo, backtrace))
 
 AC_TYPE_PID_T
 AC_FUNC_VPRINTF


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]