aboutsummaryrefslogtreecommitdiff
path: root/gold/configure
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-03 23:50:48 -0800
committerCary Coutant <ccoutant@gmail.com>2018-12-03 23:50:48 -0800
commitf4238194a211a6a27598a7fdf9ad63f9b5d6fbaa (patch)
treecdf77d24f3ea44f4d671edc048f1a36205ef8c29 /gold/configure
parent314a80c41d52737c9cfdc80dc2f6f56e0d5cfd96 (diff)
downloadgdb-f4238194a211a6a27598a7fdf9ad63f9b5d6fbaa.zip
gdb-f4238194a211a6a27598a7fdf9ad63f9b5d6fbaa.tar.gz
gdb-f4238194a211a6a27598a7fdf9ad63f9b5d6fbaa.tar.bz2
Restore build on x86_64-w64-mingw32.
gold/ PR gold/23594 * configure.ac: Add checks for link, mkdtemp. * configure: Regenerate. * config.in: Regenerate. * plugin.cc (Plugin_recorder::init): Fall back to mktemp if mkdtemp is not available. (link_or_copy_file): Fall back to copy if link() is not available.
Diffstat (limited to 'gold/configure')
-rwxr-xr-xgold/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/configure b/gold/configure
index a57025b..216af10 100755
--- a/gold/configure
+++ b/gold/configure
@@ -7977,7 +7977,7 @@ fi
done
-for ac_func in chsize mmap
+for ac_func in chsize mmap link
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"
@@ -9866,7 +9866,7 @@ case "$ac_cv_search_dlopen" in
esac
-for ac_func in mallinfo posix_fallocate fallocate readv sysconf times
+for ac_func in mallinfo posix_fallocate fallocate readv sysconf times mkdtemp
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"