diff options
author | Eugene Sandulenko | 2004-01-14 02:29:49 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-01-14 02:29:49 +0000 |
commit | 05b9f4ddf6d519b467280a1dd129054d83075242 (patch) | |
tree | c0e8da35f110c364184ad6a45aec574261d93414 | |
parent | 683a1561a25133841db1f2ee1a65907dfabf2523 (diff) | |
download | scummvm-rg350-05b9f4ddf6d519b467280a1dd129054d83075242.tar.gz scummvm-rg350-05b9f4ddf6d519b467280a1dd129054d83075242.tar.bz2 scummvm-rg350-05b9f4ddf6d519b467280a1dd129054d83075242.zip |
Fix libmpeg2 version check. FreeBSD ports collection usually lags with
newer package version, so current one has libmpeg2 0.3.1. Although it
got passed by configure script. Now it is fixed.
svn-id: r12366
-rwxr-xr-x | configure | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -567,14 +567,17 @@ else fi echo "$_zlib" -echocheck "mpeg2" +echocheck "mpeg2 - version >= 0.4.0" if test "$_mpeg2" = auto ; then _mpeg2=no cat > $TMPC << EOF #include <inttypes.h> #include <mpeg2dec/mpeg2.h> -int main(void) { - #ifdef MPEG2_RELEASE +int main(void) { + /* mpeg2_state_t first appears in 0.4.0 */ + mpeg2_state_t state; + + #ifdef MPEG2_RELEASE if (MPEG2_RELEASE >= MPEG2_VERSION(0, 4, 0)) return 0; #endif |