diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-26 20:02:25 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-26 20:02:25 +0000 |
| commit | 33b7492264065f65f0eaf8081586610179cd051d (patch) | |
| tree | eca61b724f72053968536dd73b3f8e445924b662 | |
| parent | 967f42b4fc5cd3a43e821082e540bcb7c45b7ef8 (diff) | |
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
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
