debuggers.hg

view tools/libfsimage/check-libext2fs @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
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