diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2009-06-03 15:15:15 -0500 |
---|---|---|
committer | Eric Sandeen <sandeen@sandeen.net> | 2009-06-03 15:15:15 -0500 |
commit | dcb3106e20618efcf95bf76a7dbfc446df9f69d9 (patch) | |
tree | d0c7af0a3cdb2aa7c0f838018ba9e1255c123067 /m4 | |
parent | be64a1a99b559a07e47377c700897606146602c4 (diff) |
Check for xlog_assign_lsn in xfs headers
Checking for libxfs.h isn't enough; some debian installs
have libxfs.h but no xlog_assign_lsn, and the loggen build still
fails.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Tested-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/package_xfslibs.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/package_xfslibs.m4 b/m4/package_xfslibs.m4 index 903e4a70..870882f0 100644 --- a/m4/package_xfslibs.m4 +++ b/m4/package_xfslibs.m4 @@ -13,6 +13,14 @@ AC_DEFUN([AC_PACKAGE_WANT_LIBXFS_H], AC_SUBST(have_libxfs) ]) +AC_DEFUN([AC_PACKAGE_WANT_XLOG_ASSIGN_LSN], + [ + AC_CHECK_DECL(xlog_assign_lsn, + [ have_xlog_assign_lsn=true ], [ have_xlog_assign_lsn=false ], + [[#include <xfs/libxfs.h>]]) + AC_SUBST(have_have_xlog_assign_lsn) + ]) + AC_DEFUN([AC_PACKAGE_NEED_XFS_XQM_H], [ AC_CHECK_HEADERS([xfs/xqm.h]) if test "$ac_cv_header_xfs_xqm_h" != "yes"; then |