From 19459d56f493b380e2df30e06822cc7b01183186 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Fri, 14 Sep 2012 10:02:47 +0100 Subject: libfsimage: add ext4 support for CentOS 5.x CentOS 5.x forked e2fs ext4 support into a different package called e4fs, and so headers and library names changed from ext2fs to ext4fs. Check if ext4fs/ext2fs.h and -lext4fs work, and use that instead of ext2fs to build libfsimage. This patch assumes that if the ext4fs library is present it should always be used instead of ext2fs. This patch includes a rework of the ext2fs check, a new ext4fs check and a minor modification in libfsimage to use the correct library. Signed-off-by: Roger Pau Monne Acked-by: Ian Campbell Committed-by: Ian Campbell --- config/Tools.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 21ad0ef270..a6ecf48dfd 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -57,5 +57,5 @@ CONFIG_SYSTEM_LIBAIO:= @system_aio@ ZLIB := @zlib@ CONFIG_LIBICONV := @libiconv@ CONFIG_GCRYPT := @libgcrypt@ -CONFIG_EXT2FS := @libext2fs@ +EXTFS_LIBS := @EXTFS_LIBS@ CURSES_LIBS := @CURSES_LIBS@ -- cgit v1.2.3