Get libhandle working on IRIX for qa. Put back fd_to_handle.

Merge of master-melb:xfs-cmds:23053a by kenmcd.
This commit is contained in:
Tim Shimmin
2005-07-04 06:00:09 +00:00
parent f55ff6b3fe
commit fb5483e332
5 changed files with 208 additions and 4 deletions
Vendored
+15 -2
View File
@@ -1,6 +1,6 @@
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
# generated automatically by aclocal 1.7.5 -*- Autoconf -*-
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -421,6 +421,19 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE],
AC_SUBST(libhdl)
])
AC_DEFUN([AC_PACKAGE_NEED_IRIX_LIBHANDLE],
[
AC_MSG_CHECKING([libhandle.a for IRIX])
libhdl="`pwd`/../irix/libhandle/libhandle.a"
if ! test -f $libhdl; then
echo 'no'
echo 'FATAL ERROR: could not find IRIX XFS handle library.'
exit 1
fi
echo 'yes'
AC_SUBST(libhdl)
])
AC_DEFUN([AC_PACKAGE_NEED_XFSCTL_MACRO],
[ AC_MSG_CHECKING([xfsctl from xfs/libxfs.h])
AC_TRY_LINK([#include <xfs/libxfs.h>], [ int x = xfsctl(0, 0, 0, 0); ],