X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fflock.m4;h=ad2d1290c9da7788a7f113894eec71c40ae69beb;hb=7ef6c64e210ac0979d7e8ac69bc5b5208c2405ab;hp=ba2204365426424dd762e9dbb081fef15dc0c46f;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/flock.m4 b/m4/flock.m4 index ba2204365..ad2d1290c 100644 --- a/m4/flock.m4 +++ b/m4/flock.m4 @@ -1,5 +1,5 @@ -# flock.m4 serial 1 -dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. +# flock.m4 serial 3 +dnl Copyright (C) 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -10,8 +10,6 @@ AC_DEFUN([gl_FUNC_FLOCK], AC_CHECK_FUNCS_ONCE([flock]) if test $ac_cv_func_flock = no; then HAVE_FLOCK=0 - AC_LIBOBJ([flock]) - gl_PREREQ_FLOCK fi ]) @@ -19,7 +17,7 @@ dnl Prerequisites of lib/flock.c. AC_DEFUN([gl_PREREQ_FLOCK], [ AC_CHECK_FUNCS_ONCE([fcntl]) - AC_CHECK_HEADERS_ONCE([unistd.h fcntl.h]) + AC_CHECK_HEADERS_ONCE([unistd.h]) dnl Do we have a POSIX fcntl lock implementation? AC_CHECK_MEMBERS([struct flock.l_type],[],[],[[#include ]])