Skip to content

Commit

Permalink
Merge pull request #7270 from cbodley/wip-cmake-execinfo
Browse files Browse the repository at this point in the history
cmake: add missing check for HAVE_EXECINFO_H
  • Loading branch information
oritwas committed Jan 19, 2016
2 parents 96087e2 + 4c9345b commit e38f390
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CHECK_INCLUDE_FILES("fcgios.h" FASTCGI_FASTCGIOS_DIR)
CHECK_INCLUDE_FILES("fcgi_stdio.h" HAVE_FASTCGI_STDIO_H)
CHECK_INCLUDE_FILES("openssl/ssl.h" HAVE_SSL_H)
CHECK_INCLUDE_FILES("keyutils.h" HAVE_KEYUTILS_H)
CHECK_INCLUDE_FILES("execinfo.h" HAVE_EXECINFO_H)

include(CheckSymbolExists)
CHECK_SYMBOL_EXISTS(__u8 "sys/types.h;linux/types.h" HAVE___U8)
Expand Down
3 changes: 3 additions & 0 deletions src/include/config-h.in.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,7 @@
/* Defined if curl headers define curl_multi_wait() */
#cmakedefine HAVE_CURL_MULTI_WAIT 1

/* Define to 1 if you have the <execinfo.h> header file. */
#cmakedefine HAVE_EXECINFO_H 1

#endif /* CONFIG_H */

0 comments on commit e38f390

Please sign in to comment.