dbus ChangeLog,1.1140,1.1141 configure.in,1.184,1.185
John (J5) Palmieri
johnp at redhat.com
Wed Oct 11 11:18:13 PDT 2006
On Wed, 2006-10-11 at 20:08 +0200, Thiago Macieira wrote:
> John Palmieri wrote:
> >+ [AC_TRY_RUN([
> >+#include <sys/types.h>
> >+#include <dirent.h>
> >+int main () {
> >+ DIR *dirp;
> >+ dirp = opendir(".");
> >+ dirfd(dirp);
> >+ closedir(dirp);
> >+}],
>
> Do you need to run this program to test the dirfd availability?
For freebsd you do since it is a macro and not a function. Of course we
could do an AC_CHECK_FUNCS (dirp) and if that fails run the program. I
don't know autofoo all that well though.
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus-commit
mailing list