From: Gonéri Le Bouder Date: Thu, 8 Aug 2013 22:30:28 +0000 (-0400) Subject: config/configure: ignore utimensat on GNU/kFreeBSD. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6fb12ff2d63e57adb2c5a591f4771a36c060fa24;p=packages%2Fb%2Fbup.git config/configure: ignore utimensat on GNU/kFreeBSD. Even though we'll find it, it won't work. See also: http://bugs.debian.org/651104 http://lists.debian.org/debian-bsd/2011/03/msg00063.html Signed-off-by: Gonéri Le Bouder [rlb@defaultvalue.org: adjust indentation, comments, and message.] Signed-off-by: Rob Browning --- diff --git a/config/configure b/config/configure index 6f47f84..e3866ec 100755 --- a/config/configure +++ b/config/configure @@ -49,7 +49,10 @@ 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 GNU libc, but won't work. +if [ -z "$OS_GNUKFREEBSD" ]; then + AC_CHECK_FUNCS utimensat +fi AC_CHECK_FUNCS utimes AC_CHECK_FUNCS lutimes