public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] sim: restore lstat & mkdir func checks
Date: Wed,  9 Nov 2022 17:21:08 +0000 (GMT)	[thread overview]
Message-ID: <20221109172108.EC6DA3858D28@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=959550953e9467b3aa3e168c8ea313e123626d9b

commit 959550953e9467b3aa3e168c8ea313e123626d9b
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Nov 10 00:19:45 2022 +0700

    sim: restore lstat & mkdir func checks
    
    When merging ppc configure checks into the top-level, these 2 funcs
    were accidentally dropped (probably due to incorrect resolution of
    conflicts).  Restore them since the ppc code utilizes them both.

Diff:
---
 sim/config.h.in           |  6 ++++++
 sim/configure             | 10 ++++++++--
 sim/m4/sim_ac_platform.m4 |  2 ++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sim/config.h.in b/sim/config.h.in
index 7c0087fcd0b..71f17fb926b 100644
--- a/sim/config.h.in
+++ b/sim/config.h.in
@@ -135,9 +135,15 @@
 /* Define to 1 if you have the `lseek' function. */
 #undef HAVE_LSEEK
 
+/* Define to 1 if you have the `lstat' function. */
+#undef HAVE_LSTAT
+
 /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H
 
+/* Define to 1 if you have the `mkdir' function. */
+#undef HAVE_MKDIR
+
 /* Define to 1 if you have the `mmap' function. */
 #undef HAVE_MMAP
 
diff --git a/sim/configure b/sim/configure
index 1916e1d37f6..57c4fcf6972 100755
--- a/sim/configure
+++ b/sim/configure
@@ -2929,6 +2929,8 @@ as_fn_append ac_func_list " ioctl"
 as_fn_append ac_func_list " kill"
 as_fn_append ac_func_list " link"
 as_fn_append ac_func_list " lseek"
+as_fn_append ac_func_list " lstat"
+as_fn_append ac_func_list " mkdir"
 as_fn_append ac_func_list " mmap"
 as_fn_append ac_func_list " munmap"
 as_fn_append ac_func_list " pipe"
@@ -5539,6 +5541,10 @@ done
 
 
 
+
+
+
+
 
 
 
@@ -12425,7 +12431,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12428 "configure"
+#line 12434 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12531,7 +12537,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12534 "configure"
+#line 12540 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4
index abfb2bd9e6e..0a910c7f5b3 100644
--- a/sim/m4/sim_ac_platform.m4
+++ b/sim/m4/sim_ac_platform.m4
@@ -79,6 +79,8 @@ AC_CHECK_FUNCS_ONCE(m4_flatten([
   kill
   link
   lseek
+  lstat
+  mkdir
   mmap
   munmap
   pipe

                 reply	other threads:[~2022-11-09 17:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221109172108.EC6DA3858D28@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).