diff options
author | Paweł Kołodziejski | 2006-01-24 19:24:22 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-01-24 19:24:22 +0000 |
commit | 900b17b247bfe3376a772492f6535e956d3ba60d (patch) | |
tree | 2be60ef8c9f037da8d743ede88f4059716b5a2db | |
parent | 7d6bc98516aeacf38b52d973f542adf2f07fc796 (diff) | |
download | scummvm-rg350-900b17b247bfe3376a772492f6535e956d3ba60d.tar.gz scummvm-rg350-900b17b247bfe3376a772492f6535e956d3ba60d.tar.bz2 scummvm-rg350-900b17b247bfe3376a772492f6535e956d3ba60d.zip |
don't execute binary for libmpeg2 test when cross compiling
svn-id: r20158
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1123,7 +1123,13 @@ int main(void) { return 1; } EOF - cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && $TMPO && _mpeg2=yes + + if test -n "$_host"; then + # don't execute while cross compiling + cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && _mpeg2=yes + else + cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && $TMPO && _mpeg2=yes + fi fi if test "$_mpeg2" = yes ; then _def_mpeg2='#define USE_MPEG2' |