]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
ignore utimensat on GNU/kFreeBSD
authorGonéri Le Bouder <goneri@rulezlan.org>
Sat, 31 Dec 2011 15:14:27 +0000 (16:14 +0100)
committerJon Dowland <jmtd@debian.org>
Wed, 16 May 2012 14:08:40 +0000 (15:08 +0100)
See: http://bugs.debian.org/651104
See: http://lists.debian.org/debian-bsd/2011/03/msg00063.html

Signed-off-by: Gonéri Le Bouder <goneri@rulezlan.org>
config/configure

index 8841fff7c0de662caab6f4586d3d6246f663cc80..a1272c3804c176b3940081a271aa15736ded2da4 100755 (executable)
@@ -59,7 +59,11 @@ AC_CHECK_HEADERS unistd.h
 AC_CHECK_HEADERS linux/fs.h
 AC_CHECK_HEADERS sys/ioctl.h
 
-AC_CHECK_FUNCS utimensat 
+# on GNU/kFreeBSD utimensat is defined in the GNU libc
+# but won't work
+if [ -z "$OS_GNUKFREEBSD" ]; then
+   AC_CHECK_FUNCS utimensat
+fi
 AC_CHECK_FUNCS utimes
 AC_CHECK_FUNCS lutimes