mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-04-03 16:09:07 +08:00
libbacktrace: declare getpagesize if necessary
Fixes https://gcc.gnu.org/PR95012.
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -12453,6 +12453,16 @@ fi
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL_STRNLEN $ac_have_decl
|
||||
_ACEOF
|
||||
ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
|
||||
if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
|
||||
ac_have_decl=1
|
||||
else
|
||||
ac_have_decl=0
|
||||
fi
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL_GETPAGESIZE $ac_have_decl
|
||||
_ACEOF
|
||||
|
||||
for ac_func in lstat readlink
|
||||
do :
|
||||
|
||||
Reference in New Issue
Block a user