* m4/flock.m4 (gl_FUNC_FLOCK): Move AC_LIBOBJ and gl_PREREQ_FLOCK
invocations from here...
* modules/flock (configure.ac): ... to here.
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ flock: Move AC_LIBOBJ invocations to module description.
+ * m4/flock.m4 (gl_FUNC_FLOCK): Move AC_LIBOBJ and gl_PREREQ_FLOCK
+ invocations from here...
+ * modules/flock (configure.ac): ... to here.
+
2011-05-07 Bruno Haible <bruno@clisp.org>
fileblocks: Move AC_LIBOBJ invocations to module description.
-# flock.m4 serial 2
+# flock.m4 serial 3
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CHECK_FUNCS_ONCE([flock])
if test $ac_cv_func_flock = no; then
HAVE_FLOCK=0
- AC_LIBOBJ([flock])
- gl_PREREQ_FLOCK
fi
])
configure.ac:
gl_FUNC_FLOCK
+if test $HAVE_FLOCK = 0; then
+ AC_LIBOBJ([flock])
+ gl_PREREQ_FLOCK
+fi
gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
Makefile.am: