Browse Source

- Fixed wrong usage of AC_TRY_COMPILE() macro

PHP-5.1
foobar 21 years ago
parent
commit
419a9c6cac
  1. 14
      ext/ming/config.m4

14
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

Loading…
Cancel
Save