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 8a61e39..6e1e672 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 870882f..f5167a2 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],