xfs
[Top] [All Lists]

[PATCH] xfstests: fix up have_xlog_assign_lsn config test

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix up have_xlog_assign_lsn config test
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 20 Oct 2009 22:32:33 -0500
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Without this we weren't building src/loggen

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

diff --git a/aclocal.m4 b/aclocal.m4
index 8a61e39..6e1e672 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -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],
diff --git a/m4/package_xfslibs.m4 b/m4/package_xfslibs.m4
index 870882f..f5167a2 100644
--- a/m4/package_xfslibs.m4
+++ b/m4/package_xfslibs.m4
@@ -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],


<Prev in Thread] Current Thread [Next in Thread>