From 55134a584cc30723f6c7518cbb0ea88da8a94576 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 21 Dec 2005 21:50:09 +0000 Subject: [PATCH] - Fix possible problem in not finding ming.h --- ext/ming/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ming/config.m4 b/ext/ming/config.m4 index f6a80c52a1..e95776ee53 100644 --- a/ext/ming/config.m4 +++ b/ext/ming/config.m4 @@ -40,6 +40,8 @@ if test "$PHP_MING" != "no"; then PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD) AC_MSG_CHECKING([for destroySWFBlock]) + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS=-I$MING_INC_DIR AC_TRY_RUN([ #include "ming.h" int destroySWFBlock(int a, int b) { @@ -58,8 +60,6 @@ int main() { ]) dnl Check Ming version (FIXME: if/when ming has some better way to detect the version..) - old_CPPFLAGS=$CPPFLAGS - CPPFLAGS=-I$MING_INC_DIR AC_EGREP_CPP(yes, [ #include #ifdef SWF_SOUND_COMPRESSION -- 2.50.1