sniper Sun Nov 27 18:22:43 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/ming config.m4 Log: - Fixed wrong usage of AC_TRY_COMPILE() macro http://cvs.php.net/diff.php/php-src/ext/ming/config.m4?r1=1.22.2.3&r2=1.22.2.4&ty=u Index: php-src/ext/ming/config.m4 diff -u php-src/ext/ming/config.m4:1.22.2.3 php-src/ext/ming/config.m4:1.22.2.4 --- php-src/ext/ming/config.m4:1.22.2.3 Wed Nov 23 19:51:42 2005 +++ php-src/ext/ming/config.m4 Sun Nov 27 18:22:42 2005 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.22.2.3 2005/11/24 00:51:42 helly Exp $ +dnl $Id: config.m4,v 1.22.2.4 2005/11/27 23:22:42 sniper Exp $ dnl PHP_ARG_WITH(ming, for MING support, @@ -72,13 +72,13 @@ 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php