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