Commit Graph

33 Commits

Author SHA1 Message Date
Dave Chinner 3f99d87418 xfsqa: build dbtest on debian platforms
Set up autoconf to find the correct headers and compat libraries for
debian squeeze, and massage the includes to ensure the right headers get
included. Also fix a compile warning that was emitted now that it is being
compiled.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-05-04 16:01:26 +10:00
Dave Chinner 76f1b870d9 xfstests: Automatic build dependency calculations
Currently the xfstest builds do not have any automatic dependency
calculations. It relies on a separate make depend run to build or
update dependency information. It also relies on an external
makedepend binary. If that binary does not exist, the dependencies
do not get calculated.

To remove the dependency on makedepend, gcc can be used instead as
it has a command to generate dependency information. This patch
changes the dependency rule building to use gcc.

In case anyone uses an old (several years) gcc compiler or a
compiler that doesn't support gcc compatible dependency generation,
a new configure check is added to turn off dependency checking so
builds can still be done.

To use the dependencies automatically, we need to use a special
include makefile directive to include the build dependencies into
the current makefile.  Essentially once the dependencies are
calculated, they can be included into the makefile and make will
recalculate the build dependencies automatically based on that
information.

Hence we get a build that automatically calculates and keeps
dependencies up to date without dependence on any external tools.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-01-26 14:22:35 +11:00
Dave Chinner 82e1e14dba xfstests: rebuild aclocal.m4
The local m4 configuration has not been built in a long time.
Trying to rebuild it results in failures with dmapi library
detection and libxfs.h detection macros. Fix the errors and rebuild
it.

Note: the new format for the aclocal.m4 file uses m4_include
directives which means it is much smaller than before and won't
need updating unless we include new m4 macro files.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-01-26 14:21:47 +11:00
Eric Sandeen 5dc4b247f2 xfstests: fix up have_xlog_assign_lsn config test for loggen
Without this we weren't building src/loggen

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-11-03 09:38:07 -06:00
Eric Sandeen dcb3106e20 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>
2009-06-03 15:15:15 -05:00
Eric Sandeen 1e814bd4f3 libxfs.h is really only needed for the loggen test;
make it config-time optional.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
2009-06-02 15:36:13 -05:00
Eric Sandeen 7a2ae4184b Use xfs.h rather than libxfs.h
Use xfs/xfs.h when possible rather than xfs/libxfs.h,
now that libxfs.h isn't part of a normal xfsprogs-devel
install.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-05-28 11:36:27 -05:00
Mike Frysinger 67f19adfc6 fix number of arguments to AC_DEFINE
aclocal hates when you only specify one parameter to AC_DEFINE ... simple patch
to add the other two parameters

fixes for acl and xfstests

[hch: added nfs4acl]

Reviewed-by: Christoph Hellwig <hch@lst.de>
2008-12-30 23:21:52 +01:00
Barry Naujok 2c578cb87f Update xfsprogs to latest kernel headers and functions
Merge of master-melb:xfs-cmds:32070a by kenmcd.
2008-09-08 06:18:43 +00:00
Nathan Scott 7eac835b57 Merge the uid/gid username/groupname install target fixup to all packages.
Merge of master-melb:xfs-cmds:26582a by kenmcd.
2006-08-04 13:42:00 +00:00
Nathan Scott af59350a27 Make xfstests build use -O2 by default.
Merge of master-melb:xfs-cmds:25677a by kenmcd.
2006-04-05 03:55:41 +00:00
Tim Shimmin e11d0477a1 fix lib64 installs
Merge of master-melb:xfs-cmds:25657a by kenmcd.
2006-04-04 06:06:00 +00:00
Nathan Scott d402691053 Fix up accidental configure/m4 macro removal.
Merge of master-melb:xfs-cmds:25231a by kenmcd.
2006-02-18 03:03:21 +00:00
Nathan Scott 2164ebf911 Fix up a configure diagnostic when detecting attr/acl headers.
Merge of master-melb:xfs-cmds:25114a by kenmcd.
2006-02-06 02:50:10 +00:00
Nathan Scott de6d86177f QA test updates - fixes for pquota, extsize, fsstress, and ensure mount options passed through to test_dev.
Merge of master-melb:xfs-cmds:24763a by kenmcd.
2005-12-09 02:52:22 +00:00
Nathan Scott c15833f024 Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24326a by kenmcd.
2005-11-09 02:48:08 +00:00
Nathan Scott 998dd5de3d Keep packaging scripts in sync across all of the packages were maintaining here
Merge of master-melb:xfs-cmds:24301a by kenmcd.
2005-11-07 02:48:13 +00:00
Tim Shimmin fb5483e332 Get libhandle working on IRIX for qa. Put back fd_to_handle.
Merge of master-melb:xfs-cmds:23053a by kenmcd.
2005-07-04 06:00:09 +00:00
Nathan Scott 3a4655de6f Fix up some autoconf macros to get freebsd builds working again.
Merge of master-melb:xfs-cmds:21750a by kenmcd.
2005-03-08 02:53:05 +00:00
Nathan Scott 2446ccc509 Add AIO test 113 into the mix, enable AIO testing capability in local fsx.
Merge of master-melb:xfs-cmds:21487a by kenmcd.
2005-02-14 13:52:05 +00:00
Nathan Scott f597e89d23 Update xfstests m4 macros to match other packages.
Merge of xfs-cmds-melb:slinx:19696a by kenmcd.
2004-10-08 14:47:51 +00:00
Nathan Scott d0b5d2750b Keep userspace packaging in sync; update srcdiff to grok moved dmapi source.
Merge of xfs-cmds-melb:slinx:19608a by kenmcd.
2004-09-30 14:48:51 +00:00
fsgqa 36e8d2eff6 Update configure scripts in xfstests directory. 2004-07-09 05:23:32 +00:00
Nathan Scott a801ba98b0 Fix up configure problems in xfstests and xfsprogs. 2004-07-09 04:41:10 +00:00
ptools 048a7a8add More merge conflicts 2004-06-15 07:36:09 +00:00