diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-22 12:11:24 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-22 12:38:53 +0930 |
commit | 6577f365ebdee7dda71cb996efa29d3714cbccd0 (patch) | |
tree | c32ad75f7c51c1c9100a18ce3e7883c2dacd434a /binutils/configure | |
parent | 4686f81068433540a8dcf1104548389922e2bfef (diff) | |
download | gdb-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 'binutils/configure')
-rwxr-xr-x | binutils/configure | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/binutils/configure b/binutils/configure index dffb75c..ddb3020 100755 --- a/binutils/configure +++ b/binutils/configure @@ -13352,7 +13352,7 @@ $as_echo "#define HAVE_MMAP 1" >>confdefs.h fi rm -f conftest.mmap conftest.txt -for ac_func in getc_unlocked mkdtemp mkstemp sbrk utimensat utimes +for ac_func in getc_unlocked mkdtemp mkstemp utimensat utimes 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" @@ -13678,16 +13678,6 @@ fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETC_UNLOCKED $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 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default" if test "x$ac_cv_have_decl_stpcpy" = xyes; then : ac_have_decl=1 |