bug-gnulib
[Top][All Lists]
Advanced

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

Re: do I need "ifdef HAVE_UNISTD_H" if I import unistd?


From: Eric Blake
Subject: Re: do I need "ifdef HAVE_UNISTD_H" if I import unistd?
Date: Mon, 16 May 2011 14:13:29 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/16/2011 02:10 PM, Sam Steingold wrote:
>> Absolutely!  In fact, the maintainer-mode module includes the
>> sc_prohibit_always_true_header_tests to help you check for files where
>> you can unconditionally include headers guaranteed by gnulib replacements.
> 
> there is no maintainer-mode in gnulib/modules.

Sorry for my typo; 'maintainer-makefile'.

> how do I use it?

Import that module, possibly add a cfg.mk counterpart (hmm, we probably
ought to provide a template file for that; but you can use
coreutils.git/cfg.mk for an idea of how it can be customized), use GNU
make, and run 'make syntax-check' to catch a number of consistency
errors.  If you decide that a particular syntax check is inappropriate
for your project, cfg.mk will let you omit it.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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