From kde-core-devel Mon Apr 03 13:15:32 2006 From: Hasso Tepper Date: Mon, 03 Apr 2006 13:15:32 +0000 To: kde-core-devel Subject: Re: statfs vs statvfs checks in kdelibs Message-Id: <200604031615.32128.hasso () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114407014502099 Adriaan de Groot wrote: > Yeah, that would do it if we could check for existence of header files > before hand and depend on HAVE_*_H in the resulting code so it can > include the right headers. This particular compile test will work out > OK on FBSD because it includes the wrong headers to even find > getmntinfo() (and it's supposed to fail). Yes, that's the idea - concentrate efforts to the cases where it's supposed to succeed and don't care why it fails. And if it fails, assume that statfs must be used. regards, -- Hasso Tepper KDE Estonian Team