aboutsummaryrefslogtreecommitdiffstats
path: root/tools/config.h.in
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-09-14 10:02:47 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-09-14 10:02:47 +0100
commit19459d56f493b380e2df30e06822cc7b01183186 (patch)
tree9b397d655903efa89e6522badd7e33489f6d41d0 /tools/config.h.in
parent393a6e75afb627fe126bfc8050bd53b9e086e1dc (diff)
downloadxen-19459d56f493b380e2df30e06822cc7b01183186.tar.gz
xen-19459d56f493b380e2df30e06822cc7b01183186.tar.bz2
xen-19459d56f493b380e2df30e06822cc7b01183186.zip
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 <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/config.h.in')
-rw-r--r--tools/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/config.h.in b/tools/config.h.in
index bc1ed1057b..6d67503de7 100644
--- a/tools/config.h.in
+++ b/tools/config.h.in
@@ -42,6 +42,9 @@
/* Define curses header to use */
#undef INCLUDE_CURSES_H
+/* Define extfs header to use */
+#undef INCLUDE_EXTFS_H
+
/* libutil header file name */
#undef INCLUDE_LIBUTIL_H