Things to do this week instead of arguing about mixers
Kevin Kofler
kevin.kofler at chello.at
Tue Apr 28 22:25:16 UTC 2009
Eric Sandeen wrote:
> * Come up with some template autoconf magic to make it easy for
> apps to detect fallocate() at build time, and some example
> code on how to use it
Shouldn't:
AC_CHECK_DECLS([fallocate], [], [], [[#include <fcntl.h>]])
(which defines HAVE_DECL_FALLOCATE) be sufficient?
In CMake:
check_symbol_exists(fallocate "fcntl.h" HAVE_DECL_FALLOCATE)
should achieve the same.
Kevin Kofler
More information about the fedora-devel-list
mailing list