diff options
author | Mark Hatle <mhatle@windriver.com> | 2010-08-26 11:49:37 -0700 |
---|---|---|
committer | Mark Hatle <mhatle@windriver.com> | 2010-08-26 14:30:36 -0700 |
commit | 4a310f203dd982ee9750bd1b5e92ea3746219395 (patch) | |
tree | 23aded1fab489818e2c0c1de23f86115fe008005 | |
parent | 18c0da3c173216ec64bdfc66b513b069c5eb8236 (diff) | |
download | openembedded-core-4a310f203dd982ee9750bd1b5e92ea3746219395.tar.gz openembedded-core-4a310f203dd982ee9750bd1b5e92ea3746219395.tar.bz2 openembedded-core-4a310f203dd982ee9750bd1b5e92ea3746219395.tar.xz openembedded-core-4a310f203dd982ee9750bd1b5e92ea3746219395.zip |
qemu: On some older machines SDL is available
On some older machines SDL is available, even if a pkgconfig
file for SDL is not there. (See RHEL5.1)
Extend the check, to see if the primary SDL header is there, if
the pkgconfig check fails.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
-rw-r--r-- | meta/packages/qemu/qemu.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/qemu/qemu.inc b/meta/packages/qemu/qemu.inc index 5711596cc..5425aaf4a 100644 --- a/meta/packages/qemu/qemu.inc +++ b/meta/packages/qemu/qemu.inc @@ -16,7 +16,8 @@ do_configure_prepend_virtclass-native() { test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' - test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc && libsdl='yes' + test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes' + if [ "$libsdl" != 'yes' -o "$libgl" != 'yes' ]; then echo "You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native. |