aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/config.h.in6
-rwxr-xr-xsim/configure10
-rw-r--r--sim/m4/sim_ac_platform.m42
3 files changed, 16 insertions, 2 deletions
diff --git a/sim/config.h.in b/sim/config.h.in
index 7c0087f..71f17fb 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 1916e1d..57c4fcf 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"
@@ -5544,6 +5546,10 @@ done
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
if ${ac_cv_struct_tm+:} false; then :
@@ -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 abfb2bd..0a910c7 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