mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Ticket #4439: FTBFS on FreeBSD with ext2fs attribute support:
local.c:35:10: fatal error: 'e2p/e2p.h' file not found ^~~~~~~~~~~ * m4.include/mc-ext2fs-attr.m4: add EXT2FS_CFLAGS E2P_CFLAGS to CPPFLAGS here... * src/filemanager/Makefile.am: ...not here. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a18c8f2850
commit
9688e7d015
@ -12,9 +12,8 @@ AC_DEFUN([mc_EXT2FS_ATTR],
|
||||
|
||||
if test x"$found_e2p" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_EXT2FS_ATTR, 1, [Define to enable support for ext2fs attributes])
|
||||
AC_SUBST(EXT2FS_CFLAGS)
|
||||
AC_SUBST(E2P_CFLAGS)
|
||||
MCLIBS="$MCLIBS $E2P_LIBS"
|
||||
CPPFLAGS="$CPPFLAGS $EXT2FS_CFLAGS $E2P_CFLAGS"
|
||||
ext2fs_attr_msg="yes"
|
||||
else
|
||||
AC_MSG_WARN([e2p library not found or version too old (must be >= 1.42.4)])
|
||||
|
@ -35,6 +35,4 @@ AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)
|
||||
if ENABLE_EXT2FS_ATTR
|
||||
libmcfilemanager_la_SOURCES += \
|
||||
chattr.c
|
||||
|
||||
AM_CPPFLAGS += @EXT2FS_CFLAGS@ @E2P_CFLAGS@
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user