diff options
author | Marcus Boerger <helly@php.net> | 2005-11-24 00:51:44 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-11-24 00:51:44 +0000 |
commit | c13c6e4f68c4f5da98e731dcc3cf6341aa5c8ba2 (patch) | |
tree | 6803b491141b28c9f8aa57e332fefd2cefb1b333 /ext/ming/config.m4 | |
parent | 4dbac17f9c9bfab1839a34cc729b431495e8465a (diff) | |
download | php-git-c13c6e4f68c4f5da98e731dcc3cf6341aa5c8ba2.tar.gz |
- Fix build for new ming versions
# Maybe we should check if it is safe to MFH all the corresponding changes
# in head. But why is this out of sync anyway?
Diffstat (limited to 'ext/ming/config.m4')
-rw-r--r-- | ext/ming/config.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ming/config.m4 b/ext/ming/config.m4 index a20e3bd980..a339c295f6 100644 --- a/ext/ming/config.m4 +++ b/ext/ming/config.m4 @@ -72,6 +72,13 @@ yes AC_DEFINE(HAVE_NEW_MING, 1, [ ]) dnl FIXME: This is now unconditional..better check coming later. AC_DEFINE(HAVE_MING_ZLIB, 1, [ ]) + AC_TRY_COMPILE([ +#include <ming.h> +int main(int,void) { + SWFMovie_output(NULL, NULL, NULL, 0)); + return 0; +} + ], [ AC_DEFINE(HAVE_MING_MOVIE_LEVEL, 1, []) ]) ]) CPPFLAGS=$old_CPPFLAGS |