diff --git a/configure b/configure index a759bd2..ffb3bca 100755 --- a/configure +++ b/configure @@ -21214,7 +21214,7 @@ fi if test "x${enable_libunwind_is}" = "xyes" then - if test "x${ac_cv_header_unwind_h}" = "xyes" -a "${UNWIND_LIBS}" != "" + if test "x${ac_cv_header_libunwind_h}" = "xyes" -a "${UNWIND_LIBS}" != "" then $as_echo "#define HCL_ENABLE_LIBUNWIND /**/" >>confdefs.h diff --git a/configure.ac b/configure.ac index 22f89f8..a1a38d6 100644 --- a/configure.ac +++ b/configure.ac @@ -663,7 +663,7 @@ AC_ARG_ENABLE([libunwind], ) if test "x${enable_libunwind_is}" = "xyes" then - if test "x${ac_cv_header_unwind_h}" = "xyes" -a "${UNWIND_LIBS}" != "" + if test "x${ac_cv_header_libunwind_h}" = "xyes" -a "${UNWIND_LIBS}" != "" then AC_DEFINE([HCL_ENABLE_LIBUNWIND],[],[use libunwind for backtracing stack frames]) else