mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Automatically detect if backtrace(3) needs -lexecinfo
This commit is contained in:

committed by
cgzones

parent
846fe8a71f
commit
1d00893110
@ -92,6 +92,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[AC_MSG_ERROR([htop is written in C99. A newer compiler is required.])])
|
||||
CFLAGS="$save_cflags"
|
||||
|
||||
# Add -lexecinfo if needed
|
||||
AC_SEARCH_LIBS([backtrace], [execinfo])
|
||||
|
||||
# Checks for features and flags.
|
||||
# ----------------------------------------------------------------------
|
||||
PROCDIR=/proc
|
||||
|
Reference in New Issue
Block a user