We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365dd01 commit e859e39Copy full SHA for e859e39
configure.ac
@@ -447,6 +447,17 @@ if test "x$enable_set_log_level_func" = xyes -a "x$enable_netcdf_4" = xyes; then
447
fi
448
AC_MSG_RESULT($enable_set_log_level_func)
449
450
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
451
+[#include <execinfo.h>],
452
+[[int x = 0;]])],
453
+ [havebacktrace=yes],
454
+ [havebacktrace=no])
455
+AC_MSG_CHECKING([whether backtrace is defined])
456
+AC_MSG_RESULT([${havebacktrace}])
457
+if test $havebacktrace = yes; then
458
+ AC_DEFINE([HAVE_BACKTRACE],[1],[Is backtrace defined])
459
+fi
460
+
461
462
# CURLOPT_USERNAME is not defined until curl version 7.19.1
463
# CURLOPT_PASSWORD is not defined until curl version 7.19.1
0 commit comments