Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser check for utimensat



details:   https://anonhg.NetBSD.org/src/rev/3c64bad59f8b
branches:  trunk
changeset: 336532:3c64bad59f8b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Mar 05 00:25:39 2015 +0000

description:
check for utimensat

diffstat:

 lib/librumpuser/configure            |  2 +-
 lib/librumpuser/configure.ac         |  2 +-
 lib/librumpuser/rumpuser_config.h.in |  3 +++
 lib/librumpuser/rumpuser_port.h      |  3 ++-
 4 files changed, 7 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r fdcff06917f4 -r 3c64bad59f8b lib/librumpuser/configure
--- a/lib/librumpuser/configure Wed Mar 04 23:52:54 2015 +0000
+++ b/lib/librumpuser/configure Thu Mar 05 00:25:39 2015 +0000
@@ -3794,7 +3794,7 @@
 
 for ac_func in kqueue chflags strsuftoll setprogname getprogname       \
        getenv_r posix_memalign memalign aligned_alloc  \
-       arc4random_buf getsubopt fsync_range __quotactl
+       arc4random_buf getsubopt fsync_range __quotactl utimensat
 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"
diff -r fdcff06917f4 -r 3c64bad59f8b lib/librumpuser/configure.ac
--- a/lib/librumpuser/configure.ac      Wed Mar 04 23:52:54 2015 +0000
+++ b/lib/librumpuser/configure.ac      Thu Mar 05 00:25:39 2015 +0000
@@ -28,7 +28,7 @@
 
 AC_CHECK_FUNCS([kqueue chflags strsuftoll setprogname getprogname      \
        getenv_r posix_memalign memalign aligned_alloc  \
-       arc4random_buf getsubopt fsync_range __quotactl])
+       arc4random_buf getsubopt fsync_range __quotactl utimensat])
 
 AC_TRY_LINK_FUNC([clock_nanosleep],,
         AC_CHECK_LIB([rt], [clock_nanosleep])
diff -r fdcff06917f4 -r 3c64bad59f8b lib/librumpuser/rumpuser_config.h.in
--- a/lib/librumpuser/rumpuser_config.h.in      Wed Mar 04 23:52:54 2015 +0000
+++ b/lib/librumpuser/rumpuser_config.h.in      Thu Mar 05 00:25:39 2015 +0000
@@ -117,6 +117,9 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 
+/* Define to 1 if you have the `utimensat' function. */
+#undef HAVE_UTIMENSAT
+
 /* Define to 1 if you have the `__quotactl' function. */
 #undef HAVE___QUOTACTL
 
diff -r fdcff06917f4 -r 3c64bad59f8b lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Wed Mar 04 23:52:54 2015 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Thu Mar 05 00:25:39 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_port.h,v 1.43 2015/01/17 23:49:40 justin Exp $        */
+/*     $NetBSD: rumpuser_port.h,v 1.44 2015/03/05 00:25:39 pooka Exp $ */
 
 #ifndef _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
 #define _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
@@ -47,6 +47,7 @@
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_UNISTD_H 1
 #define HAVE___QUOTACTL 1
+#define HAVE_UTIMENSAT 1
 #define PACKAGE_BUGREPORT "http://rumpkernel.org/";
 #define PACKAGE_NAME "rumpuser-posix"
 #define PACKAGE_STRING "rumpuser-posix 999"



Home | Main Index | Thread Index | Old Index