From 33b7492264065f65f0eaf8081586610179cd051d Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Fri, 26 Dec 2008 20:02:25 +0000 Subject: Better check for the backtrace function (actually look for the function, not the execinfo.h header) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1866 5417fbe8-f217-4b02-8779-1006273d7864 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6af01d7c8..a56c1d4f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,7 +160,6 @@ endif(NOT DEFUMASK) # Check for the existance of the following include files check_include_file(sys/types.h HAVE_SYS_TYPES_H) -check_include_file(execinfo.h HAVE_BACKTRACE) check_include_file(strings.h HAVE_STRINGS_H) check_include_file(sys/select.h HAVE_SYS_SELECT_H) @@ -173,6 +172,7 @@ check_function_exists(stricmp HAVE_STRICMP) check_function_exists(strlcat HAVE_STRLCAT) check_function_exists(strlcpy HAVE_STRLCPY) check_function_exists(umask HAVE_UMASK) +check_function_exists(backtrace HAVE_BACKTRACE) # Check for the existance of the following types check_type_size(uint8_t UINT8_T) -- cgit