* m4/futimens.m4 (gl_FUNC_FUTIMENS): Move AC_LIBOBJ invocations from
here...
* modules/futimens (configure.ac): ... to here.
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ futimens: Move AC_LIBOBJ invocations to module description.
+ * m4/futimens.m4 (gl_FUNC_FUTIMENS): Move AC_LIBOBJ invocations from
+ here...
+ * modules/futimens (configure.ac): ... to here.
+
2011-05-07 Bruno Haible <bruno@clisp.org>
ftruncate: Move AC_LIBOBJ invocations to module description.
-# serial 5
+# serial 6
# See if we need to provide futimens replacement.
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
AC_CHECK_FUNCS_ONCE([futimens])
if test $ac_cv_func_futimens = no; then
HAVE_FUTIMENS=0
- AC_LIBOBJ([futimens])
else
AC_CACHE_CHECK([whether futimens works],
[gl_cv_func_futimens_works],
rm -f conftest.file])
if test "$gl_cv_func_futimens_works" != yes; then
REPLACE_FUTIMENS=1
- AC_LIBOBJ([futimens])
fi
fi
])
configure.ac:
gl_FUNC_FUTIMENS
+if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then
+ AC_LIBOBJ([futimens])
+fi
gl_SYS_STAT_MODULE_INDICATOR([futimens])
Makefile.am: