[Top][All Lists]

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

[bug-patch] --disable-xattr set USE_XATTR=1 instead of undefining it in

From: balducci
Subject: [bug-patch] --disable-xattr set USE_XATTR=1 instead of undefining it in config.h
Date: Thu, 28 Oct 2010 11:00:29 +0200


just built and found the following problem (apologies if
I am missing something...)

--disable-xattr triggers:

     #define USE_XATTR 0

in config.h

But in util.c is:

     #ifdef USE_XATTR

which triggers a compilation error when --disable-xattr is used:

util.c:46:33: fatal error: attr/error_context.h: No such file or directory
compilation terminated.

So, either should be:

     #undef USE_XATTR 0

in config.h, or:

     #if USE_XATTR==1

in util.c

The former fixes things for me

thanks for maintaining patch


Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: address@hidden
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html

reply via email to

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