debuggers.hg

view tools/libfsimage/check-libext2fs @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents a819cf758b8c
children
line source
1 #!/bin/sh
3 cat >ext2-test.c <<EOF
4 #include <ext2fs/ext2fs.h>
6 int main()
7 {
8 ext2fs_open2;
9 }
10 EOF
12 ${CC-gcc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
13 if [ $? = 0 ]; then
14 echo ext2fs-lib
15 else
16 echo ext2fs
17 fi
19 rm -f ext2-test ext2-test.c
21 exit 0