summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure8
-rw-r--r--Porting/Glossary4
-rw-r--r--config_h.SH30
-rw-r--r--handy.h2
4 files changed, 30 insertions, 14 deletions
diff --git a/Configure b/Configure
index 0ac41e6ced..fba1111829 100755
--- a/Configure
+++ b/Configure
@@ -26,7 +26,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Oct 25 01:58:55 CEST 2005 [metaconfig 3.0 PL70]
+# Generated on Mon Oct 31 19:12:32 CET 2005 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -441,6 +441,7 @@ d_fsync=''
d_ftello=''
d_ftime=''
d_gettimeod=''
+d_futimes=''
d_Gconvert=''
d_getcwd=''
d_getespwnam=''
@@ -12555,6 +12556,10 @@ case "$longsize" in
8) echo "(Your long is 64 bits, so you could use ftell.)" ;;
esac
+: see if futimes exists
+set futimes d_futimes
+eval $inlibc
+
: see if getcwd exists
set getcwd d_getcwd
eval $inlibc
@@ -21123,6 +21128,7 @@ d_fstatvfs='$d_fstatvfs'
d_fsync='$d_fsync'
d_ftello='$d_ftello'
d_ftime='$d_ftime'
+d_futimes='$d_futimes'
d_getcwd='$d_getcwd'
d_getespwnam='$d_getespwnam'
d_getfsstat='$d_getfsstat'
diff --git a/Porting/Glossary b/Porting/Glossary
index 96911432bc..bcd3a972e8 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -810,6 +810,10 @@ d_ftime (d_ftime.U):
that the ftime() routine exists. The ftime() routine is basically
a sub-second accuracy clock.
+d_futimes (f_futimes.U):
+ This variable conditionally defines the HAS_FUTIMES symbol, which
+ indicates to the C program that the futimes() routine is available.
+
d_Gconvert (d_gconvert.U):
This variable holds what Gconvert is defined as to convert
floating point numbers into strings. By default, Configure
diff --git a/config_h.SH b/config_h.SH
index b6249d7729..2588ec9795 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -1458,6 +1458,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_ftello HAS_FTELLO /**/
+/* HAS_FUTIMES:
+ * This symbol, if defined, indicates that the futimes routine is
+ * available to change file descriptor time stamps with struct timevals.
+ */
+#$d_futimes HAS_FUTIMES /**/
+
/* Gconvert:
* This preprocessor macro is defined to convert a floating point
* number to a string without a trailing decimal point. This
@@ -1948,6 +1954,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_madvise HAS_MADVISE /**/
+/* HAS_MALLOC_SIZE:
+ * This symbol, if defined, indicates that the malloc_size
+ * routine is available for use.
+ */
+#$d_malloc_size HAS_MALLOC_SIZE /**/
+
+/* HAS_MALLOC_GOOD_SIZE:
+ * This symbol, if defined, indicates that the malloc_good_size
+ * routine is available for use.
+ */
+#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
+
/* HAS_MEMCHR:
* This symbol, if defined, indicates that the memchr routine is available
* to locate characters within a C string.
@@ -3901,18 +3919,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_libm_lib_version LIBM_LIB_VERSION /**/
-/* HAS_MALLOC_SIZE:
- * This symbol, if defined, indicates that the malloc_size
- * routine is available for use.
- */
-#$d_malloc_size HAS_MALLOC_SIZE /**/
-
-/* HAS_MALLOC_GOOD_SIZE:
- * This symbol, if defined, indicates that the malloc_good_size
- * routine is available for use.
- */
-#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
-
/* HAS_NL_LANGINFO:
* This symbol, if defined, indicates that the nl_langinfo routine is
* available to return local data. You will also need <langinfo.h>
diff --git a/handy.h b/handy.h
index bb4c3422c4..7f1e1dd4cd 100644
--- a/handy.h
+++ b/handy.h
@@ -175,7 +175,7 @@ typedef U64TYPE U64;
#endif
/* HMB H.Merijn Brand - a placeholder for preparing Configure patches */
-#if defined(HAS_MALLOC_SIZE) && defined(HAS_MALLOC_GOOD_SIZE) && defined(HAS_CLEARENV)
+#if defined(HAS_MALLOC_SIZE) && defined(HAS_MALLOC_GOOD_SIZE) && defined(HAS_CLEARENV) && defined(HAS_FUTIMES)
/* Not (yet) used at top level, but mention them for metaconfig */
#endif