Fixed ./configure --enable-lfa-flags of GNU xorriso

This commit is contained in:
Thomas Schmitt 2024-07-23 17:04:12 +02:00
parent ab5d3166e5
commit 60b8fa7bee

View File

@ -275,7 +275,7 @@ AH_TEMPLATE([Libisofs_with_freebsd_extattR],
AC_ARG_ENABLE(xattr, AC_ARG_ENABLE(xattr,
[ --enable-xattr Enable use of extended file attributes by libisofs, default=yes], [ --enable-xattr Enable use of extended file attributes by libisofs, default=yes],
, enable_xattr=yes) , enable_xattr=yes)
AC_ARG_ENABLE(xattr_h_pref_attr, AC_ARG_ENABLE(xattr-h-pref-attr,
[ --enable-xattr-h-pref-attr Prefer include file attr/xattr.h over sys/xattr.h, default=no], [ --enable-xattr-h-pref-attr Prefer include file attr/xattr.h over sys/xattr.h, default=no],
, enable_xattr_h_pref_attr=no) , enable_xattr_h_pref_attr=no)
@ -357,10 +357,10 @@ dnl ts C40722
AH_TEMPLATE([Libisofs_with_aaip_lfa_flagS], AH_TEMPLATE([Libisofs_with_aaip_lfa_flagS],
[Define to use Linux chattr capabilities]) [Define to use Linux chattr capabilities])
LFA_DEF= LFA_DEF=
AC_ARG_ENABLE(linux-attr-flags, AC_ARG_ENABLE(lfa-flags,
[ --enable-linux-attr-flags Enable processing of Linux chattr(1) flags, default=yes], [ --enable-lfa-flags Enable processing of Linux chattr(1) flags, default=yes],
, linux_attr_flags=yes) , enable_lfa_flags=yes)
if test x"$linux_attr_flags" = xyes; then if test x"$enable_lfa_flags" = xyes; then
AC_CHECK_HEADER(linux/fs.h, LFA_DEF="-DLibisofs_with_aaip_lfa_flagS", AC_CHECK_HEADER(linux/fs.h, LFA_DEF="-DLibisofs_with_aaip_lfa_flagS",
LFA_DEF=) LFA_DEF=)
fi fi