bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

openat requires lstat.m4


From: Ben Walton
Subject: openat requires lstat.m4
Date: Tue, 15 Nov 2011 20:56:53 -0500
User-agent: Sup/git

Hi All,

I was playing with some gnulib stuff tonight and noticed that if I
import only openat, I get errors when later running autoreconf:

configure.ac:17: warning: gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK is m4_require'd 
but not m4_defun'd
m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
m4/gnulib-comp.m4:105: gl_INIT is expanded from...
configure.ac:17: the top level

The following small tweak resolved this for me but I don't know if
this is a complete or proper fix.

diff --git a/modules/openat b/modules/openat
index f2da9bc..4124541 100644
--- a/modules/openat
+++ b/modules/openat
@@ -5,6 +5,7 @@ Files:
 lib/at-func.c
 lib/openat.c
 lib/openat-priv.h
+m4/lstat.m4
 m4/openat.m4
 m4/mode_t.m4

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302




reply via email to

[Prev in Thread] Current Thread [Next in Thread]