diff --git a/m4.include/mc-ext2fs-attr.m4 b/m4.include/mc-ext2fs-attr.m4
index 6a57cd5ef..42e4a292e 100644
a
|
b
|
AC_DEFUN([mc_EXT2FS_ATTR], |
12 | 12 | |
13 | 13 | if test x"$found_e2p" = "xyes"; then |
14 | 14 | AC_DEFINE(ENABLE_EXT2FS_ATTR, 1, [Define to enable support for ext2fs attributes]) |
15 | | AC_SUBST(EXT2FS_CFLAGS) |
16 | | AC_SUBST(E2P_CFLAGS) |
17 | 15 | MCLIBS="$MCLIBS $E2P_LIBS" |
| 16 | CPPFLAGS="$CPPFLAGS $EXT2FS_CFLAGS $E2P_CFLAGS" |
18 | 17 | ext2fs_attr_msg="yes" |
19 | 18 | else |
20 | 19 | AC_MSG_WARN([e2p library not found or version too old (must be >= 1.42.4)]) |
diff --git a/src/filemanager/Makefile.am b/src/filemanager/Makefile.am
index 534d8dcf3..0b3c36556 100644
a
|
b
|
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) |
35 | 35 | if ENABLE_EXT2FS_ATTR |
36 | 36 | libmcfilemanager_la_SOURCES += \ |
37 | 37 | chattr.c |
38 | | |
39 | | AM_CPPFLAGS += @EXT2FS_CFLAGS@ @E2P_CFLAGS@ |
40 | 38 | endif |