Enabled Linux file attributes in GNU xorriso build system

This commit is contained in:
Thomas Schmitt 2024-07-22 23:44:14 +02:00
parent 4de02bf9a2
commit ab5d3166e5
2 changed files with 20 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# configure.ac stems from xorriso/configure_ac.txt and leads to ./configure
# Copyright (c) 2007 - 2023 Thomas Schmitt <scdbackup@gmx.net>
# Copyright (c) 2007 - 2024 Thomas Schmitt <scdbackup@gmx.net>
# Provided under GPL version 2 or later.
AC_INIT([xorriso], [1.5.7], [http://libburnia-project.org])
@ -353,6 +353,24 @@ else
echo "disabled local processing of extended file attributes"
fi
dnl ts C40722
AH_TEMPLATE([Libisofs_with_aaip_lfa_flagS],
[Define to use Linux chattr capabilities])
LFA_DEF=
AC_ARG_ENABLE(linux-attr-flags,
[ --enable-linux-attr-flags Enable processing of Linux chattr(1) flags, default=yes],
, linux_attr_flags=yes)
if test x"$linux_attr_flags" = xyes; then
AC_CHECK_HEADER(linux/fs.h, LFA_DEF="-DLibisofs_with_aaip_lfa_flagS",
LFA_DEF=)
fi
if test x"$LFA_DEF" = x-DLibisofs_with_aaip_lfa_flagS
then
AC_DEFINE([Libisofs_with_aaip_lfa_flagS], [])
echo "enabled Linux chattr(1) flags"
else
echo "disabled Linux chattr(1) flags"
fi
AH_TEMPLATE([Libisofs_with_zliB], [Define to use compression via zlib])
AH_TEMPLATE([LIBJTE_WITH_ZLIB], [Allow libjte to use zlib])

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.07.22.124121"
#define Xorriso_timestamP "2024.07.22.214318"