diff options
author | foobar <sniper@php.net> | 2005-11-27 23:22:43 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-11-27 23:22:43 +0000 |
commit | 419a9c6cac7540f8f1ff92e6756c407227436243 (patch) | |
tree | f8e32a1022fb762d9d59a5151bdac13254f2d06c /ext/ming/config.m4 | |
parent | 5a606e0be3117d3f1d0a0cc1903dee654130d2a2 (diff) | |
download | php-git-419a9c6cac7540f8f1ff92e6756c407227436243.tar.gz |
- Fixed wrong usage of AC_TRY_COMPILE() macro
Diffstat (limited to 'ext/ming/config.m4')
-rw-r--r-- | ext/ming/config.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/ming/config.m4 b/ext/ming/config.m4 index a339c295f6..e9c9b465ff 100644 --- a/ext/ming/config.m4 +++ b/ext/ming/config.m4 @@ -72,13 +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, []) ]) + + 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 |