Commit Graph

24 Commits

Author SHA1 Message Date
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
Eric Sandeen 1dce02067c fix dbtest build
At least on my x86_64 RHEL5 box, if gdbm-devel is installed, then the
xfstests build fails with:

gcc dbtest.c -o dbtest -g -O2 -DDEBUG -I../include -DVERSION=\"1.0.0\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -fno-strict-aliasing -Wall  ../lib/.libs/libtest.a
dbtest.c: In function 'InitDbmLookup':
dbtest.c:147: warning: cast from pointer to integer of different size
dbtest.c:198: warning: cast from pointer to integer of different size
/tmp/ccuekqxe.o: In function `CleanupDbmLookup':
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:304: undefined reference to `dbm_close'
/tmp/ccuekqxe.o: In function `DoDbmLookup':
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:220: undefined reference to `dbm_fetch'
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:264: undefined reference to `dbm_fetch'
/tmp/ccuekqxe.o: In function `InitDbmLookup':
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:146: undefined reference to `dbm_open'
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:179: undefined reference to `dbm_store'
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:192: undefined reference to `dbm_close'
/root/cvs/xfs-cmds-build/xfstests/src/dbtest.c:197: undefined reference to `dbm_open'
collect2: ld returned 1 exit status
gmake[1]: *** [dbtest] Error 1
make: *** [default] Error 2

This patch fixes it for me, but my userspace-fu is weak; does this look ok?

Reviewed-by: Christoph Hellwig <hch@lst.de>
2008-12-30 23:33:34 +01:00
Barry Naujok 2ccda108c4 xfstests: check for dmapi headers
Merge of master-melb:xfs-cmds:32507a by kenmcd.

  xfstests: check for dmapi headers
2008-11-20 14:22:49 +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
Tim Shimmin 64fe5df9de xfstests changes for lib64 stuff
Merge of master-melb:xfs-cmds:25826a by kenmcd.

  call configure with libexecdir and lib64 enabling
2006-04-24 15:31:12 +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
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 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 f75038534f More merge fixes
This test was missing from the origional merge
2004-06-15 08:10:50 +00:00
ptools 048a7a8add More merge conflicts 2004-06-15 07:36:09 +00:00
Nathan Scott c4112b799e Simpler fix for the libuuid problem from awhile ago, works with all autoconf versions. 2004-03-19 01:59:30 +00:00
Nathan Scott ada6e653fa Update several QA tests, configure magic in xfstests directory.
Fix up filters to handle additional xfs_db output.
2004-01-19 04:51:52 +00:00
Nathan Scott 35a8aee77e Clarify the configure message for when pre-xfsctl libxfs.h versions are being used for builds 2003-08-24 23:28:41 +00:00
Nathan Scott 4bf96ccc34 Sync up with other xfs packages build mechanism 2003-07-07 06:41:08 +00:00