mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
Vendored
+15
-2
@@ -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); ],
|
||||
|
||||
Reference in New Issue
Block a user