summaryrefslogtreecommitdiff
path: root/libbacktrace/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libbacktrace/configure')
-rwxr-xr-xlibbacktrace/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/libbacktrace/configure b/libbacktrace/configure
index 3ef933110c0..660a7786d76 100755
--- a/libbacktrace/configure
+++ b/libbacktrace/configure
@@ -12708,6 +12708,19 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRNLEN $ac_have_decl
_ACEOF
+for ac_func in lstat readlink
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+eval as_val=\$$as_ac_var
+ if test "x$as_val" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
# Check for getexecname function.
if test -n "${with_target_subdir}"; then