From: foobar Date: Wed, 21 Dec 2005 21:50:09 +0000 (+0000) Subject: - Fix possible problem in not finding ming.h X-Git-Tag: php-4.4.2RC2~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55134a584cc30723f6c7518cbb0ea88da8a94576;p=php - Fix possible problem in not finding ming.h --- 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