aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-07-22 12:11:24 +0930
committerAlan Modra <amodra@gmail.com>2022-07-22 12:38:53 +0930
commit6577f365ebdee7dda71cb996efa29d3714cbccd0 (patch)
treec32ad75f7c51c1c9100a18ce3e7883c2dacd434a /ld/configure
parent4686f81068433540a8dcf1104548389922e2bfef (diff)
downloadgdb-6577f365ebdee7dda71cb996efa29d3714cbccd0.zip
gdb-6577f365ebdee7dda71cb996efa29d3714cbccd0.tar.gz
gdb-6577f365ebdee7dda71cb996efa29d3714cbccd0.tar.bz2
PR17122, OSX 10.9 build failure
sbrk hasn't been used in binutils/ or ld/ for quite some time (so the PR was fixed a while ago). Tidy up configury. PR 17122 binutils/ * configure.ac: Don't check for sbrk. * sysdep.h (sbrk): Don't supply fallback declaration. * config.in: Regenerate. * configure: Regenerate. ld/ * configure.ac: Don't check for sbrk. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'ld/configure')
-rwxr-xr-xld/configure12
1 files changed, 1 insertions, 11 deletions
diff --git a/ld/configure b/ld/configure
index fbbcb52..1c2b648 100755
--- a/ld/configure
+++ b/ld/configure
@@ -16700,7 +16700,7 @@ fi
done
-for ac_func in close glob lseek mkstemp open realpath sbrk waitpid
+for ac_func in close glob lseek mkstemp open realpath waitpid
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"
@@ -16741,16 +16741,6 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_ENVIRON $ac_have_decl
_ACEOF
-ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
-if test "x$ac_cv_have_decl_sbrk" = xyes; then :
- ac_have_decl=1
-else
- ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_SBRK $ac_have_decl
-_ACEOF