public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: restore lstat & mkdir func checks
@ 2022-11-09 17:21 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-11-09 17:21 UTC (permalink / raw)
  To: gdb-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-09 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09 17:21 [binutils-gdb] sim: restore lstat & mkdir func checks Michael Frysinger

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).