xfstests: fix up have_xlog_assign_lsn config test for loggen
authorEric Sandeen <sandeen@sandeen.net>
Tue, 3 Nov 2009 15:38:07 +0000 (09:38 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 3 Nov 2009 15:38:07 +0000 (09:38 -0600)
Without this we weren't building src/loggen

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
aclocal.m4
m4/package_xfslibs.m4

index 8a61e390974dd9b9ea0f8448e05eb268403003f0..6e1e672599bbb78e56c0902a270c7aaec7ac5916 100644 (file)
@@ -422,10 +422,10 @@ AC_DEFUN([AC_PACKAGE_WANT_XFS_LIBXFS_H],
   ])
 
 AC_DEFUN([AC_PACKAGE_WANT_XLOG_ASSIGN_LSN],
-  [
-    AC_CHECK_DECL(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_xlog_assign_lsn)
   ])
 
 AC_DEFUN([AC_PACKAGE_NEED_XFS_XQM_H],
index 870882f0a0f01cbd1c15ee338c6572ccca1545db..f5167a2b0bc2bff2bf0fa28d866f333ed52405e0 100644 (file)
@@ -14,11 +14,10 @@ AC_DEFUN([AC_PACKAGE_WANT_LIBXFS_H],
   ])
 
 AC_DEFUN([AC_PACKAGE_WANT_XLOG_ASSIGN_LSN],
-  [
-    AC_CHECK_DECL(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_SUBST(have_xlog_assign_lsn)
   ])
 
 AC_DEFUN([AC_PACKAGE_NEED_XFS_XQM_H],