[PATCH v3 08/11] xfsprogs: Add fls check into autoconf

Christoph Hellwig hch at infradead.org
Tue Aug 4 06:21:03 CDT 2015


Can't you just use something like:

AC_CHECK_DECL([fls],
        [AC_DEFINE([HAVE_FLS_PROTOTYPE], [1],
	 [Define to 1 if have fls prototype])],
	 [],
	 [#include <string.h>])



More information about the xfs mailing list