blob: 508007c0eac30182fcf0e1b469980a9eff05047a [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From fd9515f08dcdafea6ae03413fbe5a43a6438fe3e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 20 Jul 2017 21:25:48 -0700
4Subject: [PATCH 5/5] check for libexecinfo during configure
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
Patrick Williams520786c2023-06-25 16:20:36 -05008Upstream-Status: Pending
9
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 configure.ac | 6 ++++++
11 1 file changed, 6 insertions(+)
12
13diff --git a/configure.ac b/configure.ac
14index 188adfe..1ab4d3c 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -159,6 +159,12 @@ AC_SEARCH_LIBS([argp_parse], [argp c], [], [
18 USE_WVSTREAMS_ARGP=1
19 fi
20 ])
21+
22+USE_LIBEXECINFO=0
23+AC_SEARCH_LIBS([backtrace], [execinfo], [], [
24+USE_LIBEXECINFO=1
25+])
26+
27 # Function checks
28 AC_HEADER_DIRENT
29
30--
312.13.3
32